1 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3 * manual/terminal.texi: Document MTASC-safety properties.
5 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7 * manual/filesys.texi: Document MTASC-safety properties.
9 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11 * manual/errno.texi: Document MTASC-safety properties.
13 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15 * manual/intro.texi: Document safety identifiers and
18 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
20 * manual/string.texi (wcstok): Fix prototype.
21 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
25 * manual/time.texi: Document MTASC-safety properties.
27 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
29 * manual/string.texi: Document MTASC-safety properties.
31 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
33 * manual/threads.texi: Document MTASC-safety properties.
35 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
37 * manual/stdio.texi: Document MTASC-safety properties.
39 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
41 * manual/syslog.texi: Document MTASC-safety properties.
43 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
45 * manual/sysinfo.texi: Document MTASC-safety properties.
47 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
49 * manual/startup.texi: Document MTASC-safety properties.
51 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
53 * manual/socket.texi: Document MTASC-safety properties.
55 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57 * manual/signal.texi: Document MTASC-safety properties.
59 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
61 * manual/setjmp.texi: Document MTASC-safety properties.
63 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
65 * manual/search.texi: Document MTASC-safety properties.
67 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
69 * manual/resource.texi: Document MTASC-safety properties.
71 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
73 * manual/process.texi: Document MTASC-safety properties.
75 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
77 * manual/platform.texi: Document MTASC-safety properties.
79 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
81 * manual/pipe.texi: Document MTASC-safety properties.
83 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
85 * manual/pattern.texi: Document MTASC-safety properties.
87 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
89 * manual/message.texi: Document MTASC-safety properties.
91 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
94 * manual/memory.texi: Document MTASC-safety properties.
96 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
98 * manual/math.texi: Document MTASC-safety properties.
100 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
102 * manual/locale.texi: Document MTASC-safety properties.
104 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
106 * manual/llio.texi: Document MTASC-safety properties.
108 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
110 * manual/libdl.texi: New.
112 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
114 * manual/lang.texi: Document MTASC-safety properties.
116 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
118 * manual/job.texi: Document MTASC-safety properties.
120 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
122 * manual/getopt.texi: Document MTASC-safety properties.
124 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
126 * manual/ctype.texi: Document MTASC-safety properties.
128 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
131 * csu/libc-tls.c (static_map): Remove variable.
132 (__libc_setup_tls): Use main executable's link map for TLS data.
133 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
134 casing for LM_ID_BASE and GL(dl_nns).
135 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
136 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
137 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
138 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
139 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
141 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
144 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
146 * manual/debug.texi: Document MTASC-safety properties.
148 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
151 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
152 of __x86_64__ when disabling x87 inline functions.
154 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
156 * manual/charset.texi: Document MTASC-safety properties.
158 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
160 * manual/crypt.texi: Document MTASC-safety properties.
162 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
164 * manual/conf.texi: Document MTASC-safety properties.
166 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
168 * manual/arith.texi: Document MTASC-safety properties.
170 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
172 * manual/argp.texi: Document MTASC-safety properties.
174 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
176 * manual/macros.texi: Introduce macros to document multi
177 thread, asynchronous signal and asynchronous cancellation
179 * manual/intro.texi: Introduce the properties themselves.
181 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
183 * sysdeps/sh/sh4/Makefile: New file.
185 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
187 * math/gen-libm-test.pl ($srcdir): New variable.
188 ($auto_input): Use it.
190 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
193 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
194 access beyond array bounds when parsing netgroups file.
196 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
197 the old buffer before realloc.
199 2014-01-27 Allan McRae <allan@archlinux.org>
201 * po/fr.po: Update French translation from translation project.
203 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
205 * sysdeps/sh/libm-test-ulps: Regenerate.
207 2014-01-24 David S. Miller <davem@davemloft.net>
209 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
211 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
213 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
214 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
216 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
219 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
220 string pointers after reallocation.
222 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
224 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
225 __SH4A__ instead of __SH_FPU_ANY__.
227 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
229 * sysdeps/sh/fpu_control.h: New file.
230 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
231 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
232 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
233 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
234 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
235 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
236 * sysdeps/sh/sys/ucontext.h: Remove.
237 * sysdeps/sh/sys: Remove directory.
239 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
241 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
243 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
246 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
249 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
251 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
255 Adjust the vDSO correctly for internal calls.
256 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
258 2014-01-20 Allan McRae <allan@archlinux.org>
260 * po/ca.po: Update Catalan translation from translation project.
262 2014-01-16 Mike Frysinger <vapier@gentoo.org>
264 * sysdeps/s390/sotruss-lib.c: New file.
266 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
270 (__GI___gettimeofday): Alias for a different internal symbol to avoid
271 local calls issues by not having a PLT stub required for IFUNC calls.
272 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
274 2014-01-16 Joseph Myers <joseph@codesourcery.com>
276 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
277 * math/test-fpucw-static.c: Likewise.
279 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
282 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
284 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
286 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
287 implementation for powerpc.
289 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
292 * sysdeps/posix/system.c (__libc_system): Do not enable
293 asynchronous cancellation.
295 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
298 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
299 handling only for numbers special also in the IEEE case.
301 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
303 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
305 2014-01-11 Allan McRae <allan@archlinux.org>
307 * po/bg.po: Update Bulgarian translation from translation project.
309 * po/de.po: Update German translation from translation project.
311 2014-01-10 Roland McGrath <roland@hack.frob.com>
313 * sysdeps/generic/gcc-compat.h: New file.
315 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
317 * benchtests/asin-inputs: Correct slow inputs.
318 * benchtests/acos-inputs: Likewise.
320 2014-01-10 Allan McRae <allan@archlinux.org>
322 * po:sv.po: Update Swedish translation from translation project.
324 * po/vi.po: Update Vietnamese translation from translation project.
326 * po/eo.po: Update Esperanto translation from translation project.
328 * po/cs.po: Update Czech translation from translation project.
330 * po/nl.po: Update Dutch translation from translation project.
332 * po/pl.po: Update Polish translation from translation project.
334 * po/ru.po: Update Russian translation from translation project.
336 * po/uk.po: Update Ukrainian translation from translation project.
338 2014-01-08 Brooks Moses <bmoses@google.com>
340 * elf/dl-load.c: Fix comment typo.
342 2014-01-08 Carlos O'Donell <carlos@redhat.com>
344 * po/header.pot: Rename to...
345 * po/pot.header: ... this.
346 * po/Makefile: Use pot.header.
348 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
349 Maxim Kuvyrkov <maxim@kugelworks.com>
352 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
353 SRC and DEST against LEN.
355 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
360 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
362 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
366 2014-01-08 Joseph Myers <joseph@codesourcery.com>
369 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
370 for large positive arguments.
372 2014-01-07 Joseph Myers <joseph@codesourcery.com>
374 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
376 * math/auto-libm-test-in: Mark various tests with
377 xfail-rounding:ldbl-128ibm.
378 * math/auto-libm-test-out: Regenerated.
381 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
382 Increase overflow threshold.
384 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
387 * stdio-common/vfprintf.c: Check for integer overflow.
389 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
391 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
392 the first argument and return value of __tls_get_addr_internal.
394 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
396 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
397 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
399 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
401 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
402 * sysdeps/s390/rtld-global-offsets.sym: New file.
403 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
405 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
406 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
407 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
409 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
410 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
416 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
417 halfs of GPRs for high_gprs contexts.
418 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
419 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
421 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
423 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
425 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
426 for high GPRs (uc_high_gprs) and for future extensions
428 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
429 for future extensions (__reserved).
430 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
432 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
433 SC_HIGHGPRS offset definition.
434 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
435 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
437 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
439 * Versions.def: Add GLIBC_2.19 for libpthread.
440 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
441 siglongjmp for libpthread with GLIBC_2.19 symver.
442 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
443 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
444 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
445 * sysdeps/s390/__longjmp.c: New file.
446 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
447 * sysdeps/s390/longjmp.c: New file.
448 * sysdeps/s390/setjmp.S: New file.
449 * sysdeps/s390/sigjmp.S: New file.
450 * sysdeps/s390/v1-longjmp.c: New file.
451 * sysdeps/s390/v1-setjmp.h: New file.
452 * sysdeps/s390/v1-sigjmp.c: New file.
453 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
454 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
456 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
457 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
458 versioned symbols for ____longjmp_chk.
459 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
469 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
470 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
471 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
472 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
473 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
474 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
475 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
476 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
477 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
478 * sysdeps/s390/rtld-__longjmp.c: New file.
479 * sysdeps/s390/rtld-setjmp.S: New file.
481 2014-01-06 Joseph Myers <joseph@codesourcery.com>
484 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
485 Return -__logl (x) for small positive arguments without evaluating
488 2014-01-06 Mike Frysinger <vapier@gentoo.org>
490 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
492 (__ptrace_peeksiginfo_args): ... this.
493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
495 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
497 2014-01-06 Allan McRae <allan@archlinux.org>
499 * inet/netinet/in.h: Fix typo in comment.
501 2014-01-05 Andreas Jaeger <aj@suse.de>
503 * sysdeps/i386/fpu/libm-test-ulps: Update.
505 2014-01-05 Allan McRae <allan@archlinux.org>
507 * po/libc.pot: Regenerated.
509 * malloc/memusagestat.c: Fix gettext call formatting.
511 2014-01-04 Sami Kerola <kerolasa@iki.fi>
513 * nscd/nscd.c: Improve usage() output.
515 2014-01-04 Mike Frysinger <vapier@gentoo.org>
517 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
518 * sysdeps/unix/sysv/linux/configure: Regenerated.
519 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
520 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
522 2014-01-03 Joseph Myers <joseph@codesourcery.com>
525 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
526 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
528 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
531 extra tokens at end of #undef directive.
532 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
533 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
534 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
536 2014-01-03 Andrew Hunter <ahh@google.com>
538 * elf/dl-open.c (dl_open_worker): New comment.
539 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
540 atomic_compare_and_exchange_bool_acq
541 (_dl_allocate_static_tls): Block signals.
542 * elf/dl-tls.c (allocate_and_init): Return void.
543 (_dl_update_slotinfo): Block signals, use atomic update.
545 2014-01-03 Joseph Myers <joseph@codesourcery.com>
547 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
549 * math/auto-libm-test-in: Mark various tests with
550 xfail-rounding:ldbl-128ibm.
551 * math/auto-libm-test-out: Regenerated.
553 2014-01-02 Joseph Myers <joseph@codesourcery.com>
556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
557 numbers with subnormal high part when calculating exponent.
560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
566 (__ieee754_acoshl): Use __log1pl not __log1p.
568 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
570 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
571 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
572 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
573 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
574 Convert to GNU style.
575 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
576 mem2mem_check, mem2chunk_check, top_check, realloc_check,
577 memalign_check, __malloc_set_state): Likewise.
578 * malloc/mallocbug.c (main): Likewise.
579 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
580 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
581 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
582 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
583 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
584 * malloc/malloc.h: Likewise.
585 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
586 memalignhook, reallochook, mabort): Likewise.
587 * malloc/mcheck.h: Likewise.
588 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
589 mmap64, mremap, munmap, dest): Likewise.
590 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
591 * malloc/morecore.c (__default_morecore): Likewise.
592 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
593 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
594 _obstack_allocated_p, obstack_free, _obstack_memory_used,
595 print_and_abort): Likewise.
596 * malloc/obstack.h: Likewise.
597 * malloc/set-freeres.c (__libc_freeres): Likewise.
598 * malloc/tst-mallocstate.c (main): Likewise.
599 * malloc/tst-mtrace.c (main): Likewise.
600 * malloc/tst-realloc.c (do_test): Likewise.
602 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
605 * nscd/netgroupcache.c (do_notfound): New function.
606 (addgetnetgrentX): Use it.
609 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
612 2014-01-01 Joseph Myers <joseph@codesourcery.com>
614 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
617 2014-01-01 Allan McRae <allan@archlinux.org>
619 * scripts/update-copyrights: Update configure input file suffix.
621 * NEWS: Update copyright year.
622 * catgets/gencat.c: Likewise.
623 * csu/version.c: Likewise.
624 * debug/catchsegv.sh: Likewise.
625 * debug/pcprofiledump.c: Likewise.
626 * debug/xtrace.sh: Likewise.
627 * elf/ldconfig.c: Likewise.
628 * elf/ldd.bash.in: Likewise.
629 * elf/pldd.c: Likewise.
630 * elf/sotruss.ksh: Likewise.
631 * elf/sprof.c: Likewise.
632 * iconv/iconv_prog.c: Likewise.
633 * iconv/iconvconfig.c: Likewise.
634 * locale/programs/locale.c: Likewise.
635 * locale/programs/localedef.c: Likewise.
636 * login/programs/pt_chown.c: Likewise.
637 * malloc/memusage.sh: Likewise.
638 * malloc/memusagestat.c: Likewise.
639 * malloc/mtrace.pl: Likewise.
640 * manual/libc.texinfo: Likewise.
641 * nscd/nscd.c: Likewise.
642 * nss/getent.c: Likewise.
643 * nss/makedb.c: Likewise.
644 * posix/getconf.c: Likewise.
645 * scripts/test-installation.pl: Likewise.
647 * All files with FSF copyright notices: Update copyright dates
648 using scripts/update-copyrights.
649 * intl/plural.c: Regenerated.
650 * locale/programs/charmap-kw.h: Likewise.
651 * locale/programs/locfile-kw.h: Likewise.
653 2013-12-31 Mike Frysinger <vapier@gentoo.org>
655 * sysdeps/unix/sysv/linux/configure: Regenerated.
656 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
657 the linux/fanotify.h header.
658 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
659 HAVE_LINUX_FANOTIFY_H is defined.
661 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
663 * benchtests/cos-inputs: New inputs.
664 * benchtests/sin-inputs: Likewise.
666 * benchtests/atan-inputs: New inputs. Fix name of multiple
667 precision fallback inputs.
669 * benchtests/atanh-inputs: New inputs.
670 * benchtests/tanh-inputs: Likewise.
672 * benchtests/acosh-inputs: New inputs.
673 * benchtests/asinh-inputs: Likewise.
675 * benchtests/cosh-inputs: New inputs.
676 * benchtests/sinh-inputs: Likewise.
678 * benchtests/acos-inputs: Add more inputs.
679 * benchtests/asin-inputs: Likewise.
681 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
684 * manual/arith.texi: Fix spelling.
685 * manual/charset.texi: Likewise.
686 * manual/errno.texi: Likewise.
687 * manual/filesys.texi: Likewise.
688 * manual/lang.texi: Likewise.
689 * manual/llio.texi: Likewise.
690 * manual/locale.texi: Likewise.
691 * manual/message.texi: Likewise.
692 * manual/resource.texi: Likewise.
693 * manual/search.texi: Likewise.
694 * manual/setjmp.texi: Likewise.
695 * manual/stdio.texi: Likewise.
696 * manual/string.texi: Likewise.
697 * manual/sysinfo.texi: Likewise.
698 * manual/time.texi: Likewise.
700 2013-12-27 Carlos O'Donell <carlos@redhat.com>
702 * po/sl.po: New file.
704 2013-12-27 Mike Frysinger <vapier@gentoo.org>
706 * .gitignore: Add core/.gdbinit/.gdb_history.
708 2013-12-27 Allan McRae <allan@archlinux.org>
711 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
712 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
714 2013-12-24 Brooks Moses <bmoses@google.com>
716 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
717 all compilers that claim C++98 compliance, not just GCC.
718 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
721 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
723 * NEWS: Restore accidentally deleted bug-fix entries.
725 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
726 Ondřej Bílka <neleai@seznam.cz>
729 * malloc/malloc.c (_int_free): Perform sanity check only if we
732 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
735 * manual/stdio.texi (String Input Conversions): Clarify that character
736 classes are not supported.
738 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
742 2013-12-22 Joseph Myers <joseph@codesourcery.com>
745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
746 Calculate results for small negative arguments directly rather
747 than using reflection formula with special underflow handling.
749 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
750 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
751 sysdeps/unix/bsd/bsd4.4/syscalls.list.
752 (fchflags): Likewise.
754 (setlogin): Likewise.
755 (sigaltstack): Likewise.
758 (sigsetmask): Likewise.
761 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
762 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
764 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
765 * sysdeps/unix/bsd/Makefile: ... here.
766 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
767 * sysdeps/unix/bsd/Versions: ... here.
768 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
769 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
770 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
771 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
772 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
773 * sysdeps/unix/bsd/sigblock.c: ... here.
774 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
775 * sysdeps/unix/bsd/sigsetmask.c: ... here.
776 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
777 * sysdeps/unix/bsd/sigvec.c: ... here.
778 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
779 * sysdeps/unix/bsd/tcdrain.c: ... here.
780 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
781 * sysdeps/unix/bsd/tcgetattr.c: ... here.
782 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
783 * sysdeps/unix/bsd/tcsetattr.c: ... here.
784 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
785 * sysdeps/unix/bsd/wait.c: ... here.
786 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
787 * sysdeps/unix/bsd/wait3.c: ... here.
788 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
789 * sysdeps/unix/bsd/waitpid.c: ... here.
791 2013-12-21 Joseph Myers <joseph@codesourcery.com>
794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
795 round-to-nearest for [!USE_AS_EXPM1L].
796 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
797 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
798 more tests of exp and exp10. Expect some exp10 tests to miss
799 exceptions or fail in directed rounding modes.
800 * math/auto-libm-test-out: Regenerated.
801 * math/libm-test.inc (exp10_tonearest_test_data): New array.
802 (exp10_test_tonearest): New function.
803 (exp10_towardzero_test_data): New array.
804 (exp10_test_towardzero): New function.
805 (exp10_downward_test_data): New array.
806 (exp10_test_downward): New function.
807 (exp10_upward_test_data): New array.
808 (exp10_test_upward): New function.
809 (main): Call the new functions.
810 * sysdeps/i386/fpu/libm-test-ulps: Update.
811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
813 2013-12-20 Joseph Myers <joseph@codesourcery.com>
815 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
816 asinh, atan, atan2, atanh, cbrt, cos and cosh.
817 * math/auto-libm-test-out: Regenerated.
818 * math/libm-test.inc (acosh_test_data): Add more tests.
819 (atanh_test_data): Likewise.
820 (ceil_test_data): Likewise.
821 (copysign_test_data): Likewise.
822 * sysdeps/i386/fpu/libm-test-ulps: Update.
823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
825 * timezone/checktab.awk: Update from tzcode 2013i.
826 * timezone/private.h: Likewise.
827 * timezone/scheck.c: Likewise.
828 * timezone/tzfile.h: Likewise.
829 * timezone/tzselect.ksh: Likewise.
830 * timezone/zdump.c: Likewise.
831 * timezone/zic.c: Likewise.
833 * math/auto-libm-test-in: Add tests of cpow.
834 * math/auto-libm-test-out: Regenerated.
835 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
836 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
838 (func_calc_desc): Add mpc_cc_c union field.
839 (test_functions): Add cpow.
840 (special_fill_2pi): New function.
841 (special_real_inputs): Add 2pi.
842 (calc_generic_results): Handle mpc_cc_c.
843 * sysdeps/i386/fpu/libm-test-ulps: Update.
844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
846 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
847 csqrt, ctan and ctanh.
848 * math/auto-libm-test-out: Regenerated.
849 * math/libm-test.inc (TEST_COND_x86_64): New macro.
850 (TEST_COND_x86): Likewise.
851 (ccos_test_data): Use AUTO_TESTS_c_c.
852 (ccosh_test_data): Likewise.
853 (cexp_test_data): Likewise.
854 (clog_test_data): Likewise.
855 (csqrt_test_data): Likewise.
856 (ctan_test_data): Likewise.
857 (ctan_tonearest_test_data): Likewise.
858 (ctan_towardzero_test_data): Likewise.
859 (ctan_downward_test_data): Likewise.
860 (ctan_upward_test_data): Likewise.
861 (ctanh_test_data): Likewise.
862 (ctanh_tonearest_test_data): Likewise.
863 (ctanh_towardzero_test_data): Likewise.
864 (ctanh_downward_test_data): Likewise.
865 (ctanh_upward_test_data): Likewise.
866 * math/gen-auto-libm-tests.c (func_calc_method): Add value
868 (func_calc_desc): Add mpc_c_c union field.
869 (FUNC_mpc_c_c): New macro.
870 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
871 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
873 (special_fill_min_subnorm_p120): New function.
874 (special_real_inputs): Add min_subnorm_p120.
875 (calc_generic_results): Handle mpc_c_c.
876 * sysdeps/i386/fpu/libm-test-ulps: Update.
877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
879 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
881 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
882 do_sin_slow): New functions.
883 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
884 cslow2, csloww1, csloww2): Use the new functions.
886 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
887 Use M to change sign of result instead of X. Assume X is
893 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
900 (sloww1): Don't adjust sign of DX.
902 (sloww2): Use X directly and don't adjust sign of DX.
905 2013-12-19 Joseph Myers <joseph@codesourcery.com>
907 * math/auto-libm-test-in: Add tests of cabs and carg.
908 * math/auto-libm-test-out: Regenerated.
909 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
910 (carg_test_data): Likewise.
911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
913 (func_calc_desc): Add mpc_c_f union field.
914 (test_functions): Add cabs and carg.
915 (calc_generic_results): Handle mpc_c_f.
917 * sysdeps/powerpc/powerpc32/libgcc-compat.S
918 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
919 as a macro and a compat symbol.
920 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
921 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
922 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
923 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
924 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
925 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
927 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
929 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
931 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
933 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
935 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
937 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
938 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
941 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
945 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
947 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
948 (__signal_safe_memalign, __signal_safe_free): Use it.
949 (__signal_safe_realloc): Likewise.
951 2013-12-19 Joseph Myers <joseph@codesourcery.com>
953 * manual/texinfo.tex: Update to version 2013-11-26.10 with
954 trailing whitespace removed.
955 * scripts/config.guess: Update to version 2013-11-29.
956 * scripts/config.sub: Update to version 2013-10-01.
958 * math/auto-libm-test-in: Add tests of sincos.
959 * math/auto-libm-test-out: Regenerated.
960 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
961 * math/gen-auto-libm-tests.c (func_calc_method): Add value
963 (func_calc_desc): Add mpfr_f_11 union field.
964 (test_functions): Add sincos.
965 (calc_generic_results): Handle mpfr_f_11.
966 * sysdeps/i386/fpu/libm-test-ulps: Update.
967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
969 2013-12-19 Andreas Schwab <schwab@suse.de>
971 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
973 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
974 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
975 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
977 2013-12-19 Joseph Myers <joseph@codesourcery.com>
979 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
985 round-to-nearest mode when using frndint.
986 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
987 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
990 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
992 * math/auto-libm-test-out: Regenerated.
993 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
994 (TEST_COND_x86): Likewise.
995 (expm1_tonearest_test_data): New array.
996 (expm1_test_tonearest): New function.
997 (expm1_towardzero_test_data): New array.
998 (expm1_test_towardzero): New function.
999 (expm1_downward_test_data): New array.
1000 (expm1_test_downward): New function.
1001 (expm1_upward_test_data): New array.
1002 (expm1_test_upward): New function.
1003 (main): Run the new test functions.
1004 * sysdeps/i386/fpu/libm-test-ulps: Update.
1005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1007 * include/features.h: Update comment documenting feature test
1008 macros. Mention _DEFAULT_SOURCE in comment.
1009 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1010 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1011 _BSD_SOURCE and _SVID_SOURCE.
1012 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1013 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1014 !_SVID_SOURCE]: Likewise.
1015 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1016 (__USE_POSIX_IMPLICITLY): Define.
1017 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1018 (_POSIX_SOURCE): Undefine and redefine.
1019 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1020 (_POSIX_C_SOURCE): Likewise.
1021 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1022 (Feature Test Macros): Update documentation of default features.
1024 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1026 * benchtests/Makefile: Add bench-strtok.
1027 * benchtests/bench-strtok.c: New file: strtok benchtest.
1029 2013-12-19 Allan McRae <allan@archlinux.org>
1031 * manual/install.texi: Suppress menu for plain text output.
1032 * INSTALL: Regenerated.
1034 2013-12-18 Andrew Hunter <ahh@google.com>
1036 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
1037 (__signal_safe_malloc, __signal_safe_free): Likewise.
1038 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
1039 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
1040 (__signal_safe_memalign, __signal_safe_malloc): New function.
1041 (__signal_safe_free, __signal_safe_realloc): Likewise.
1042 (__signal_safe_calloc): Likewise.
1043 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1045 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1047 2013-12-18 Andrew Hunter <ahh@google.com>
1049 * elf/Versions (ld): Add _dl_clear_dtv.
1050 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1051 * elf/dl-tls.c (_dl_clear_dtv): New function.
1052 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1054 2013-12-18 Andrew Hunter <ahh@google.com>
1056 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1057 (_dl_unmask_signals): Likewise.
1058 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1059 (_dl_unmask_all_signals): Likewise.
1060 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1061 (_dl_unmask_all_signals): Likewise.
1062 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1063 (_dl_unmask_signals): Likewise.
1065 2013-12-18 Brooks Moses <bmoses@google.com>
1068 * misc/getauxval.c: Include errno.h.
1069 (__getauxval): Set errno to ENOENT if the requested type is not
1071 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1072 don't declare with __attribute_const__.
1073 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1074 * manual/startup.texi: Document that getauxval sets errno.
1076 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1078 * math/auto-libm-test-in: Add tests of jn and yn.
1079 * math/auto-libm-test-out: Regenerated.
1080 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1081 (yn_test_data): Likewise.
1082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1084 (func_calc_desc): Add mpfr_if_f union field.
1085 (FUNC_mpfr_if_f): New macro.
1086 (test_functions): Add jn and yn.
1087 (calc_generic_results): Assert type of second input for
1088 mpfr_ff_f. Handle mpfr_if_f.
1089 (output_for_one_input_case): Disable all checking for arguments
1090 fitting floating-point types in case of an integer argument.
1091 * sysdeps/i386/fpu/libm-test-ulps: Update.
1092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1095 Don't expect fegetround reference in libm.so.
1097 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1099 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1100 $(config-cflags-nofma).
1102 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1104 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1105 * math/auto-libm-test-out: Regenerated.
1108 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1109 to determine exponent and adjust argument to have exponent of -1.
1110 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1112 * math/auto-libm-test-out: Regenerated.
1113 * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1116 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1118 * manual/probes.texi: Remove cases when per-thread arenas are
1121 2013-12-18 Andreas Schwab <schwab@suse.de>
1123 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1124 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1125 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1126 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1127 * sysdeps/i386/i686/multiarch/Makefile: Update.
1128 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1130 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1132 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1133 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1135 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1137 Support TZ transition times < 00:00:00.
1138 This is needed for version-3 tz-format files; it supports time
1139 stamps past 2037 for America/Godthab (the only entry in the tz
1140 database for which this change is relevant).
1141 * manual/time.texi (TZ Variable): Document transition times
1142 from -167:59:59 through -00:00:01.
1143 * time/tzset.c (tz_rule): Time of day is now signed.
1144 (__tzset_parse_tz): Parse negative time of day.
1146 Document TZ transition times >= 25:00:00.
1147 * manual/time.texi (TZ Variable): Document transition times from
1148 25:00:00 through 167:59:59. These are already supported, and this
1149 support will help with version-3 tz-format files.
1151 * manual/time.texi (TZ Variable): Modernize North America example
1152 to reflect current (i.e., 2007-and-later) daylight saving rules.
1154 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1156 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1158 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1159 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1162 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1163 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1164 * sysdeps/unix/bsd/clock.c: Likewise.
1165 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1166 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1167 * sysdeps/unix/bsd/init-posix.c: Likewise.
1168 * sysdeps/unix/bsd/poll.c: Likewise.
1169 * sysdeps/unix/bsd/ptsname.c: Likewise.
1170 * sysdeps/unix/bsd/seekdir.c: Likewise.
1171 * sysdeps/unix/bsd/setegid.c: Likewise.
1172 * sysdeps/unix/bsd/seteuid.c: Likewise.
1173 * sysdeps/unix/bsd/setgid.c: Likewise.
1174 * sysdeps/unix/bsd/setrgid.c: Likewise.
1175 * sysdeps/unix/bsd/setruid.c: Likewise.
1176 * sysdeps/unix/bsd/setsid.c: Likewise.
1177 * sysdeps/unix/bsd/setuid.c: Likewise.
1178 * sysdeps/unix/bsd/sigaction.c: Likewise.
1179 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1180 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1181 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1182 * sysdeps/unix/bsd/telldir.c: Likewise.
1183 * sysdeps/unix/bsd/times.c: Likewise.
1184 * sysdeps/unix/bsd/usleep.c: Likewise.
1186 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1187 ($(objpfx)libbsd-compat.a): Remove rule.
1189 * include/features.h (__FAVOR_BSD): Do not define.
1190 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1191 features conflicting with POSIX.
1192 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1193 (_BSD_SOURCE): Remove description of not being a subset of other
1194 feature test macros.
1195 * manual/job.texi (getpgrp): Do not document BSD version.
1196 (getpgid): Do not document by reference to BSD getpgrp.
1197 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1198 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1199 * signal/signal.h [__FAVOR_BSD]: Likewise.
1200 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1201 instead of making contents conditional on [__FAVOR_BSD].
1202 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1204 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1208 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1211 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1212 values below 2**-450, not 2**-500.
1213 * math/auto-libm-test-in: Don't allow spurious underflow from
1215 * math/auto-libm-test-out: Regenerated.
1219 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1220 values of ha and hb and sort them after adjusting subnormal
1222 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1224 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1225 values of ea and eb and sort them after adjusting subnormal
1227 * math/auto-libm-test-in: Do not expect some hypot tests of
1228 subnormals to fail. Add more hypot tests.
1229 * math/auto-libm-test-out: Regenerated.
1231 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1234 * sysdeps/sh/s_fma.c: New file.
1235 * sysdeps/sh/s_fmaf.c: New file.
1236 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1238 * sysdeps/sh/Implies: Add sh/soft-fp.
1240 2013-12-16 Roland McGrath <roland@hack.frob.com>
1242 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1243 level of indirection to members `objname', `errstring', `malloced'.
1244 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1245 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1246 it as the __longjmp argument (just pass 1 instead).
1247 (_dl_catch_error): Initialize C with argument pointers and address of
1248 volatile local ERRCODE rather than copying values out of C at return.
1250 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1252 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1253 * math/auto-libm-test-out: Regenerated.
1254 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1255 (hypot_test_data): Likewise.
1256 (pow_test_data): Likewise.
1257 (pow_tonearest_test_data): Likewise.
1258 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1260 (func_calc_desc): Add mpfr_ff_f union field.
1261 (FUNC_mpfr_ff_f): New macro.
1262 (test_functions): Add atan2, hypot and pow.
1263 (special_fill_min): New function.
1264 (special_fill_minus_min): Likewise.
1265 (special_fill_min_subnorm): Likewise.
1266 (special_fill_minus_min_subnorm): Likewise.
1267 (special_real_inputs): Add min, -min, min_subnorm and
1269 (calc_generic_results): Handle mpfr_ff_f.
1270 * sysdeps/i386/fpu/libm-test-ulps: Update.
1271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1273 2013-12-16 Will Newton <will.newton@linaro.org>
1275 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1276 (Aligned Memory Blocks): Add documentation for aligned_alloc
1277 and suggest it as an alternative to posix_memalign.
1278 (Hooks for Malloc): Document __memalign_hook is also called
1279 for aligned_alloc. (Summary of Malloc): Add summary for
1280 aligned alloc. Document __memalign_hook is also called
1283 2013-12-16 Will Newton <will.newton@linaro.org>
1285 * manual/memory.texi (Malloc Examples): Clarify default
1286 alignment documentation. Suggest posix_memalign rather
1287 than memalign or valloc.
1288 (Aligned Memory Blocks): Remove suggestion to use memalign
1289 or valloc. Remove obsolete comment about BSD.
1290 Document memalign errno values and mark the function obsolete.
1291 Document posix_memalign returned error codes. Mark valloc
1292 as obsolete. (Hooks for Malloc): __memalign_hook is also
1293 called for posix_memalign and valloc.
1294 (Summary of Malloc): Add posix_memalign to function summary.
1295 __memalign_hook is also called for posix_memalign and valloc.
1297 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1299 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1303 (sloww): Use mynumber union. Expand ternary operator into
1305 (cslow): use mynumber union.
1307 2013-12-16 Allan McRae <allan@archlinux.org>
1309 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1310 * configure: Regenerated.
1312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1315 * configure.ac: Added --enable-maintainer-mode. Check for
1316 autoconf when enabled.
1317 * configure: Regenerated.
1319 * nscd/nscd.service: New file.
1320 * nscd/nscd.tmpfiles: New file.
1322 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1325 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1326 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1327 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1328 (strstr): Add __strstr_sse2_unaligned ifunc.
1329 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1330 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1331 (strcasestr): Remove __strcasestr_sse42 ifunc.
1332 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1336 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1338 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1339 * sysdeps/sh/bits/fenv.h: ... here.
1340 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1342 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1346 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1349 hypotf multiarch implementations.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1353 multiarch hypot for PPC64.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1357 multiarch hypotf for PPC64.
1359 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1362 modff multiarch implementations.
1363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1366 multiarch modf for PPC64.
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1370 multiarch modff for PPC64.
1372 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1375 and logl multiarch implementations.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1379 multiarch logb for PPC64.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1383 multiarch logb for PPC64.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1387 multiarch logb for PPC64.
1389 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1392 isinff multiarch implementation.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1397 multiarch isinf for PPC64.
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1401 multiarch isinff for PPC64.
1403 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1406 finitef multiarch implementation.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1411 multiarch finite for PPC64.
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1415 multiarch finitef for PPC64.
1417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1420 lrint multiarch implementation.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1425 multiarch llrint for PPC64.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1427 multiarch lrint for PPC64.
1429 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1432 copysignf multiarch implementation.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1438 multiarch copysign for PPC64.
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1440 multiarch copysignf for PPC64.
1442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1445 multiarch implementation.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1454 multiarch llround for PPC64.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1456 multiarch trunc for PPC64.
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1458 multiarch truncf for PPC64.
1460 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1463 multiarch implementation.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1472 multiarch llround for PPC64.
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1474 multiarch round for PPC64.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1476 multiarch roundf for PPC64.
1478 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1481 multiarch implementation.
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1490 multiarch llround for PPC64.
1491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1492 multiarch floor for PPC64.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1494 multiarch floorf for PPC64.
1496 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1499 multiarch implementation.
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1508 multiarch llround for PPC64.
1509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1510 multiarch ceil for PPC64.
1511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1512 multiarch ceilf for PPC64.
1514 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1517 multiarch implementation.
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1525 multiarch llround for PPC64.
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1527 multiarch lround for PPC64.
1529 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1532 multiarch implementation.
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1540 multiarch isnan for PPC64.
1541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1542 multiarch isnanf for PPC64.
1544 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1547 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1548 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1549 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1550 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1553 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1556 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1557 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1558 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1560 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1563 multiarch implementations.
1564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1565 (__libc_ifunc_impl_list): Likewise.
1566 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1567 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1568 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1569 multiarch stpcpy for PPC64.
1571 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1574 multiarch implementations.
1575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1576 (__libc_ifunc_impl_list): Likewise.
1577 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1578 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1579 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1580 multiarch strcpy for PPC64.
1582 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1584 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1585 redefine function name.
1586 (_wordcopy_fwd_dest_aligned): Likewise.
1587 (_wordcopy_bwd_aligned): Likewise.
1588 (_wordcopy_bwd_dest_aligned): Likewise.
1589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1590 multiarch implementations.
1591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1592 (__libc_ifunc_impl_list): Likewise.
1593 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1594 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1595 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1597 multiarch wcscpy for PPC64.
1599 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1602 multiarch implementations.
1603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1604 (__libc_ifunc_impl_list): Likewise.
1605 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1606 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1607 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1608 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1609 multiarch wcscpy for PPC64.
1611 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1614 multiarch implementations.
1615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1616 (__libc_ifunc_impl_list): Likewise.
1617 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1618 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1619 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1620 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1621 multiarch wcsrchr for PPC64.
1623 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1626 multiarch implementations.
1627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1628 (__libc_ifunc_impl_list): Likewise.
1629 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1630 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1631 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1632 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1633 multiarch wcschr for PPC64.
1635 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1638 multiarch implementations.
1639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1640 (__libc_ifunc_impl_list): Likewise.
1641 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1642 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1643 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1644 multiarch strchrnul for PPC64.
1646 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1651 (__libc_ifunc_impl_list): Likewise.
1652 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1653 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1654 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1655 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1658 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1663 (__libc_ifunc_impl_list): Likewise.
1664 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1666 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1667 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1670 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1673 multiarch implementations.
1674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1675 (__libc_ifunc_impl_list): Likewise.
1676 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1678 strncasecmp for PPC64.
1679 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1680 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1681 multiarch strncasecmp_l for PPC64.
1683 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1686 multiarch implementations.
1687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1688 (__libc_ifunc_impl_list): Likewise.
1689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1691 multiarch strcasecmp for PPC64.
1692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1695 multiarch strcasecmp_l for PPC64.
1697 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1702 (__libc_ifunc_impl_list): Likewise.
1703 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1704 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1705 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1708 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Likewise.
1714 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1715 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1719 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1724 (__libc_ifunc_impl_list): Likewise.
1725 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1726 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1727 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1728 rawmemrchr for PPC64.
1730 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1735 (__libc_ifunc_impl_list): Likewise.
1736 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1737 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1738 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1741 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1746 (__libc_ifunc_impl_list): Likewise.
1747 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1748 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1752 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1757 (__libc_ifunc_impl_list): Likewise.
1758 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1759 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1760 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1763 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1766 avoid cretion of __bzero symbol.
1767 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1769 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1771 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1774 multiarch implementations.
1775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1776 (__libc_ifunc_impl_list): Likewise.
1777 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1778 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1779 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1780 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1782 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1783 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1784 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1785 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1786 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1788 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1790 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1792 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1796 (__libc_ifunc_impl_list): Likewise.
1797 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1798 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1799 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1800 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1803 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1806 multiarch for POWER/PPC64.
1807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1808 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1809 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1810 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1811 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1812 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1813 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1815 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1818 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1820 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1821 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1822 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1823 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1824 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1825 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1826 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1827 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1828 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1829 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1830 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1831 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1832 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1833 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1834 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1843 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1847 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1849 * benchtests/Makefile (bench): Add exp2 and log2.
1850 (LDLIBS-bench-exp2): Add -lm.
1851 (LDLIBS-bench-log2): Likewise.
1852 * benchtests/exp2-inputs: New inputs file.
1853 * benchtests/log2-inputs: New inputs file.
1854 * benchtests/log-inputs: Add new inputs.
1855 * benchtests/tan-inputs: Likewise.
1857 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1859 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1861 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1862 csloww1, csloww2): ... from here.
1864 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1865 instead of structures.
1866 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1867 (POLYNOMIAL): Likewise.
1868 (TAYLOR_SLOW): Likewise.
1876 (bsloww1): Likewise.
1877 (bsloww2): Likewise.
1880 (csloww1): Likewise.
1881 (csloww2): Likewise.
1883 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1885 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1886 (__malloc_assert, __libc_realloc, __libc_calloc,
1887 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1889 * malloc/hooks.c (realloc_check): Likewise.
1891 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1893 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1894 * malloc/arena.c: Remove PER_THREAD conditional.
1895 [!PER_THREAD]: Remove code.
1896 (ptmalloc_unlock_all2): Likewise.
1897 (ptmalloc_init): Likewise.
1898 (_int_new_arena): Likewise.
1899 (arena_get2): Likewise.
1900 * malloc/hooks.c (__malloc_get_state): Likewise.
1901 (__malloc_set_state): Likewise.
1902 * malloc/malloc.c: Likewise.
1903 (struct malloc_state): Likewise.
1904 (struct malloc_par): Likewise.
1905 (__libc_realloc): Likewise.
1906 (__libc_mallopt): Likewise.
1908 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1912 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1914 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1915 macro to a function. Check for zero perturb_byte.
1916 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1918 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1920 * malloc/malloc.c: (force_reg): Remove.
1921 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1922 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1923 force_reg by atomic_forced_read.
1924 * malloc/arena.c (ptmalloc_init): Likewise.
1925 * malloc/hooks.c (top_check): Likewise.
1927 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1931 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1935 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1937 * math/auto-libm-test-in: Add tests of lgamma.
1938 * math/auto-libm-test-out: Regenerated.
1939 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1940 (M_LOG_2_SQRT_PIl): Likewise.
1941 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1942 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1944 (func_calc_desc): Add mpfr_f_f1 union field.
1953 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1954 (test_functions): Add lgamma.
1955 (calc_generic_results): Handle mpfr_f_f1.
1956 * sysdeps/i386/fpu/libm-test-ulps: Update.
1957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1959 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1961 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1962 __mpn_add_n for PowerPC64/POWER7.
1963 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1964 __mpn_sub_n for PowerPC64/POWER7.
1966 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1969 __mpn_addmul_1 for PowerPC64.
1970 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1971 __mpn_submul_1 for PowerPC64.
1972 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1974 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1977 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1980 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1989 add multiarch folders.
1990 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1991 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1992 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1993 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1994 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1995 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1996 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1997 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1998 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1999 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2000 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2011 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2017 multiarch __ieee754_hypot for PowerPC32.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2023 multiarch __ieee754_hypotf for PowerPC32.
2025 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2028 long_double_symbol only if __logbl is defined.
2029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2030 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2032 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2034 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2036 path for implementation.
2037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2040 logb, and logbl multiarch implementations for PowerPC32.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2046 multiarch logb for PowerPC32.
2047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2052 multiarch logbf for PowerPC32.
2053 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2057 multiarch logbl implementation for PowerPC32.
2059 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2062 and modff multiarch implementations.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2068 multiarch modf for PowerPC32.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2074 multiarch modff for PowerPC32.
2076 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2079 and lrintf multiarch implementations.
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2085 multiarch lrint for PowerPC32.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2087 file: multiarch lrintf for PowerPC32.
2089 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2092 and lroundf multiarch implementations.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2100 multiarch lround for PowerPC32.
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2102 file: multiarch lroundf for PowerPC32.
2104 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2107 copysign and copysignf multiarch implementations.
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2113 file: multiarch copysign for PowerPC32.
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2115 file: multiarch copysignf for PowerPC32.
2117 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2120 and truncf multiarch implementations.
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2126 multiarch trunc for PowerPC32.
2127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2132 multiarch truncf for PowerPC32.
2134 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2137 and roundf multiarch implementations.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2143 multiarch round for PowerPC32.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2149 multiarch roundf for PowerPC32.
2151 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2154 and floorf multiarch implementations.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2160 multiarch floor for PowerPC32.
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2166 multiarch floorf for PowerPC32.
2168 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2171 and ceilf multiarch implementations.
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2177 multiarch ceil for PowerPC32.
2178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2183 multiarch ceilf for PowerPC32.
2185 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2187 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2189 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2192 and finitef multiarch implementations.
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2198 multiarch finite for PowerPC32.
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2202 file: multiarch finitef for PowerPC32.
2204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2207 and isinff multiarch implementations.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2213 multiarch isinf for PowerPC32.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2217 multiarch isinff for PowerPC32.
2219 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2222 alias when __isnan is defined.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2224 and isnanf multiarch implementations.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2234 multiarch isnan for PowerPC32.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2240 multiarch isnanf for PowerPC32.
2242 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2245 and sqrtf multiarch implementations.
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2251 multiarch sqrt for PowerPC32.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2257 multiarch sqrtf for PowerPC32.
2259 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2262 and llroundf multiarch implementations.
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2270 file: multiarch llround for PowerPC32.
2271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2272 file: multiarch llroundf for PowerPC32.
2274 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2277 multiarch PowerPC32 fpu implementations.
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2283 multiarch llrint for PowerPC32.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2291 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2295 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2304 multiarch wordcopy for PPC32.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2308 (__libc_ifunc_impl_list): Likewise.
2309 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2310 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2312 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2313 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2314 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2316 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2326 multiarch wcscpy for PPC32.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2330 (__libc_ifunc_impl_list): Likewise.
2331 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2332 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2333 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2334 sysdeps/powerpc/power6/wcscpy.c.
2336 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2338 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2346 multiarch wcsrchr for PPC32.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2350 (__libc_ifunc_impl_list): Likewise.
2351 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2352 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2353 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2354 sysdeps/powerpc/power6/wcsrchr.c.
2356 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2364 multiarch wcschr for PPc32.
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2368 (__libc_ifunc_impl_list): Likewise.
2369 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2370 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2371 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2372 sysdeps/powerpc/power6/wcschr.c.
2374 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2380 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2381 file: multiarch strchr for PPC32.
2382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2385 (__libc_ifunc_impl_list): Likewise.
2387 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2391 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2396 multiarch strchrnul for PPC32.
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2400 (__libc_ifunc_impl_list): Likewise.
2402 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2406 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2407 multiarch strncasecmp for PPC32.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2411 multiarch strncasecmp_l for PPC32.
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2413 strncasecmp multiarch objects.
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2415 (__libc_ifunc_impl_list): Likewise.
2417 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2421 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2422 multiarch strncasecmp for PPC32.
2423 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2426 multiarch strcasecmp_l for PPC32.
2427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2430 (__libc_ifunc_impl_list): Likewise.
2432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2439 multiarch strncmp for PPC32.
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2443 (__libc_ifunc_impl_list): Likewise.
2445 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2448 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2455 (__libc_ifunc_impl_list): Likewise.
2457 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2467 (__libc_ifunc_impl_list): Likewise.
2469 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2476 multiarch rawmemchr for PPC32.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2480 (__libc_ifunc_impl_list): Likewise.
2482 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2489 file: memrchr multiarch for PPC32.
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2493 (__libc_ifunc_impl_list): Likewise.
2495 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2497 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2502 multiarch memchr for PPC32.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2506 (__libc_ifunc_impl_list): Likewise.
2508 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2510 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2515 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2516 file: multiarch mempcpy for PPC32.
2517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2520 (__libc_ifunc_impl_list): Likewise.
2522 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2528 multiarch bzero for PPC32.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2534 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2535 file: multiarch memset for PPC32.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2538 memset multiarch objects.
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2540 (__libc_ifunc_impl_list): Likewise.
2542 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2549 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2553 (__libc_ifunc_impl_list): Likewise.
2555 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2565 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2566 multiarch memcpy for PPC32.
2567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2570 (__libc_ifunc_impl_list): Likewise.
2572 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2575 support multiarch for POWER/PPC32.
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2578 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2580 Implies file to make multiarch folder appers before the fpu and
2581 default folder for power4 configuration.
2583 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2585 * scripts/bench.pl: Append volatile keyword to type.
2587 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2589 * sysdeps/sh/sotruss-lib.c: New file.
2590 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2592 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2596 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2599 * math/w_tgamma.c: Include <errno.h>.
2600 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2601 * math/w_tgammaf.c: Include <errno.h>.
2602 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2603 * math/w_tgammal.c: Include <errno.h>.
2604 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2605 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2606 underflow. Add more tgamma tests.
2607 * math/auto-libm-test-out: Regenerated.
2608 * sysdeps/i386/fpu/libm-test-ulps: Update.
2609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2612 sin, sinh, tan, tanh, tgamma, y0 and y1.
2613 * math/auto-libm-test-out: Regenerated.
2614 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2615 (TEST_COND_x86): Likewise.
2616 (M_E2l): Remove macro.
2618 (M_2_SQRT_PIl): Likewise.
2619 (M_SQRT_PIl): Likewise.
2620 (M_1_DIV_El): Likewise.
2621 (log_test_data): Use AUTO_TESTS_f_f.
2622 (log10_test_data): Likewise.
2623 (log1p_test_data): Likewise.
2624 (log2_test_data): Likewise.
2625 (sin_test_data): Likewise.
2626 (sin_tonearest_test_data): Likewise.
2627 (sin_towardzero_test_data): Likewise.
2628 (sin_downward_test_data): Likewise.
2629 (sin_upward_test_data): Likewise.
2630 (sinh_test_data): Likewise.
2631 (sinh_tonearest_test_data): Likewise.
2632 (sinh_towardzero_test_data): Likewise.
2633 (sinh_downward_test_data): Likewise.
2634 (sinh_upward_test_data): Likewise.
2635 (tan_test_data): Likewise.
2636 (tan_tonearest_test_data): Likewise.
2637 (tan_towardzero_test_data): Likewise.
2638 (tan_downward_test_data): Likewise.
2639 (tan_upward_test_data): Likewise.
2640 (tanh_test_data): Likewise.
2641 (tgamma_test_data): Likewise.
2642 (y0_test_data): Likewise.
2643 (y1_test_data): Likewise.
2644 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2645 (special_real_inputs): Add pi/4.
2646 * sysdeps/i386/fpu/libm-test-ulps: Update.
2647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2649 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2652 "longjmp_target" static probes.
2653 (__longjmp): Rename to __longjmp_symbol.
2654 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2655 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2656 on which longjmp to generate.
2657 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2658 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2660 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2661 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2662 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2663 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2664 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2665 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2667 __longjmp_symbol based on which __longjmp to generate.
2668 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2670 (setjmp): Rename to setjmp_symbol.
2671 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2672 (_setjmp): Rename to _setjmp_symbol.
2673 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2674 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2675 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2676 which setjmp to generate.
2677 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2678 "longjmp_target" static probes.
2680 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2682 * benchtests/README: Add note about output arguments.
2683 * benchtests/bench-sincos.c: Remove file.
2684 * benchtests/sincos-inputs: New file.
2685 * scripts/bench.pl: Identify output arguments and define
2686 static variables for them.
2688 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2691 * Makefile (INSTALL): Add install-plain.texi as the primary
2693 * manual/install-plain.texi: New file.
2694 * manual/install.texi: Include node directive only for
2695 non-plaintext output.
2697 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2699 * stdlib/longlong.h: Update from GCC.
2703 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2704 * math/w_j0f.c (y0f): Likewise.
2705 * math/w_j0l.c (__y0l): Likewise.
2706 * math/w_j1.c (y1): Likewise.
2707 * math/w_j1f.c (y1f): Likewise.
2708 * math/w_j1l.c (__y1l): Likewise
2709 * math/w_jn.c (yn): Likewise.
2710 * math/w_jnf.c (ynf): Likewise.
2711 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2712 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2713 value for Bessel function domain errors outside _SVID_ mode.
2714 Adjust sign of return value for yn (negative integer, 0).
2715 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2716 by zero in return for negative x and set sign appropriately for
2718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2720 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2721 expectations in error cases.
2722 (y1_test_data): Likewise.
2723 (yn_test_data): Likewise.
2724 * sysdeps/i386/fpu/libm-test-ulps: Update.
2725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2729 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2730 "64" to "64-v1". Add "64-v2".
2731 (abi-64-options): Rename to ...
2732 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2733 (abi-64-condition): Rename to ...
2734 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2735 (abi-64-ld-soname): Rename to ...
2736 (abi-64-v1-ld-soname): ... this.
2737 (abi-64-v2-options): Define.
2738 (abi-64-v2-condition): Likewise.
2739 (abi-64-v2-ld-soname): Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2741 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2746 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2747 Alan Modra <amodra@gmail.com>
2749 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2750 New versions for use with the ELFv2 ABI.
2751 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2752 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2754 (struct La_ppc64v2_retval): Likewise.
2755 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2756 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2757 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2758 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2759 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2761 Do not save or restore CR.
2762 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2763 (_dl_profile_resolve): Do no save or restore CR. Support extended
2764 return values for ELFv2 ABI. Fix location of FPR return registers.
2765 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2766 updated values for _CALL_ELF == 2.
2767 (La_regs, La_retval, int_retval): Likewise.
2769 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2771 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2772 (FRAME_MIN_SIZE_PARM): Likewise.
2773 (FRAME_BACKCHAIN): Likewise.
2774 (FRAME_CR_SAVE): Likewise.
2775 (FRAME_LR_SAVE): Likewise.
2776 (FRAME_TOC_SAVE): Likewise.
2777 (FRAME_PARM_SAVE): Likewise.
2778 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2779 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2780 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2781 (call_mcount_parm_offset): New macro.
2782 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2783 (PROF): Use symbolic stack frame offsets.
2784 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2785 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2786 Redefine in terms of FRAME_MIN_SIZE.
2787 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2788 (_dl_profile_resolve): Likewise. Update comment.
2789 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2790 symbols stack frame offsets.
2791 (__sigsetjmp): Likewise.
2792 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2793 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2794 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2795 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2798 (FRAME_BACKCHAIN): Remove.
2799 (FRAME_CR_SAVE): Likewise.
2800 (FRAME_LR_SAVE): Likewise.
2801 (FRAME_COMPILER_DW): Likewise.
2802 (FRAME_LINKER_DW): Likewise.
2803 (FRAME_TOC_SAVE): Likewise.
2804 (FRAME_PARM_SAVE): Likewise.
2805 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2806 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2807 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2809 (CHECK_SP): Use symbolic stack frame offsets.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2811 zone" instead of caller's parameter save area for temp storage.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2813 Likewise. Also, use symbolic stack frame offsets.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2815 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2816 our own stack frame instead of the caller's.
2817 (__socket): Use symbolic stack frame offsets.
2819 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2820 Alan Modra <amodra@gmail.com>
2822 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2824 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2825 PPC64_LOCAL_ENTRY_OFFSET): Define.
2826 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2828 (elf_machine_fixup_plt): Call it.
2829 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2831 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2832 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2833 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2834 r2 before calling target.
2836 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2837 Alan Modra <amodra@gmail.com>
2839 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2840 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2841 versions of macros to support ELFv2 ABI.
2842 (LOCALENTRY): New macro.
2843 (ENTRY, EALIGN): Use it.
2844 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2845 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2846 fall through into ENTRY entry point.
2847 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2848 Only define if _CALL_ELF != 2.
2850 (elf_machine_matches_host): Verify ABI version matches.
2851 (RTLD_START): Use LOCALENTRY.
2852 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2853 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2854 (PLT_ENTRY_WORDS): New macro.
2855 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2856 (elf_machine_runtime_setup): Support ELFv2 ABI.
2857 (elf_machine_fixup_plt): Likewise.
2858 (elf_machine_plt_conflict): Likewise.
2859 (resolve_ifunc): Likewise.
2860 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2864 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2866 (makecontext): Support ELFv2 ABI.
2867 * elf/elf.h (EF_PPC64_ABI): Define.
2869 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2871 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2872 New assembler macro.
2873 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2874 [ASSEMBLER] (ENTRY): ... but instead here ...
2875 [ASSEMBLER] (EALIGN): ... and here.
2876 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2877 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2878 [!ASSEMBLER] (ENTRY_2): Use it.
2879 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2880 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2881 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2882 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2883 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2885 Use PPC64_LOAD_FUNCPTR.
2887 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2889 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2891 2013-12-04 Alan Modra <amodra@gmail.com>
2893 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2894 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2895 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2896 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2899 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2900 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2901 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2902 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2903 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2905 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2908 (__makecontext): Fix incorrect CFI when backtracing out of
2909 context created via makecontext.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2911 (__setcontext): Fix incorrect CFI during switch to new context.
2912 (__novec_setcontext): Likewise.
2914 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2917 * time/strptime_l.c (__strptime_internal): Allow modifiers
2919 * time/tst-strptime.c (day_tests): Add testcase.
2922 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2924 * scripts/bench.pl: Skip over blank lines.
2926 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2929 * manual/time.texi (Calendar Time): Clarify what timezone functions
2932 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2936 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2938 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2940 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2941 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2942 * debug/memset_chk.c (__memset_chk): Likewise.
2943 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2944 * debug/strncpy_chk.c: Likewise.
2946 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2950 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2951 (__ieee754_exp): For possibly underflowing results, check size of
2952 result and force underflow exception if required.
2953 * math/auto-libm-test-in: Add more tests of exp.
2954 * math/auto-libm-test-out: Regenerated.
2955 * sysdeps/i386/fpu/libm-test-ulps: Update.
2956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2959 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2960 * math/w_exp2f.c (__exp2f): Likewise.
2961 * math/w_exp2l.c (__exp2l): Likewise.
2962 * math/auto-libm-test-in: Do not allow missing errno on exp2
2964 * math/auto-libm-test-out: Regenerated.
2966 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2969 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2970 handle filename validation.
2971 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2974 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2977 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2978 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2979 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2981 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2982 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2983 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2985 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2986 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2987 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2988 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2989 Add more erfc tests.
2990 * math/auto-libm-test-out: Regenerated.
2991 * sysdeps/i386/fpu/libm-test-ulps: Update.
2992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2994 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2995 exp2, expm1, j0 and j1.
2996 * math/auto-libm-test-out: Regenerated.
2997 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2998 (erfc_test_data): Likewise.
2999 (exp_test_data): Likewise.
3000 (exp_tonearest_test_data): Likewise.
3001 (exp_towardzero_test_data): Likewise.
3002 (exp_downward_test_data): Likewise.
3003 (exp_upward_test_data): Likewise.
3004 (exp10_test_data): Likewise.
3005 (exp2_test_data): Likewise.
3006 (expm1_test_data): Likewise.
3007 (j0_test_data): Likewise.
3008 (j1_test_data): Likewise.
3009 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3010 (input_flag_type): Add flag_xfail_rounding.
3011 (input_flags): Add xfail-rounding.
3012 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3013 (output_for_one_input_case): Handle flag_xfail_rounding.
3014 * sysdeps/i386/fpu/libm-test-ulps: Update.
3015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3017 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3020 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3023 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3026 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3027 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3028 (STAP_PROBE0): New macro.
3029 (STAP_PROBE1): Likewise.
3030 (STAP_PROBE2): Likewise.
3031 (STAP_PROBE3): Likewise.
3032 (STAP_PROBE4): Likewise.
3034 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3036 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3038 2013-12-02 Steve Ellcey <sellcey@mips.com>
3040 * benchtests/Makefile (bench): Add sqrt.
3041 (LDLIBS-bench-sqrt): New.
3042 * benchtests/sqrt-input: New.
3044 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3046 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3047 (GAIH_EAI): Likewise.
3048 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3049 (gaih_inet): Likewise.
3050 (getaddrinfo): Don't use GAIH_EAI.
3052 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3053 (struct gaih): Remove definition.
3055 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3057 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3058 Use HERRNOP directly.
3060 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3064 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3066 * math/gen-auto-libm-tests.c (test_functions): Add more
3067 single-argument functions.
3068 (special_fill_pi_2): New function.
3069 (special_fill_minus_pi_2): Likewise.
3070 (special_fill_pi_6): Likewise.
3071 (special_fill_minus_pi_6): Likewise.
3072 (special_fill_pi_3): Likewise.
3073 (special_fill_2pi_3): Likewise.
3074 (special_fill_e): Likewise.
3075 (special_fill_1_e): Likewise.
3076 (special_fill_e_minus_1): Likewise.
3077 (special_real_inputs): Add more special inputs.
3078 (output_for_one_input_case): Do not require ERANGE on underflow to
3079 zero if round-to-nearest result does not underflow to zero, unless
3080 exact results required.
3081 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3082 atan, atanh, cbrt, cos and cosh.
3083 * math/auto-libm-test-out: Regenerated.
3084 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3085 (acos_tonearest_test_data): Likewise.
3086 (acos_towardzero_test_data): Likewise.
3087 (acos_downward_test_data): Likewise.
3088 (acos_upward_test_data): Likewise.
3089 (acosh_test_data): Likewise.
3090 (asin_test_data): Likewise.
3091 (asin_tonearest_test_data): Likewise.
3092 (asin_towardzero_test_data): Likewise.
3093 (asin_upward_test_data): Likewise.
3094 (asinh_test_data): Likewise.
3095 (atan_test_data): Likewise.
3096 (atanh_test_data): Likewise.
3097 (cbrt_test_data): Likewise.
3098 (cos_test_data): Likewise.
3099 (cos_tonearest_test_data): Likewise.
3100 (cos_towardzero_test_data): Likewise.
3101 (cos_downward_test_data): Likewise.
3102 (cos_upward_test_data): Likewise.
3103 (cosh_test_data): Likewise.
3104 (cosh_tonearest_test_data): Likewise.
3105 (cosh_towardzero_test_data): Likewise.
3106 (cosh_downward_test_data): Likewise.
3107 (cosh_upward_test_data): Likewise.
3108 * sysdeps/i386/fpu/libm-test-ulps: Update.
3109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3111 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3114 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3115 * math/w_exp10f.c (__exp10f): Likewise.
3116 * math/w_exp10l.c (__exp10l): Likewise.
3117 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3118 errno settings in existing tests.
3121 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3122 precision control set to double precision.
3123 * sysdeps/i386/fpu/w_sqrt.c: New file.
3124 * math/auto-libm-test-in: Add more tests.
3125 * math/auto-libm-test-out: Update.
3127 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3128 (sqrt_test_tonearest): New function.
3129 (sqrt_towardzero_test_data): New variable.
3130 (sqrt_test_towardzero): New function.
3131 (sqrt_downward_test_data): New variable.
3132 (sqrt_test_downward): New function.
3133 (sqrt_upward_test_data): New variable.
3134 (sqrt_test_upward): New function.
3135 (main): Call the new functions.
3137 * math/gen-auto-libm-tests.c: New file.
3138 * math/auto-libm-test-in: Likewise.
3139 * math/auto-libm-test-out: New generated file.
3140 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3142 (%beautify): Add generated representations of zero.
3143 (top level): Set $auto_input and call parse_auto_input.
3144 (beautify): Remove trailing "f" from hex float constants.
3145 (parse_args): Handle XFAIL_TEST.
3146 (convert_condition): New function.
3147 (or_value): Likewise.
3148 (or_cond_value): Likewise.
3149 (generate_testfile): Handle AUTO_TESTS_* lines.
3150 (parse_auto_input): New function.
3151 * math/libm-test.inc (XFAIL_TEST): New macro.
3152 (ERRNO_UNCHANGED): Update value.
3153 (ERRNO_EDOM): Likewise.
3154 (ERRNO_ERANGE): Likewise.
3155 (IGNORE_RESULT): Likewise.
3156 (TEST_COND_flt_32): New macro.
3157 (TEST_COND_dbl_64): Likewise.
3158 (TEST_COND_ldbl_96_intel): Likewise.
3159 (TEST_COND_ldbl_96_m68k): Likewise.
3160 (TEST_COND_ldbl_128): Likewise.
3161 (TEST_COND_ldbl_128ibm): Likewise.
3162 (TEST_COND_long32): Likewise.
3163 (TEST_COND_long64): Likewise.
3164 (TEST_COND_before_rounding): Likewise.
3165 (TEST_COND_after_rounding): Likewise.
3166 (enable_test): Handle XFAIL_TEST flag.
3167 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3168 with finite results.
3169 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3172 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3173 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3176 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3177 __tls_get_addr_internal instead of __tls_get_offset in order to
3178 avoid GOT pointer dependency. Make rtld export
3179 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3180 __tls_get_addr since we are a __tls_get_offset platform.
3181 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3182 GOT pointer being set up before.
3183 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3185 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3187 * manual/math.texi (Errors in Math Functions): Document accuracy
3191 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3192 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3195 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3196 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3197 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3198 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3199 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3200 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3203 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3205 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3206 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3208 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3209 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3210 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3211 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3212 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3214 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3216 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3218 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3219 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3220 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3221 atomic-feupdateenv and flt-rounds.
3222 * sysdeps/powerpc/nofpu/Versions (libc): Add
3223 __atomic_feholdexcept, __atomic_feclearexcept,
3224 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3225 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3226 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3227 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3228 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3233 * manual/arith.texi (FP Exceptions): Document that exceptions may
3234 not be raised when matherr is used.
3235 (Math Error Reporting): Document overflow in directed rounding
3236 modes. Document that errno may not be set when finite values are
3237 returned on overflow. Document intent to set errno on underflow
3238 only for underflow to zero.
3241 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3242 round-to-nearest then adjust result for other rounding modes.
3243 * include/fenv.h (fegetround): Use libm_hidden_proto.
3244 * math/fegetround.c (fegetround): Use libm_hidden_def.
3245 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3246 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3247 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3248 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3250 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3251 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3252 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3253 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3255 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3258 * nss/Versions (libnss_files): Add
3259 _nss_files_gethostbyname3_r.
3260 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3262 (HOST_DB_LOOKUP): Remove macro.
3263 (_nss_files_gethostbyname_r): Implement function without the
3264 HOST_DB_LOOKUP macro.
3265 (_nss_files_gethostbyname2_r): Likewise.
3267 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3269 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3271 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3273 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3274 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3277 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3279 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3280 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3281 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3282 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3283 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3284 __fe_nomask_env_priv and attribute_hidden.
3285 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3286 (libc_feupdateenv_test_ppc): Likewise.
3287 (libc_feresetround_ppc): Likewise.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3289 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3290 compat_symbol macro.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3292 (__fe_nomask_env): Likewise.
3293 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3295 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3297 * string/Makefile: Remove ifunc tests.
3298 * string/test-string.h: Define TEST_IFUNC.
3299 * string/test-bcopy-ifunc.c: Remove.
3300 * string/test-bzero-ifunc.c: Likewise.
3301 * string/test-memccpy-ifunc.c: Likewise.
3302 * string/test-memchr-ifunc.c: Likewise.
3303 * string/test-memcmp-ifunc.c: Likewise.
3304 * string/test-memcpy-ifunc.c: Likewise.
3305 * string/test-memmem-ifunc.c: Likewise.
3306 * string/test-memmove-ifunc.c: Likewise.
3307 * string/test-mempcpy-ifunc.c: Likewise.
3308 * string/test-memrchr-ifunc.c: Likewise.
3309 * string/test-memset-ifunc.c: Likewise.
3310 * string/test-rawmemchr-ifunc.c: Likewise.
3311 * string/test-stpcpy-ifunc.c: Likewise.
3312 * string/test-stpncpy-ifunc.c: Likewise.
3313 * string/test-strcasecmp-ifunc.c: Likewise.
3314 * string/test-strcasestr-ifunc.c: Likewise.
3315 * string/test-strcat-ifunc.c: Likewise.
3316 * string/test-strchr-ifunc.c: Likewise.
3317 * string/test-strchrnul-ifunc.c: Likewise.
3318 * string/test-strcmp-ifunc.c: Likewise.
3319 * string/test-strcpy-ifunc.c: Likewise.
3320 * string/test-strcspn-ifunc.c: Likewise.
3321 * string/test-strlen-ifunc.c: Likewise.
3322 * string/test-strncasecmp-ifunc.c: Likewise.
3323 * string/test-strncat-ifunc.c: Likewise.
3324 * string/test-strncmp-ifunc.c: Likewise.
3325 * string/test-strncpy-ifunc.c: Likewise.
3326 * string/test-strnlen-ifunc.c: Likewise.
3327 * string/test-strpbrk-ifunc.c: Likewise.
3328 * string/test-strrchr-ifunc.c: Likewise.
3329 * string/test-strspn-ifunc.c: Likewise.
3330 * string/test-strstr-ifunc.c: Likewise.
3332 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3334 * benchtests/Makefile: Remove ifunc tests.
3335 * benchtests/bench-string.h: Define TEST_IFUNC.
3336 * benchtests/bench-bcopy-ifunc.c: Remove.
3337 * benchtests/bench-bzero-ifunc.c: Likewise.
3338 * benchtests/bench-memccpy-ifunc.c: Likewise.
3339 * benchtests/bench-memchr-ifunc.c: Likewise.
3340 * benchtests/bench-memcmp-ifunc.c: Likewise.
3341 * benchtests/bench-memcpy-ifunc.c: Likewise.
3342 * benchtests/bench-memmem-ifunc.c: Likewise.
3343 * benchtests/bench-memmove-ifunc.c: Likewise.
3344 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3345 * benchtests/bench-memrchr-ifunc.c: Likewise.
3346 * benchtests/bench-memset-ifunc.c: Likewise.
3347 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3348 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3349 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3350 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3351 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3352 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3353 * benchtests/bench-strcat-ifunc.c: Likewise.
3354 * benchtests/bench-strchr-ifunc.c: Likewise.
3355 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3356 * benchtests/bench-strcmp-ifunc.c: Likewise.
3357 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3358 * benchtests/bench-strcpy-ifunc.c: Likewise.
3359 * benchtests/bench-strcspn-ifunc.c: Likewise.
3360 * benchtests/bench-strlen-ifunc.c: Likewise.
3361 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3362 * benchtests/bench-strncat-ifunc.c: Likewise.
3363 * benchtests/bench-strncmp-ifunc.c: Likewise.
3364 * benchtests/bench-strncpy-ifunc.c: Likewise.
3365 * benchtests/bench-strnlen-ifunc.c: Likewise.
3366 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3367 * benchtests/bench-strrchr-ifunc.c: Likewise.
3368 * benchtests/bench-strsep-ifunc.c: Likewise.
3369 * benchtests/bench-strspn-ifunc.c: Likewise.
3370 * benchtests/bench-strstr-ifunc.c: Likewise.
3372 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3374 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3376 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3378 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3379 * rt/aio.h: Likewise.
3380 * sysdeps/gnu/bits/utmp.h: Likewise.
3381 * sysdeps/gnu/bits/utmpx.h: Likewise.
3382 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3383 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3384 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3385 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3386 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3387 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3388 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3389 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3390 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3391 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3392 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3393 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3394 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3397 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3398 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3399 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3400 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3401 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3402 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3403 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3404 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3405 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3406 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3409 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3411 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3412 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3413 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3416 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3417 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3418 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3419 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3420 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3421 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3422 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3423 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3425 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3428 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3429 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3431 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3433 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3434 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3437 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3440 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3441 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3442 (__fesetround): Remove define.
3443 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3444 rounding and exceptions handling.
3445 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3446 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3447 (__fe_nomask_env): Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3449 __fegetround instead of fegetround.
3450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3453 2013-11-21 Roland McGrath <roland@hack.frob.com>
3455 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3458 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3460 2013-11-21 Meador Inge <meadori@codesourcery.com>
3463 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3464 (encrypt_r): Likewise.
3465 * malloc/obstack.h (obstack_free): Likewise.
3466 * posix/unistd.h (encrypt): Likewise.
3468 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3470 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3471 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3472 DL_CALL_DT_FINI() that call the functions directly.
3473 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3474 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3475 * elf/dl-fini.c: Likewise.
3477 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3479 * malloc/hooks.c (memalign_check): Add alignment rounding.
3480 * malloc/malloc.c (_mid_memalign): New function.
3481 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3482 Implement by calling _mid_memalign.
3483 * manual/probes.texi (Memory Allocation Probes): Remove
3484 memory_valloc_retry and memory_pvalloc_retry.
3486 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3488 * locale/programs/locarchive.c (open_archive): Add const
3489 qualifier to ARCHIVEFNAME and copy default fname to
3493 * libio/tst-widetext.input: Rename Oriya to Odia.
3494 * locale/iso-639.def: Likewise.
3496 * manual/probes.texi (Mathematical Function Probes): Add
3497 documentation for sin, cos, asin and acos probes.
3498 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3499 (__sin32): Add slowasin probe.
3500 (__cos32): Add slowacos probe.
3501 (__mpsin): Add slowsin probe.
3502 (__mpcos): Add slowcos probe.
3504 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3507 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3508 thread-local __sim_exceptions_thread and global
3509 __sim_exceptions_global.
3510 (__sim_disabled_exceptions): Change to thread-local
3511 __sim_disabled_exceptions_thread and global
3512 __sim_disabled_exceptions_global.
3513 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3514 and global __sim_round_mode_global.
3515 (__simulate_exceptions): Use thread-local floating-point state and
3516 set global state from it as needed.
3517 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3518 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3519 __sim_round_mode_thread.
3520 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3521 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3522 and global __sim_exceptions_global.
3523 (__sim_disabled_exceptions): Change to thread-local
3524 __sim_disabled_exceptions_thread and global
3525 __sim_disabled_exceptions_global.
3526 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3527 and global __sim_round_mode_global.
3528 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3529 (SIM_SET_GLOBAL): Likewise.
3530 * sysdeps/powerpc/soft-fp/sfp-machine.h
3531 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3532 __sim_round_mode_thread.
3533 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3534 __sim_disabled_exceptions_thread.
3535 (__sim_exceptions): Change to __sim_exceptions_thread.
3536 (__sim_disabled_exceptions): Change to
3537 __sim_disabled_exceptions_thread.
3538 (__sim_round_mode): Change to __sim_round_mode_thread.
3539 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3540 thread-local floating-point state and set global state from it as
3542 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3543 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3544 (__sim_disabled_exceptions): Remove extern declaration.
3545 (feenableexcept): Use thread-local floating-point state and set
3546 global state from it as needed.
3547 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3549 (__sim_disabled_exceptions): Likewise.
3550 (__sim_round_mode): Likewise.
3551 (__fegetenv): Use thread-local floating-point state.
3552 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3553 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3554 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3555 floating-point state and set global state from it as needed.
3556 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3557 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3558 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3560 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3561 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3563 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3564 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3565 Use __sim_round_mode_thread.
3566 * math/test-fenv-tls.c: New file.
3567 * math/Makefile (tests): Add test-fenv-tls.
3568 ($(objpfx)test-fenv-tls): Depend on
3569 $(common-objpfx)nptl/libpthread.so.
3571 2013-11-19 Andreas Schwab <schwab@suse.de>
3573 * locale/programs/locale.c (show_info): Decode wordarray elements.
3574 * locale/categories.def (LC_MONETARY): Add element for
3575 _NL_MONETARY_CRNCYSTR.
3576 * locale/C-monetary.c (conversion_rate): New variable.
3577 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3580 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3582 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3583 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3585 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3587 * elf/Makefile (tst-auxv): New test.
3588 * elf/tst-auxv.c: New
3589 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3591 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3593 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3594 (hidden_proto): Caller changed.
3595 (hidden_tls_proto): New macro.
3596 (libc_hidden_tls_proto): Likewise.
3597 (rtld_hidden_tls_proto): Likewise.
3598 (libm_hidden_tls_proto): Likewise.
3599 (libresolv_hidden_tls_proto): Likewise.
3600 (librt_hidden_tls_proto): Likewise.
3601 (libdl_hidden_tls_proto): Likewise.
3602 (libnss_files_hidden_tls_proto): Likewise.
3603 (libnsl_hidden_tls_proto): Likewise.
3604 (libnss_nisplus_hidden_tls_proto): Likewise.
3605 (libutil_hidden_tls_proto): Likewise.
3607 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3610 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3611 (decompose_rpath): Defer expansion to fillin_rpath.
3612 (_dl_init_paths): Pass linkmap to fillin_rpath.
3614 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3616 * benchtests/Makefile: Add strsep.
3617 * benchtests/bench-strsep.c: New file: strsep benchtest.
3618 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3620 2013-11-18 Andreas Schwab <schwab@suse.de>
3622 * locale/programs/locale.c (show_info) [case byte]: Check for
3623 '\377' instead of '\177'.
3624 * locale/C-monetary.c (not_available): Always use "\377".
3625 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3626 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3627 detect unavailable sign_posn locale elements.
3628 * locale/localeconv.c (__localeconv): For grouping and
3629 mon_grouping handle "\177" and "\377" like no grouping.
3630 (INT_ELEM): New macro. Use it to set all numeric members.
3631 * locale/programs/ld-monetary.c (monetary_read)
3632 <tok_mon_grouping>: Normalize single -1 to the empty string.
3633 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3636 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3639 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3640 when we match (nil).
3641 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3643 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3645 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3646 (NO_TEST_INLINE): Update value.
3647 (ERRNO_UNCHANGED): Likewise.
3648 (ERRNO_EDOM): Likewise.
3649 (ERRNO_ERANGE): Likewise.
3650 (IGNORE_RESULT): Likewise.
3651 (check_float_internal): Check signs of NaN results if
3653 (check_complex): Pass TEST_NAN_SIGN flag through to second
3654 check_float_internal call.
3655 (copysign_test_data): Add tests with quiet NaNs as second
3656 argument. Use TEST_NAN_SIGN.
3657 (fabs_test_data): Add test of negative quiet NaN argument. Use
3659 (signbit_test_data): Add tests of quiet NaN argument.
3660 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3662 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3664 (parse_args): Handle function results specified as IGNORE.
3665 * math/libm-test.inc (IGNORE_RESULT): New macro.
3666 (check_float_internal): Do not check numerical result if flag
3668 (check_complex): Pass through IGNORE_RESULT to second
3669 check_float_internal call.
3670 (check_int): Do not check numerical result if flag IGNORE_RESULT
3672 (check_long): Likewise.
3673 (check_bool): Likewise.
3674 (check_longlong): Likewise.
3675 (lrint_test_data): Add tests of infinite and NaN arguments.
3676 (lrint_tonearest_test_data): Likewise.
3677 (lrint_towardzero_test_data): Likewise.
3678 (lrint_downward_test_data): Likewise.
3679 (lrint_upward_test_data): Likewise.
3680 (llrint_test_data): Likewise.
3681 (llrint_tonearest_test_data): Likewise.
3682 (llrint_towardzero_test_data): Likewise.
3683 (llrint_downward_test_data): Likewise.
3684 (llrint_upward_test_data): Likewise.
3685 (lround_test_data): Likewise.
3686 (llround_test_data): Likewise.
3688 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3689 (ERRNO_UNCHANGED): Update value.
3690 (ERRNO_EDOM): Likewise.
3691 (ERRNO_ERANGE): Likewise.
3692 (NO_TEST_INLINE_FLOAT): New macro.
3693 (NO_TEST_INLINE_DOUBLE): Likewise.
3694 (enable_test): New function.
3695 (RUN_TEST_f_f): Check enable_test before running test.
3696 (RUN_TEST_2_f): Likewise.
3697 (RUN_TEST_fff_f): Likewise.
3698 (RUN_TEST_c_f): Likewise.
3699 (RUN_TEST_f_f1): Likewise.
3700 (RUN_TEST_fF_f1): Likewise.
3701 (RUN_TEST_fI_f1): Likewise.
3702 (RUN_TEST_ffI_f1): Likewise.
3703 (RUN_TEST_c_c): Likewise.
3704 (RUN_TEST_cc_c): Likewise.
3705 (RUN_TEST_f_i): Likewise.
3706 (RUN_TEST_f_i_tg): Likewise.
3707 (RUN_TEST_ff_i_tg): Likewise.
3708 (RUN_TEST_f_b): Likewise.
3709 (RUN_TEST_f_b_tg): Likewise.
3710 (RUN_TEST_f_l): Likewise.
3711 (RUN_TEST_f_L): Likewise.
3712 (RUN_TEST_fFF_11): Likewise.
3713 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3715 (cosh_test_data): Likewise.
3716 (exp_test_data): Likewise.
3717 (expm1_test_data): Likewise.
3718 (hypot_test_data): Likewise.
3719 (pow_test_data): Likewise.
3720 (sinh_test_data): Likewise.
3721 (tanh_test_data): Likewise.
3722 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3725 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3726 tests with quiet NaN input and output.
3727 (acosh_test_data): Likewise.
3728 (asin_test_data): Likewise.
3729 (asinh_test_data): Likewise.
3730 (atan_test_data): Likewise.
3731 (atanh_test_data): Likewise.
3732 (atan2_test_data): Likewise.
3733 (cbrt_test_data): Likewise.
3734 (cos_test_data): Likewise.
3735 (cosh_test_data): Likewise.
3736 (erf_test_data): Likewise.
3737 (erfc_test_data): Likewise.
3738 (exp_test_data): Likewise.
3739 (exp10_test_data): Likewise.
3740 (exp2_test_data): Likewise.
3741 (expm1_test_data): Likewise.
3742 (hypot_test_data): Likewise.
3743 (j0_test_data): Likewise.
3744 (j1_test_data): Likewise.
3745 (jn_test_data): Likewise.
3746 (lgamma_test_data): Likewise.
3747 (log_test_data): Likewise.
3748 (log10_test_data): Likewise.
3749 (log1p_test_data): Likewise.
3750 (log2_test_data): Likewise.
3751 (pow_test_data): Likewise.
3752 (scalb_test_data): Likewise.
3753 (sin_test_data): Likewise.
3754 (sincos_test_data): Likewise.
3755 (sinh_test_data): Likewise.
3756 (tan_test_data): Likewise.
3757 (tanh_test_data): Likewise.
3758 (tgamma_test_data): Likewise.
3759 (y0_test_data): Likewise.
3760 (y1_test_data): Likewise.
3761 (yn_test_data): Likewise.
3764 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3765 argument being NaN and avoid computations with second argument in
3767 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3768 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3769 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3771 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3773 * locale/iso-639.def: Add Chitwani Tharu (the).
3775 2013-11-14 Andreas Schwab <schwab@suse.de>
3777 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3778 word instead of empty string.
3780 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3783 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3785 (__fe_nomask_env): Likewise.
3787 2013-11-13 Steve Ellcey <sellcey@mips.com>
3789 * benchtests/bench-timing.h: Include time.h.
3791 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3794 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3796 * sysdeps/unix/sysv/linux/configure: Regenerated.
3798 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3801 * stdlib/strtod_l.c (round_and_return): Do not consider
3802 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3803 exponent one less than half the least subnormal exponent.
3804 * stdlib/test-strtod-round-data: Add more tests.
3805 * stdlib/tst-strtod-round.c (tests): Regenerated.
3807 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3810 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3811 (__fe_mask_env): Likewise.
3812 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3813 libm_hidden_proto and add function prototype.
3814 (__fe_mask_env): Add function prototype.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3816 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3818 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3820 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3822 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3824 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3825 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3827 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3829 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3830 of htab_find_slot().
3832 2013-11-11 David S. Miller <davem@davemloft.net>
3835 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3836 symbol in the non-vis3 case in static builds.
3837 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3838 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3839 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3840 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3842 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3845 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3848 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850 * benchtests/Makefile: Add bench-strtod.
3851 * benchtests/bench-strtod.c: New file: strtod benchtest
3853 2013-11-11 Andreas Schwab <schwab@suse.de>
3856 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3857 terminating NUL in key length.
3859 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3861 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3862 Add artificial ODP entry for vDSO symbol for PPC64.
3863 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3864 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3866 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3869 * nss/getent.c (services_keys): Recognize services starting with digit.
3871 2013-11-06 David S. Miller <davem@davemloft.net>
3874 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3875 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3877 2013-11-06 Will Newton <will.newton@linaro.org>
3879 * manual/memory.texi (Malloc Examples): Remove register
3880 keyword from examples.
3882 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3884 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3886 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3888 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3889 depending on [__GCC_IEC_559 > 0].
3890 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3891 depending on [__GCC_IEC_559_COMPLEX > 0].
3893 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3895 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3898 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3900 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3902 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3905 * malloc/malloc (malloc_info): Do not handle first bin as
3908 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3910 * locale/iso-639.def: Add Central Nahuatl (nhn).
3912 2013-11-01 Bruno Haible <bruno@clisp.org>
3915 * manual/math.texi (BSD Random): Specify range upper bound as
3918 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3920 * locale/iso-639.def: Add Meadow Mari (mhr).
3922 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3924 [BZ #14752], [BZ #15763]
3925 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3927 * rt/tst_shm.c: Add test for escaping directory.
3929 2013-10-31 Andreas Schwab <schwab@suse.de>
3932 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3933 followed by 'x' as part of digit sequence.
3934 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3936 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3939 * configure.ac: allow GNU Make 4.0 and greater.
3940 * configure: Regenerated.
3942 2013-10-30 Will Newton <will.newton@linaro.org>
3945 * malloc/hooks.c (memalign_check): Limit alignment to the
3946 maximum representable power of two.
3947 * malloc/malloc.c (__libc_memalign): Likewise.
3948 * malloc/tst-memalign.c (do_test): Add test for very
3949 large alignment values.
3950 * malloc/tst-posix_memalign.c (do_test): Likewise.
3952 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3955 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3956 (munmap_chunk): Likewise.
3957 (mremap_chunk): Likewise.
3959 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3962 * stdlib/div.c (div): Remove obsolete code.
3963 * stdlib/ldiv.c (ldiv): Likewise.
3964 * stdlib/lldiv.c (lldiv): Likewise.
3966 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3969 * nss/nss_files/files-XXX.c (get_contents_ret): New
3971 (get_contents): New function.
3972 (internal_getent): Use it. Expand size of LINEBUFLEN.
3974 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3976 * configure.in: Moved to ...
3977 * configure.ac: ... here. Change reference to configure.in
3979 * sysdeps/arm/preconfigure.ac: ... here.
3980 configure.in to configure.ac.
3981 * sysdeps/gnu/configure.in: Moved to ...
3982 * sysdeps/gnu/configure.ac: ... here.
3983 * sysdeps/i386/configure.in: Moved to ...
3984 * sysdeps/i386/configure.ac: ... here.
3985 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3986 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3987 * sysdeps/mach/configure.in: Moved to ...
3988 * sysdeps/mach/configure.ac: ... here.
3989 * sysdeps/mach/hurd/configure.in: Moved to ...
3990 * sysdeps/mach/hurd/configure.ac: ... here.
3991 * sysdeps/powerpc/configure.in: Moved to ...
3992 * sysdeps/powerpc/configure.ac: ... here.
3993 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3994 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3995 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3996 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3997 * sysdeps/s390/s390-32/configure.in: Moved to ...
3998 * sysdeps/s390/s390-32/configure.ac: ... here.
3999 * sysdeps/s390/s390-64/configure.in: Moved to ...
4000 * sysdeps/s390/s390-64/configure.ac: ... here.
4001 * sysdeps/sh/configure.in: Moved to ...
4002 * sysdeps/sh/configure.ac: ... here.
4003 * sysdeps/sparc/configure.in: Moved to ...
4004 * sysdeps/sparc/configure.ac: ... here.
4005 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4006 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4007 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4008 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4009 * sysdeps/x86_64/configure.in: Moved to ...
4010 * sysdeps/x86_64/configure.ac: ... here.
4011 * sysdeps/x86_64/preconfigure.in: Moved to ...
4012 * sysdeps/x86_64/preconfigure.ac: ... here.
4013 * aclocal.m4: Change reference to configure.in to configure.ac.
4014 * config.h.in: Likewise.
4015 * manual/install.texi: Likewise.
4016 * manual/maint.texi: Likewise.
4017 * Makefile: Likewise.
4018 * malloc/Makefile: Likewise.
4019 * nscd/Makefile: Likewise.
4020 * Makeconfig: Change reference to configure.in and
4021 preconfigure.in to configure.ac and preconfigure.ac
4023 * INSTALL: Regenerated.
4024 * configure: Likewise.
4025 * sysdeps/gnu/configure: Likewise.
4026 * sysdeps/i386/configure: Likewise.
4027 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4028 * sysdeps/mach/configure: Likewise.
4029 * sysdeps/mach/hurd/configure: Likewise.
4030 * sysdeps/powerpc/configure: Likewise.
4031 * sysdeps/powerpc/powerpc32/configure: Likewise.
4032 * sysdeps/powerpc/powerpc64/configure: Likewise.
4033 * sysdeps/s390/s390-32/configure: Likewise.
4034 * sysdeps/s390/s390-64/configure: Likewise.
4035 * sysdeps/sh/configure: Likewise.
4036 * sysdeps/sparc/configure: Likewise.
4037 * sysdeps/unix/sysv/linux/configure: Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4039 * sysdeps/x86_64/configure: Likewise.
4040 * sysdeps/x86_64/preconfigure: Likewise.
4042 2013-10-29 Andreas Schwab <schwab@suse.de>
4044 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4046 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4048 * benchtests/pow-inputs: Add new inputs.
4050 * benchtests/exp-inputs: Add new inputs.
4052 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4053 conditional check for return value.
4054 (__cos32): Likewise.
4056 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4058 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4059 to provide a boost for large inputs with word alignment.
4060 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4061 implementation based on optimized PPC64 strcpy.
4062 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4063 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4064 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4065 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4067 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4070 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4072 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4075 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4076 * time/tst-strptime.c (day_tests): Add testcase.
4078 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4081 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4083 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4086 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4087 MAP_FAILED on error.
4089 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4092 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4093 heap for large requests.
4095 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4098 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4099 result if the result has no associated interface.
4100 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4101 interface for all 127.X.Y.Z addresses.
4103 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4105 * locale/iso-639.def: Add Ligurian (lij)
4107 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4110 * sunrpc/rpc_main.c: Document rpcgen -5.
4112 2013-10-19 Michael Stahl <mstahl@redhat.com>
4114 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4116 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4119 * posix/glob.c: Match only directories when trailing slash is present.
4120 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4121 (main): Add testcase.
4123 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4126 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4128 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4130 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4131 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4132 AUTH_DES and cindex for FIPS 140-2.
4133 (DES Encryption): Add cindex FIPS 46-3.
4135 * locale/locarchive.h (struct locarhandle): Add fname.
4136 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4137 if an optional argument was specified to --list-archive,
4139 * locale/programs/locarchive.c (show_archive_content): Take new
4140 argument fname and pass it via ah.fname to open_archive.
4141 * locale/programs/localedef.h: Update decl.
4142 (open_archive): If AH->fname is non-null, open that file
4143 rather than the default file name, and don't ignore ENOENT.
4144 (create_archive): Set AH.fname to NULL.
4145 (delete_locales_from_archive): Likewise.
4146 (add_locales_to_archive): Likewise.
4147 * locale/programs/locfile.c (write_all_categories): Likewise.
4149 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4150 Aldy Hernandez <aldyh@redhat.com>
4152 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4153 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4154 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4155 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4156 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4157 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4158 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4159 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4160 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4161 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4162 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4163 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4164 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4165 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4166 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4168 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4170 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4172 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4174 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4175 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4177 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4178 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4179 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4180 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4182 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4183 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4184 * sysdeps/powerpc/preconfigure: Likewise.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4187 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4188 Replace contents of file by #include of <fenv_libc.h>.
4189 * sysdeps/powerpc/soft-fp/sfp-machine.h
4190 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4192 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4195 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4196 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4197 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4199 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4200 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4201 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4202 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4205 Allow copysignl PLT reference to be missing.
4207 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4208 Joseph Myers <joseph@codesourcery.com
4211 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4213 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4215 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4217 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4218 * elf/tst-tls1.c: Likewise.
4219 * elf/tst-tls10.h: Likewise.
4220 * elf/tst-tls14.c: Likewise.
4221 * elf/tst-tls2.c: Likewise.
4222 * elf/tst-tls3.c: Likewise.
4223 * elf/tst-tls4.c: Likewise.
4224 * elf/tst-tls5.c: Likewise.
4225 * elf/tst-tls6.c: Likewise.
4226 * elf/tst-tls7.c: Likewise.
4227 * elf/tst-tls8.c: Likewise.
4228 * elf/tst-tls9.c: Likewise.
4229 * elf/tst-tlsmod1.c: Likewise.
4230 * elf/tst-tlsmod13.c: Likewise.
4231 * elf/tst-tlsmod13a.c: Likewise.
4232 * elf/tst-tlsmod14a.c: Likewise.
4233 * elf/tst-tlsmod16a.c: Likewise.
4234 * elf/tst-tlsmod16b.c: Likewise.
4235 * elf/tst-tlsmod2.c: Likewise.
4236 * elf/tst-tlsmod3.c: Likewise.
4237 * elf/tst-tlsmod4.c: Likewise.
4238 * elf/tst-tlsmod5.c: Likewise.
4239 * elf/tst-tlsmod6.c: Likewise.
4241 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4244 * malloc/malloc.c: remove checks for statistics.
4246 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4249 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4250 * inet/tst-network.c: Add testcase.
4252 2013-10-17 Andreas Schwab <schwab@suse.de>
4255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4256 to determine canonical name.
4258 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4260 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4261 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4284 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4285 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4290 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4319 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4322 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4323 make result into a quiet NaN.
4325 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4327 * soft-fp/adddf3.c: Fix horizontal whitespace.
4328 * soft-fp/addsf3.c: Likewise.
4329 * soft-fp/addtf3.c: Likewise.
4330 * soft-fp/divdf3.c: Likewise.
4331 * soft-fp/divsf3.c: Likewise.
4332 * soft-fp/divtf3.c: Likewise.
4333 * soft-fp/double.h: Likewise.
4334 * soft-fp/eqdf2.c: Likewise.
4335 * soft-fp/eqsf2.c: Likewise.
4336 * soft-fp/eqtf2.c: Likewise.
4337 * soft-fp/extenddftf2.c: Likewise.
4338 * soft-fp/extended.h: Likewise.
4339 * soft-fp/extendsfdf2.c: Likewise.
4340 * soft-fp/extendsftf2.c: Likewise.
4341 * soft-fp/extendxftf2.c: Likewise.
4342 * soft-fp/fixdfdi.c: Likewise.
4343 * soft-fp/fixdfsi.c: Likewise.
4344 * soft-fp/fixdfti.c: Likewise.
4345 * soft-fp/fixsfdi.c: Likewise.
4346 * soft-fp/fixsfsi.c: Likewise.
4347 * soft-fp/fixsfti.c: Likewise.
4348 * soft-fp/fixtfdi.c: Likewise.
4349 * soft-fp/fixtfsi.c: Likewise.
4350 * soft-fp/fixtfti.c: Likewise.
4351 * soft-fp/fixunsdfdi.c: Likewise.
4352 * soft-fp/fixunsdfsi.c: Likewise.
4353 * soft-fp/fixunsdfti.c: Likewise.
4354 * soft-fp/fixunssfdi.c: Likewise.
4355 * soft-fp/fixunssfsi.c: Likewise.
4356 * soft-fp/fixunssfti.c: Likewise.
4357 * soft-fp/fixunstfdi.c: Likewise.
4358 * soft-fp/fixunstfsi.c: Likewise.
4359 * soft-fp/fixunstfti.c: Likewise.
4360 * soft-fp/floatdidf.c: Likewise.
4361 * soft-fp/floatdisf.c: Likewise.
4362 * soft-fp/floatditf.c: Likewise.
4363 * soft-fp/floatsidf.c: Likewise.
4364 * soft-fp/floatsisf.c: Likewise.
4365 * soft-fp/floatsitf.c: Likewise.
4366 * soft-fp/floattidf.c: Likewise.
4367 * soft-fp/floattisf.c: Likewise.
4368 * soft-fp/floattitf.c: Likewise.
4369 * soft-fp/floatundidf.c: Likewise.
4370 * soft-fp/floatundisf.c: Likewise.
4371 * soft-fp/floatunditf.c: Likewise.
4372 * soft-fp/floatunsidf.c: Likewise.
4373 * soft-fp/floatunsisf.c: Likewise.
4374 * soft-fp/floatunsitf.c: Likewise.
4375 * soft-fp/floatuntidf.c: Likewise.
4376 * soft-fp/floatuntisf.c: Likewise.
4377 * soft-fp/floatuntitf.c: Likewise.
4378 * soft-fp/fmadf4.c: Likewise.
4379 * soft-fp/fmasf4.c: Likewise.
4380 * soft-fp/fmatf4.c: Likewise.
4381 * soft-fp/gedf2.c: Likewise.
4382 * soft-fp/gesf2.c: Likewise.
4383 * soft-fp/getf2.c: Likewise.
4384 * soft-fp/ledf2.c: Likewise.
4385 * soft-fp/lesf2.c: Likewise.
4386 * soft-fp/letf2.c: Likewise.
4387 * soft-fp/muldf3.c: Likewise.
4388 * soft-fp/mulsf3.c: Likewise.
4389 * soft-fp/multf3.c: Likewise.
4390 * soft-fp/negdf2.c: Likewise.
4391 * soft-fp/negsf2.c: Likewise.
4392 * soft-fp/negtf2.c: Likewise.
4393 * soft-fp/op-1.h: Likewise.
4394 * soft-fp/op-2.h: Likewise.
4395 * soft-fp/op-4.h: Likewise.
4396 * soft-fp/op-8.h: Likewise.
4397 * soft-fp/op-common.h: Likewise.
4398 * soft-fp/quad.h: Likewise.
4399 * soft-fp/single.h: Likewise.
4400 * soft-fp/soft-fp.h: Likewise.
4401 * soft-fp/sqrtdf2.c: Likewise.
4402 * soft-fp/sqrtsf2.c: Likewise.
4403 * soft-fp/sqrttf2.c: Likewise.
4404 * soft-fp/subdf3.c: Likewise.
4405 * soft-fp/subsf3.c: Likewise.
4406 * soft-fp/subtf3.c: Likewise.
4407 * soft-fp/truncdfsf2.c: Likewise.
4408 * soft-fp/trunctfdf2.c: Likewise.
4409 * soft-fp/trunctfsf2.c: Likewise.
4410 * soft-fp/trunctfxf2.c: Likewise.
4411 * soft-fp/unorddf2.c: Likewise.
4412 * soft-fp/unordsf2.c: Likewise.
4413 * soft-fp/unordtf2.c: Likewise.
4415 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4417 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4418 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4420 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4422 * elf/dl-libc.c: Clear initfini list after freeing.
4424 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4426 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4427 * soft-fp/addsf3.c: Likewise.
4428 * soft-fp/addtf3.c: Likewise.
4429 * soft-fp/divdf3.c: Likewise.
4430 * soft-fp/divsf3.c: Likewise.
4431 * soft-fp/divtf3.c: Likewise.
4432 * soft-fp/double.h: Likewise.
4433 * soft-fp/eqdf2.c: Likewise.
4434 * soft-fp/eqsf2.c: Likewise.
4435 * soft-fp/eqtf2.c: Likewise.
4436 * soft-fp/extenddftf2.c: Likewise.
4437 * soft-fp/extended.h: Likewise.
4438 * soft-fp/extendsfdf2.c: Likewise.
4439 * soft-fp/extendsftf2.c: Likewise.
4440 * soft-fp/extendxftf2.c: Likewise.
4441 * soft-fp/fixdfdi.c: Likewise.
4442 * soft-fp/fixdfsi.c: Likewise.
4443 * soft-fp/fixdfti.c: Likewise.
4444 * soft-fp/fixsfdi.c: Likewise.
4445 * soft-fp/fixsfsi.c: Likewise.
4446 * soft-fp/fixsfti.c: Likewise.
4447 * soft-fp/fixtfdi.c: Likewise.
4448 * soft-fp/fixtfsi.c: Likewise.
4449 * soft-fp/fixtfti.c: Likewise.
4450 * soft-fp/fixunsdfdi.c: Likewise.
4451 * soft-fp/fixunsdfsi.c: Likewise.
4452 * soft-fp/fixunsdfti.c: Likewise.
4453 * soft-fp/fixunssfdi.c: Likewise.
4454 * soft-fp/fixunssfsi.c: Likewise.
4455 * soft-fp/fixunssfti.c: Likewise.
4456 * soft-fp/fixunstfdi.c: Likewise.
4457 * soft-fp/fixunstfsi.c: Likewise.
4458 * soft-fp/fixunstfti.c: Likewise.
4459 * soft-fp/floatdidf.c: Likewise.
4460 * soft-fp/floatdisf.c: Likewise.
4461 * soft-fp/floatditf.c: Likewise.
4462 * soft-fp/floatsidf.c: Likewise.
4463 * soft-fp/floatsisf.c: Likewise.
4464 * soft-fp/floatsitf.c: Likewise.
4465 * soft-fp/floattidf.c: Likewise.
4466 * soft-fp/floattisf.c: Likewise.
4467 * soft-fp/floattitf.c: Likewise.
4468 * soft-fp/floatundidf.c: Likewise.
4469 * soft-fp/floatundisf.c: Likewise.
4470 * soft-fp/floatunsidf.c: Likewise.
4471 * soft-fp/floatunsisf.c: Likewise.
4472 * soft-fp/floatuntidf.c: Likewise.
4473 * soft-fp/floatuntisf.c: Likewise.
4474 * soft-fp/floatuntitf.c: Likewise.
4475 * soft-fp/fmadf4.c: Likewise.
4476 * soft-fp/fmasf4.c: Likewise.
4477 * soft-fp/fmatf4.c: Likewise.
4478 * soft-fp/gedf2.c: Likewise.
4479 * soft-fp/gesf2.c: Likewise.
4480 * soft-fp/getf2.c: Likewise.
4481 * soft-fp/ledf2.c: Likewise.
4482 * soft-fp/lesf2.c: Likewise.
4483 * soft-fp/letf2.c: Likewise.
4484 * soft-fp/muldf3.c: Likewise.
4485 * soft-fp/mulsf3.c: Likewise.
4486 * soft-fp/multf3.c: Likewise.
4487 * soft-fp/negdf2.c: Likewise.
4488 * soft-fp/negsf2.c: Likewise.
4489 * soft-fp/negtf2.c: Likewise.
4490 * soft-fp/op-1.h: Likewise.
4491 * soft-fp/op-2.h: Likewise.
4492 * soft-fp/op-4.h: Likewise.
4493 * soft-fp/op-8.h: Likewise.
4494 * soft-fp/op-common.h: Likewise.
4495 * soft-fp/quad.h: Likewise.
4496 * soft-fp/single.h: Likewise.
4497 * soft-fp/soft-fp.h: Likewise.
4498 * soft-fp/sqrtdf2.c: Likewise.
4499 * soft-fp/sqrtsf2.c: Likewise.
4500 * soft-fp/sqrttf2.c: Likewise.
4501 * soft-fp/subdf3.c: Likewise.
4502 * soft-fp/subsf3.c: Likewise.
4503 * soft-fp/subtf3.c: Likewise.
4504 * soft-fp/truncdfsf2.c: Likewise.
4505 * soft-fp/trunctfdf2.c: Likewise.
4506 * soft-fp/trunctfsf2.c: Likewise.
4507 * soft-fp/trunctfxf2.c: Likewise.
4508 * soft-fp/unorddf2.c: Likewise.
4509 * soft-fp/unordsf2.c: Likewise.
4510 * soft-fp/unordtf2.c: Likewise.
4512 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4515 * misc/error.c (error_tail): Fix possible buffer overflow.
4517 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4520 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4523 2013-10-14 P. J. McDermott <pj@pehjota.net>
4526 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4527 testing pipefail option.
4529 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4531 * soft-fp/double.h: Indent preprocessor directives inside #if.
4532 * soft-fp/extended.h: Likewise.
4533 * soft-fp/op-2.h: Likewise.
4534 * soft-fp/op-4.h: Likewise.
4535 * soft-fp/op-common.h: Likewise.
4536 * soft-fp/quad.h: Likewise.
4537 * soft-fp/single.h: Likewise.
4538 * soft-fp/soft-fp.h: Likewise.
4540 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4542 * iconv/iconv_prog.c: Fix typos.
4543 * stdio-common/psiginfo-data.h: Likewise.
4545 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4548 * locale/setlocale.c: Fix typo.
4550 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4553 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4554 signaling NaN arguments.
4555 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4556 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4559 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4561 * soft-fp/gesf2.c (__gesf2): Likewise.
4562 * soft-fp/getf2.c (__getf2): Likewise.
4563 * soft-fp/ledf2.c (__ledf2): Likewise.
4564 * soft-fp/lesf2.c (__lesf2): Likewise.
4565 * soft-fp/letf2.c (__letf2): Likewise.
4567 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4568 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4569 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4570 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4571 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4572 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4573 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4574 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4575 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4576 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4577 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4578 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4579 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4580 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4581 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4582 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4583 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4584 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4585 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4586 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4587 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4588 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4589 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4590 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4591 * soft-fp/floattidf.c (__floattidf): Likewise.
4592 * soft-fp/floattisf.c (__floattisf): Likewise.
4593 * soft-fp/floattitf.c (__floattitf): Likewise.
4594 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4595 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4596 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4597 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4598 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4599 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4600 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4601 * soft-fp/gesf2.c (__gesf2): Likewise.
4602 * soft-fp/getf2.c (__getf2): Likewise.
4603 * soft-fp/ledf2.c (__ledf2): Likewise.
4604 * soft-fp/lesf2.c (__lesf2): Likewise.
4605 * soft-fp/letf2.c (__letf2): Likewise.
4607 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4608 Undefine and redefine.
4609 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4610 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4611 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4612 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4613 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4614 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4615 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4616 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4617 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4618 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4619 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4620 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4621 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4622 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4623 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4626 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4627 without decrementing exponent if mantissa >= that for the
4629 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4630 denominator, not >. Decrement exponent in < case instead of
4631 incrementing in >= case.
4632 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4633 without decrementing exponent if mantissa >= that for the
4636 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4637 computing saturated result for unsigned overflow.
4639 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4640 Jeff Law <law@redhat.com>
4642 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4643 (atan2Mp): Add systemtap probe marker.
4644 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4645 (__ieee754_log): Add systemtap probe marker.
4646 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4647 (atanMp): Add systemtap probe marker.
4648 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4649 (tanMp): Add systemtap probe marker.
4650 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4651 (__slowexp): Add systemtap probe marker.
4652 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4653 (__slowpow): Add systemtap probe marker.
4654 * manual/probes.texi: Document probes.
4656 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4659 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4661 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4663 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4664 written to buffer but not flushed.
4665 * libio/iofwrite_u.c: Likewise.
4666 * libio/iopadn.c: Return bytes returned even if EOF was
4668 * libio/iowpadn.c: Likewise.
4669 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4670 if _IO_padn does not write the whole buffer.
4671 [!COMPILE_WPRINTF] (PAD): Likewise.
4673 2013-10-10 David S. Miller <davem@davemloft.net>
4675 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4678 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4680 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4681 instead of FSF address.
4682 * soft-fp/fixdfti.c: Likewise.
4683 * soft-fp/fixsfti.c: Likewise.
4684 * soft-fp/fixtfti.c: Likewise.
4685 * soft-fp/fixunsdfti.c: Likewise.
4686 * soft-fp/fixunssfti.c: Likewise.
4687 * soft-fp/fixunstfti.c: Likewise.
4688 * soft-fp/floattidf.c: Likewise.
4689 * soft-fp/floattisf.c: Likewise.
4690 * soft-fp/floattitf.c: Likewise.
4691 * soft-fp/floatuntidf.c: Likewise.
4692 * soft-fp/floatuntisf.c: Likewise.
4693 * soft-fp/floatuntitf.c: Likewise.
4694 * soft-fp/trunctfxf2.c: Likewise.
4696 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4697 * soft-fp/fixdfti.c: Likewise.
4698 * soft-fp/fixsfti.c: Likewise.
4699 * soft-fp/fixtfti.c: Likewise.
4700 * soft-fp/fixunsdfti.c: Likewise.
4701 * soft-fp/fixunssfti.c: Likewise.
4702 * soft-fp/fixunstfti.c: Likewise.
4703 * soft-fp/floattidf.c: Likewise.
4704 * soft-fp/floattisf.c: Likewise.
4705 * soft-fp/floattitf.c: Likewise.
4706 * soft-fp/floatuntidf.c: Likewise.
4707 * soft-fp/floatuntisf.c: Likewise.
4708 * soft-fp/floatuntitf.c: Likewise.
4709 * soft-fp/trunctfxf2.c: Likewise.
4711 2013-10-10 David S. Miller <davem@davemloft.net>
4713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4715 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4717 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4718 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4719 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4720 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4721 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4722 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4723 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4726 for NaNs before doing comparisons on argument.
4727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4730 2013-10-10 Will Newton <will.newton@linaro.org>
4732 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4733 passed to _int_memalign does not overflow.
4735 2013-10-10 Torvald Riegel <triegel@redhat.com>
4737 * scripts/bench.pl: Add include-sources directive.
4738 * benchtests/README: Update documentation.
4740 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4742 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4743 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4744 instead of FP_INIT_ROUNDMODE.
4745 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4746 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4749 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4750 copy class of input value.
4751 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4752 not handle exceptions.
4753 * soft-fp/negsf2.c (__negsf2): Likewise.
4754 * soft-fp/negtf2.c (__negtf2): Likewise.
4755 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4757 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4759 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4760 semicolon. From Linux kernel.
4762 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4764 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4766 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4769 * manual/socket.texi: Added statement about buffer
4770 for gethostbyname2_r.
4772 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4774 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4775 Use .p2align directive instead, throughout.
4776 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4777 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4778 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4780 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4781 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4782 * sysdeps/x86_64/strchr.S: Likewise.
4783 * sysdeps/x86_64/strrchr.S: Likewise.
4785 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4787 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4789 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4791 * sysdeps/generic/math_private.h (__mpsin1): Remove
4793 (__mpcos1): Likewise.
4794 (__mpsin): New argument __range_reduce.
4795 (__mpcos): Likewise.
4796 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4797 (slow): Use __mpsin and __mpcos.
4804 (bsloww1): Likewise.
4805 (bsloww2): Likewise.
4808 (csloww1): Likewise.
4809 (csloww2): Likewise.
4810 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4811 range_reduce. Merge in __mpsin1.
4812 (__mpcos): Likewise.
4814 (__mpcos1): Likewise.
4816 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4818 * locale/loadlocale.c (_nl_intern_locale_data): Use
4820 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4821 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4822 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4823 obstack data is appropriately aligned.
4824 (obstack_int32_grow_fast): Likewise.
4825 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4826 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4827 (add_locale_uint32_array): Likewise.
4829 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4831 * benchtests/Makefile: Remove ARGLIST and RET variables.
4832 ($(objpfx)bench-%.c): Pass only function name to the script.
4833 * benchtests/README: Update documentation.
4834 * benchtests/acos-inputs: Add new directives.
4835 * benchtests/acosh-inputs: Likewise.
4836 * benchtests/asin-inputs: Likewise.
4837 * benchtests/asinh-inputs: Likewise.
4838 * benchtests/atan-inputs: Likewise.
4839 * benchtests/atanh-inputs: Likewise.
4840 * benchtests/cos-inputs: Likewise.
4841 * benchtests/cosh-inputs: Likewise.
4842 * benchtests/exp-inputs: Likewise.
4843 * benchtests/log-inputs: Likewise.
4844 * benchtests/pow-inputs: Likewise.
4845 * benchtests/rint-inputs: Likewise.
4846 * benchtests/sin-inputs: Likewise.
4847 * benchtests/sinh-inputs: Likewise.
4848 * benchtests/tan-inputs: Likewise.
4849 * benchtests/tanh-inputs: Likewise.
4850 * scripts/bench.pl: Add support for new directives.
4852 2013-10-07 Alan Modra <amodra@gmail.com>
4854 * README: Fix careless merge.
4856 2013-10-05 Alan Modra <amodra@gmail.com>
4858 * NEWS: Mention powerpc64le support and bugs fixed.
4859 * README: Both big-endian and little-endian powerpc64 supported.
4861 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4863 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4864 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4865 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4866 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4868 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4870 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4873 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4875 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4876 Move -mhard-float appending from
4877 ports/sysdeps/powerpc/powerpc32/Makefile.
4878 [$(with-fp) = yes] (ASFLAGS): Likewise.
4879 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4880 * sysdeps/powerpc/nofpu: Move directory from
4881 ports/sysdeps/powerpc/nofpu.
4882 * sysdeps/powerpc/soft-fp: Move directory from
4883 ports/sysdeps/powerpc/soft-fp.
4884 * sysdeps/powerpc/powerpc32/405: Move directory from
4885 ports/sysdeps/powerpc/powerpc32/405.
4886 * sysdeps/powerpc/powerpc32/440: Move directory from
4887 ports/sysdeps/powerpc/powerpc32/440.
4888 * sysdeps/powerpc/powerpc32/464: Move directory from
4889 ports/sysdeps/powerpc/powerpc32/464.
4890 * sysdeps/powerpc/powerpc32/476: Move directory from
4891 ports/sysdeps/powerpc/powerpc32/476.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4893 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4895 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4897 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4899 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4901 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4902 * README: Update for powerpc-*-linux-gnu software floating point
4905 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4906 case to powerpc/powerpc32*.
4907 * sysdeps/unix/sysv/linux/configure: Regenerated.
4909 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4910 (_FPU_MASK_OM): Define as 0x04.
4911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4916 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4919 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4922 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4925 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4926 and setcontext_e500.
4928 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4930 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4932 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4934 * manual/threads.texi (Default Thread Attributes): Fix typo.
4936 2013-10-04 Will Newton <will.newton@linaro.org>
4938 * malloc/Makefile: Add tst-memalign.
4939 * malloc/tst-memalign.c: New file.
4941 * malloc/tst-posix_memalign.c: Add comments.
4942 (do_test): Add comments and call free on all potentially
4943 allocated pointers. Add space after cast.
4945 * malloc/tst-pvalloc.c: Add comments.
4946 (do_test): Add comments and call free on all potentially
4947 allocated pointers. Remove duplicate check for NULL pointer.
4948 Add space after cast.
4950 * malloc/tst-valloc.c: Add comments.
4951 (do_test): Add comments and call free on all potentially
4952 allocated pointers. Remove duplicate check for NULL pointer.
4953 Add space after cast.
4955 2013-10-04 Alan Modra <amodra@gmail.com>
4957 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4958 Use stdint types in rather than __attribute__((mode())).
4959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4961 2013-10-04 Alan Modra <amodra@gmail.com>
4963 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4964 Correct handling of unaligned relocs for little-endian.
4965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4967 2013-10-04 Alan Modra <amodra@gmail.com>
4969 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4970 * configure: Regenerate.
4971 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4972 * shlib-versions: Likewise.
4974 2013-10-04 Alan Modra <amodra@gmail.com>
4976 * string/tester.c (test_memrchr): Increment reported test cycle.
4978 2013-10-04 Alan Modra <amodra@gmail.com>
4980 * string/test-memcpy.c (do_one_test): When reporting errors, print
4981 string address and don't overrun end of string.
4983 2013-10-04 Alan Modra <amodra@gmail.com>
4985 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4986 insrdi. Make better use of reg selection to speed exit slightly.
4987 Schedule entry path a little better. Remove useless "are we done"
4988 checks on entry to main loop. Handle wrapping around zero address.
4989 Correct main loop count. Handle single left-over word from main
4990 loop inline rather than by using loop_small. Remove extra word
4991 case in loop_small caused by wrong loop count. Add little-endian
4993 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4996 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4997 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4998 support. Avoid rlwimi.
4999 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5001 2013-10-04 Alan Modra <amodra@gmail.com>
5003 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5005 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5006 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5007 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5009 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5010 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5012 2013-10-04 Alan Modra <amodra@gmail.com>
5014 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5016 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5017 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5018 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5019 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5022 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5023 use of regs. Use power7 mtocrf. Tidy function tails.
5025 2013-10-04 Alan Modra <amodra@gmail.com>
5027 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5028 Formatting. Consistently use rXXX register defines or rN defines.
5029 Use early exit labels that avoid restoring unused non-volatile regs.
5030 Make cr field use more consistent with rWORDn compares. Rename
5031 regs used as shift registers for unaligned loop, using rN defines
5032 for short lifetime/multiple use regs.
5033 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5034 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5035 addi 1,1,64 to pop stack frame. Simplify return value code.
5036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5038 2013-10-04 Alan Modra <amodra@gmail.com>
5040 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5041 support. Correct typos, formatting. Optimize tail. Use insrdi
5043 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5044 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5045 little-endian support. Correct typos.
5046 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5048 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5049 in loop and entry code to keep "and." results.
5050 (strchr): Add little-endian support. Comment. Move cntlzd
5052 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5054 2013-10-04 Alan Modra <amodra@gmail.com>
5056 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5057 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5059 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5061 2013-10-04 Alan Modra <amodra@gmail.com>
5063 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5064 (rTMP): Define as r11.
5065 (strcmp): Add little-endian support. Optimise tail.
5066 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5067 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5068 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5070 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5074 2013-10-04 Alan Modra <amodra@gmail.com>
5076 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5077 little-endian support. Remove unnecessary "are we done" tests.
5078 Handle "s" wrapping around zero and extremely large "size".
5079 Correct main loop count. Handle single left-over word from main
5080 loop inline rather than by using small_loop. Correct comments.
5081 Delete "zero" tail, use "end_max" instead.
5082 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5084 2013-10-04 Alan Modra <amodra@gmail.com>
5086 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5087 support. Don't branch over align.
5088 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5089 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5090 support. Rearrange tmp reg use to suit. Comment.
5091 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5093 2013-10-04 Alan Modra <amodra@gmail.com>
5095 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5097 2013-10-04 Alan Modra <amodra@gmail.com>
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5100 conditional form of branch and link when obtaining pc.
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5103 2013-10-04 Alan Modra <amodra@gmail.com>
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5110 2013-10-04 Alan Modra <amodra@gmail.com>
5112 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5113 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5114 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5115 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5117 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5118 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5119 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5120 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5121 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5123 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5124 Alistair Popple <alistair@ozlabs.au.ibm.com>
5125 Alan Modra <amodra@gmail.com>
5128 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5130 _dl_hwcap access for little-endian.
5131 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5132 destroy vmx regs when saving unaligned.
5133 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5134 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5135 destroy vmx regs when saving unaligned.
5137 2013-10-04 Alan Modra <amodra@gmail.com>
5139 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5140 Don't use a union to pack hi/low value.
5142 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5144 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5146 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5148 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5149 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5152 2013-10-04 Alan Modra <amodra@gmail.com>
5154 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5155 constants to usual value for .cst8 section, and remove redundant
5157 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5158 constant for 0x1p52. Load little-endian words of double from
5159 correct stack offsets.
5161 2013-10-04 Alan Modra <amodra@gmail.com>
5163 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5164 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5165 words of double from correct stack offsets.
5166 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5167 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5168 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5169 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5170 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5171 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5172 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5173 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5174 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5175 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5176 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5177 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5178 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5179 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5180 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5181 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5182 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5184 2013-10-04 Alan Modra <amodra@gmail.com>
5186 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5187 64-bit int/double union.
5188 (_FPU_SETCW): Likewise.
5189 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5190 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5192 2013-10-04 Alan Modra <amodra@gmail.com>
5194 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5195 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5197 2013-10-04 Alan Modra <amodra@gmail.com>
5199 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5200 use vector int constants.
5201 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5203 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5205 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5206 array with long long.
5207 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5208 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5209 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5210 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5211 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5212 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5213 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5214 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5215 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5216 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5217 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5218 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5221 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5223 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5224 (__signbit): Likewise. Correct for little-endian.
5225 (__signbitl): Call __signbit.
5226 (lrint): Correct for little-endian.
5227 (lrintf): Call lrint.
5229 2013-10-04 Alan Modra <amodra@gmail.com>
5231 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5232 union 32-bit int array member with 64-bit int array.
5233 (t515, tm256): Double rather than long double.
5234 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5236 2013-10-04 Alan Modra <amodra@gmail.com>
5238 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5240 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5242 version of math_ldbl.h.
5244 2013-10-04 Alan Modra <amodra@gmail.com>
5246 [BZ #15734], [BZ #15735]
5247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5248 all uses of ieee875 long double macros and unions. Simplify test
5249 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5250 ldbl_extract_mantissa value for ix,iy exponents. Properly
5251 normalize after ldbl_extract_mantissa, and don't add hidden bit
5252 already handled. Don't treat low word of ieee854 mantissa like
5253 low word of IBM long double and mask off bit when testing for
5255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5256 all uses of ieee875 long double macros and unions. Simplify tests
5257 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5258 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5259 two1022, instead use their values. Recognise that tests for large
5260 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5261 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5262 Rewrite all uses of ieee875 long double macros and unions. Simplify
5263 test for 0.0L and nan. Correct negation.
5264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5265 ieee875 long double macros and unions. Correct output for large
5266 magnitude x. Correct absolute value calculation.
5267 (__erfcl): Likewise.
5268 * math/libm-test.inc: Add tests for errors discovered in IBM long
5269 double versions of fmodl, remainderl, erfl and erfcl.
5271 2013-10-04 Alan Modra <amodra@gmail.com>
5273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5274 all uses of ieee854 long double macros and unions. Simplify tests
5275 for long doubles that are fully specified by the high double.
5276 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5278 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5279 Remove dead code too.
5280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5281 (__ieee754_ynl): Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5285 Remove dead code too.
5286 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5294 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5296 Comment on variable precision.
5297 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5300 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5304 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5306 2013-10-04 Alan Modra <amodra@gmail.com>
5308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5310 all uses of ieee854 long double macros and unions.
5311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5315 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5320 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5323 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5324 Simplify sign and nan test too.
5325 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5334 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5335 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5338 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5340 2013-10-04 Alan Modra <amodra@gmail.com>
5342 * stdio-common/printf_size.c (__printf_size): Don't use
5343 union ieee854_long_double in fpnum union.
5344 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5345 signbit macro to retrieve sign from long double.
5346 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5347 retrieve sign from long double.
5348 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5349 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5351 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5352 * math/test-misc.c (main): Don't use union ieee854_long_double.
5354 2013-10-04 Alan Modra <amodra@gmail.com>
5357 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5359 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5360 calculation. Remove unnecessary test for denormal exponent.
5361 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5362 Correct handling of denormals. Avoid undefined shift behaviour.
5363 Correct normalisation of low mantissa when low double is denormal.
5364 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5365 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5366 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5367 Correct normalisation of low mantissa. Test for overflow of high
5368 mantissa and normalise.
5369 (ldbl_nearbyint): Use more readable constant for two52.
5370 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5371 (__mpn_construct_long_double): Fix test for overflow of high
5372 mantissa and correct normalisation. Avoid undefined shift.
5374 2013-10-04 Alan Modra <amodra@gmail.com>
5376 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5377 (union ibm_extended_long_double): Define as an array of ieee754_double.
5378 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5379 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5380 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5381 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5385 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5390 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5392 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5393 page size instead of calling getpagesize.
5395 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5396 (LOCFILE_ALIGN_MASK): Likewise.
5397 (LOCFILE_ALIGN_UP): Likewise.
5398 (LOCFILE_ALIGNED_P): Likewise.
5399 * locale/programs/ld-collate.c (collate_output): Use the new
5400 macros instead of __alignof__ (int32_t).
5401 * locale/weight.h (findidx): Likewise.
5403 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5406 * manual/string.texi: Fix strncat and wcsncat.
5408 2013-10-03 Brooks Moses <bmoses@google.com>
5411 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5412 * Makerules: ...here, and adjust associated comments.
5414 2013-10-02 Will Newton <will.newton@linaro.org>
5416 * malloc/Makefile: Add tst-pvalloc.
5417 * malloc/tst-pvalloc.c: New file.
5419 2013-10-02 Will Newton <will.newton@linaro.org>
5421 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5422 improve test coverage.
5424 2013-10-02 Will Newton <will.newton@linaro.org>
5426 * malloc/Makefile: Add tst-posix_memalign.
5427 * malloc/tst-posix_memalign.c: New file.
5429 2013-10-01 Eric Blake <eblake@redhat.com>
5431 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5432 Use __THROWNL rather than __THROW on static functions.
5434 2013-09-30 Petr Machata <pmachata@redhat.com>
5436 * elf/elf.h (R_AARCH64_ABS16): New macro.
5437 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5438 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5439 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5440 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5441 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5442 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5443 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5444 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5445 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5446 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5447 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5448 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5449 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5450 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5451 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5452 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5453 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5454 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5455 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5456 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5457 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5458 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5459 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5460 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5461 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5462 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5463 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5464 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5465 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5466 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5467 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5468 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5469 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5470 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5471 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5472 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5473 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5474 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5475 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5476 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5477 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5478 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5479 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5480 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5481 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5482 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5483 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5484 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5485 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5486 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5487 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5488 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5489 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5490 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5491 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5492 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5493 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5494 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5495 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5496 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5497 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5498 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5499 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5500 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5501 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5502 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5503 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5504 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5505 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5506 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5507 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5508 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5509 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5510 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5511 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5512 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5513 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5514 (R_AARCH64_TLSDESC_LDR): Likewise.
5515 (R_AARCH64_TLSDESC_ADD): Likewise.
5516 (R_AARCH64_TLSDESC_CALL): Likewise.
5518 2013-09-30 Andreas Schwab <schwab@suse.de>
5521 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5522 the nss database lookup.
5523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5526 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5528 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5530 2013-09-28 P. J. McDermott <pj@pehjota.net>
5532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5533 ${Bash-specific parameter/pattern/string} parameter expansion.
5534 * sysdeps/unix/make-syscalls.sh: Likewise.
5536 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5538 * sysdeps/sh/stackguard-macros.h: New file.
5540 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5544 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5545 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5547 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5549 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5552 Fix thread ID register.
5554 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5556 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5557 [POSIX || UNIX98]: Require rather than permitting all symbols from
5559 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5560 element of struct sched_param.
5561 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5562 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5563 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5564 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5567 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5569 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5570 argument calculation.
5572 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5574 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5576 [POSIX] (pthread_attr_t): Do not require type.
5577 [POSIX] (pthread_cond_t): Likewise.
5578 [POSIX] (pthread_condattr_t): Likewise.
5579 [POSIX] (pthread_key_t): Likewise.
5580 [POSIX] (pthread_mutex_t): Likewise.
5581 [POSIX] (pthread_mutexattr_t): Likewise.
5582 [POSIX] (pthread_once_t): Likewise.
5583 [POSIX] (pthread_t): Likewise.
5584 [POSIX-based standards] (pthread_atfork): Expect function.
5586 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5587 Richard Sandiford <richard@codesourcery.com>
5589 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5590 (swap_endianness_p): New extern variable.
5591 (set_big_endian): New inline function.
5592 (maybe_swap_uint32): Likewise.
5593 (maybe_swap_uint32_array): Likewise.
5594 (maybe_swap_uint32_obstack): Likewise.
5595 * locale/programs/locfile.c: Include <stdbool.h>.
5596 (swap_endianness_p): New variable.
5597 (add_locale_uint32): Call maybe_swap_uint32.
5598 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5599 (write_locale_data): Call maybe_swap_uint32_array.
5600 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5602 (obstack_int32_grow_fast): Likewise.
5603 (output_weightwc): Call maybe_swap_uint32_obstack.
5604 (collate_output): Likewise.
5605 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5606 (OPT_LITTLE_ENDIAN): Likewise.
5607 (options): Add --little-endian and --big-endian options.
5608 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5609 * locale/programs/locarchive.c: Include "locfile.h".
5613 (create_archive): Use the new macros to access fields of
5614 structures directly mapped from or written to locale archives.
5615 (oldlocrecentcmp): Likewise.
5616 (enlarge_archive): Likewise.
5617 (insert_name): Likewise.
5618 (add_alias): Likewise.
5619 (add_locale): Likewise.
5620 (delete_locales_from_archive): Likewise.
5621 (show_archive_content): Likewise.
5622 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5625 2013-09-24 Roland McGrath <roland@hack.frob.com>
5627 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5628 http://www.gnu.org/doc/freemanuals.texi.
5629 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5631 2013-09-24 Will Newton <will.newton@linaro.org>
5633 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5636 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5638 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5641 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5643 * manual/threads.texi (POSIX Threads): Fix a typo.
5645 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5648 * string/tst-strcoll-overflow.c: New test case.
5649 * string/Makefile (xtests): Add tst-strcoll-overflow.
5650 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5651 cache if string sizes may cause integer overflow.
5654 * string/strcoll_l.c (coll_seq): New members rule, idx,
5655 save_idx and back_us.
5656 (get_next_seq_nocache): New function.
5657 (do_compare_nocache): New function.
5658 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5661 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5664 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5665 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5666 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5669 * elf/Makefile (tests): Add tst-ptrguard1.
5670 (tests-static): Add tst-ptrguard1-static.
5671 (tst-ptrguard1-ARGS): Define.
5672 (tst-ptrguard1-static-ARGS): Define.
5673 * elf/tst-ptrguard1.c: New file.
5674 * elf/tst-ptrguard1-static.c: New file.
5675 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5676 * sysdeps/i386/stackguard-macros.h: Likewise.
5677 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5678 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5679 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5680 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5681 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5682 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5684 2013-09-23 Hector Marco <hecmargi@upv.es>
5685 Ismael Ripoll <iripoll@disca.upv.es>
5686 Carlos O'Donell <carlos@redhat.com>
5689 * sysdeps/generic/stackguard-macros.h: Define
5690 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5691 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5692 Define __pointer_chk_guard_local.
5693 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5694 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5696 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5699 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5701 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5703 * include/string.h (__ffs): Declare as hidden.
5704 * string/ffs.c (__ffs): Define as hidden.
5705 * sysdeps/i386/ffs.c (__ffs): Likewise.
5706 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5707 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5708 * sysdeps/s390/ffs.c (__ffs): Likewise.
5709 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5711 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5713 * NEWS: Mention malloc probes.
5715 * malloc/arena.c (new_heap): New memory_heap_new probe.
5716 (grow_heap): New memory_heap_more probe.
5717 (shrink_heap): New memory_heap_less probe.
5718 (heap_trim): New memory_heap_free probe.
5719 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5720 (systrim): New memory_sbrk_less probe.
5721 * manual/probes.texi: Document them.
5723 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5724 * manual/probes.texi: Document it.
5726 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5727 (__libc_realloc): Add memory_realloc_retry probe.
5728 (__libc_memalign): Add memory_memalign_retry probe.
5729 (__libc_valloc): Add memory_valloc_retry probe.
5730 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5731 (__libc_calloc): Add memory_calloc_retry probe.
5732 * manual/probes.texi: Document them.
5734 * malloc/arena.c (get_free_list): Add probe
5735 memory_arena_reuse_free_list.
5736 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5737 and memory_arena_reuse.
5738 (arena_get2) [!PER_THREAD]: Likewise.
5739 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5740 memory_arena_reuse_realloc.
5741 * manual/probes.texi: Document them.
5743 * malloc/malloc.c (__libc_free): Add
5744 memory_mallopt_free_dyn_thresholds probe.
5745 (__libc_mallopt): Add multiple memory_mallopt probes.
5746 * manual/probes.texi: Document them.
5748 * malloc/malloc.c: Include stap-probe.h.
5749 (__libc_mallopt): Add memory_mallopt probe.
5750 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5751 * manual/probes.texi: New.
5752 * manual/Makefile (chapters): Add probes.
5753 * manual/threads.texi: Set next node.
5755 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5758 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5759 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5760 Add `Chinese' to `nan' entry name.
5762 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5764 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5765 (POLYNOMIAL): Likewise.
5766 (TAYLOR_SINCOS): Likewise.
5767 (TAYLOR_SLOW): Likewise.
5768 (__sin): Use TAYLOR_SINCOS.
5770 (slow): Use TAYLOR_SLOW.
5775 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5777 * stdlib/strtod_l.c: Fix buffer overrun.
5779 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5781 * benchtests/Makefile (bench): Add sincos.
5782 * benchtests/bench-sincos.c: New file.
5784 * math/libm-test.inc (cos_test_data): New test inputs.
5785 (sin_test_data): Likewise.
5787 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5795 (bsloww1): Likewise.
5796 (bsloww2): Likewise.
5798 (csloww1): Likewise.
5799 (csloww2): Likewise.
5801 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5810 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5812 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5813 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5814 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5815 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5816 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5817 * elf/cache.c (print_entry): Handle the new cache flags.
5819 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5820 Aldy Hernandez <aldyh@redhat.com>
5822 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5823 Change condition to [_SOFT_FLOAT].
5824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5836 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5839 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5842 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5844 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5845 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5846 (__longjmp): Use LOAD_GP to load saved GPRs.
5847 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5848 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5849 (__sigsetjmp): Use SAVE_GP to save GPRs.
5851 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5852 Do not append -msoft-float.
5853 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5855 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5857 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5859 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5862 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5863 (_FPU_GETCW): Use initial "__" on variable and field names but not
5864 on macro parameter name.
5865 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5866 parentheses around reference to macro parameter.
5868 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5870 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5872 (ctype_startup): Use uint32_t in cast and sizeof for
5875 2013-09-11 Jia Liu <proljc@gmail.com>
5877 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5879 [__FreeBSD__]: Likewise.
5881 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5884 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5885 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5886 (strchr): Remove __strchr_sse42 ifunc selection.
5887 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5888 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5890 2013-09-11 Will Newton <will.newton@linaro.org>
5892 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5893 parameter to RES. Remove hardcoded 1000 value.
5894 * benchtests/bench-skeleton.c (main): Pass RES parameter
5895 to TIMING_INIT and multiply result by 1000.
5897 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5901 2013-09-11 Andreas Schwab <schwab@suse.de>
5903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5905 (O_TMPFILE) [__USE_GNU]: Define.
5906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5909 2013-09-11 Will Newton <will.newton@linaro.org>
5912 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5915 2013-09-11 Will Newton <will.newton@linaro.org>
5918 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5921 2013-09-11 Will Newton <will.newton@linaro.org>
5924 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5927 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5929 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5930 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5931 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5935 2013-09-10 Allan McRae <allan@archlinux.org>
5938 * manual/arith.texi (Parsing of Floats): Clarify
5942 * manual/install.texi (Running make install): Mention
5944 * INSTALL: Regenerated.
5946 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5948 * csu/init-first.c (_init): Remove the !SHARED condition around
5949 FPU control word initialization.
5950 * elf/dl-support.c (_dl_fpu_control): New variable.
5951 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5952 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5953 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5954 * math/test-fpucw-static.c: New file.
5955 * math/test-fpucw-ieee.c: New file.
5956 * math/test-fpucw-ieee-static.c: New file.
5957 * math/Makefile (tests): Add `test-fpucw-ieee' and
5959 (tests-static): New variable.
5960 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5962 [($(build-shared),yes)]
5963 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5965 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5968 2013-09-09 Allan McRae <allan@archlinux.org>
5971 * manual/string.texi (Collation Functions): Fix typo in
5973 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5976 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5979 * libio/memstream.c (open_memstream): Fix memory leak.
5980 * libio/wmemstream.c (open_wmemstream): Likewise.
5983 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5985 2013-09-09 Will Newton <will.newton@linaro.org>
5987 * malloc/Makefile: Add tst-realloc to tests.
5988 * malloc/tst-realloc.c: New file.
5990 2013-09-09 Allan McRae <allan@archlinux.org>
5993 * COPYING: Update from GNU website to fix FSF address.
5994 * COPYING.LIB: Likewise.
5996 2013-09-06 David S. Miller <davem@davemloft.net>
5998 * po/zh_TW.po: Update Chinese (traditional) translation from
5999 translation project.
6001 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6002 Joseph Myers <joseph@codesourcery.com>
6004 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6006 (obstack_chunk_alloc): New macro.
6007 (obstack_chunk_free): Likewise.
6008 (record_offset): New function.
6009 (init_locale_data): Likewise.
6010 (align_locale_data): Likewise.
6011 (add_locale_empty): Likewise.
6012 (add_locale_raw_data): Likewise.
6013 (add_locale_raw_obstack): Likewise.
6014 (add_locale_string): Likewise.
6015 (add_locale_wstring): Likewise.
6016 (add_locale_uint32): Likewise.
6017 (add_locale_uint32_array): Likewise.
6018 (add_locale_char): Likewise.
6019 (start_locale_structure): Likewise.
6020 (end_locale_structure): Likewise.
6021 (start_locale_prelude): Likewise.
6022 (end_locale_prelude): Likewise.
6023 (write_locale_data): Take locale_file structure rather than an
6025 * locale/programs/locfile.h: Include "obstack.h".
6026 (struct locale_file): Change to store locale file contents instead
6028 (init_locale_data): New prototype.
6029 (align_locale_data): Likewise.
6030 (add_locale_empty): Likewise.
6031 (add_locale_raw_data): Likewise.
6032 (add_locale_raw_obstack): Likewise.
6033 (add_locale_string): Likewise.
6034 (add_locale_wstring): Likewise.
6035 (add_locale_uint32): Likewise.
6036 (add_locale_uint32_array): Likewise.
6037 (add_locale_char): Likewise.
6038 (start_locale_structure): Likewise.
6039 (end_locale_structure): Likewise.
6040 (start_locale_prelude): Likewise.
6041 (end_locale_prelude): Likewise.
6042 (write_locale_data): Update prototype.
6043 * locale/programs/3level.h (struct TABLE): Remove result field.
6044 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6045 Use new locale_file interface.
6046 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6047 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6048 * locale/programs/ld-address.c (address_output): Use new
6049 locale_file interface.
6050 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6052 (collate_finish): Don't call collseq_table_finalize.
6053 (collate_output): Use new locale_file interface.
6054 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6056 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6057 (TABLE): Move defines earlier in file.
6058 (ELEMENT): Likewise.
6059 (DEFAULT): Likewise.
6060 (wctrans_table_add): Move macro and inline function earlier in
6062 (struct wctype_table): Move type earlier in file.
6063 (add_locale_wctype_table): New static prototype.
6064 (struct locale_ctype_t): Use logical types instead of struct iovec
6065 pointers for members.
6066 (ctype_output): Use new locale_file interface.
6067 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6068 new locale_file interface.
6069 (allocate_arrays): Update for use of new locale_file interface.
6070 * locale/programs/ld-identification.c (identification_output): Use
6071 new locale_file interface.
6072 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6073 * locale/programs/ld-messages.c (messages_output): Likewise.
6074 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6075 * locale/programs/ld-name.c (name_output): Likewise.
6076 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6077 * locale/programs/ld-paper.c (paper_output): Likewise.
6078 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6079 * locale/programs/ld-time.c (time_output): Likewise.
6081 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6083 * benchtests/Makefile: Add memrchr benchmark.
6084 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6085 benchmark as memrchr.
6086 * benchtests/bench-memrchr-ifunc.c: New file.
6087 * benchtests/bench-memrchr.c: New file.
6089 2013-09-06 Will Newton <will.newton@linaro.org>
6091 * benchtests/Makefile (string-bench): Add memcpy.
6093 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6094 Cong Wang <amwang@redhat.com>
6097 * sysdeps/unix/sysv/linux/bits/in.h
6098 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6099 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6100 before __USE_KERNEL_IPV6_DEFS uses.
6101 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6103 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6104 sockaddr_in6, or ipv6_mreq.
6106 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6109 memory access for final bytes in some large inputs.
6110 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6112 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114 * string/test-memrchr.c: New file.
6115 * string/test-memrchr-ifunc.c: New file.
6116 * string/Makefile: Add new memrchr testcase.
6118 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6120 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6121 fanotify_init returns EPERM.
6123 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6125 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6127 (top level): Treat second token from macro or constant entries for
6128 allowed headers as allowed.
6129 * include/complex.h: Condition internal declarations on
6131 * include/fenv.h: Condition include of <stdbool.h> and internal
6132 declarations on [!_ISOMAC].
6134 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6137 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6139 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6141 * configure.in (--enable-versioning): Remove configure option.
6142 (libc_cv_asm_symver_directive): Remove configure test.
6143 (libc_cv_ld_version_script_option): Likewise.
6144 (VERSIONING): Remove variable and AC_SUBST.
6145 (DO_VERSIONING): Remove AC_DEFINE.
6146 * configure: Regenerated.
6147 * config.h.in (DO_VERSIONING): Remove macro.
6148 * Makerules [$(versioning) = yes]: Change conditionals to
6149 [$(build-shared) = yes].
6150 * config.make.in (versioning): Remove variable.
6151 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6152 [$(build-shared) = yes].
6153 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6154 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6155 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6156 [$(build-shared) = yes].
6157 * extra-lib.mk [$(versioning) = yes]: Likewise.
6158 * hurd/Makefile [$(versioning) = yes]: Likewise.
6159 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6161 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6163 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6164 [SHARED && !NO_HIDDEN].
6165 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6167 [SHARED && DO_VERSIONING]: Likewise..
6168 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6169 [$(build-shared) = yes].
6170 * manual/install.texi (--disable-versioning): Remove
6172 * INSTALL: Regenerated.
6173 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6175 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6176 [$(build-shared) = yes].
6177 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6178 * sysdeps/i386/i686/multiarch/strstr-c.c
6179 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6180 [SHARED && !NO_HIDDEN].
6181 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6182 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6183 * sysdeps/powerpc/powerpc32/dl-machine.c
6184 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6185 * sysdeps/powerpc/powerpc32/sysdep.h
6186 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6187 to [SHARED && PIC && !NO_HIDDEN].
6188 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6189 conditional to [SHARED].
6191 2013-09-04 Will Newton <will.newton@linaro.org>
6193 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6194 * benchtests/bench-string.h: Include bench-timing.h instead
6195 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6196 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6197 call to HP_TIMING_DIFF_INIT.
6198 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6199 instead of hp-timing.h macros.
6200 * benchtests/bench-memchr.c: Likewise.
6201 * benchtests/bench-memcmp.c: Likewise.
6202 * benchtests/bench-memcpy.c: Likewise.
6203 * benchtests/bench-memmem.c: Likewise.
6204 * benchtests/bench-memmove.c: Likewise.
6205 * benchtests/bench-memset.c: Likewise.
6206 * benchtests/bench-rawmemchr.c: Likewise.
6207 * benchtests/bench-strcasecmp.c: Likewise.
6208 * benchtests/bench-strcasestr.c: Likewise.
6209 * benchtests/bench-strcat.c: Likewise.
6210 * benchtests/bench-strchr.c: Likewise.
6211 * benchtests/bench-strcmp.c: Likewise.
6212 * benchtests/bench-strcpy.c: Likewise.
6213 * benchtests/bench-strcpy_chk.c: Likewise.
6214 * benchtests/bench-strlen.c: Likewise.
6215 * benchtests/bench-strncasecmp.c: Likewise.
6216 * benchtests/bench-strncat.c: Likewise.
6217 * benchtests/bench-strncmp.c: Likewise.
6218 * benchtests/bench-strncpy.c: Likewise.
6219 * benchtests/bench-strnlen.c: Likewise.
6220 * benchtests/bench-strpbrk.c: Likewise.
6221 * benchtests/bench-strrchr.c: Likewise.
6222 * benchtests/bench-strspn.c: Likewise.
6223 * benchtests/bench-strstr.c: Likewise.
6225 2013-09-04 Will Newton <will.newton@linaro.org>
6227 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6229 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6233 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6234 * math/libm-test.inc (lgamma_test_data): Add more tests.
6235 * sysdeps/i386/fpu/libm-test-ulps: Update.
6236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6238 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6240 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6244 Add strcmp-sse2-unaligned
6245 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6247 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6249 * Versions.def (libc): Add GLIBC_2.19.
6251 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6253 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6254 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6256 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6259 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6260 intermediate calculations in recurrence.
6261 (__ieee754_ynf): Likewise.
6262 * math/libm-test.inc (jn_test_data): Do not allow spurious
6263 underflow exception. Add more tests.
6264 (yn_test_data): Add more tests.
6265 * sysdeps/i386/fpu/libm-test-ulps: Update.
6266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6268 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6270 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6272 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6274 * csu/init-first.c: Fix then/than typos.
6275 * locale/programs/ld-collate.c: Likewise.
6276 * locale/programs/linereader.h: Likewise.
6277 * manual/charset.texi: Likewise.
6278 * manual/filesys.texi: Likewise.
6279 * manual/stdio.texi: Likewise.
6280 * manual/string.texi: Likewise.
6281 * stdlib/fmtmsg.c: Likewise.
6282 * sysdeps/i386/stpncpy.S: Likewise.
6283 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6284 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6286 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6288 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6290 * elf/dl-open.c: Fix typos.
6291 * iconvdata/gbbig5.c: Likewise.
6292 * iconvdata/iso-2022-jp.c: Likewise.
6293 * iconv/gconv_int.h: Likewise.
6294 * iconv/loop.c: Likewise.
6295 * nis/rpcsvc/nis.h: Likewise.
6296 * resolv/ns_name.c: Likewise.
6297 * stdio-common/vfscanf.c: Likewise.
6298 * streams/stropts.h: Likewise.
6299 * sunrpc/rpc_thread.c: Likewise.
6300 * sysdeps/i386/strpbrk.S: Likewise.
6301 * sysdeps/ieee754/k_standard.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6304 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6305 * sysdeps/mach/hurd/profil.c: Likewise.
6306 * sysdeps/s390/dl-procinfo.h: Likewise.
6307 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6308 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6309 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6310 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6311 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6313 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6315 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6318 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6320 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6322 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6323 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6325 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6327 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6329 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6331 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6332 Roland McGrath <roland@hack.frob.com>
6334 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6335 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6337 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6339 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6340 __executable_start symbol instead of _start.
6342 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6344 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6345 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6347 * sysdeps/gnu/ldsodefs.h: ... this new file.
6349 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6350 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6351 instead of ELFOSABI_LINUX.
6353 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6354 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6355 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6356 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6358 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6359 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6362 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6363 (ibm_extended_long_double): Add ieee_nan member.
6364 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6365 (do_test): New function.
6367 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6369 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6370 functions, renamed from truncdfsf_test, trunctfsf_test,
6372 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6374 (do_test): Run all these.
6376 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6378 * argp/argp-help.c: Fix typos.
6379 * argp/argp-parse.c: Likewise.
6380 * debug/backtracesyms.c: Likewise.
6381 * elf/elf.h: Likewise.
6382 * malloc/malloc.c: Likewise.
6383 * nis/nis_print.c: Likewise.
6384 * resolv/res_comp.c: Likewise.
6385 * stdlib/stdlib.h: Likewise.
6386 * sunrpc/clnt_tcp.c: Likewise.
6387 * sunrpc/clnt_udp.c: Likewise.
6388 * sunrpc/clnt_unix.c: Likewise.
6389 * sysdeps/unix/bsd/ptsname.c: Likewise.
6390 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6391 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6398 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6400 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6402 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6405 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6408 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6409 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6410 ($(objpfx)bug-dl-leaf): New rule.
6411 ($(objpfx)bug-dl-leaf.so): Likewise.
6412 ($(objpfx)bug-dl-leaf.out): Likewise.
6413 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6414 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6415 * dlfcn/bug-dl-leaf.c: New test.
6416 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6417 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6418 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6419 (dlclose): Likewise.
6420 (dlmopen): Likewise.
6422 2013-08-27 Roland McGrath <roland@hack.frob.com>
6424 * include/netdb.h [!_ISOMAC]:
6425 Don't include <tls.h>.
6426 (h_errno, __libc_h_errno): Move declaration and macros out of
6429 * include/resolv.h [_RESOLV_H_]:
6430 Don't include <tls.h>.
6431 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6432 * resolv/res_libc.c: Don't include <tls.h>.
6433 (_res): Use __attribute__ ((nocommon)) in place of
6434 __attribute__ ((section (".bss"))).
6436 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6437 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6439 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6441 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6442 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6444 * resolv/res_mkquery.c: Include <sys/time.h>.
6446 * inet/ifreq.c: Moved to ...
6447 * sysdeps/unix/ifreq.c: ... here.
6448 * inet/ifreq.c: New file, true stub version.
6450 * socket/sa_len.c: New file.
6451 * socket/Makefile (aux): Add it.
6452 * sysdeps/unix/sysv/linux/Makefile
6453 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6454 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6455 and #include <socket/sa_len.c>.
6456 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6457 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6459 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6460 * bits/socket.h: ... here.
6462 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6463 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6464 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6466 2013-08-27 Andreas Schwab <schwab@suse.de>
6469 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6470 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6471 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6472 * string/test-strcasecmp.c (test_main): Run tests in several
6474 * string/test-strncasecmp.c (test_main): Likewise.
6476 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6477 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6478 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6480 (__strncasecmp_ssse3) [PIC]: Likewise.
6482 2013-08-26 Roland McGrath <roland@hack.frob.com>
6484 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6486 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6487 instead of explicitly declaring xdecrypt.
6488 * nis/nss_nis/nis-publickey.c: Likewise.
6490 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6493 * nscd/aicache.c: Include res_hconf.h.
6494 (addhstaiX): Initialize res_hconf.
6496 2013-08-26 Andreas Schwab <schwab@suse.de>
6498 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6499 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6501 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6503 * nscd/aicache.c (addhstaiX): Fix indentation.
6505 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6507 * configure.ac: Quote $build_pt_chown test.
6508 * configure: Regenerated.
6510 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6513 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6514 * math/s_cexpf.c (__cexpf): Likewise.
6515 * math/s_cexpl.c (__cexpl): Likewise.
6516 * math/libm-test.inc (cexp_test_data): Correct expected return
6517 value for NaN + i0. Add another test.
6519 2013-08-22 David S. Miller <davem@davemloft.net>
6521 * po/ca.po: Update Catalan translation from translation project.
6522 * po/uk.po: Add Ukrainian translations from translation project.
6524 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6527 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6528 is infinite, not alongside NaN test.
6529 * math/s_fdimf.c (__fdimf): Likewise.
6530 * math/s_fdiml.c (__fdiml): Likewise.
6531 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6534 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6536 * argp/argp-help.c: Fix typos.
6537 * crypt/speeds.c: Likewise.
6538 * csu/check_fds.c: Likewise.
6539 * elf/dl-load.c: Likewise.
6540 * elf/dl-open.c: Likewise.
6541 * elf/reldep3.c: Likewise.
6542 * elf/reldep.c: Likewise.
6543 * elf/sprof.c: Likewise.
6544 * iconv/iconv_charmap.c: Likewise.
6545 * iconv/skeleton.c: Likewise.
6546 * iconv/strtab.c: Likewise.
6547 * io/lockf64.c: Likewise.
6548 * libio/libioP.h: Likewise.
6549 * resolv/gai_notify.c: Likewise.
6550 * resolv/ns_name.c: Likewise.
6551 * resolv/ns_samedomain.c: Likewise.
6552 * resolv/res_send.c: Likewise.
6553 * stdlib/random.c: Likewise.
6554 * sunrpc/rpc/xdr.h: Likewise.
6555 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6557 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6558 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6560 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6561 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6563 * sysdeps/mach/hurd/check_fds.c: Likewise.
6564 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6565 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6566 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6568 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6569 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6570 * sysdeps/pthread/aio_notify.c: Likewise.
6571 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6572 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6573 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6574 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6575 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6577 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6579 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6580 version if bit_Slow_SSE4_2 is set.
6581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6584 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6587 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6588 trampoline stack frame information.
6589 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6590 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6591 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6592 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6593 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6594 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6595 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6596 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6598 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6599 interrupting a syscall and set with option SA_SIGINFO.
6601 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6604 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6605 argument is infinite.
6606 * math/s_cprojf.c (__cprojf): Likewise.
6607 * math/s_cprojl.c (__cprojl): Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6609 * math/libm-test.inc (cproj_test_data): Add more tests.
6611 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6613 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6614 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6615 size. Use __ffs to determine corresponding shift.
6617 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6618 Roland McGrath <roland@hack.frob.com>
6620 * Makefile (INSTALL): Remove trailing blank lines from output of
6623 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6625 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6626 Align 32 bit compat elf_greg to 8 bytes.
6628 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6630 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6632 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6634 * string/strcoll_l.c (coll_seq): New structure.
6635 (get_next_seq_cached): New function.
6636 (get_next_seq): New function.
6637 (do_compare): New function.
6638 (STRCOLL): Use GNU style definition. Simplify implementation
6639 by using get_next_seq, get_next_seq_cached and do_compare.
6641 2013-08-16 Florian Weimer <fweimer@redhat.com>
6645 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6647 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6649 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6650 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6651 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6653 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6654 GETDENTS_64BIT_ALIGNED.
6655 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6656 * manual/filesys.texi (Reading/Closing Directory): Document
6657 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6659 * manual/conf.texi (Limits for Files): Add portability note to
6661 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6663 2013-08-13 Andreas Schwab <schwab@suse.de>
6666 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6668 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6669 LDBL_MAX_EXP >= 16384]: Add tests for it.
6671 2013-08-12 David S. Miller <davem@davemloft.net>
6673 * version.h (RELEASE): Set to "development".
6674 (VERSION): Set to "2.18.90".
6675 * NEWS: Add 2.19 section.
6677 2013-08-03 David S. Miller <davem@davemloft.net>
6679 * po/ko.po: Update Korean translation from translation project.
6681 2013-08-01 David S. Miller <davem@davemloft.net>
6683 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6684 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6687 2013-07-30 David S. Miller <davem@davemloft.net>
6689 * po/fr.po: Update French translation from translation project.
6691 2013-07-28 David S. Miller <davem@davemloft.net>
6693 * po/cs.po: Update Czech translation from translation project.
6695 * po/sv.po: Update Swedish translation from translation project.
6697 2013-07-27 David S. Miller <davem@davemloft.net>
6699 * po/eo.po: Update Esperanto translation from translation project.
6701 * po/vi.po: Update Vietnamese translation from translation project.
6703 * po/de.po: Update German translation from translation project.
6705 2013-07-26 David S. Miller <davem@davemloft.net>
6707 * po/bg.po: Update Bulgarian translation from translation project.
6709 * po/nl.po: Update Dutch translation from translation project.
6710 * po/pl.po: Update Polish translation from translation project.
6711 * po/ru.po: Update Russian translation from translation project.
6713 2013-07-24 David S. Miller <davem@davemloft.net>
6715 * po/libc.pot: Update.
6717 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6721 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6723 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6725 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6727 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6729 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6730 Andreas Schwab <schwab@suse.de>
6731 Roland McGrath <roland@hack.frob.com>
6732 Joseph Myers <joseph@codesourcery.com>
6733 Carlos O'Donell <carlos@redhat.com>
6736 * config.h.in: Define HAVE_PT_CHOWN.
6737 * config.make.in (build-pt-chown): New variable.
6738 * configure.in (--enable-pt_chown): New configure option.
6739 * configure: Regenerate.
6740 * login/Makefile: Include Makeconfig. Build pt_chown only if
6741 build-pt-chown is enabled.
6742 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6743 pt_chown to fix pty ownership.
6744 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6746 * manual/install.texi (Configuring and compiling): Mention
6747 --enable-pt_chown. Add @findex for grantpt.
6748 * INSTALL: Regenerate.
6750 2013-07-20 David S. Miller <davem@davemloft.net>
6752 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6753 difference between 32-bit and 64-bit.
6755 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6758 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6759 Avoid system header dependency with -ffreestanding.
6760 ($(objpfx)bits/syscall%d): Likewise.
6762 2013-07-13 David S. Miller <davem@davemloft.net>
6764 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6765 underflows from atanl/atan2l due to bug 15319.
6766 (casinh_test_data): Likewise.
6768 2013-07-07 David S. Miller <davem@davemloft.net>
6770 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6772 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6777 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * configure.in (--enable-lock-elision): Fix message text.
6780 * INSTALL: Regenerate.
6781 * configure: Regenerate.
6783 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6787 2013-07-03 Andreas Jaeger <aj@suse.de>
6789 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6791 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6792 (ptrace_peeksiginfo_args): Add.
6793 (__ptrace_peeksiginfo_flags): Add.
6794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6798 2013-07-03 Allan McRae <allan@archlinux.org>
6800 * sysdeps/i386/fpu/libm-test-ulps: Update.
6802 2013-07-02 David S. Miller <davem@davemloft.net>
6804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6806 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6810 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6812 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815 2013-07-02 Andi Kleen <ak@linux.intel.com>
6817 * config.h.in (ENABLE_LOCK_ELISION): Add.
6818 * configure.in (--enable-lock-elision): Add option.
6819 * manual/install.texi: Document --enable lock elision.
6820 * configure: Regenerate
6821 * INSTALL: Regenerate.
6823 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6825 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6826 SSE4.2 strcasecmp for libc.a.
6827 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6829 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6832 * soft-fp/op-common.h (_FP_FMA): New macro.
6833 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6834 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6835 (_FP_MUL_MEAT_1_imm): ... here.
6836 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6837 (_FP_MUL_MEAT_1_wide): ... here.
6838 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6839 (_FP_MUL_MEAT_1_hard): ... here.
6840 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6841 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6842 (_FP_MUL_MEAT_2_wide): ... here.
6843 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6844 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6845 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6846 (_FP_MUL_MEAT_2_gmp): ... here.
6847 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6848 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6849 (_FP_MUL_MEAT_4_wide): ... here.
6850 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6851 (_FP_MUL_MEAT_4_gmp): ... here.
6852 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6853 (_FP_WFRACBITS_DW_S): Likewise.
6854 (_FP_WFRACXBITS_DW_S): Likewise.
6855 (_FP_HIGHBIT_DW_S): Likewise.
6856 (FP_FMA_S): Likewise.
6857 (_FP_FRAC_HIGH_DW_S): Likewise.
6858 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6859 (_FP_WFRACBITS_DW_D): Likewise.
6860 (_FP_WFRACXBITS_DW_D): Likewise.
6861 (_FP_HIGHBIT_DW_D): Likewise.
6862 (FP_FMA_D): Likewise.
6863 (_FP_FRAC_HIGH_DW_D): Likewise.
6864 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6865 (_FP_WFRACBITS_DW_E): Likewise.
6866 (_FP_WFRACXBITS_DW_E): Likewise.
6867 (_FP_HIGHBIT_DW_E): Likewise.
6868 (FP_FMA_E): Likewise.
6869 (_FP_FRAC_HIGH_DW_E): Likewise.
6870 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6871 (_FP_WFRACBITS_DW_Q): Likewise.
6872 (_FP_WFRACXBITS_DW_Q): Likewise.
6873 (_FP_HIGHBIT_DW_Q): Likewise.
6874 (FP_FMA_Q): Likewise.
6875 (_FP_FRAC_HIGH_DW_Q): Likewise.
6876 * soft-fp/fmasf4.c: New file.
6877 * soft-fp/fmadf4.c: Likewise.
6878 * soft-fp/fmatf4.c: Likewise.
6880 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6883 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6885 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6887 (index_Slow_SSE4_2): Likewise.
6888 (index_Prefer_PMINUB_for_stringop): Likewise.
6889 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6890 bit_Slow_SSE4_2 is set.
6891 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6892 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6894 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6896 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6897 rtld_global._dl_hwcap2.
6898 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6900 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6901 POWER8 feature descriptions defined in _dl_hwcap2.
6902 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6903 string handling for POWER8 feature bits.
6904 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6905 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6906 _dl_powerpc_cap_flags.
6907 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6908 * sysdeps/powerpc/rtld-global-offsets.sym
6909 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6910 _dl_hwcap2 in the rtld_global_ro structure.
6912 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6914 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6915 hardware capabilities in support of AT_HWCAP2.
6916 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6917 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6919 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6920 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6921 explicitly the unknown a_type display mechanism is used.
6922 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6923 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6925 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6926 to macro prototype for AT_HWCAP2 support.
6927 * sysdeps/i386/dl-procinfo.h: Likewise.
6928 * sysdeps/s390/dl-procinfo.h: Likewise.
6929 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6930 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6931 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6932 return -1 for unknown a_type display fallback.
6933 * sysdeps/sparc/dl-procinfo.h: Likewise.
6934 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6935 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6937 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6939 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6940 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6942 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6945 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6946 mprotect making __stack_prot writable.
6948 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6949 Joseph Myers <joseph@codesourcery.com>
6951 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6952 as being properly aligned.
6954 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6956 * dlfcn/modstatic5.c: New file.
6957 * dlfcn/tststatic5.c: New file.
6958 * dlfcn/Makefile (tests): Add tststatic5.
6959 (tests-static): Likewise.
6960 (modules-names): Add modstatic5.
6961 (tststatic5-ENV): New variable.
6962 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6965 * elf/dl-support.c (_dl_main_map): New variable.
6966 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6967 (_dl_nns, _dl_load_adds): Set to 1.
6968 (_dl_initial_searchlist): Refer to _dl_main_map.
6969 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6970 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6971 call to _dl_get_origin.
6972 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6974 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6975 * dlfcn/modstatic3.c: New file.
6976 * dlfcn/tststatic3.c: New file.
6977 * dlfcn/tststatic4.c: New file.
6978 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6979 (tests-static): Likewise.
6980 (modules-names): Add modstatic3.
6981 (tststatic3-ENV, tststatic4-ENV): New variables.
6982 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6983 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6985 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6987 * configure.in (CC): Require GCC version 4.4 or later.
6988 * configure: Regenerated.
6989 * manual/install.texi (Tools for Compilation): Update GCC version
6991 * INSTALL: Regenerated.
6993 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6996 * string/test-memcmp.c (check2): New.
6997 (main): Call check2.
6999 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7001 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7004 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7006 (dl_open_worker) [!SHARED]: ... here.
7008 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7010 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7012 2013-06-25 Richard Henderson <rth@redhat.com>
7014 * locale/programs/locarchive.c: Include <libc-internal.h>
7016 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7018 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7019 trailing whitespace removed.
7021 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7024 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7025 * locale/programs/locarchive.c: Include libc-mmap.h.
7026 (prepare_address_space): Take two new outputs (the mmap base and len).
7027 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7029 (create_archive): Declare new mmap base and len values for
7030 prepare_address_space, and store the result in ah.
7031 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7032 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7033 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7034 Declare new mmap base and len values for
7035 prepare_address_space, and store the result in new_ah.
7036 (open_archive): Declare new mmap base and len values for
7037 prepare_address_space, and store the result in ah.
7038 (close_archive): If ah->mmap_base is not NULL, use that and
7039 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7040 * sysdeps/generic/libc-mmap.h: New file.
7042 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7044 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7045 (ALIGN_UP): Likewise.
7046 (PTR_ALIGN_DOWN): Likewise.
7047 (PTR_ALIGN_UP): Likewise.
7049 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7051 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7052 entry mapped to PPC_PLATFORM_POWER8.
7053 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7055 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7056 (_dl_string_platform): Add case for exporting platform position for
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7059 search path to sysdeps/powerpc/powerpc32/power8 directory.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7061 search path to sysdeps/powerpc/powerpc64/power8 directory.
7062 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7064 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7067 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7069 * INSTALL: Regenerate.
7071 * nscd/connections.c (nscd_init): Fix comment.
7073 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7075 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7078 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7079 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7081 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7083 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7085 (DL_DST_REQ_STATIC): Remove macro.
7087 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7090 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7091 with a shift of 0 bits.
7093 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7095 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7098 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7101 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7103 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7105 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7106 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7107 accepts -fno-tree-loop-distribute-patterns.
7108 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7109 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7111 * string/memset.c (memset): Likewise.
7112 * string/test-memmove.c (simple_memmove): Disable loop transformation
7114 * string/test-memset.c (simple_memset): Likewise.
7115 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7116 * benchtests/bench-memset.c (simple_memset): Likewise.
7117 * configure: Regenerated.
7119 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7121 * math/test-misc.c (main): Ignore fesetround failure when failures
7122 of subsequent rounding tests would be ignored.
7125 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7126 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7127 * math/fegetenv.c (__fegetenv): Return 0.
7128 * math/fegetexcept.c (fegetexcept): Return 0.
7129 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7131 * math/feholdexcpt.c (feholdexcept): Return 0.
7132 * math/fesetenv.c (__fesetenv): Return 0.
7133 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7134 argument FE_TONEAREST.
7135 * math/feupdateenv.c (__feupdateenv): Return 0.
7136 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7138 2013-06-18 Roland McGrath <roland@hack.frob.com>
7140 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7141 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7142 ($(objpfx)rtld-%.os rules): Use them.
7144 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7146 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7149 2013-06-17 Roland McGrath <roland@hack.frob.com>
7151 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7152 length of target pattern, then descending length of dependency pattern.
7153 * configure.in (AWK): Require gawk 3.1.2 or newer.
7154 * manual/install.texi (Tools for Compilation): Say that we do.
7155 * configure: Regenerated.
7157 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7158 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7159 * scripts/sysd-rules.awk: ... this new script.
7160 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7161 than a glob-style pattern.
7163 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7165 * math/test-misc.c (main): Do not treat incorrectly rounded
7166 conversions as failure unless ROUNDING_TESTS passes.
7168 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7172 restore exception state around main square root computation, then
7173 check for inexactness explicitly.
7175 * math/libm-test.inc (fma_test_data): Add another test.
7177 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7179 * manual/threads.texi (Non-POSIX Extensions): New document
7180 node. Document pthread_getattr_default_np and
7181 pthread_setattr_default_np.
7183 * Versions.def (libpthread): Add GLIBC_2.18.
7184 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7193 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7204 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7207 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7209 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7210 H.J. Lu <hjl.tools@gmail.com>
7213 * sysdeps/x86_64/rtld-memset.c: Remove file.
7214 * sysdeps/x86_64/rtld-memset.S: New file.
7216 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7218 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7219 (test_in_one_mode): Take arguments for whether the rounding mode
7220 is supported for each floating-point type.
7221 (do_test): Pass new arguments to test_in_one_mode using
7224 2013-06-13 Roland McGrath <roland@hack.frob.com>
7226 * posix/tst-waitid.c (do_test): Distinguish different instances of
7227 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7228 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7229 before entering the kernel for waitpid.
7231 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7233 * NEWS: Fix note on clock function precision. Text by Roland
7236 2013-06-13 Roland McGrath <roland@hack.frob.com>
7238 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7239 it into place only when and if the sanity check passes.
7241 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7243 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7244 output for whether conversion result is exact. Take argument
7245 indicating whether type is IBM long double.
7246 (round_for_all): Change need_exact field to ibm_ld.
7247 * stdlib/tst-strtod-round.c (struct exactness): New type.
7248 (struct test): Change bool ld_ok field to struct exactness exact.
7249 (TEST): Update all definitions for change to field.
7250 (tests): Regenerate array contents.
7251 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7252 field value. Check for IBM long double here.
7253 (do_test): Update calls to test_in_one_mode.
7255 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7258 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7259 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7261 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7264 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7265 generated by the compiler on loop optimizations.
7266 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7267 general definitions.
7269 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7271 * math/bug-nextafter.c: Include <math-tests.h>.
7272 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7274 * math/bug-nexttoward.c: Include <math-tests.h>.
7275 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7277 * math/test-misc.c: Include <math-tests.h>.
7278 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7281 2013-06-12 Andreas Jaeger <aj@suse.de>
7283 * po/ia.po: Update Interlingua translation from translation
7286 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7288 * include/fenv.h: Include stdbool.h.
7289 (struct rm_ctx): New structure.
7290 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7292 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7293 (SET_RESTORE_ROUNDF): Likewise.
7294 (SET_RESTORE_ROUNDL): Likewise.
7295 (SET_RESTORE_ROUND_NOEX): Likewise.
7296 (SET_RESTORE_ROUND_NOEXF): Likewise.
7297 (SET_RESTORE_ROUND_NOEXL): Likewise.
7298 (SET_RESTORE_ROUND_53BIT): Likewise.
7299 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7300 (libc_feresetround_noexf_ctx): Likewise.
7301 (libc_feresetround_noexl_ctx): Likewise.
7302 (libc_feholdsetround_53bit_ctx): Likewise.
7303 (libc_feresetround_53bit_ctx): Likewise.
7304 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7305 (libc_feholdexcept_setround_sse_ctx): New function.
7306 (libc_fesetenv_sse_ctx): Likewise.
7307 (libc_feupdateenv_sse_ctx): Likewise.
7308 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7309 (libc_feholdexcept_setround_387_ctx): Likewise.
7310 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7311 (libc_feholdsetround_387_prec_ctx): Likewise.
7312 (libc_feholdsetround_387_ctx): Likewise.
7313 (libc_feholdsetround_387_53bit_ctx): Likewise.
7314 (libc_feholdsetround_sse_ctx): Likewise.
7315 (libc_feresetround_sse_ctx): Likewise.
7316 (libc_feresetround_387_ctx): Likewise.
7317 (libc_feupdateenv_387_ctx): Likewise.
7318 (libc_feholdexcept_setroundf_ctx): Define macro.
7319 (libc_fesetenvf_ctx): Likewise.
7320 (libc_feupdateenvf_ctx): Likewise.
7321 (libc_feholdsetroundf_ctx): Likewise.
7322 (libc_feresetroundf_ctx): Likewise.
7323 (libc_feholdexcept_setround_ctx): Likewise.
7324 (libc_fesetenv_ctx): Likewise.
7325 (libc_feupdateenv_ctx): Likewise.
7326 (libc_feholdsetround_ctx): Likewise.
7327 (libc_feresetround_ctx): Likewise.
7328 (libc_feholdexcept_setroundl_ctx): Likewise.
7329 (libc_feupdateenvl_ctx): Likewise.
7330 (libc_feholdsetroundl_ctx): Likewise.
7331 (libc_feresetroundl_ctx): Likewise.
7332 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7333 (libc_feresetround_53bit_ctx): Likewise.
7335 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7337 * locale/iso-639.def: Convert to UTF-8.
7339 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7341 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7342 (EXCEPTION_TESTS_double): Likewise.
7343 (EXCEPTION_TESTS_long_double): Likewise.
7344 (EXCEPTION_TESTS): Likewise.
7345 * math/libm-test.inc (test_exceptions): Only test exceptions if
7346 EXCEPTION_TESTS (FLOAT).
7348 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7350 * benchtests/Makefile (string-bench): Add strcpy_chk and
7352 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7353 * benchtests/bench-stpcpy_chk.c: New file.
7354 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7355 * benchtests/bench-strcpy_chk.c: New file.
7356 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7358 (do_test): Likewise.
7360 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7362 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7363 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7364 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7365 with tabs where appropriate.
7366 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7368 [PPC_PLATFORM_PPC440]: Likewise.
7369 [PPC_PLATFORM_PPC464]: Likewise.
7370 [PPC_PLATFORM_PPC476]: Likewise.
7371 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7372 ppc464, and ppc476 platform strings merging from ports/
7375 2013-06-11 Andreas Schwab <schwab@suse.de>
7378 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7379 (from_ucs4_idx): Regenerate.
7380 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7381 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7382 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7383 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7384 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7385 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7386 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7387 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7388 from FROM_LOOP and TO_LOOP specific macros.
7389 (BODY): Handle combining characters.
7390 * iconvdata/BIG5HKSCS.irreversible: Update.
7391 * iconvdata/BIG5HKSCS.precomposed: New file.
7392 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7394 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7396 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7398 * include/sys/time.h: Fix indentation and add copyright header.
7400 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7401 (do_test): Likewise.
7402 * string/test-memchr.c (do_one_test): Likewise.
7403 (do_test): Likewise.
7404 * string/test-memcmp.c (do_one_test): Likewise.
7405 (do_test): Likewise.
7406 * string/test-memcpy.c (do_one_test): Likewise.
7407 (do_test): Likewise.
7408 * string/test-memmem.c (do_one_test): Likewise.
7409 (do_test): Likewise.
7410 (do_random_tests): Likewise.
7411 * string/test-memmove.c (do_one_test): Likewise.
7412 (do_test): Likewise.
7413 * string/test-memset.c (do_one_test): Likewise.
7414 (do_test): Likewise.
7415 * string/test-rawmemchr.c (do_one_test): Likewise.
7416 (do_test): Likewise.
7417 * string/test-strcasecmp.c (do_one_test): Likewise.
7418 (do_test): Likewise.
7419 * string/test-strcasestr.c (do_one_test): Likewise.
7420 (do_test): Likewise.
7421 * string/test-strcat.c (do_one_test): Likewise.
7422 (do_test): Likewise.
7423 * string/test-strchr.c (do_one_test): Likewise.
7424 (do_test): Likewise.
7425 * string/test-strcmp.c (do_one_test): Likewise.
7426 (do_test): Likewise.
7427 * string/test-strcpy.c (do_one_test): Likewise.
7428 (do_test): Likewise.
7429 * string/test-string.h: Likewise.
7430 (test_init): Likewise.
7431 * string/test-strlen.c (do_one_test): Likewise.
7432 (do_test): Likewise.
7433 * string/test-strncasecmp.c (do_one_test): Likewise.
7434 (do_test): Likewise.
7435 * string/test-strncat.c (do_one_test): Likewise.
7436 (do_test): Likewise.
7437 * string/test-strncmp.c (do_one_test): Likewise.
7438 (do_test_limit): Likewise.
7439 (do_test): Likewise.
7440 * string/test-strncpy.c (do_one_test): Likewise.
7441 (do_test): Likewise.
7442 * string/test-strnlen.c (do_one_test): Likewise.
7443 (do_test): Likewise.
7444 * string/test-strpbrk.c (do_one_test): Likewise.
7445 (do_test): Likewise.
7446 * string/test-strrchr.c (do_one_test): Likewise.
7447 (do_test): Likewise.
7448 * string/test-strspn.c (do_one_test): Likewise.
7449 (do_test): Likewise.
7450 * string/test-strstr.c (do_one_test): Likewise.
7451 (do_test): Likewise.
7453 * benchtests/Makefile (string-bench): Add string benchmarks.
7454 * benchtests/bench-bcopy-ifunc.c: New file.
7455 * benchtests/bench-bcopy.c: New file.
7456 * benchtests/bench-bzero-ifunc.c: New file.
7457 * benchtests/bench-bzero.c: New file.
7458 * benchtests/bench-memccpy-ifunc.c: New file.
7459 * benchtests/bench-memccpy.c: New file.
7460 * benchtests/bench-memchr-ifunc.c: New file.
7461 * benchtests/bench-memchr.c: New file.
7462 * benchtests/bench-memcmp-ifunc.c: New file.
7463 * benchtests/bench-memcmp.c: New file.
7464 * benchtests/bench-memmem-ifunc.c: New file.
7465 * benchtests/bench-memmem.c: New file.
7466 * benchtests/bench-memmove-ifunc.c: New file.
7467 * benchtests/bench-memmove.c: New file.
7468 * benchtests/bench-mempcpy-ifunc.c: New file.
7469 * benchtests/bench-mempcpy.c: New file.
7470 * benchtests/bench-memset-ifunc.c: New file.
7471 * benchtests/bench-memset.c: New file.
7472 * benchtests/bench-rawmemchr-ifunc.c: New file.
7473 * benchtests/bench-rawmemchr.c: New file.
7474 * benchtests/bench-stpcpy-ifunc.c: New file.
7475 * benchtests/bench-stpcpy.c: New file.
7476 * benchtests/bench-stpncpy-ifunc.c: New file.
7477 * benchtests/bench-stpncpy.c: New file.
7478 * benchtests/bench-strcasecmp-ifunc.c: New file.
7479 * benchtests/bench-strcasecmp.c: New file.
7480 * benchtests/bench-strcasestr-ifunc.c: New file.
7481 * benchtests/bench-strcasestr.c: New file.
7482 * benchtests/bench-strcat-ifunc.c: New file.
7483 * benchtests/bench-strcat.c: New file.
7484 * benchtests/bench-strchr-ifunc.c: New file.
7485 * benchtests/bench-strchr.c: New file.
7486 * benchtests/bench-strchrnul-ifunc.c: New file.
7487 * benchtests/bench-strchrnul.c: New file.
7488 * benchtests/bench-strcmp-ifunc.c: New file.
7489 * benchtests/bench-strcmp.c: New file.
7490 * benchtests/bench-strcpy-ifunc.c: New file.
7491 * benchtests/bench-strcpy.c: New file.
7492 * benchtests/bench-strcspn-ifunc.c: New file.
7493 * benchtests/bench-strcspn.c: New file.
7494 * benchtests/bench-strlen-ifunc.c: New file.
7495 * benchtests/bench-strlen.c: New file.
7496 * benchtests/bench-strncasecmp-ifunc.c: New file.
7497 * benchtests/bench-strncasecmp.c: New file.
7498 * benchtests/bench-strncat-ifunc.c: New file.
7499 * benchtests/bench-strncat.c: New file.
7500 * benchtests/bench-strncmp-ifunc.c: New file.
7501 * benchtests/bench-strncmp.c: New file.
7502 * benchtests/bench-strncpy-ifunc.c: New file.
7503 * benchtests/bench-strncpy.c: New file.
7504 * benchtests/bench-strnlen-ifunc.c: New file.
7505 * benchtests/bench-strnlen.c: New file.
7506 * benchtests/bench-strpbrk-ifunc.c: New file.
7507 * benchtests/bench-strpbrk.c: New file.
7508 * benchtests/bench-strrchr-ifunc.c: New file.
7509 * benchtests/bench-strrchr.c: New file.
7510 * benchtests/bench-strspn-ifunc.c: New file.
7511 * benchtests/bench-strspn.c: New file.
7512 * benchtests/bench-strstr-ifunc.c: New file.
7513 * benchtests/bench-strstr.c: New file.
7515 * benchtests/Makefile: Disable parallel execution of targets.
7516 (string-bench): Add memcpy.
7517 (benchset): New variable to store a list of benchmark sets.
7518 (bench-func): Renamed from bench.
7519 (bench-set): New target.
7520 (bench): Depend on bench-func and bench-set.
7521 * benchtests/README: Add section on benchmark sets.
7522 * benchtests/bench-memcpy-ifunc.c: New file.
7523 * benchtests/bench-memcpy.c: New file.
7524 * benchtests/bench-string.h: New file.
7526 2013-06-11 Andreas Schwab <schwab@suse.de>
7529 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7530 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7531 values in the triple.
7532 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7533 terminator in the group key.
7535 2013-06-11 Andreas Jaeger <aj@suse.de>
7537 * po/zh_TW.po: Update Chinese (traditional) translation from
7538 translation project.
7540 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7542 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7543 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7544 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7546 (clock_getcpuclockid): Likewise.
7547 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7548 Add weak_alias and libc_hidden_def.
7549 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7550 * rt/clock_gettime.c (clock_gettime): Rename to
7551 __clock_gettime. Add weak_alias and libc_hidden_def.
7552 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7553 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7554 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7555 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7556 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7558 * rt/clock_settime.c (clock_settime): Rename to
7559 __clock_settime. Add weak_alias and libc_hidden_def.
7560 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7562 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7564 * mach/err_boot.sub: Remove trailing whitespace.
7565 * mach/err_ipc.sub: Likewise.
7566 * mach/err_mach.sub: Likewise.
7568 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7569 (ROUNDING_TESTS_double): Likewise.
7570 (ROUNDING_TESTS_long_double): Likewise.
7571 (ROUNDING_TESTS): Likewise.
7572 * math/libm-test.inc: Include <math-tests.h>.
7573 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7574 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7575 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7576 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7578 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7580 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7583 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7585 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7586 otherwise empty TRANS lines.
7587 * sysdeps/gnu/errlist.c: Regenerated.
7589 * catgets/gencat.c (error_print): Use (void) in function
7591 * crypt/crypt_util.c (__init_des): Likewise.
7592 * crypt/speeds.c (Stop): Likewise.
7594 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7595 * inet/ruserpass.c (token): Likewise.
7596 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7597 * intl/localealias.c (extend_alias_table): Likewise.
7598 * intl/plural-exp.c (init_germanic_plural): Likewise.
7599 * libio/fcloseall.c (__fcloseall): Likewise.
7600 * libio/genops.c (_IO_flush_all): Likewise.
7601 (_IO_flush_all_linebuffered): Likewise.
7602 (_IO_cleanup): Likewise.
7603 (_IO_iter_begin): Likewise.
7604 (_IO_iter_end): Likewise.
7605 (_IO_list_lock): Likewise.
7606 (_IO_list_unlock): Likewise.
7607 (_IO_list_resetlock): Likewise.
7608 * libio/getchar.c (getchar): Likewise.
7609 * libio/getchar_u.c (getchar_unlocked): Likewise.
7610 * libio/getwchar.c (getwchar): Likewise.
7611 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7612 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7613 * login/getpt.c (__getpt): Likewise.
7614 * login/tst-utmp.c (main): Likewise.
7615 * malloc/hooks.c (__malloc_check_init): Likewise.
7616 * malloc/malloc.c (__malloc_stats): Likewise.
7617 * malloc/mtrace.c (tr_break): Likewise.
7619 (muntrace): Likewise.
7620 * misc/fstab.c (endfsent): Likewise.
7621 * misc/getclktck.c (__getclktck): Likewise.
7622 * misc/getdtsz.c (__getdtablesize): Likewise.
7623 * misc/gethostid.c (gethostid): Likewise.
7624 * misc/getpagesize.c (__getpagesize): Likewise.
7625 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7626 (__get_nprocs): Likewise.
7627 (__get_phys_pages): Likewise.
7628 (__get_avphys_pages): Likewise.
7629 * misc/getttyent.c (getttyent): Likewise.
7630 (setttyent): Likewise.
7631 (endttyent): Likewise.
7632 * misc/getusershell.c (getusershell): Likewise.
7633 (endusershell): Likewise.
7634 (setusershell): Likewise.
7635 (initshells): Likewise.
7636 * misc/hsearch.c (__hdestroy): Likewise.
7637 * misc/sync.c (sync): Likewise.
7638 * misc/syslog.c (closelog_internal): Likewise.
7639 (closelog): Likewise.
7640 * misc/ttyslot.c (ttyslot): Likewise.
7641 * misc/vhangup.c (vhangup): Likewise.
7642 * posix/fork.c (__fork): Likewise.
7643 * posix/getegid.c (__getegid): Likewise.
7644 * posix/geteuid.c (__geteuid): Likewise.
7645 * posix/getgid.c (__getgid): Likewise.
7646 * posix/getpid.c (__getpid): Likewise.
7647 * posix/getppid.c (__getppid): Likewise.
7648 * posix/getuid.c (__getuid): Likewise.
7649 * posix/pause.c (pause): Likewise.
7650 * posix/setpgrp.c (setpgrp): Likewise.
7651 * posix/setsid.c (__setsid): Likewise.
7652 * posix/test-vfork.c (noop): Likewise.
7653 * resolv/gethnamaddr.c (_endhtent): Likewise.
7654 (_gethtent): Likewise.
7655 (ht_endhostent): Likewise.
7656 (gethostent): Likewise.
7657 (dns_service): Likewise.
7658 * stdlib/drand48.c (drand48): Likewise.
7659 * stdlib/lrand48.c (lrand48): Likewise.
7660 * stdlib/mrand48.c (mrand48): Likewise.
7661 * stdlib/rand.c (rand): Likewise.
7662 * stdlib/random.c (__random): Likewise.
7663 * stdlib/setenv.c (clearenv): Likewise.
7664 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7665 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7666 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7667 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7668 (__get_nprocs): Likewise.
7669 (__get_phys_pages): Likewise.
7670 (__get_avphys_pages): Likewise.
7671 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7672 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7673 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7674 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7675 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7676 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7677 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7678 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7679 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7680 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7681 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7682 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7683 * sysdeps/posix/clock.c (clock): Likewise.
7684 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7685 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7686 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7687 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7688 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7690 (__get_nprocs_conf): Likewise.
7691 (__get_phys_pages): Likewise.
7692 (__get_avphys_pages): Likewise.
7693 * time/clock.c (clock): Likewise.
7694 * time/tzset.c (__tzname_max): Likewise.
7696 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7698 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7699 (__bswap_32): Do not use "register".
7700 * crypt/crypt.c (_ufc_doit_r): Likewise.
7701 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7702 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7703 * gmon/gmon.c (__monstartup): Likewise.
7704 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7705 * hurd/hurdmalloc.c (more_memory): Likewise.
7708 (realloc): Likewise.
7709 (malloc_fork_prepare): Likewise.
7710 (malloc_fork_parent): Likewise.
7711 (malloc_fork_child): Likewise.
7712 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7713 (_svcauth_des): Likewise.
7714 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7715 * inet/inet_net.c (inet_network): Likewise.
7716 * inet/inet_netof.c (inet_netof): Likewise.
7717 * inet/rcmd.c (__validuser2_sa): Likewise.
7718 * io/fts.c (fts_open): Likewise.
7719 (fts_load): Likewise.
7720 (fts_close): Likewise.
7721 (fts_read): Likewise.
7722 (fts_children): Likewise.
7723 (fts_build): Likewise.
7724 (fts_stat): Likewise.
7725 (fts_sort): Likewise.
7726 (fts_alloc): Likewise.
7727 (fts_lfree): Likewise.
7728 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7729 (_IO_file_xsgetn): Likewise.
7730 (_IO_file_xsgetn_mmap): Likewise.
7731 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7732 (_IO_cookie_write): Likewise.
7733 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7734 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7735 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7736 * malloc/obstack.c (_obstack_begin): Likewise.
7737 (_obstack_begin_1): Likewise.
7738 (_obstack_newchunk): Likewise.
7739 (_obstack_allocated_p): Likewise.
7740 (obstack_free): Likewise.
7741 (_obstack_memory_used): Likewise.
7742 * misc/getttyent.c (getttynam): Likewise.
7743 (getttyent): Likewise.
7746 * misc/getusershell.c (initshells): Likewise.
7747 * misc/syslog.c (__vsyslog_chk): Likewise.
7748 * misc/ttyslot.c (ttyslot): Likewise.
7749 * nis/nis_hash.c (__nis_hash): Likewise.
7750 * posix/fnmatch_loop.c (FCT): Likewise.
7751 * posix/getconf.c (print_all): Likewise.
7753 * posix/getopt.c (exchange): Likewise.
7754 * posix/glob.c (globfree): Likewise.
7755 (prefix_array): Likewise.
7756 (__glob_pattern_type): Likewise.
7757 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7758 (NS_GET32): Likewise.
7759 (NS_PUT16): Likewise.
7760 (NS_PUT32): Likewise.
7761 * resolv/gethnamaddr.c (getanswer): Likewise.
7762 (gethostbyname2): Likewise.
7763 (gethostbyaddr): Likewise.
7764 (_gethtent): Likewise.
7765 (_gethtbyname2): Likewise.
7766 (_gethtbyaddr): Likewise.
7767 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7768 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7769 * resolv/res_init.c (__res_vinit): Likewise.
7770 (net_mask): Likewise.
7771 * resolv/res_mkquery.c (outchar): Likewise.
7773 * stdio-common/printf_fp.c (outchar): Likewise.
7775 * stdio-common/printf_fphex.c (outchar): Likewise.
7777 * stdio-common/printf_size.c (outchar): Likewise.
7779 * stdio-common/test_rdwr.c (main): Likewise.
7780 * stdio-common/tfformat.c (matches): Likewise.
7781 * stdio-common/vfprintf.c (outchar): Likewise.
7782 (printf_unknown): Likewise.
7783 (buffered_vfprintf): Likewise.
7784 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7785 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7786 (ReadFile): Likewise.
7787 * stdlib/qsort.c (SWAP): Likewise.
7788 (_quicksort): Likewise.
7789 * stdlib/setenv.c (__add_to_environ): Likewise.
7790 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7791 * stdlib/strtol_l.c (__strtol_l): Likewise.
7792 * stdlib/tst-strtod.c (main): Likewise.
7793 * stdlib/tst-strtol.c (main): Likewise.
7794 * stdlib/tst-strtoll.c (main): Likewise.
7795 * string/bits/string2.h (__strcmp_cc): Likewise.
7796 (__strcmp_cg): Likewise.
7797 (__strcspn_c1): Likewise.
7798 (__strcspn_c2): Likewise.
7799 (__strcspn_c3): Likewise.
7800 (__strspn_c1): Likewise.
7801 (__strspn_c2): Likewise.
7802 (__strspn_c3): Likewise.
7803 (__strsep_1c): Likewise.
7804 (__strsep_2c): Likewise.
7805 (__strsep_3c): Likewise.
7806 * string/memccpy.c (__memccpy): Likewise.
7807 * string/stpcpy.c (__stpcpy): Likewise.
7808 * string/strcmp.c (strcmp): Likewise.
7809 * string/strrchr.c (strrchr): Likewise.
7810 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7812 * sysdeps/mach/hurd/getcwd.c
7813 (_hurd_canonicalize_directory_name_internal): Likewise.
7814 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7815 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7816 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7817 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7818 Likewise, in both definitions.
7819 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7821 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7822 64] (__bswap_64): Likewise.
7823 * time/test_time.c (main): Likewise.
7824 * time/tzfile.c (__tzfile_read): Likewise.
7825 (__tzfile_compute): Likewise.
7826 * time/tzset.c (__tzset_parse_tz): Likewise.
7827 (tzset_internal): Likewise.
7828 (compute_change): Likewise.
7829 * wcsmbs/wcscat.c (__wcscat): Likewise.
7830 * wcsmbs/wcschr.c (wcschr): Likewise.
7831 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7832 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7833 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7834 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7835 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7836 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7837 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7838 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7839 * wcsmbs/wmemset.c (wmemset): Likewise.
7841 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7843 * scripts/config.guess: Update to version 2013-05-16.
7844 * scripts/config.sub: Update to version 2013-04-24.
7845 * scripts/install-sh: Update to version 2011-11-20.07.
7846 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7847 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7849 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7851 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7852 * elf/sln.c: Likewise.
7853 * hurd/hurd/ioctl.h: Likewise.
7854 * hurd/hurdmalloc.c: Likewise.
7855 * hurd/xattr.c: Likewise.
7856 * include/shlib-compat.h: Likewise.
7857 * inet/ruserpass.c: Likewise.
7858 * libio/iofgets_u.c: Likewise.
7859 * libio/iofgetws_u.c: Likewise.
7860 * locale/programs/ld-identification.c: Likewise.
7861 * locale/programs/ld-time.c: Likewise.
7862 * mach/msg-destroy.c: Likewise.
7863 * nss/nss_files/files-netgrp.c: Likewise.
7864 * resolv/res_data.c: Likewise.
7865 * soft-fp/op-1.h: Likewise.
7866 * soft-fp/op-2.h: Likewise.
7867 * soft-fp/op-4.h: Likewise.
7868 * soft-fp/op-common.h: Likewise.
7869 * stdio-common/printf_fphex.c: Likewise.
7870 * stdlib/strtod_l.c: Likewise.
7871 * sunrpc/rpc/clnt.h: Likewise.
7872 * sysdeps/generic/framestate.c: Likewise.
7873 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7874 * sysdeps/i386/bsd-setjmp.S: Likewise.
7875 * sysdeps/i386/__longjmp.S: Likewise.
7876 * sysdeps/i386/setjmp.S: Likewise.
7877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7878 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7895 * sysdeps/ieee754/support.c: Likewise.
7896 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7897 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7898 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7899 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7900 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7901 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7902 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7903 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7904 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7905 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7906 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7907 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7908 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7909 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7910 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7911 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7912 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7915 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7917 * posix/transbug.c: Remove executable mode.
7919 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7921 * crypt/speeds.c: Remove trailing whitespace.
7922 * dlfcn/default.c: Likewise.
7923 * elf/ifuncdep2.c: Likewise.
7924 * elf/ifuncmain1.c: Likewise.
7925 * elf/ifuncmain1vis.c: Likewise.
7926 * elf/testobj.h: Likewise.
7927 * elf/tst-stackguard1.c: Likewise.
7928 * gmon/sys/gmon.h: Likewise.
7929 * hurd/hurdmsg.c: Likewise.
7930 * hurd/new-fd.c: Likewise.
7931 * hurd/ports-get.c: Likewise.
7932 * iconvdata/ibm1008_420.c: Likewise.
7933 * inet/tst-getni1.c: Likewise.
7934 * inet/tst-getni2.c: Likewise.
7935 * libio/ioungetc.c: Likewise.
7936 * libio/wfiledoalloc.c: Likewise.
7937 * manual/libm-err-tab.pl: Likewise.
7938 * math/w_dremf.c: Likewise.
7939 * misc/ftruncate.c: Likewise.
7940 * posix/bug-glob2.c: Likewise.
7941 * posix/tst-pcre.c: Likewise.
7942 * posix/wait4.c: Likewise.
7943 * resolv/README: Likewise.
7944 * resolv/res_debug.h: Likewise.
7945 * resolv/tst-inet_ntop.c: Likewise.
7946 * setjmp/bug269-setjmp.c: Likewise.
7947 * soft-fp/extended.h: Likewise.
7948 * soft-fp/op-1.h: Likewise.
7949 * soft-fp/op-2.h: Likewise.
7950 * soft-fp/op-4.h: Likewise.
7951 * soft-fp/op-8.h: Likewise.
7952 * soft-fp/testit.c: Likewise.
7953 * stdio-common/bug16.c: Likewise.
7954 * stdlib/random.c: Likewise.
7955 * sunrpc/rpcsvc/rquota.x: Likewise.
7956 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7957 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7958 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7959 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7960 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7962 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7963 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7964 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7965 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7966 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7967 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7968 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7969 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7971 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7972 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7974 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7975 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7979 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7983 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7984 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7985 * sysdeps/ieee754/s_lib_version.c: Likewise.
7986 * sysdeps/mach/hurd/check_fds.c: Likewise.
7987 * sysdeps/mach/hurd/getsockname.c: Likewise.
7988 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7989 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7990 * sysdeps/powerpc/bits/link.h: Likewise.
7991 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7992 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7993 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7994 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7995 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7996 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7997 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7998 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7999 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8000 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8001 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8002 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8003 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8004 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8005 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8006 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8007 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8008 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8010 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8011 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8012 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8013 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8014 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8015 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8018 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8019 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8021 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8022 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8023 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8024 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8025 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8026 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8027 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8028 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8029 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8030 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8031 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8032 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8033 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8034 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8035 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8036 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8037 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8038 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8039 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8040 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8043 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8044 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8045 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8046 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8049 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8050 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8051 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8052 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8053 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8054 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8055 * sysdeps/powerpc/sysdep.h: Likewise.
8056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8057 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8058 * sysdeps/sh/dl-trampoline.S: Likewise.
8059 * sysdeps/sh/memset.S: Likewise.
8060 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8061 * sysdeps/sh/strlen.S: Likewise.
8062 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8063 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8064 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8065 * sysdeps/sparc/sparc32/rem.S: Likewise.
8066 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8067 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8068 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8069 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8070 * sysdeps/sparc/sparc32/urem.S: Likewise.
8071 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8072 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8073 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8074 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8076 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8077 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8078 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8079 * sysdeps/unix/bsd/times.c: Likewise.
8080 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8081 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8086 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8087 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8088 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8089 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8090 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8091 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8092 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8093 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8094 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8095 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8096 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8097 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8098 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8099 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8100 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8101 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8102 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8103 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8104 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8105 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8107 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8108 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8109 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8110 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8111 * sysdeps/x86_64/strcspn.S: Likewise.
8113 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8115 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8116 generated file. Regenerate properly from gen-translit.pl.
8117 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8118 locale/C-translit.h.
8120 2013-06-05 Andreas Schwab <schwab@suse.de>
8123 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8124 week as 6 instead of -1.
8125 * time/tst-strptime.c (day_tests): Add test case.
8127 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8129 * sysdeps/generic/math_private.h
8130 (libc_feholdexcept_setround_53bit): Replace with
8131 libc_feholdsetround_53bit.
8132 (libc_feupdateenv_53bit): Replace with
8133 libc_feresetround_53bit.
8134 (SET_RESTORE_ROUND_53BIT): Adjust.
8136 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8138 * string/test-strchrnul.c: Add copyright header.
8140 * posix/tst-getaddrinfo4.c: Increase test timeout.
8142 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8145 * math/libm-test.inc (MAX_EXP): Remove
8147 (ulp): Use MIN_EXP - MANT_DIG.
8148 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8150 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8152 * po/be.po: Revert last change.
8153 * po/zh_CN.po: Likewise.
8154 * po/header.pot: Likewise.
8156 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8158 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8159 link-libc-deps to empty as target-specific variable.
8160 * Makerules (link-libc-args): New variable.
8161 (libc-for-link): Likewise.
8162 (link-libc-deps): Likewise.
8163 (lib%.so): Depend on $(link-libc-deps). Link with
8165 (build-module): Link with $(link-libc-args).
8166 (build-module-asneeded): Likewise.
8167 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8169 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8170 target-specific variable.
8171 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8172 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8173 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8175 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8177 ($(objpfx)libpcprofile.so): Likewise.
8178 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8180 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8181 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8182 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8184 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8185 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8186 * login/Makefile ($(objpfx)libutil.so): Likewise.
8187 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8188 * math/Makefile ($(objpfx)libm.so): Likewise.
8189 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8190 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8191 variable instead of depending directly on libc.
8192 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8193 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8195 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8197 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8198 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8199 ($(objpfx)libanl.so): Likewise.
8200 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8202 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8204 * sysdeps/i386/fpu/Makefile: Remove file.
8205 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8206 ($(objpfx)libm.so): Remove dependency on ld.so.
8208 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8211 * nis/yp_xdr.c (XDRMAXNAME): Define.
8212 (XDRMAXRECORD): Define.
8213 (xdr_domainname): Use XDRMAXNAME.
8214 (xdr_mapname): Likewise.
8215 (xdr_peername): Likewise.
8216 (xdr_keydat): Use XDRMAXRECORD.
8217 (xdr_valdat): Likewise.
8219 2013-05-30 Jeff Law <law@redhat.com>
8222 * manual/errno.texi (ESTALE): Update to account for more than
8223 just NFS file systems.
8224 * sysdeps/gnu/errlist.c: Regenerated.
8226 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8229 * elf/Makefile (tests): Add tst-null-argv.
8230 (modules-names): Add tst-null-argv-lib.
8231 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8232 (tst-null-argv-ENV): Set environment for tst-null-argv.
8233 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8234 (RTLD_PROGNAME): New macro.
8235 * elf/tst-null-argv.c: New test case.
8236 * elf/tst-null-argv-lib.c: Library for test case.
8237 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8238 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8239 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8240 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8241 * elf/dl-init.c (call_init): Likewise.
8242 (_dl_init): Likewise.
8243 * elf/dl-load.c (print_search_path): Likewise.
8244 (_dl_map_object): Likewise.
8245 * elf/dl-lookup.c (do_lookup_x): Likewise.
8246 (add_dependency): Likewise.
8247 (_dl_lookup_symbol_x): Likewise.
8248 (_dl_debug_bindings): Likewise.
8249 * elf/dl-open.c (_dl_show_scope): Likewise.
8250 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8251 * elf/dl-version.c (match_symbol): Likewise.
8252 (_dl_check_map_versions): Likewise.
8253 * elf/rtld.c (dl_main): Likewise.
8254 (print_unresolved): Use RTLD_PROGNAME.
8255 (print_missing_version): Likewise.
8256 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8257 (elf_machine_rela): Likewise.
8258 * sysdeps/powerpc/powerpc32/dl-machine.c
8259 (__process_machine_rela): Likewise.
8260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8262 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8264 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8266 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8269 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8273 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8275 * po/be.po: Add descriptive title.
8276 * po/zh_CN.po: Likewise.
8277 * po/header.pot: Likewise.
8279 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8281 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8283 (enlarge_archive): Likewise.
8285 2013-05-28 Ben North <ben@redfrontdoor.org>
8287 * manual/arith.texi (frexp): It is the magnitude of the return
8288 value which lies in [0.5, 1), not the return value itself.
8290 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8294 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8296 * stdio-common/bug26.c (main): Correct fscanf template.
8298 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8299 declare _dl_skip_args.
8301 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8304 * manual/platform.texi: Add missing @end deftypefun.
8306 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8309 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8310 bit of mantissa of 2^16382.
8311 * math/libm-test.inc (hypot_test_data): Add more tests.
8313 * math/libm-test.inc: Add drem and pow10 to list of tested
8315 (pow10_test): New function.
8316 (drem_test): Likewise.
8317 (drem_test_tonearest): Likewise.
8318 (drem_test_towardzero): Likewise.
8319 (drem_test_downward): Likewise.
8320 (drem_test_upward): Likewise.
8321 (main): Call the new functions.
8323 * math/libm-test.inc (finite_test_data): Remove.
8324 (finite_test): Run tests from isfinite_test_data.
8325 (gamma_test_data): Remove.
8326 (gamma_test): Run tests from lgamma_test_data.
8327 * sysdeps/i386/fpu/libm-test-ulps: Update.
8328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8330 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332 * manual/platform.texi: Add PowerPC PPR function set documentation.
8333 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8336 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8338 * math/libm-test.inc (MAX_EXP): Define.
8340 (ulp): New function.
8341 (check_float_internal): Use ULPDIFF.
8342 (cpow_test): Disable failing test.
8343 (check_ulp): Test ulp() implemetnation.
8344 (main): Call check_ulp before starting tests.
8346 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8348 * math/gen-libm-test.pl (generate_testfile): Do not handle
8349 START_DATA and END_DATA.
8350 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8352 (acos_tonearest_test_data): Likewise.
8353 (acos_towardzero_test_data): Likewise.
8354 (acos_downward_test_data): Likewise.
8355 (acos_upward_test_data): Likewise.
8356 (acosh_test_data): Likewise.
8357 (asin_test_data): Likewise.
8358 (asin_tonearest_test_data): Likewise.
8359 (asin_towardzero_test_data): Likewise.
8360 (asin_downward_test_data): Likewise.
8361 (asin_upward_test_data): Likewise.
8362 (asinh_test_data): Likewise.
8363 (atan_test_data): Likewise.
8364 (atanh_test_data): Likewise.
8365 (atan2_test_data): Likewise.
8366 (cabs_test_data): Likewise.
8367 (cacos_test_data): Likewise.
8368 (cacosh_test_data): Likewise.
8369 (carg_test_data): Likewise.
8370 (casin_test_data): Likewise.
8371 (casinh_test_data): Likewise.
8372 (catan_test_data): Likewise.
8373 (catanh_test_data): Likewise.
8374 (cbrt_test_data): Likewise.
8375 (ccos_test_data): Likewise.
8376 (ccosh_test_data): Likewise.
8377 (ceil_test_data): Likewise.
8378 (cexp_test_data): Likewise.
8379 (cimag_test_data): Likewise.
8380 (clog_test_data): Likewise.
8381 (clog10_test_data): Likewise.
8382 (conj_test_data): Likewise.
8383 (copysign_test_data): Likewise.
8384 (cos_test_data): Likewise.
8385 (cos_tonearest_test_data): Likewise.
8386 (cos_towardzero_test_data): Likewise.
8387 (cos_downward_test_data): Likewise.
8388 (cos_upward_test_data): Likewise.
8389 (cosh_test_data): Likewise.
8390 (cosh_tonearest_test_data): Likewise.
8391 (cosh_towardzero_test_data): Likewise.
8392 (cosh_downward_test_data): Likewise.
8393 (cosh_upward_test_data): Likewise.
8394 (cpow_test_data): Likewise.
8395 (cproj_test_data): Likewise.
8396 (creal_test_data): Likewise.
8397 (csin_test_data): Likewise.
8398 (csinh_test_data): Likewise.
8399 (csqrt_test_data): Likewise.
8400 (ctan_test_data): Likewise.
8401 (ctan_tonearest_test_data): Likewise.
8402 (ctan_towardzero_test_data): Likewise.
8403 (ctan_downward_test_data): Likewise.
8404 (ctan_upward_test_data): Likewise.
8405 (ctanh_test_data): Likewise.
8406 (ctanh_tonearest_test_data): Likewise.
8407 (ctanh_towardzero_test_data): Likewise.
8408 (ctanh_downward_test_data): Likewise.
8409 (ctanh_upward_test_data): Likewise.
8410 (erf_test_data): Likewise.
8411 (erfc_test_data): Likewise.
8412 (exp_test_data): Likewise.
8413 (exp_tonearest_test_data): Likewise.
8414 (exp_towardzero_test_data): Likewise.
8415 (exp_downward_test_data): Likewise.
8416 (exp_upward_test_data): Likewise.
8417 (exp10_test_data): Likewise.
8418 (exp2_test_data): Likewise.
8419 (expm1_test_data): Likewise.
8420 (fabs_test_data): Likewise.
8421 (fdim_test_data): Likewise.
8422 (finite_test_data): Likewise.
8423 (floor_test_data): Likewise.
8424 (fma_test_data): Likewise.
8425 (fma_towardzero_test_data): Likewise.
8426 (fma_downward_test_data): Likewise.
8427 (fma_upward_test_data): Likewise.
8428 (fmax_test_data): Likewise.
8429 (fmin_test_data): Likewise.
8430 (fmod_test_data): Likewise.
8431 (fpclassify_test_data): Likewise.
8432 (frexp_test_data): Likewise.
8433 (gamma_test_data): Likewise.
8434 (hypot_test_data): Likewise.
8435 (ilogb_test_data): Likewise.
8436 (isfinite_test_data): Likewise.
8437 (isgreater_test_data): Likewise.
8438 (isgreaterequal_test_data): Likewise.
8439 (isinf_test_data): Likewise.
8440 (isless_test_data): Likewise.
8441 (islessequal_test_data): Likewise.
8442 (islessgreater_test_data): Likewise.
8443 (isnan_test_data): Likewise.
8444 (isnormal_test_data): Likewise.
8445 (issignaling_test_data): Likewise.
8446 (isunordered_test_data): Likewise.
8447 (j0_test_data): Likewise.
8448 (j1_test_data): Likewise.
8449 (jn_test_data): Likewise.
8450 (ldexp_test_data): Likewise.
8451 (lgamma_test_data): Likewise.
8452 (lrint_test_data): Likewise.
8453 (lrint_tonearest_test_data): Likewise.
8454 (lrint_towardzero_test_data): Likewise.
8455 (lrint_downward_test_data): Likewise.
8456 (lrint_upward_test_data): Likewise.
8457 (llrint_test_data): Likewise.
8458 (llrint_tonearest_test_data): Likewise.
8459 (llrint_towardzero_test_data): Likewise.
8460 (llrint_downward_test_data): Likewise.
8461 (llrint_upward_test_data): Likewise.
8462 (log_test_data): Likewise.
8463 (log10_test_data): Likewise.
8464 (log1p_test_data): Likewise.
8465 (log2_test_data): Likewise.
8466 (logb_test_data): Likewise.
8467 (logb_downward_test_data): Likewise.
8468 (lround_test_data): Likewise.
8469 (llround_test_data): Likewise.
8470 (modf_test_data): Likewise.
8471 (nearbyint_test_data): Likewise.
8472 (nextafter_test_data): Likewise.
8473 (nexttoward_test_data): Likewise.
8474 (pow_test_data): Likewise.
8475 (pow_tonearest_test_data): Likewise.
8476 (pow_towardzero_test_data): Likewise.
8477 (pow_downward_test_data): Likewise.
8478 (pow_upward_test_data): Likewise.
8479 (remainder_test_data): Likewise.
8480 (remainder_tonearest_test_data): Likewise.
8481 (remainder_towardzero_test_data): Likewise.
8482 (remainder_downward_test_data): Likewise.
8483 (remainder_upward_test_data): Likewise.
8484 (remquo_test_data): Likewise.
8485 (rint_test_data): Likewise.
8486 (rint_tonearest_test_data): Likewise.
8487 (rint_towardzero_test_data): Likewise.
8488 (rint_downward_test_data): Likewise.
8489 (rint_upward_test_data): Likewise.
8490 (round_test_data): Likewise.
8491 (scalb_test_data): Likewise.
8492 (scalbn_test_data): Likewise.
8493 (scalbln_test_data): Likewise.
8494 (signbit_test_data): Likewise.
8495 (sin_test_data): Likewise.
8496 (sin_tonearest_test_data): Likewise.
8497 (sin_towardzero_test_data): Likewise.
8498 (sin_downward_test_data): Likewise.
8499 (sin_upward_test_data): Likewise.
8500 (sincos_test_data): Likewise.
8501 (sinh_test_data): Likewise.
8502 (sinh_tonearest_test_data): Likewise.
8503 (sinh_towardzero_test_data): Likewise.
8504 (sinh_downward_test_data): Likewise.
8505 (sinh_upward_test_data): Likewise.
8506 (sqrt_test_data): Likewise.
8507 (tan_test_data): Likewise.
8508 (tan_tonearest_test_data): Likewise.
8509 (tan_towardzero_test_data): Likewise.
8510 (tan_downward_test_data): Likewise.
8511 (tan_upward_test_data): Likewise.
8512 (tanh_test_data): Likewise.
8513 (tgamma_test_data): Likewise.
8514 (trunc_test_data): Likewise.
8515 (y0_test_data): Likewise.
8516 (y1_test_data): Likewise.
8517 (yn_test_data): Likewise.
8518 (significand_test_data): Likewise.
8520 * math/gen-libm-test.pl (@functions): Remove variable.
8521 (generate_testfile): Don't handle START and END lines.
8522 * math/libm-test.inc (START): New macro.
8524 (END_COMPLEX): Likewise.
8525 (acos_test): Use END macro without arguments.
8526 (acos_test_tonearest): Likewise.
8527 (acos_test_towardzero): Likewise.
8528 (acos_test_downward): Likewise.
8529 (acos_test_upward): Likewise.
8530 (acosh_test): Likewise.
8531 (asin_test): Likewise.
8532 (asin_test_tonearest): Likewise.
8533 (asin_test_towardzero): Likewise.
8534 (asin_test_downward): Likewise.
8535 (asin_test_upward): Likewise.
8536 (asinh_test): Likewise.
8537 (atan_test): Likewise.
8538 (atanh_test): Likewise.
8539 (atan2_test): Likewise.
8540 (cabs_test): Likewise.
8541 (cacos_test): Use END_COMPLEX macro without arguments.
8542 (cacosh_test): Likewise.
8543 (carg_test): Use END macro without arguments.
8544 (casin_test): Use END_COMPLEX macro without arguments.
8545 (casinh_test): Likewise.
8546 (catan_test): Likewise.
8547 (catanh_test): Likewise.
8548 (cbrt_test): Use END macro without arguments.
8549 (ccos_test): Use END_COMPLEX macro without arguments.
8550 (ccosh_test): Likewise.
8551 (ceil_test): Use END macro without arguments.
8552 (cexp_test): Use END_COMPLEX macro without arguments.
8553 (cimag_test): Use END macro without arguments.
8554 (clog_test): Use END_COMPLEX macro without arguments.
8555 (clog10_test): Likewise.
8556 (conj_test): Likewise.
8557 (copysign_test): Use END macro without arguments.
8558 (cos_test): Likewise.
8559 (cos_test_tonearest): Likewise.
8560 (cos_test_towardzero): Likewise.
8561 (cos_test_downward): Likewise.
8562 (cos_test_upward): Likewise.
8563 (cosh_test): Likewise.
8564 (cosh_test_tonearest): Likewise.
8565 (cosh_test_towardzero): Likewise.
8566 (cosh_test_downward): Likewise.
8567 (cosh_test_upward): Likewise.
8568 (cpow_test): Use END_COMPLEX macro without arguments.
8569 (cproj_test): Likewise.
8570 (creal_test): Use END macro without arguments.
8571 (csin_test): Use END_COMPLEX macro without arguments.
8572 (csinh_test): Likewise.
8573 (csqrt_test): Likewise.
8574 (ctan_test): Likewise.
8575 (ctan_test_tonearest): Likewise.
8576 (ctan_test_towardzero): Likewise.
8577 (ctan_test_downward): Likewise.
8578 (ctan_test_upward): Likewise.
8579 (ctanh_test): Likewise.
8580 (ctanh_test_tonearest): Likewise.
8581 (ctanh_test_towardzero): Likewise.
8582 (ctanh_test_downward): Likewise.
8583 (ctanh_test_upward): Likewise.
8584 (erf_test): Use END macro without arguments.
8585 (erfc_test): Likewise.
8586 (exp_test): Likewise.
8587 (exp_test_tonearest): Likewise.
8588 (exp_test_towardzero): Likewise.
8589 (exp_test_downward): Likewise.
8590 (exp_test_upward): Likewise.
8591 (exp10_test): Likewise.
8592 (exp2_test): Likewise.
8593 (expm1_test): Likewise.
8594 (fabs_test): Likewise.
8595 (fdim_test): Likewise.
8596 (finite_test): Likewise.
8597 (floor_test): Likewise.
8598 (fma_test): Likewise.
8599 (fma_test_towardzero): Likewise.
8600 (fma_test_downward): Likewise.
8601 (fma_test_upward): Likewise.
8602 (fmax_test): Likewise.
8603 (fmin_test): Likewise.
8604 (fmod_test): Likewise.
8605 (fpclassify_test): Likewise.
8606 (frexp_test): Likewise.
8607 (gamma_test): Likewise.
8608 (hypot_test): Likewise.
8609 (ilogb_test): Likewise.
8610 (isfinite_test): Likewise.
8611 (isgreater_test): Likewise.
8612 (isgreaterequal_test): Likewise.
8613 (isinf_test): Likewise.
8614 (isless_test): Likewise.
8615 (islessequal_test): Likewise.
8616 (islessgreater_test): Likewise.
8617 (isnan_test): Likewise.
8618 (isnormal_test): Likewise.
8619 (issignaling_test): Likewise.
8620 (isunordered_test): Likewise.
8621 (j0_test): Likewise.
8622 (j1_test): Likewise.
8623 (jn_test): Likewise.
8624 (ldexp_test): Likewise.
8625 (lgamma_test): Likewise.
8626 (lrint_test): Likewise.
8627 (lrint_test_tonearest): Likewise.
8628 (lrint_test_towardzero): Likewise.
8629 (lrint_test_downward): Likewise.
8630 (lrint_test_upward): Likewise.
8631 (llrint_test): Likewise.
8632 (llrint_test_tonearest): Likewise.
8633 (llrint_test_towardzero): Likewise.
8634 (llrint_test_downward): Likewise.
8635 (llrint_test_upward): Likewise.
8636 (log_test): Likewise.
8637 (log10_test): Likewise.
8638 (log1p_test): Likewise.
8639 (log2_test): Likewise.
8640 (logb_test): Likewise.
8641 (logb_test_downward): Likewise.
8642 (lround_test): Likewise.
8643 (llround_test): Likewise.
8644 (modf_test): Likewise.
8645 (nearbyint_test): Likewise.
8646 (nextafter_test): Likewise.
8647 (nexttoward_test): Likewise.
8648 (pow_test): Likewise.
8649 (pow_test_tonearest): Likewise.
8650 (pow_test_towardzero): Likewise.
8651 (pow_test_downward): Likewise.
8652 (pow_test_upward): Likewise.
8653 (remainder_test): Likewise.
8654 (remainder_test_tonearest): Likewise.
8655 (remainder_test_towardzero): Likewise.
8656 (remainder_test_downward): Likewise.
8657 (remainder_test_upward): Likewise.
8658 (remquo_test): Likewise.
8659 (rint_test): Likewise.
8660 (rint_test_tonearest): Likewise.
8661 (rint_test_towardzero): Likewise.
8662 (rint_test_downward): Likewise.
8663 (rint_test_upward): Likewise.
8664 (round_test): Likewise.
8665 (scalb_test): Likewise.
8666 (scalbn_test): Likewise.
8667 (scalbln_test): Likewise.
8668 (signbit_test): Likewise.
8669 (sin_test): Likewise.
8670 (sin_test_tonearest): Likewise.
8671 (sin_test_towardzero): Likewise.
8672 (sin_test_downward): Likewise.
8673 (sin_test_upward): Likewise.
8674 (sincos_test): Likewise.
8675 (sinh_test): Likewise.
8676 (sinh_test_tonearest): Likewise.
8677 (sinh_test_towardzero): Likewise.
8678 (sinh_test_downward): Likewise.
8679 (sinh_test_upward): Likewise.
8680 (sqrt_test): Likewise.
8681 (tan_test): Likewise.
8682 (tan_test_tonearest): Likewise.
8683 (tan_test_towardzero): Likewise.
8684 (tan_test_downward): Likewise.
8685 (tan_test_upward): Likewise.
8686 (tanh_test): Likewise.
8687 (tgamma_test): Likewise.
8688 (trunc_test): Likewise.
8689 (y0_test): Likewise.
8690 (y1_test): Likewise.
8691 (yn_test): Likewise.
8692 (significand_test): Likewise.
8694 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8697 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8699 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8702 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8703 __ppc_mdoio and __ppc_mdoom.
8704 * manual/platform.texi: Document new functions __ppc_yield,
8705 __ppc_mdoio and __ppc_mdoom.
8707 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8709 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8710 (main): Mention "tls" pseudo-hwcap is legacy.
8711 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8713 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8715 * math/gen-libm-test.pl (parse_args): Output only string of
8716 arguments as text for test name, not full call or descriptions of
8717 tests for extra outputs.
8718 (generate_testfile): Do not pass function name to parse_args.
8719 Generate this_func variable from START.
8720 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8722 (struct test_ff_f_data): Likewise.
8723 (test_ff_f_data_nexttoward): Likewise.
8724 (struct test_fi_f_data): Likewise.
8725 (struct test_fl_f_data): Likewise.
8726 (struct test_if_f_data): Likewise.
8727 (struct test_fff_f_data): Likewise.
8728 (struct test_c_f_data): Likewise.
8729 (struct test_f_f1_data): Likewise. Remove field extra_name.
8730 (struct test_fF_f1_data): Likewise.
8731 (struct test_ffI_f1_data): Likewise.
8732 (struct test_c_c_data): Rename test_name field to arg_str.
8733 (struct test_cc_c_data): Likewise.
8734 (struct test_f_i_data): Likewise.
8735 (struct test_ff_i_data): Likewise.
8736 (struct test_f_l_data): Likewise.
8737 (struct test_f_L_data): Likewise.
8738 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8740 (COMMON_TEST_SETUP): New macro.
8741 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8742 (COMMON_TEST_CLEANUP): Likewise.
8743 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8744 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8746 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8747 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8749 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8750 (RUN_TEST_fff_f): Take argument string. Call new setup and
8752 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8753 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8755 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8756 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8758 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8759 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8761 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8762 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8764 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8765 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8767 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8768 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8770 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8771 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8773 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8774 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8776 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8777 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8779 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8780 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8782 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8783 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8785 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8786 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8788 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8789 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8791 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8792 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8794 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8795 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8797 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8799 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8801 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8802 to _sifields.sigfault.
8803 (si_addr_lsb): Define new macro.
8804 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8805 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8808 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8811 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8813 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8815 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8818 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8820 * math/gen-libm-test.pl (parse_args): Do not include expected
8821 result in test name.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8824 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8826 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8829 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8831 * benchtests/Makefile: Sort function entries.
8833 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8834 tanh, asinh, acosh, atanh.
8835 * benchtests/acos-inputs: New file.
8836 * benchtests/acosh-inputs: New file.
8837 * benchtests/asin-inputs: New file.
8838 * benchtests/asinh-inputs: New file.
8839 * benchtests/atanh-inputs: New file.
8840 * benchtests/cosh-inputs: New file.
8841 * benchtests/log-inputs: New file.
8842 * benchtests/sinh-inputs: New file.
8843 * benchtests/tanh-inputs: New file.
8845 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8848 * posix/tst-getaddrinfo4.c: New test.
8849 * posix/Makefile (tests): Add it.
8851 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8854 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8855 when no services were used.
8856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8857 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8859 2013-05-21 Andreas Schwab <schwab@suse.de>
8862 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8863 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8865 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8866 redundant variable declarations and reallocation of buffer when
8867 parsing as IPv6 address. Always set NSS status when called from
8868 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8869 buffer too small. Correct computation of needed size.
8870 * nss/Makefile (tests): Add test-digits-dots.
8871 * nss/test-digits-dots.c: New test.
8873 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8875 * benchtests/Makefile: Remove instructions for adding
8877 * benchtests/README: New file to explain how to execute and
8878 enhance the benchmark tests.
8880 2013-05-21 Andreas Schwab <schwab@suse.de>
8883 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8884 * setjmp/tst-sigsetjmp.c: New test.
8886 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8888 * sysdeps/x86_64/memset.S (memset): New implementation.
8889 (__bzero): Likewise.
8890 (__memset_tail): New function.
8892 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8894 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8895 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8896 __memcpy_sse2_unaligned ifunc selection.
8897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8898 Add memcpy-sse2-unaligned.S.
8899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8900 Add: __memcpy_sse2_unaligned.
8902 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8905 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8906 math_force_eval before restoring floating-point envrionment.
8907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8908 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8910 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8912 (__nearbyintl): Use math_force_eval before restoring
8913 floating-point environment.
8914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8916 * math/gen-libm-test.pl (special_functions): Remove.
8917 (parse_args): Don't handle TEST_extra. Handle functions with no
8919 * math/libm-test.inc (struct test_sincos_data): Replace with
8920 struct test_fFF_11_data.
8921 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8922 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8923 (sincos_test_data): Change element type to struct
8924 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8925 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8926 RUN_TEST_LOOP_sincos.
8927 * math/README.libm-test: Don't mention special handling of
8928 individual functions.
8929 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8930 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8931 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8932 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8936 * math/gen-libm-test.pl (get_variable): Remove function.
8937 (parse_args): Don't show pointer parameters to call in test
8938 names. Use "extra output N" in test names for extra outputs
8939 rather than naming variables.
8941 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8944 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8945 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8946 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8948 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8950 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8953 * math/gen-libm-test.pl (@tests): Remove variable.
8955 (new_test): Remove function.
8956 (show_exceptions): New function.
8957 (special_functions): Use show_exceptions instead of new_test.
8958 (parse_args): Likewise.
8959 (generate_testfile): Pass only function name in generated call to
8960 print_max_error or print_complex_max_error.
8961 (get_ulps): Do not handle complex tests specially.
8962 (output_test): Rename to ...
8963 (get_all_ulps_for_test): ... this. Return a string rather than
8964 printing to a file. Require ulps to be present.
8965 (output_ulps): Generate arrays rather than #defines.
8966 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8967 (struct ulp_data): New type.
8968 (BUILD_COMPLEX_ULP): Remove macro.
8969 (compare_ulp_data): New function.
8970 (find_ulps): Likewise.
8971 (find_test_ulps): Likewise.
8972 (find_function_ulps): Likewise.
8973 (find_complex_function_ulps): Likewise.
8974 (print_max_error): Determine allowed ulps using
8976 (print_complex_max_error): Determine allowed ulps using
8977 find_complex_function_ulps.
8978 (check_float_internal): Determine max ulps using find_test_ulps.
8979 (check_float): Do not take max_ulp parameter. Update call to
8980 check_float_internal.
8981 (check_complex): Likewise.
8982 (check_int): Do not take max_ulp parameter.
8983 (check_long): Likewise.
8984 (check_bool): Likewise.
8985 (check_longlong): Likewise.
8986 (struct test_f_f_data): Remove max_ulp field.
8987 (struct test_ff_f_data): Likewise.
8988 (struct test_ff_f_data_nexttoward): Likewise.
8989 (struct test_fi_f_data): Likewise.
8990 (struct test_fl_f_data): Likewise.
8991 (struct test_if_f_data): Likewise.
8992 (struct test_fff_f_data): Likewise.
8993 (struct test_c_f_data): Likewise.
8994 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8995 (struct test_fF_f1_data): Likewise.
8996 (struct test_ffI_f1_data): Likewise.
8997 (struct test_c_c_data): Remove max_ulp field.
8998 (struct test_cc_c_data): Likewise.
8999 (struct test_f_i_data): Likewise.
9000 (struct test_ff_i_data): Likewise.
9001 (struct test_f_l_data): Likewise.
9002 (struct test_f_L_data): Likewise.
9003 (struct test_sincos_data): Likewise.
9004 (RUN_TEST_f_f): Do not handle ulps.
9005 (RUN_TEST_LOOP_f_f): Likewise.
9006 (RUN_TEST_2_f): Likewise.
9007 (RUN_TEST_LOOP_2_f): Likewise.
9008 (RUN_TEST_fff_f): Likewise.
9009 (RUN_TEST_LOOP_fff_f): Likewise.
9010 (RUN_TEST_c_f): Likewise.
9011 (RUN_TEST_LOOP_c_f): Likewise.
9012 (RUN_TEST_f_f1): Likewise.
9013 (RUN_TEST_LOOP_f_f1): Likewise.
9014 (RUN_TEST_fF_f1): Likewise.
9015 (RUN_TEST_LOOP_fF_f1): Likewise.
9016 (RUN_TEST_fI_f1): Likewise.
9017 (RUN_TEST_LOOP_fI_f1): Likewise.
9018 (RUN_TEST_ffI_f1): Likewise.
9019 (RUN_TEST_LOOP_ffI_f1): Likewise.
9020 (RUN_TEST_c_c): Likewise.
9021 (RUN_TEST_LOOP_c_c): Likewise.
9022 (RUN_TEST_cc_c): Likewise.
9023 (RUN_TEST_LOOP_cc_c): Likewise.
9024 (RUN_TEST_f_i): Likewise.
9025 (RUN_TEST_LOOP_f_i): Likewise.
9026 (RUN_TEST_f_i_tg): Likewise.
9027 (RUN_TEST_LOOP_f_i_tg): Likewise.
9028 (RUN_TEST_ff_i_tg): Likewise.
9029 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9030 (RUN_TEST_f_b): Likewise.
9031 (RUN_TEST_LOOP_f_b): Likewise.
9032 (RUN_TEST_f_b_tg): Likewise.
9033 (RUN_TEST_LOOP_f_b_tg): Likewise.
9034 (RUN_TEST_f_l): Likewise.
9035 (RUN_TEST_LOOP_f_l): Likewise.
9036 (RUN_TEST_f_L): Likewise.
9037 (RUN_TEST_LOOP_f_L): Likewise.
9038 (RUN_TEST_sincos): Likewise.
9039 (RUN_TEST_LOOP_sincos): Likewise.
9041 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9045 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9046 main case of finite arguments, set rounding mode to FE_TONEAREST
9047 and discard exceptions.
9048 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9050 (remainder_tonearest_test_data): New variable.
9051 (remainder_test_tonearest): New function.
9052 (remainder_towardzero_test_data): New variable.
9053 (remainder_test_towardzero): New function.
9054 (remainder_downward_test_data): New variable.
9055 (remainder_test_downward): New function.
9056 (remainder_upward_test_data): New variable.
9057 (remainder_test_upward): New function.
9058 (main): Call the new test functions.
9060 * math/libm-test.inc (struct test_f_f1_data): Remove field
9062 (struct test_fF_f1_data): Likewise.
9063 (struct test_ffI_f1_data): Likewise.
9064 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9065 based on value of EXTRA_EXPECTED.
9066 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9067 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9068 EXTRA_VAR based on value of EXTRA_EXPECTED.
9069 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9070 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9071 EXTRA_VAR based on value of EXTRA_EXPECTED.
9072 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9073 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9074 EXTRA_VAR based on value of EXTRA_EXPECTED.
9075 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9076 * math/gen-libm-test.pl (parse_args): Don't output initializers
9077 for extra output values.
9079 * math/libm-test.inc (check_int): Expect result to be exactly
9080 equal to expected value and do not handle ulps.
9081 (check_long): Likewise.
9082 (check_longlong): Likewise.
9084 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9086 (cimag_test_data): Likewise.
9087 (conj_test_data): Likewise.
9088 (copysign_test_data): Likewise.
9089 (cproj_test_data): Likewise.
9090 (creal_test_data): Likewise.
9091 (fabs_test_data): Likewise.
9092 (fdim_test_data): Likewise.
9093 (finite_test_data): Likewise.
9094 (floor_test_data): Likewise.
9095 (fmax_test_data): Likewise.
9096 (fmin_test_data): Likewise.
9097 (fmod_test_data): Likewise.
9098 (fpclassify_test_data): Likewise.
9099 (frexp_test_data): Likewise.
9100 (ilogb_test_data): Likewise.
9101 (isfinite_test_data): Likewise.
9102 (isgreater_test_data): Likewise.
9103 (isgreaterequal_test_data): Likewise.
9104 (isinf_test_data): Likewise.
9105 (isless_test_data): Likewise.
9106 (islessequal_test_data): Likewise.
9107 (islessgreater_test_data): Likewise.
9108 (isnan_test_data): Likewise.
9109 (isnormal_test_data): Likewise.
9110 (issignaling_test_data): Likewise.
9111 (isunordered_test_data): Likewise.
9112 (ldexp_test_data): Likewise.
9113 (lrint_test_data): Likewise.
9114 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9115 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9116 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9117 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9118 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9119 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9121 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9122 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9123 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9124 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9126 (lrint_downward_test_data): Test for "inexact" exceptions.
9127 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9128 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9129 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9131 (lrint_upward_test_data): Test for "inexact" exceptions.
9132 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9134 (llrint_test_data): Test for "inexact" exceptions.
9135 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9136 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9137 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9138 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9139 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9140 (llrint_downward_test_data): Test for "inexact" exceptions.
9141 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9142 (llrint_upward_test_data): Test for "inexact" exceptions.
9143 (logb_test_data): Likewise.
9144 (logb_downward_test_data): Likewise.
9145 (nextafter_test_data): Likewise.
9146 (nexttoward_test_data): Likewise.
9147 (remainder_test_data): Likewise.
9148 (remquo_test_data): Likewise.
9149 (scalbn_test_data): Likewise.
9150 (scalbln_test_data): Likewise.
9151 (signbit_test_data): Likewise.
9152 (sqrt_test_data): Likewise.
9153 (significand_test_data): Likewise.
9155 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9158 * benchtests/bench-modf.c (struct args): Mark arg0 as
9160 * scripts/bench.pl: Mark members of struct args as volatile.
9162 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9165 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9166 negative infinity on POWER6 or lower.
9167 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9169 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9172 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9173 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9174 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9175 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9176 (_FP_SETQNAN): New macro.
9177 (_FP_SETQNAN_SEMIRAW): Likewise.
9178 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9179 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9180 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9181 (FP_EXTEND): Use _FP_FRAC_SNANP.
9182 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9183 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9185 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9187 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9190 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9192 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9193 with DIVIDE_BY_ZERO_EXCEPTION.
9194 (gamma_test_data): Likewise.
9195 (lgamma_test_data): Likewise.
9196 (log_test_data): Likewise.
9197 (log10_test_data): Likewise.
9198 (log2_test_data): Likewise.
9199 (tgamma_test_data): Likewise.
9201 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9202 (acos_test_tonearest): Likewise.
9203 (acos_test_towardzero): Likewise.
9204 (acos_test_downward): Likewise.
9205 (acos_test_upward): Likewise.
9206 (acosh_test): Likewise.
9207 (asin_test): Likewise.
9208 (asin_test_tonearest): Likewise.
9209 (asin_test_towardzero): Likewise.
9210 (asin_test_downward): Likewise.
9211 (asin_test_upward): Likewise.
9212 (asinh_test): Likewise.
9213 (atan_test): Likewise.
9214 (atanh_test): Likewise.
9215 (atan2_test): Likewise.
9216 (cabs_test): Likewise.
9217 (cacos_test): Likewise.
9218 (cacosh_test): Likewise.
9219 (casin_test): Likewise.
9220 (casinh_test): Likewise.
9221 (catan_test): Likewise.
9222 (catanh_test): Likewise.
9223 (cbrt_test): Likewise.
9224 (ccos_test): Likewise.
9225 (ccosh_test): Likewise.
9226 (cexp_test): Likewise.
9227 (clog_test): Likewise.
9228 (clog10_test): Likewise.
9229 (cos_test): Likewise.
9230 (cos_test_tonearest): Likewise.
9231 (cos_test_towardzero): Likewise.
9232 (cos_test_downward): Likewise.
9233 (cos_test_upward): Likewise.
9234 (cosh_test): Likewise.
9235 (cosh_test_tonearest): Likewise.
9236 (cosh_test_towardzero): Likewise.
9237 (cosh_test_downward): Likewise.
9238 (cosh_test_upward): Likewise.
9239 (cpow_test): Likewise.
9240 (csin_test): Likewise.
9241 (csinh_test): Likewise.
9242 (csqrt_test): Likewise.
9243 (ctan_test): Likewise.
9244 (ctan_test_tonearest): Likewise.
9245 (ctan_test_towardzero): Likewise.
9246 (ctan_test_downward): Likewise.
9247 (ctan_test_upward): Likewise.
9248 (ctanh_test): Likewise.
9249 (ctanh_test_tonearest): Likewise.
9250 (ctanh_test_towardzero): Likewise.
9251 (ctanh_test_downward): Likewise.
9252 (ctanh_test_upward): Likewise.
9253 (erf_test): Likewise.
9254 (erfc_test): Likewise.
9255 (exp_test): Likewise.
9256 (exp_test_tonearest): Likewise.
9257 (exp_test_towardzero): Likewise.
9258 (exp_test_downward): Likewise.
9259 (exp_test_upward): Likewise.
9260 (exp10_test): Likewise.
9261 (exp2_test): Likewise.
9262 (expm1_test): Likewise.
9263 (fmod_test): Likewise.
9264 (gamma_test): Likewise.
9265 (hypot_test): Likewise.
9266 (j0_test): Likewise.
9267 (j1_test): Likewise.
9268 (jn_test): Likewise.
9269 (lgamma_test): Likewise.
9270 (log_test): Likewise.
9271 (log10_test): Likewise.
9272 (log1p_test): Likewise.
9273 (log2_test): Likewise.
9274 (logb_test_downward): Likewise.
9275 (pow_test): Likewise.
9276 (pow_test_tonearest): Likewise.
9277 (pow_test_towardzero): Likewise.
9278 (pow_test_downward): Likewise.
9279 (pow_test_upward): Likewise.
9280 (remainder_test): Likewise.
9281 (remquo_test): Likewise.
9282 (sin_test): Likewise.
9283 (sin_test_tonearest): Likewise.
9284 (sin_test_towardzero): Likewise.
9285 (sin_test_downward): Likewise.
9286 (sin_test_upward): Likewise.
9287 (sincos_test): Likewise.
9288 (sinh_test): Likewise.
9289 (sinh_test_tonearest): Likewise.
9290 (sinh_test_towardzero): Likewise.
9291 (sinh_test_downward): Likewise.
9292 (sinh_test_upward): Likewise.
9293 (sqrt_test): Likewise.
9294 (tan_test): Likewise.
9295 (tan_test_tonearest): Likewise.
9296 (tan_test_towardzero): Likewise.
9297 (tan_test_downward): Likewise.
9298 (tan_test_upward): Likewise.
9299 (tanh_test): Likewise.
9300 (tgamma_test): Likewise.
9301 (y0_test): Likewise.
9302 (y1_test): Likewise.
9303 (yn_test): Likewise.
9305 * math/gen-libm-test.pl (adjust_arg): Remove function.
9306 (special_function): Remove argument $in_func. Only handle
9307 generating output for tables of tests, not inside functions.
9308 (parse_args): Likewise.
9309 (generate_testfile): Remove variable $in_func. Update call to
9311 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9312 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9313 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9314 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9315 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9316 (MAX_VALUE_INIT): Rename macro to max_value.
9317 (MIN_VALUE_INIT): Rename macro to min_value.
9318 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9319 (plus_zero): Remove variable.
9320 (minus_zero): Likewise.
9321 (plus_infty): Likewise.
9322 (minus_infty): Likewise.
9323 (qnan_value): Likewise.
9324 (max_value): Likewise.
9325 (min_value): Likewise.
9326 (min_subnorm_value): Likewise.
9328 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9330 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9331 uint64_t or uint32_t usage.
9332 * crypt/sha256-block.c: Likewise.
9333 * crypt/sha256-crypt.c: Likewise.
9334 * crypt/sha256.c: Likewise.
9335 * crypt/sha512-block.c: Likewise.
9336 * crypt/sha512-crypt.c: Likewise.
9337 * crypt/sha512.c: Likewise.
9338 * debug/backtrace-tst.c: Likewise.
9339 * debug/pcprofiledump.c: Likewise.
9340 * elf/cache.c: Likewise.
9341 * elf/dl-cache.c: Likewise.
9342 * elf/dl-misc.c: Likewise.
9343 * elf/dl-profile.c: Likewise.
9344 * elf/dl-support.c: Likewise.
9345 * elf/ldconfig.c: Likewise.
9346 * elf/sprof.c: Likewise.
9347 * iconv/dummy-repertoire.c: Likewise.
9348 * iconv/iconv_charmap.c: Likewise.
9349 * iconv/skeleton.c: Likewise.
9350 * iconvdata/8bit-generic.c: Likewise.
9351 * iconvdata/cp737.h: Likewise.
9352 * iconvdata/cp775.h: Likewise.
9353 * iconvdata/ibm1008.h: Likewise.
9354 * iconvdata/ibm1025.h: Likewise.
9355 * iconvdata/ibm1046.h: Likewise.
9356 * iconvdata/ibm1097.h: Likewise.
9357 * iconvdata/ibm1112.h: Likewise.
9358 * iconvdata/ibm1122.h: Likewise.
9359 * iconvdata/ibm1123.h: Likewise.
9360 * iconvdata/ibm1124.h: Likewise.
9361 * iconvdata/ibm1129.h: Likewise.
9362 * iconvdata/ibm1130.h: Likewise.
9363 * iconvdata/ibm1132.h: Likewise.
9364 * iconvdata/ibm1133.h: Likewise.
9365 * iconvdata/ibm1137.h: Likewise.
9366 * iconvdata/ibm1140.h: Likewise.
9367 * iconvdata/ibm1141.h: Likewise.
9368 * iconvdata/ibm1142.h: Likewise.
9369 * iconvdata/ibm1143.h: Likewise.
9370 * iconvdata/ibm1144.h: Likewise.
9371 * iconvdata/ibm1145.h: Likewise.
9372 * iconvdata/ibm1146.h: Likewise.
9373 * iconvdata/ibm1147.h: Likewise.
9374 * iconvdata/ibm1148.h: Likewise.
9375 * iconvdata/ibm1149.h: Likewise.
9376 * iconvdata/ibm1153.h: Likewise.
9377 * iconvdata/ibm1154.h: Likewise.
9378 * iconvdata/ibm1155.h: Likewise.
9379 * iconvdata/ibm1156.h: Likewise.
9380 * iconvdata/ibm1157.h: Likewise.
9381 * iconvdata/ibm1158.h: Likewise.
9382 * iconvdata/ibm1160.h: Likewise.
9383 * iconvdata/ibm1161.h: Likewise.
9384 * iconvdata/ibm1162.h: Likewise.
9385 * iconvdata/ibm1163.h: Likewise.
9386 * iconvdata/ibm1164.h: Likewise.
9387 * iconvdata/ibm1166.h: Likewise.
9388 * iconvdata/ibm1167.h: Likewise.
9389 * iconvdata/ibm12712.h: Likewise.
9390 * iconvdata/ibm1390.h: Likewise.
9391 * iconvdata/ibm1399.h: Likewise.
9392 * iconvdata/ibm16804.h: Likewise.
9393 * iconvdata/ibm4517.h: Likewise.
9394 * iconvdata/ibm4899.h: Likewise.
9395 * iconvdata/ibm4909.h: Likewise.
9396 * iconvdata/ibm4971.h: Likewise.
9397 * iconvdata/ibm5347.h: Likewise.
9398 * iconvdata/ibm803.h: Likewise.
9399 * iconvdata/ibm856.h: Likewise.
9400 * iconvdata/ibm901.h: Likewise.
9401 * iconvdata/ibm902.h: Likewise.
9402 * iconvdata/ibm9030.h: Likewise.
9403 * iconvdata/ibm9066.h: Likewise.
9404 * iconvdata/ibm921.h: Likewise.
9405 * iconvdata/ibm922.h: Likewise.
9406 * iconvdata/ibm9448.h: Likewise.
9407 * iconvdata/isiri-3342.h: Likewise.
9408 * iconvdata/jis0201.h: Likewise.
9409 * include/link.h: Likewise.
9410 * include/netdb.h: Likewise.
9411 * inet/check_native.c: Likewise.
9412 * inet/check_pf.c: Likewise.
9413 * inet/getipv4sourcefilter.c: Likewise.
9414 * inet/getnameinfo.c: Likewise.
9415 * inet/getsourcefilter.c: Likewise.
9416 * inet/htonl.c: Likewise.
9417 * inet/setipv4sourcefilter.c: Likewise.
9418 * inet/setsourcefilter.c: Likewise.
9419 * inet/test-inet6_opt.c: Likewise.
9420 * inet/tst-network.c: Likewise.
9421 * locale/C-collate.c: Likewise.
9422 * locale/C-ctype.c: Likewise.
9423 * locale/C-time.c: Likewise.
9424 * locale/C-translit.h: Likewise.
9425 * locale/loadarchive.c: Likewise.
9426 * locale/programs/3level.h: Likewise.
9427 * locale/programs/charmap.c: Likewise.
9428 * locale/programs/charmap.h: Likewise.
9429 * locale/programs/ld-address.c: Likewise.
9430 * locale/programs/ld-collate.c: Likewise.
9431 * locale/programs/ld-ctype.c: Likewise.
9432 * locale/programs/ld-identification.c: Likewise.
9433 * locale/programs/ld-measurement.c: Likewise.
9434 * locale/programs/ld-messages.c: Likewise.
9435 * locale/programs/ld-monetary.c: Likewise.
9436 * locale/programs/ld-name.c: Likewise.
9437 * locale/programs/ld-numeric.c: Likewise.
9438 * locale/programs/ld-paper.c: Likewise.
9439 * locale/programs/ld-telephone.c: Likewise.
9440 * locale/programs/ld-time.c: Likewise.
9441 * locale/programs/linereader.c: Likewise.
9442 * locale/programs/locale.c: Likewise.
9443 * locale/programs/locarchive.c: Likewise.
9444 * locale/programs/locfile.h: Likewise.
9445 * locale/programs/repertoire.c: Likewise.
9446 * locale/programs/simple-hash.c: Likewise.
9447 * locale/programs/simple-hash.h: Likewise.
9448 * malloc/memusage.c: Likewise.
9449 * malloc/memusagestat.c: Likewise.
9450 * nis/nis_defaults.c: Likewise.
9451 * nis/nis_hash.c: Likewise.
9452 * nis/nis_print.c: Likewise.
9453 * nis/nis_xdr.c: Likewise.
9454 * nscd/connections.c: Likewise.
9455 * nscd/hstcache.c: Likewise.
9456 * nscd/nscd_gethst_r.c: Likewise.
9457 * nscd/nscd_getserv_r.c: Likewise.
9458 * nscd/nscd_helper.c: Likewise.
9459 * nscd/servicescache.c: Likewise.
9460 * nss/makedb.c: Likewise.
9461 * nss/nss_db/db-XXX.c: Likewise.
9462 * nss/nss_db/db-initgroups.c: Likewise.
9463 * nss/nss_db/db-netgrp.c: Likewise.
9464 * nss/nss_files/files-network.c: Likewise.
9465 * nss/nss_files/files-parse.c: Likewise.
9466 * posix/bug-regex5.c: Likewise.
9467 * posix/fnmatch_loop.c: Likewise.
9468 * posix/regcomp.c: Likewise.
9469 * posix/regexec.c: Likewise.
9470 * posix/tst-rfc3484-2.c: Likewise.
9471 * posix/tst-rfc3484-3.c: Likewise.
9472 * posix/tst-rfc3484.c: Likewise.
9473 * resolv/nss_dns/dns-canon.c: Likewise.
9474 * resolv/nss_dns/dns-network.c: Likewise.
9475 * resolv/res_init.c: Likewise.
9476 * resolv/res_mkquery.c: Likewise.
9477 * resolv/tst-aton.c: Likewise.
9478 * stdlib/cxa_atexit.c: Likewise.
9479 * stdlib/cxa_finalize.c: Likewise.
9480 * stdlib/gen-fpioconst.c: Likewise.
9481 * stdlib/strtol_l.c: Likewise.
9482 * string/tst-endian.c: Likewise.
9483 * sunrpc/auth_des.c: Likewise.
9484 * sunrpc/clnt_udp.c: Likewise.
9485 * sunrpc/rtime.c: Likewise.
9486 * sunrpc/svcauth_des.c: Likewise.
9487 * sunrpc/xdr.c: Likewise.
9488 * sunrpc/xdr_intXX_t.c: Likewise.
9489 * sunrpc/xdr_rec.c: Likewise.
9490 * sysdeps/generic/ldconfig.h: Likewise.
9491 * sysdeps/generic/ldsodefs.h: Likewise.
9492 * sysdeps/generic/memusage.h: Likewise.
9493 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9496 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9503 * sysdeps/posix/getaddrinfo.c: Likewise.
9504 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9505 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9506 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9507 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9508 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9509 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9510 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9511 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9512 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9513 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9514 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9515 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9516 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9517 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9518 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9519 * sysdeps/x86_64/dl-tls.h: Likewise.
9520 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9521 * time/alt_digit.c: Likewise.
9522 * time/era.c: Likewise.
9523 * wcsmbs/tst-c16c32-1.c: Likewise.
9525 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9527 * math/libm-test.inc (struct test_sincos_data): New type.
9528 (RUN_TEST_LOOP_sincos): New macro.
9529 (sincos_test_data): New variable.
9530 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9532 2013-05-16 Richard Henderson <rth@redhat.com>
9534 * math/atest-exp2.c (LIMB64): New macro.
9535 (CONSTSZ): New macro.
9536 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9538 (print_mpn_fp): ... to function scope.
9539 (read_mpn_hex): Remove.
9541 (exp2_mpn): Use mp_log2.
9542 (main): Use mp_exp1.
9544 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9546 * math/libm-test.inc: Remove comment about not testing "inexact"
9548 (INEXACT_EXCEPTION): New macro.
9549 (NO_INEXACT_EXCEPTION): Likewise.
9550 (INVALID_EXCEPTION_OK): Update value.
9551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9552 (OVERFLOW_EXCEPTION_OK): Likewise.
9553 (UNDERFLOW_EXCEPTION_OK): Likewise.
9554 (IGNORE_ZERO_INF_SIGN): Likewise.
9555 (ERRNO_UNCHANGED): Likewise.
9556 (ERRNO_EDOM): Likewise.
9557 (ERRNO_ERANGE): Likewise.
9558 (test_exceptions): Handle testing "inexact" exceptions.
9559 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9560 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9561 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9562 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9564 (rint_towardzero_test_data): Likewise.
9565 (rint_downward_test_data): Likewise.
9566 (rint_upward_test_data): Likewise.
9568 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9569 with OVERFLOW_EXCEPTION.
9570 (exp10_test_data): Likewise.
9571 (exp2_test_data): Likewise.
9572 (expm1_test_data): Likewise.
9573 (lgamma_test_data): Likewise.
9574 (pow_test_data): Likewise.
9575 (tgamma_test_data): Likewise.
9576 (yn_test_data): Remove duplicate test of overflow.
9578 * math/libm-test.inc (struct test_cc_c_data): New type.
9579 (RUN_TEST_LOOP_cc_c): New macro.
9580 (cpow_test_data): New variable.
9581 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9583 * math/libm-test.inc (struct test_f_L_data): New type.
9584 (RUN_TEST_LOOP_f_L): New macro.
9585 (llrint_test_data): New variable.
9586 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9587 (llrint_tonearest_test_data): New variable.
9588 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9589 (llrint_towardzero_test_data): New variable.
9590 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9591 (llrint_downward_test_data): New variable.
9592 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9593 (llrint_upward_test_data): New variable.
9594 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9595 (llround_test_data): New variable.
9596 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9598 2013-05-13 Peter Collingbourne <pcc@google.com>
9600 * math/atest-exp2.c (get_log2): Remove const attribute.
9602 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9604 * math/libm-test.inc (struct test_f_l_data): New type.
9605 (RUN_TEST_LOOP_f_l): New macro.
9606 (lrint_test_data): New variable.
9607 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9608 (lrint_tonearest_test_data): New variable.
9609 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9610 (lrint_towardzero_test_data): New variable.
9611 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9612 (lrint_downward_test_data): New variable.
9613 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9614 (lrint_upward_test_data): New variable.
9615 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9616 (lround_test_data): New variable.
9617 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9619 2013-05-15 Peter Collingbourne <pcc@google.com>
9621 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9622 (EXTRACT_WORDS64) Use where appropriate.
9623 (INSERT_WORDS64) Likewise.
9625 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9626 constraints with x constraints.
9627 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9629 * malloc/obstack.c (_obstack_compat): Add initializer.
9631 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9633 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9634 si_trapno and add si_addr_lsb to _sifields.sigfault.
9635 (si_trapno): Remove macro.
9636 (si_addr_lsb): Define new macro.
9637 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9639 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9641 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9642 instead of TEST_f_l.
9643 (llrint_test_tonearest): Likewise.
9644 (llrint_test_towardzero): Likewise.
9645 (llrint_test_downward): Likewise.
9646 (llrint_test_upward): Likewise.
9647 (llround_test): Likewise.
9649 * math/libm-test.inc (struct test_f_i_data): Add comment.
9650 (RUN_TEST_LOOP_f_b): New macro.
9651 (RUN_TEST_LOOP_f_b_tg): Likewise.
9652 (finite_test_data): New variable.
9653 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9654 (isfinite_test_data): New variable.
9655 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9656 (isinf_test_data): New variable.
9657 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9658 (isnan_test_data): New variable.
9659 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9660 (isnormal_test_data): New variable.
9661 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9662 (issignaling_test_data): New variable.
9663 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9664 (signbit_test_data): New variable.
9665 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9667 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9668 with INVALID_EXCEPTION.
9669 (acosh_test_data): Likewise.
9670 (asin_test_data): Likewise.
9671 (atanh_test_data): Likewise.
9672 (fmod_test_data): Likewise.
9673 (log_test_data): Likewise.
9674 (log10_test_data): Likewise.
9675 (log2_test_data): Likewise.
9676 (pow_test_data): Likewise.
9677 (sqrt_test_data): Likewise.
9678 (y0_test_data): Likewise.
9679 (y1_test_data): Likewise.
9680 (yn_test_data): Likewise.
9682 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9685 * math/libm-test.inc (struct test_ff_i_data): New type.
9686 (RUN_TEST_LOOP_ff_i_tg): New macro.
9687 (isgreater_test_data): New variable.
9688 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9689 (isgreaterequal_test_data): New variable.
9690 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9691 (isless_test_data): New variable.
9692 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9693 (islessequal_test_data): New variable.
9694 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9695 (islessgreater_test_data): New variable.
9696 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9697 (isunordered_test_data): New variable.
9698 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9700 2013-05-14 David S. Miller <davem@davemloft.net>
9702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9704 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9706 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9708 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9710 (struct test_f_i_data): Change type of max_ulp to int.
9712 * math/libm-test.inc (test_ffI_f1_data): New type.
9713 (RUN_TEST_LOOP_ffI_f1): New macro.
9714 (remquo_test_data): New variable.
9715 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9717 * setjmp/tst-setjmp-fp.c: New file.
9718 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9719 (link-libm): New variable.
9720 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9722 * math/libm-test.inc (struct test_f_i_data): New type.
9723 (RUN_TEST_LOOP_f_i): New macro.
9724 (RUN_TEST_LOOP_f_i_tg): Likewise.
9725 (fpclassify_test_data): New variable.
9726 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9727 (ilogb_test_data): New variable.
9728 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9730 * math/libm-test.inc (scalbln_test): Correct function name in END
9733 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9734 (RUN_TEST_LOOP_fI_f1): New macro.
9735 (frexp_test_data): New variable.
9736 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9738 * math/libm-test.inc (struct test_fF_f1_data): New type.
9739 (RUN_TEST_LOOP_fF_f1): New macro.
9740 (modf_test_data): New variable.
9741 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9743 * math/libm-test.inc (struct test_f_f1_data): New type.
9744 (RUN_TEST_LOOP_f_f1): New macro.
9745 (gamma_test_data): New variable.
9746 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9747 (lgamma_test_data): New variable.
9748 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9750 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9752 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9753 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9754 (main): Comment "tls" pseudo-hwcap.
9756 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9758 * math/libm-test.inc (struct test_fl_f_data): New type.
9759 (RUN_TEST_LOOP_fl_f): New variable.
9760 (scalbln_test_data): New variable.
9761 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9763 * math/libm-test.inc (struct test_fi_f_data): New type.
9764 (RUN_TEST_LOOP_fi_f): New macro.
9765 (ldexp_test_data): New variable.
9766 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9767 (scalbn_test_data): New variable.
9768 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9770 * math/libm-test.inc (struct test_c_f_data): New type.
9771 (RUN_TEST_LOOP_c_f): New macro.
9772 (cabs_test_data): New variable.
9773 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9774 (carg_test_data): New variable.
9775 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9776 (cimag_test_data): New variable.
9777 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9778 (creal_test_data): New variable.
9779 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9781 * math/libm-test.inc (struct test_if_f_data): New type.
9782 (RUN_TEST_LOOP_if_f): New macro.
9783 (jn_test_data): New variable.
9784 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9785 (yn_test_data): New variable.
9786 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9788 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9790 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9792 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9793 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9795 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9797 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9798 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9799 (bench-deps): Add bench-timing.h.
9800 * benchtests-bench-skeleton.c: Include bench-timing.h.
9801 (main): Use TIMING_* macros instead of clock_gettime.
9802 * benchtests/bench-timing.h: New file.
9805 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9806 Renamed from _LIB_VERSION.
9807 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9809 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9811 * math/libm-test.inc (struct test_fff_f_data): New type.
9812 (RUN_TEST_LOOP_fff_f): New macro.
9813 (fma_test_data): New variable.
9814 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9815 (fma_towardzero_test_data): New variable.
9816 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9817 (fma_downward_test_data): New variable.
9818 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9819 (fma_upward_test_data): New variable.
9820 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9822 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9823 (struct test_c_c_data): New type.
9824 (RUN_TEST_LOOP_c_c): New macro.
9825 (cacos_test_data): New variable.
9826 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9827 (cacosh_test_data): New variable.
9828 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9829 (casin_test_data): New variable.
9830 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9831 (casinh_test_data): New variable.
9832 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9833 (catan_test_data): New variable.
9834 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9835 (catanh_test_data): New variable.
9836 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9837 (ccos_test_data): New variable.
9838 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9839 (ccosh_test_data): New variable.
9840 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9841 (cexp_test_data): New variable.
9842 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9843 (clog_test_data): New variable.
9844 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9845 (clog10_test_data): New variable.
9846 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9847 (conj_test_data): New variable.
9848 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9849 (cproj_test_data): New variable.
9850 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9851 (csin_test_data): New variable.
9852 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9853 (csinh_test_data): New variable.
9854 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9855 (csqrt_test_data): New variable.
9856 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9857 (ctan_test_data): New variable.
9858 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9859 (ctan_tonearest_test_data): New variable.
9860 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9861 (ctan_towardzero_test_data): New variable.
9862 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9863 (ctan_downward_test_data): New variable.
9864 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9865 (ctan_upward_test_data): New variable.
9866 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9867 (ctanh_test_data): New variable.
9868 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9869 (ctanh_tonearest_test_data): New variable.
9870 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9871 (ctanh_towardzero_test_data): New variable.
9872 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9873 (ctanh_downward_test_data): New variable.
9874 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9875 (ctanh_upward_test_data): New variable.
9876 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9877 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9880 * math/libm-test.inc (struct test_ff_f_data): New type.
9881 (struct test_ff_f_data_nexttoward): Likewise.
9882 (RUN_TEST_LOOP_2_f): New macro.
9883 (RUN_TEST_LOOP_ff_f): Likewise.
9884 (atan2_test_data): New variable.
9885 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9886 (copysign_test_data): New variable.
9887 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9888 (fdim_test_data): New variable.
9889 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9890 (fmax_test_data): New variable.
9891 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9892 (fmin_test_data): New variable.
9893 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9894 (fmod_test_data): New variable.
9895 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9896 (hypot_test_data): New variable.
9897 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9898 (nextafter_test_data): New variable.
9899 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9900 (nexttoward_test_data): New variable.
9901 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9902 (pow_test_data): New variable.
9903 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9904 (pow_tonearest_test_data): New variable.
9905 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9906 (pow_towardzero_test_data): New variable.
9907 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9908 (pow_downward_test_data): New variable.
9909 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9910 (pow_upward_test_data): New variable.
9911 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9912 (remainder_test_data): New variable.
9913 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9914 (scalb_test_data): New variable.
9915 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9916 * sysdeps/i386/fpu/libm-test-ulps: Update.
9918 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9920 * math/libm-test.inc (fma_test): Use max_value instead of local
9922 (nextafter_test): Likewise.
9924 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9925 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9926 (acos_downward_test_data): New variable.
9927 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9928 (acos_upward_test_data): New variable.
9929 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9930 (acosh_test_data): New variable.
9931 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9932 (asin_test_data): New variable.
9933 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9934 (asin_tonearest_test_data): New variable.
9935 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9936 (asin_towardzero_test_data): New variable.
9937 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9938 (asin_downward_test_data): New variable.
9939 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9940 (asin_upward_test_data): New variable.
9941 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9942 (asinh_test_data): New variable.
9943 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9944 (atan_test_data): New variable.
9945 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9946 (atanh_test_data): New variable.
9947 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9948 (cbrt_test_data): New variable.
9949 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9950 (ceil_test_data): New variable.
9951 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9952 (cos_test_data): New variable.
9953 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9954 (cos_tonearest_test_data): New variable.
9955 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9956 (cos_towardzero_test_data): New variable.
9957 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9958 (cos_downward_test_data): New variable.
9959 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9960 (cos_upward_test_data): New variable.
9961 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9962 (cosh_test_data): New variable.
9963 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9964 (cosh_tonearest_test_data): New variable.
9965 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9966 (cosh_towardzero_test_data): New variable.
9967 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9968 (cosh_downward_test_data): New variable.
9969 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9970 (cosh_upward_test_data): New variable.
9971 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9972 (erf_test_data): New variable.
9973 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9974 (erfc_test_data): New variable.
9975 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9976 (exp_test_data): New variable.
9977 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9978 (exp_tonearest_test_data): New variable.
9979 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9980 (exp_towardzero_test_data): New variable.
9981 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9982 (exp_downward_test_data): New variable.
9983 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9984 (exp_upward_test_data): New variable.
9985 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9986 (exp10_test_data): New variable.
9987 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9988 (exp2_test_data): New variable.
9989 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9990 (expm1_test_data): New variable.
9991 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9992 (fabs_test_data): New variable.
9993 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9994 (floor_test_data): New variable.
9995 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9996 (j0_test_data): New variable.
9997 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9998 (j1_test_data): New variable.
9999 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10000 (log_test_data): New variable.
10001 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10002 (log10_test_data): New variable.
10003 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10004 (log1p_test_data): New variable.
10005 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10006 (log2_test_data): New variable.
10007 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10008 (logb_test_data): New variable.
10009 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10010 (logb_downward_test_data): New variable.
10011 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10012 (nearbyint_test_data): New variable.
10013 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10014 (rint_test_data): New variable.
10015 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10016 (rint_tonearest_test_data): New variable.
10017 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10018 (rint_towardzero_test_data): New variable.
10019 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10020 (rint_downward_test_data): New variable.
10021 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10022 (rint_upward_test_data): New variable.
10023 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10024 (round_test_data): New variable.
10025 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10026 (sin_test_data): New variable.
10027 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10028 (sin_tonearest_test_data): New variable.
10029 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10030 (sin_towardzero_test_data): New variable.
10031 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10032 (sin_downward_test_data): New variable.
10033 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10034 (sin_upward_test_data): New variable.
10035 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10036 (sinh_test_data): New variable.
10037 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10038 (sinh_tonearest_test_data): New variable.
10039 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10040 (sinh_towardzero_test_data): New variable.
10041 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10042 (sinh_downward_test_data): New variable.
10043 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10044 (sinh_upward_test_data): New variable.
10045 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10046 (sqrt_test_data): New variable.
10047 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10048 (tan_test_data): New variable.
10049 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10050 (tan_tonearest_test_data): New variable.
10051 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10052 (tan_towardzero_test_data): New variable.
10053 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10054 (tan_downward_test_data): New variable.
10055 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10056 (tan_upward_test_data): New variable.
10057 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10058 (tanh_test_data): New variable.
10059 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10060 (tgamma_test_data): New variable.
10061 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10062 (trunc_test_data): New variable.
10063 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10064 (y0_test_data): New variable.
10065 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10066 (y1_test_data): New variable.
10067 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10068 (significand_test_data): New variable.
10069 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10071 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10074 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10076 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10078 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10080 2013-05-10 Andreas Jaeger <aj@suse.de>
10083 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10084 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10086 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10088 * math/gen-libm-test.pl (adjust_arg): New function.
10089 (special_functions): Handle generating output in both functions
10091 (parse_args): Likewise.
10092 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10093 $in_func argument to parse_args.
10094 * math/libm-test.inc (struct test_f_f_data): New type.
10095 (IF_ROUND_INIT_): New macro.
10096 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10097 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10098 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10099 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10100 (ROUND_RESTORE_): Likewise.
10101 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10102 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10103 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10104 (ROUND_RESTORE_FE_UPWARD): Likewise.
10105 (RUN_TEST_LOOP_f_f): New macro.
10106 (acos_test_data): New variable.
10107 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10108 (acos_tonearest_test_data): New variable.
10109 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10111 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10113 * benchtests/bench-skeleton.c (startup): Fix coding style.
10115 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10118 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10119 negative infinity argument.
10120 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10121 negative infinity argument.
10122 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10123 negative infinity argument.
10124 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10127 2013-05-10 Florian Weimer <fweimer@redhat.com>
10129 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10130 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10131 * iconv/iconv_prog.c (main): Likewise.
10132 * locale/programs/charmap-dir.c (charmap_readdir)
10133 (fopen_uncompressed): Likewise.
10134 * locale/programs/locfile.c (siblings_uncached)
10135 (write_locale_data): Use lstat64 instead of lstat.
10136 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10139 2013-05-10 Andreas Jaeger <aj@suse.de>
10142 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10144 Include <locale.h>.
10146 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10148 * elf/dl-close.c (_dl_close_worker): Add comments.
10150 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10155 (__ieee754_rem_pio2l): Update comments.
10158 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10160 (__ieee754_rem_pio2l): Update comments.
10162 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10163 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10165 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10168 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10169 (M_PI_34_LOG10El): Likewise.
10170 (M_PI2_LOG10El): Likewise.
10171 (M_PI4_LOG10El): Likewise.
10172 (M_PI_LOG10El): Likewise.
10174 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10178 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10180 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10181 (MINUS_ZERO_INIT): Likewise.
10182 (PLUS_INFTY_INIT): Likewise.
10183 (MINUS_INFTY_INIT): Likewise.
10184 (QNAN_VALUE_INIT): Likewise.
10185 (MAX_VALUE_INIT): Likewise.
10186 (MIN_VALUE_INIT): Likewise.
10187 (MIN_SUBNORM_VALUE_INIT): Likewise.
10188 (plus_zero): Initialize with PLUS_ZERO_INIT.
10189 (minus_zero): Initialize with MINUS_ZERO_INIT.
10190 (plus_infty): Initialize with PLUS_INFTY_INIT.
10191 (minus_infty): Initialize with MINUS_INFTY_INIT.
10192 (qnan_value): Initialize with QNAN_VALUE_INIT.
10193 (max_value): Initialize with MAX_VALUE_INIT.
10194 (min_value): Initialize with MIN_VALUE_INIT.
10195 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10197 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10198 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10199 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10200 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10202 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10203 (RUN_TEST_2_f): Likewise.
10204 (RUN_TEST_ff_f): Likewise.
10205 (RUN_TEST_fi_f): Likewise.
10206 (RUN_TEST_fl_f): Likewise.
10207 (RUN_TEST_fff_f): Likewise.
10208 (RUN_TEST_c_f): Likewise.
10209 (RUN_TEST_f_f1): Likewise.
10210 (RUN_TEST_fF_f1): Likewise.
10211 (RUN_TEST_fI_f1): Likewise.
10212 (RUN_TEST_ffI_f1): Likewise.
10213 (RUN_TEST_c_c): Likewise.
10214 (RUN_TEST_cc_c): Likewise.
10215 (RUN_TEST_f_i): Likewise.
10216 (RUN_TEST_f_i_tg): Likewise.
10217 (RUN_TEST_ff_i_tg): Likewise.
10218 (RUN_TEST_f_b): Likewise.
10219 (RUN_TEST_f_b_tg): Likewise.
10220 (RUN_TEST_f_l): Likewise.
10221 (RUN_TEST_f_L): Likewise.
10222 (RUN_TEST_sincos): Likewise.
10223 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10224 whether to show exceptions. Do not include ");\n" in return
10226 (special_functions): Output call to RUN_TEST_sincos instead of
10227 check_float calls. Update calls to new_test.
10228 (parse_args): Output call to single RUN_TEST_* macro instead of
10229 check_* calls and other assignments. Update calls to new_test.
10235 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10236 input to result for tgamma overflow.
10237 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10238 (gamma_coeff): New variable.
10239 (NCOEFF): New macro.
10240 (gamma_positive): New function.
10241 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10242 underflow here. Use gamma_positive instead of exp (lgamma) for
10244 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10245 (gamma_coeff): New variable.
10246 (NCOEFF): New macro.
10247 (gammaf_positive): New function.
10248 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10249 underflow here. Use gamma_positive instead of exp (lgamma) for
10251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10252 (gamma_coeff): New variable.
10253 (NCOEFF): New macro.
10254 (gammal_positive): New function.
10255 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10256 underflow here. Use gamma_positive instead of exp (lgamma) for
10258 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10259 (gamma_coeff): New variable.
10260 (NCOEFF): New macro.
10261 (gammal_positive): New function.
10262 (__ieee754_gammal_r): Handle positive infinity, overflow and
10263 underflow here. Handle NaN the same as positive infinity. Remove
10264 check x < 0xffffffff for negative integers. Use gamma_positive
10265 instead of exp (lgamma) for other arguments.
10266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10267 (gamma_coeff): New variable.
10268 (NCOEFF): New macro.
10269 (gammal_positive): New function.
10270 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10271 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10276 * sysdeps/generic/math_private.h (__gamma_productf): New
10278 (__gamma_product): Likewise.
10279 (__gamma_productl): Likewise.
10280 * math/Makefile (libm-calls): Add gamma_product.
10281 * math/libm-test.inc (tgamma_test): Add more tests.
10282 * sysdeps/i386/fpu/libm-test-ulps: Update.
10283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10285 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10287 * benchtests/bench-skeleton.c (main): Preheat CPU.
10289 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10291 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10293 2013-05-07 Roland McGrath <roland@hack.frob.com>
10295 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10296 and _dl_skip_args_internal.
10298 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10300 * manual/message.texi (Message Translation): Talk about users.
10301 Message to key mapping impacts design.
10303 2013-05-06 Roland McGrath <roland@hack.frob.com>
10305 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10307 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10309 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10310 * sysdeps/wordsize-64/glob64.c: ... here.
10312 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10313 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10316 * debug/getlogin_r_chk.c: Moved to ...
10317 * login/getlogin_r_chk.c: ... here.
10318 * debug/Makefile (routines): Move getlogin_r_chk to ...
10319 * login/Makefile (routines): ... here.
10320 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10321 * login/Versions (libc: GLIBC_2.4): ... here.
10323 * io/poll.c (__poll): Renamed from poll.
10324 Add libc_hidden_def.
10325 (poll): Define as weak alias.
10327 * debug/ptsname_r_chk.c: Moved to ...
10328 * login/ptsname_r_chk.c: ... here.
10329 * debug/Makefile (routines): Move ptsname_r_chk to ...
10330 * login/Makefile (routines): ... here.
10331 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10332 * login/Versions (libc: GLIBC_2.4): ... here.
10334 * posix/getlogin.c: Moved to ...
10335 * login/getlogin.c: ... here.
10336 * posix/getlogin_r.c: Moved to ...
10337 * login/getlogin_r.c: ... here.
10338 * posix/getlogin_r.c: Moved to ...
10339 * login/getlogin_r.c: ... here.
10340 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10341 * login/Makefile (routines): ... here.
10342 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10343 * login/Versions (libc: GLIBC_2.0): ... here.
10345 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10346 (setrlimit): Define as weak alias.
10348 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10349 Call __ names for open, ftruncate, and close.
10350 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10351 (truncate): Define as weak alias.
10353 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10355 * math/gen-libm-test.pl (parse_args): Initialize x before each
10356 test of frexp, modf and remquo.
10358 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10359 test signgam value.
10361 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10365 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10367 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10369 2013-05-06 Roland McGrath <roland@hack.frob.com>
10371 * elf/dl-writev.h: New file.
10372 * elf/dl-misc.c: Include it.
10373 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10374 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10376 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10378 * math/libm-test.inc (noXFails): Remove variable.
10379 (noXPasses): Likewise.
10380 (BUILD_COMPLEX_INT): Remove macro.
10381 (print_screen): Remove xfail argument.
10382 (print_screen_max_error): Likewise.
10383 (update_stats): Likewise.
10384 (print_max_error): Likewise. Update calls to other affected
10386 (print_complex_max_error): Likewise.
10387 (test_single_exception): Update calls to print_screen.
10388 (test_single_errno): Likewise.
10389 (check_float_internal): Remove xfail argument. Update calls to
10390 other affected functions.
10391 (check_float): Likewise.
10392 (check_complex): Likewise.
10393 (check_int): Likewise.
10394 (check_long): Likewise.
10395 (check_bool): Likewise.
10396 (check_longlong): Likewise.
10397 (main): Don't print noXFails and noXPasses.
10398 * math/gen-libm-test.pl (top level): Don't mention expected
10399 failure handling in comment.
10400 (new_test): Don't handle expected failures.
10401 (parse_args): Don't mention expected failure handling in comment.
10402 (generate_testfile): Don't handle expected failures.
10403 (parse_ulps): Likewise.
10404 (print_ulps_file): Likewise.
10405 (get_failure): Remove function.
10406 (output_test): Don't handle expected failures.
10407 * make/README.libm-test: Don't mention expected failure handling.
10409 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10410 (minus_zero): Likewise.
10411 (plus_infty): Likewise.
10412 (minus_infty): Likewise.
10413 (qnan_value): Likewise.
10414 (max_value): Likewise.
10415 (min_value): Likewise.
10416 (min_subnorm_value): Likewise.
10417 (initialize): Do not initialize those variables dynamically.
10419 2013-05-03 Roland McGrath <roland@hack.frob.com>
10421 * io/open.c (__open_2): Moved to ...
10422 * io/open_2.c: ... this new file.
10423 * io/open64.c (__open64_2): Moved to ...
10424 * io/open64_2.c: ... this new file.
10425 * io/openat.c (__openat_2): Moved to ...
10426 * io/openat_2.c: ... this new file.
10427 * io/openat64.c (__openat64_2): Moved to ...
10428 * io/openat64_2.c: ... this new file.
10429 * io/Makefile (routines): Add them.
10430 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10431 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10432 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10433 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10434 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10435 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10436 (__openat64): Add hidden_ver.
10437 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10438 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10440 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10441 Separately conditionalize setting of GLRO(dl_sysinfo) so
10442 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10443 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10445 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10447 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10448 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10450 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10451 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10452 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10453 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10454 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10456 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10458 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10459 test signgam value.
10461 * math/libm-test.inc (hypot_test): Do not use
10462 IGNORE_ZERO_INF_SIGN.
10464 2013-05-03 Andreas Jaeger <aj@suse.de>
10466 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10468 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10469 (PF_MAX): Adjust for VSOCK change.
10471 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10475 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10478 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10479 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10480 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10482 2013-05-02 David S. Miller <davem@davemloft.net>
10484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10486 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10488 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10490 2013-05-01 Roland McGrath <roland@hack.frob.com>
10492 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10494 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10497 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10498 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10499 Use __attribute__ ((__gnu_inline__)).
10500 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10501 Don't use __attribute__ ((__gnu_inline__)).
10503 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10506 * math/s_catan.c (__catan): Handle small real or imaginary part of
10507 input specially to avoid spurious underflow.
10508 * math/s_catanf.c (__catanf): Likewise.
10509 * math/s_catanh.c (__catanh): Likewise.
10510 * math/s_catanhf.c (__catanhf): Likewise.
10511 * math/s_catanhl.c (__catanhl): Likewise.
10512 * math/s_catanl.c (__catanl): Likewise.
10513 * math/libm-test.inc (catan_test): Add more tests.
10514 (catanh_test): Likewise.
10515 * sysdeps/i386/fpu/libm-test-ulps: Update.
10516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10518 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10522 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10525 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10526 accurately for denominator in atan2.
10527 * math/s_catanf.c (__catanf): Likewise.
10528 * math/s_catanh.c (__catanh): Likewise.
10529 * math/s_catanhf.c (__catanhf): Likewise.
10530 * math/s_catanhl.c (__catanhl): Likewise.
10531 * math/s_catanl.c (__catanl): Likewise.
10532 * math/libm-test.inc (catan_test): Add more tests.
10533 (catanh_test): Likewise.
10534 * sysdeps/i386/fpu/libm-test-ulps: Update.
10535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10537 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10539 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10541 * benchtests/Makefile (bench): Remove slow benchmarks.
10542 * benchtests/atan-inputs: Add slow benchmark inputs.
10543 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10544 (BENCH_FUNC): Accept variant offset.
10546 * benchtests/bench-skeleton.c (main): Run benchmark for each
10548 * benchtests/cos-inputs: Add slow benchmark inputs.
10549 * benchtests/exp-inputs: Likewise.
10550 * benchtests/pow-inputs: Likewise.
10551 * benchtests/sin-inputs: Likewise.
10552 * benchtests/slowatan-inputs: Remove.
10553 * benchtests/slowatan.c: Remove.
10554 * benchtests/slowcos-inputs: Remove.
10555 * benchtests/slowcos.c: Remove.
10556 * benchtests/slowexp-inputs: Remove.
10557 * benchtests/slowexp.c: Remove.
10558 * benchtests/slowpow-inputs: Remove.
10559 * benchtests/slowpow.c: Remove.
10560 * benchtests/slowsin-inputs: Remove.
10561 * benchtests/slowsin.c: Remove.
10562 * benchtests/slowtan-inputs: Remove.
10563 * benchtests/slowtan.c: Remove.
10564 * benchtests/tan-inputs: Add slow benchmark inputs.
10565 * scripts/bench.pl: Parse comments and directives.
10567 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10569 ($(objpfx)bench-%.c): Remove *-ITER.
10570 * benchtests/bench-modf.c: Remove definition of ITER.
10571 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10572 (main): Loop for DURATION seconds instead of fixed number of
10574 * scripts/bench.pl: Don't expect iterations in parameters.
10576 2013-04-29 Roland McGrath <roland@hack.frob.com>
10578 * io/fchdir.c (__fchdir): Renamed from fchdir.
10579 (fchdir): Define as weak alias.
10581 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10583 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10584 (ERRNO_EDOM): Likewise.
10585 (ERRNO_ERANGE): Likewise.
10586 (noErrnoTests): New variable.
10587 (init_max_error): Set errno to 0.
10588 (test_single_errno): New function.
10589 (test_errno): Likewise.
10590 (check_float_internal): Call test_errno. Set errno to 0.
10591 (check_complex): Refer to errno tests in comment.
10592 (check_int): Call test_errno. Set errno to 0.
10593 (check_long): Likewise.
10594 (check_bool): Likewise.
10595 (check_longlong): Likewise.
10596 (cos_test): Use ERRNO_* flags for errno tests instead of
10598 (expm1_test): Likewise.
10599 (fmod_test): Likewise.
10600 (ilogb_test): Likewise.
10601 (lgamma_test): Likewise.
10602 (pow_test): Likewise.
10603 (remainder_test): Likewise.
10604 (sin_test): Likewise.
10605 (tan_test): Likewise.
10606 (yn_test): Likewise.
10607 (initialize): Set errno to 0.
10608 (main): Print number of errno tests.
10609 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10611 2013-04-29 Andreas Jaeger <aj@suse.de>
10614 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10618 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10619 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10623 * stdlib/random.c (__initstate): Return NULL if
10627 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10628 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10631 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10635 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10637 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10638 of individual tests.
10639 (casin_test): Likewise.
10640 (casinh_test): Likewise.
10642 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10645 * math/s_catan.c (__catan): Handle arguments with large real or
10646 imaginary part separately without squaring.
10647 * math/s_catanf.c (__catanf): Likewise.
10648 * math/s_catanh.c (__catanh): Likewise.
10649 * math/s_catanhf.c (__catanhf): Likewise.
10650 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10652 (__catanhl): Handle arguments with large real or imaginary part
10653 separately without squaring.
10654 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10656 (__catanl): Handle arguments with large real or imaginary part
10657 separately without squaring.
10658 * math/libm-test.inc (catan_test): Add more tests.
10659 (catanh_test): Likewise.
10660 * sysdeps/i386/fpu/libm-test-ulps: Update.
10661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10663 2013-04-27 Andreas Jaeger <aj@suse.de>
10666 * stdlib/stdlib.h: Update guards for qecvt.
10667 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10670 2013-04-27 Allan McRae <allan@archlinux.org>
10672 * sysdeps/i386/fpu/libm-test-ulps: Update.
10674 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10677 * math/s_catan.c: Include <float.h>.
10678 (__catan): Ensure underflow exception occurs for underflowed
10680 * math/s_catanf.c: Include <float.h>.
10681 (__catanf): Ensure underflow exception occurs for underflowed
10683 * math/s_catanh.c: Include <float.h>.
10684 (__catanh): Ensure underflow exception occurs for underflowed
10686 * math/s_catanhf.c: Include <float.h>.
10687 (__catanhf): Ensure underflow exception occurs for underflowed
10689 * math/s_catanhl.c: Include <float.h>.
10690 (__catanhl): Ensure underflow exception occurs for underflowed
10692 * math/s_catanl.c: Include <float.h>.
10693 (__catanl): Ensure underflow exception occurs for underflowed
10695 * math/libm-test.inc (catan_test): Add more tests.
10696 (catanh_test): Likewise.
10699 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10700 underflowed result.
10701 * math/s_ccoshf.c (__ccoshf): Likewise.
10702 * math/s_ccoshl.c (__ccoshl): Likewise.
10703 * math/s_csin.c (__csin): Likewise.
10704 * math/s_csinf.c (__csinf): Likewise.
10705 * math/s_csinh.c (__csinh): Likewise.
10706 * math/s_csinhf.c (__csinhf): Likewise.
10707 * math/s_csinhl.c (__csinhl): Likewise.
10708 * math/s_csinl.c (__csinl): Likewise.
10709 * math/libm-test.inc (ccos_test): Add more tests.
10710 (ccosh_test): Likewise.
10711 (csin_test): Likewise.
10712 (csinh_test): Likewise.
10714 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10717 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10718 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10719 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10720 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10721 powerpc/power5+/fpu folders.
10722 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10725 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10729 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10731 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10732 additions to variable.
10733 [$(config-machine) = x86_64] (modules-names): Likewise.
10734 ($(objpfx)tst-audit3): Remove dependency.
10735 ($(objpfx)tst-audit3.out): Likewise.
10736 ($(objpfx)tst-audit4): Likewise.
10737 ($(objpfx)tst-audit4.out): Likewise.
10738 ($(objpfx)tst-audit5): Likewise.
10739 ($(objpfx)tst-audit5.out): Likewise.
10740 ($(objpfx)tst-audit6): Likewise.
10741 ($(objpfx)tst-audit6.out): Likewise.
10742 ($(objpfx)tst-audit7): Likewise.
10743 ($(objpfx)tst-audit7.out): Likewise.
10744 (tst-audit3-ENV): Remove variable.
10745 (tst-audit4-ENV): Likewise.
10746 (tst-audit5-ENV): Likewise.
10747 (tst-audit6-ENV): Likewise.
10748 (tst-audit7-ENV): Likewise.
10749 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10750 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10751 addition to variable.
10752 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10753 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10754 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10755 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10756 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10757 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10758 tst-audit3, tst-audit4 and tst-audit5.
10759 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10760 tst-audit6 and tst-audit7.
10761 [$(subdir) = elf] (modules-names): Add audit modules for those
10763 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10764 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10765 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10766 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10767 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10768 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10769 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10770 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10771 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10772 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10773 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10774 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10775 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10776 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10777 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10778 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10780 [$(subdir) = elf && $(config-cflags-avx) = yes]
10781 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10782 [$(subdir) = elf && $(config-cflags-avx) = yes]
10783 (CFLAGS-tst-auditmod4a.c): Likewise.
10784 [$(subdir) = elf && $(config-cflags-avx) = yes]
10785 (CFLAGS-tst-auditmod4b.c): Likewise.
10786 [$(subdir) = elf && $(config-cflags-avx) = yes]
10787 (CFLAGS-tst-auditmod6b.c): Likewise.
10788 [$(subdir) = elf && $(config-cflags-avx) = yes]
10789 (CFLAGS-tst-auditmod6c.c): Likewise.
10790 [$(subdir) = elf && $(config-cflags-avx) = yes]
10791 (CFLAGS-tst-auditmod7b.c): Likewise.
10792 * elf/tst-audit3.c: Move to ...
10793 * sysdeps/x86_64/tst-audit3.c: ... here.
10794 * elf/tst-audit4.c: Move to ...
10795 * sysdeps/x86_64/tst-audit4.c: ... here.
10796 * elf/tst-audit5.c: Move to ...
10797 * sysdeps/x86_64/tst-audit5.c: ... here.
10798 * elf/tst-audit6.c: Move to ...
10799 * sysdeps/x86_64/tst-audit6.c: ... here.
10800 * elf/tst-audit7.c: Move to ...
10801 * sysdeps/x86_64/tst-audit7.c: ... here.
10802 * elf/tst-auditmod3a.c: Move to ...
10803 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10804 * elf/tst-auditmod3b.c: Move to ...
10805 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10806 * elf/tst-auditmod4a.c: Move to ...
10807 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10808 * elf/tst-auditmod4b.c: Move to ...
10809 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10810 * elf/tst-auditmod5a.c: Move to ...
10811 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10812 * elf/tst-auditmod5b.c: Move to ...
10813 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10814 * elf/tst-auditmod6a.c: Move to ...
10815 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10816 * elf/tst-auditmod6b.c: Move to ...
10817 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10818 * elf/tst-auditmod6c.c: Move to ...
10819 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10820 * elf/tst-auditmod7a.c: Move to ...
10821 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10822 * elf/tst-auditmod7b.c: Move to ...
10823 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10825 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10828 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10829 define unconditionally.
10830 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10831 define unconditionally.
10832 (INT8_C, INT16_C, etc.): Likewise.
10834 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10836 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10837 __ehdr_start with hidden visibility.
10839 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10841 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10843 * math/libm-test.inc (cos_test): Use accurate hex constants.
10844 (sincost_test): Likewise.
10846 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10848 * math/libm-test.inc (catan_test): Add more tests.
10849 (catanh_test): Likewise.
10851 * math/s_catanf.c (__catanf): Use suffixed floating-point
10853 * math/s_catanhf.c (__catanhf): Likewise.
10854 * math/s_catanhl.c (__catanhl): Likewise.
10855 * math/s_catanl.c (__catanl): Likewise.
10858 * math/s_catan.c (__catan): Calculate imaginary part of result
10859 with log1p not log unless computing log of number close to 0.
10860 * math/s_catanf.c (__catanf): Likewise.
10861 * math/s_catanl.c (__catanl): Likewise.
10862 * math/s_catanh.c (__catanh): Calculate real part of result with
10863 log1p not log unless computing log of number close to 0.
10864 * math/s_catanhf.c (__catanhf): Likewise.
10865 * math/s_catanhl.c (__catanhl): Likewise.
10866 * math/libm-test.inc (catan_test): Add more tests.
10867 (catanh_test): Likewise.
10868 * sysdeps/i386/fpu/libm-test-ulps: Update.
10869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10871 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 * benchtests/Makefile: Mention files in which fast and slow
10874 paths of math functions are implemented.
10876 2013-04-23 Roland McGrath <roland@hack.frob.com>
10878 * sysdeps/posix/timespec_get.c: New file.
10880 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10882 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10884 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10886 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10887 powerpc/power5/fpu folders.
10888 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10889 * benchtests/Makefile: Add modf testcase.
10890 * benchtests/bench-modf.c: New file: Benchmark test for mo
10892 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10895 * time/Makefile (tests): Add tst-strptime-whitespace.
10896 * time/strptime_l.c (get_number): Use ISSPACE.
10897 (__strptime_internal): Likewise.
10898 * time/tst-strptime-whitespace.c: New test case.
10900 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10902 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10904 (_nss_files_init): Set it here.
10906 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10908 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10909 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10912 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10914 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10916 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10921 2013-04-21 David S. Miller <davem@davemloft.net>
10923 * po/ru.po: Update Russion translation from translation project.
10925 2013-04-17 Adam Conrad <adconrad@0c3.net>
10927 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10930 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10932 * configure.in: Remove i386 configure warning. Remove i386 case.
10933 * configure: Regenerate.
10934 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10935 Add example to error message.
10936 * sysdeps/i386/configure: Regenerate.
10938 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10940 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10942 * benchtests/cos-inputs: New file.
10943 * benchtests/slowcos-inputs: New file.
10944 * benchtests/slowcos.c: New file.
10945 * benchtests/slowtan-inputs: New file.
10946 * benchtests/slowtan.c: New file.
10947 * benchtests/tan-inputs: New file.
10949 2013-04-16 Roland McGrath <roland@hack.frob.com>
10951 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10954 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10956 * benchtests/Makefile: Include cppflags-iterator.mk to add
10957 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10959 * Makefile.in (bench-clean): New target.
10960 * benchtests/Makefile (bench-clean): Likewise.
10962 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10964 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10966 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10968 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10970 2013-04-15 Andreas Schwab <schwab@suse.de>
10972 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10974 * nscd/pwdcache.c (cache_addpw): Likewise.
10975 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10978 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10980 * benchtests/Makefile (bench): Write all output to
10981 bench-out.tmp together.
10983 2013-04-15 Andreas Schwab <schwab@suse.de>
10985 * nscd/nscd.c (main): Don't fork again after closing files.
10987 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10989 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10991 * benchtests/Rules (bench-deps): Collect dependencies into a
10992 single variable. Add Makefile to dependencies.
10993 ($(objpfx)bench-%.c): Depend on bench-deps.
10995 2013-04-12 Roland McGrath <roland@hack.frob.com>
10996 Xavier Roche <roche+kml2@exalead.com>
10999 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11000 just that it's a file descriptor.
11001 * manual/llio.texi (Synchronizing AIO Operations): Update description
11002 for EBADF error from aio_fsync.
11004 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11006 * Rules (bench): Move target definition...
11007 * benchtests/Makefile: ... here.
11009 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11011 * math/libm-test.inc (cos_test): Fix PI/2 test.
11012 (sincos_test): Likewise.
11013 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11014 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11016 2013-04-11 Andreas Schwab <schwab@suse.de>
11019 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11020 accept exponent character only when digits were seen.
11021 * stdio-common/Makefile (tests): Add bug26.
11022 * stdio-common/bug26.c: New file.
11025 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11028 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11030 * Makeconfig (rtld-prefix): Define built linker prefix.
11031 * Rules (run-bench): Use it.
11032 * math/Makefile (run-regen-ulps): Likewise.
11034 * Rules (bench): Remove eval.
11036 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11037 Roland McGrath <roland@hack.frob.com>
11038 Ondrej Bilka <neleai@seznam.cz>
11041 * time/getdate.c: Include ctype.h and alloca.h.
11042 (__getdate_r): Trim leading and trailing spaces of input.
11043 * time/tst-getdate.c (tests): Add tests with leading and
11046 2013-04-08 Roland McGrath <roland@hack.frob.com>
11049 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11050 when computing value.
11052 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11054 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11055 Use testrun.sh to run libm tests.
11058 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11060 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11063 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11065 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11067 * Makefile.in (regen-ulps): New target.
11068 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11069 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11070 [ifneq (no,$(PERL)] (regen-ulps): New target.
11071 [ifeq (no,$(PERL)] (regen-ulps): New target.
11072 * math/libm-test.inc (ulps_file_name): Define.
11073 (output_dir): New variable.
11074 (options): Add "output-dir" option.
11075 (parse_opt): Handle 'o' case.
11076 (main): If output_dir is non-NULL use it as a prefix
11078 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11080 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11082 [BZ #10060, #10062]
11083 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11084 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11085 fail configure if __sync_val_compare_and_swap is not inlined.
11086 * sysdeps/i386/configure: Regenerate.
11087 * configure.in: Build for i686 when configured for i386.
11088 * configure: Regenerate.
11089 * README: Remove i386 reference.
11091 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11093 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11096 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11098 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11099 (lmsnanval): New variables.
11100 (F): Add conversion tests.
11101 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11102 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11104 * stdio-common/tstdiomisc.c (F): Properly collect individual
11107 [BZ #14686, #15336]
11108 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11109 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11110 Instead, use input NaN values or generate a qNaN by arithmetic
11111 operation. Also fix bugs to comply with the standard.
11112 * math/libm-test.inc (remainder_test): Add more tests.
11114 [BZ #15335, #15342]
11115 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11117 input NaN values or generate a qNaN by arithmetic operation.
11119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11122 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11125 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11128 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11129 underflowed result.
11130 * math/s_cexpf.c (__cexpf): Likewise.
11131 * math/s_cexpl.c (__cexpl): Likewise.
11132 * math/libm-test.inc (cexp_test): Add more tests.
11134 2013-04-03 Andreas Schwab <schwab@suse.de>
11137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11138 order arrays from heap if bigger than alloca cutoff.
11140 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11142 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11143 (SNAN_TESTS_double): Refer to GCC PR56831.
11144 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11147 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11149 * Rules (bench): Move bench.out after the run is complete.
11151 * Rules (bench): Echo currently running benchmark.
11153 * benchtests/Makefile (bench): Add atan and slowatan.
11154 * benchtests/atan-inputs: New file.
11155 * benchtests/slowatan-inputs: New file.
11156 * benchtests/slowatan.c: New file.
11158 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11163 * sysdeps/unix/sysv/linux/kernel-features.h
11164 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11165 __ASSUME_XFS_RESTRICTED_CHOWN.
11166 * sysdeps/unix/sysv/linux/pathconf.c
11167 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11168 Save and restore errno.
11170 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11173 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11174 arguments using __kernel_casinh.
11175 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11176 arguments using __kernel_casinhf.
11177 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11178 arguments using __kernel_casinhl.
11179 * math/libm-test.inc (cacosh_test): Add more tests.
11180 * sysdeps/i386/fpu/libm-test-ulps: Update.
11181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11183 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11185 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11188 * bench/Makefile (bench): Add sin and slowsin.
11189 * benchtests/sin-inputs: New file.
11190 * benchtests/slowsin-inputs: New file.
11191 * benchtests/slowsin.c: New file.
11193 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11194 (bench): Add slowexp and slowpow.
11195 (exp-ITER): Increase iterations.
11196 (pow-ITER): Likewise.
11197 * benchtests/exp-inputs: Change input.
11198 * benchtests/pow-inputs: Likewise.
11199 * benchtests/slowexp-inputs: New file.
11200 * benchtests/slowexp.c: New file.
11201 * benchtests/slowpow-inputs: New file.
11202 * benchtests/slowpow.c: New file.
11204 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11206 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11208 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11209 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11210 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11211 * benchtests/Makefile: Add rint benchtest.
11212 * benchtests/rint-inputs: Input for rint benchtest.
11214 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11216 * Versions.def (libm): Add GLIBC_2.18.
11217 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11218 hidden libm prototypes.
11219 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11220 * math/Makefile (libm-calls): Add s_issignaling.
11221 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11222 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11223 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11225 * math/math.h [__USE_GNU] (issignaling): New macro.
11226 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11227 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11229 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11230 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11231 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11232 * manual/arith.texi (issignaling): New section.
11233 * manual/libm-err-tab.pl (@all_functions): Update comment.
11234 * math/gen-libm-test.pl (parse_args): Apply special handling for
11236 * math/libm-test.inc (print_float, issignaling_test): New
11238 (check_float_internal): Add issignaling checks.
11239 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11240 default definition.
11241 * sysdeps/powerpc/math-tests.h: New file.
11242 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11244 * math/test-snan.c (TEST_FUNC): Likewise.
11246 2013-03-30 David S. Miller <davem@davemloft.net>
11248 * po/de.po: Update from translation team.
11250 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11254 imaginary part less than 1.0 and real part less than 0.5
11256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11258 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11259 (cacos_test): Add more tests.
11260 (casin_test): Likewise.
11261 (casinh_test): Likewise.
11262 * sysdeps/i386/fpu/libm-test-ulps: Update.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11265 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11267 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11268 ONE with its value.
11270 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11271 (__pow_mp): Replace ONE and MONE with their values.
11272 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11274 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11275 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11277 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11279 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11281 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11282 (__pow_mp): Replace ZERO and MZERO with their values.
11283 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11285 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11287 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11288 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11291 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11293 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11295 2013-03-28 Roland McGrath <roland@hack.frob.com>
11297 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11298 Declare with __attribute__ ((weak)).
11299 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11300 Call __call_tls_dtors only if it's not NULL.
11302 2013-03-28 Roland McGrath <roland@hack.frob.com>
11304 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11305 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11306 magic __ehdr_start linker symbol if it's defined.
11307 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11308 them up here if it was already done.
11310 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11311 (_dl_aux_init): Use const in cast when setting it.
11312 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11313 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11314 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11316 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11318 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11319 * csu/libc-tls.c: Nor here.
11320 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11322 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11323 (__libc_message): Never call vsyslog.
11325 2013-03-28 Alan Modra <amodra@gmail.com>
11327 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11329 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11332 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11339 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11342 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11343 Don't add gid passed as argument.
11345 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11347 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11350 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11351 imaginary part between 1.0 and 1.5 and real part less than 0.5
11353 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11354 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11355 * math/libm-test.inc (cacos_test): Add more tests.
11356 (casin_test): Likewise.
11357 (casinh_test): Likewise.
11358 * sysdeps/i386/fpu/libm-test-ulps: Update.
11359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11361 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11363 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11366 (denorm): Likewise.
11367 (__dbl_mp): Likewise.
11368 (add_magnitudes): Likewise.
11369 (sub_magnitudes): Likewise.
11377 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11379 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11380 (__dubcos): Likewise.
11381 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11382 (__ieee754_acos): Likewise.
11383 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11384 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11385 (__exp1): Likewise.
11386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11387 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11389 (my_log2): Likewise.
11390 (checkint): Likewise.
11391 * sysdeps/ieee754/dbl-64/e_remainder.c
11392 (__ieee754_remainder): Likewise.
11393 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11395 (bsloww): Likewise.
11396 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11398 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11399 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11400 MANTISSA_STORE_T to store computations on mantissa. Use
11401 macros for rounding and division.
11402 (denorm): Likewise.
11403 (__dbl_mp): Likewise.
11404 (add_magnitudes): Likewise.
11405 (sub_magnitudes): Likewise.
11408 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11409 powers of two in terms of TWOPOW macro.
11410 (mp_no): Make type of mantissa as MANTISSA_T.
11411 [!RADIXI]: Define RADIXI.
11412 [!TWO52]: Define TWO52.
11413 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11415 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11417 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11418 llroundl symbol when building for PPC32.
11420 2013-03-24 Mark H Weaver <mhw@netris.org>
11422 * manual/arith.texi (Normalization Functions): Fix prototypes for
11423 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11425 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11429 high value to check if expl overflow.
11430 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11431 to check for underflow and overflow.
11432 * math/libm-test.inc: Add exp test.
11434 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11437 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11440 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11442 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11445 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11447 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11448 wrap blocks consisting of several statements.
11450 * sysdeps/generic/math-tests.h: New file.
11451 * sysdeps/i386/fpu/math-tests.h: Likewise.
11452 * math/test-snan.c: Include it.
11453 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11455 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11459 (__ieee754_j0l): Do not improve calculations using cos of twice
11460 input for inputs above LDBL_MAX / 2.0L.
11461 (__ieee754_y0l): Likewise.
11462 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11463 (__ieee754_j1l): Do not improve calculations using cos of twice
11464 input for inputs above LDBL_MAX / 2.0L.
11465 (__ieee754_y1l): Likewise.
11466 * math/libm-test.inc (j0_test): Add another test.
11467 (j1_test): Likewise.
11468 (y0_test): Likewise.
11469 (y1_test): Likewise.
11470 * sysdeps/i386/fpu/libm-test-ulps: Update.
11472 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11474 * Rules ($(objpfx)bench-%.c): Include code from a C source
11477 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11480 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11481 imaginary part 1.0 and real part less than 0.5 specially.
11482 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11483 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11484 * math/libm-test.inc (cacos_test): Add more tests.
11485 (casin_test): Likewise.
11486 (casinh_test): Likewise.
11487 * sysdeps/i386/fpu/libm-test-ulps: Update.
11488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11490 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11493 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11495 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11497 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11498 * config.make.in (config-cflags-sse4): Remove variable.
11499 (config-cflags-avx): Likewise.
11500 (config-cflags-sse2avx): Likewise.
11501 (config-cflags-novzeroupper): Likewise.
11502 (config-asflags-i686): Likewise.
11503 (have-mfma4): Likewise.
11504 (have-as-vis3): Likewise.
11506 * configure.in (MIG): Do not AC_SUBST.
11507 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11508 (libc_cv_cc_sse4): Do not AC_SUBST.
11509 (libc_cv_cc_avx): Likewise.
11510 (libc_cv_cc_sse2avx): Likewise.
11511 (libc_cv_cc_novzeroupper): Likewise.
11512 (libc_cv_cc_fma4): Likewise.
11513 (libc_cv_as_i686): Likewise.
11514 (libc_cv_sparc_as_vis3): Likewise.
11515 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11517 (config-asflags-i686): Likewise.
11518 (config-cflags-avx): Likewise.
11519 (config-cflags-sse2avx): Likewise.
11520 (have-mfma4): Likewise.
11521 (config-cflags-novzeroupper): Likewise.
11522 * sysdeps/mach/configure.in (MIG): Likewise.
11523 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11524 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11526 (config-cflags-avx): Likewise.
11527 (config-cflags-sse2avx): Likewise.
11528 (have-mfma4): Likewise.
11529 (config-cflags-novzeroupper): Likewise.
11530 * configure: Regenerated.
11531 * sysdeps/i386/configure: Likewise.
11532 * sysdeps/mach/configure: Likewise.
11533 * sysdeps/sparc/configure: Likewise.
11534 * sysdeps/x86_64/configure: Likewise.
11536 2013-03-20 Roland McGrath <roland@hack.frob.com>
11539 * locale/programs/localedef.c (options): Put N_ translation marker
11540 on argument names, not just descriptions.
11542 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11544 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11546 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11549 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11551 2013-03-19 Roland McGrath <roland@hack.frob.com>
11553 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11554 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11555 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11556 [!BEFORE_ABORT] (before_abort): New function.
11557 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11558 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11559 (writev_for_fatal): New function.
11560 (WRITEV_FOR_FATAL): New macro; call that.
11561 (backtrace_and_maps): New function.
11562 (BEFORE_ABORT): New macro; call that.
11563 (struct str_list): Type removed.
11564 (__libc_message, __libc_fatal): Functions removed.
11565 Include <sysdeps/posix/libc_fatal.c> instead.
11567 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11569 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11571 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11574 2013-03-19 Andreas Schwab <schwab@suse.de>
11576 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11577 * sysdeps/gnu/configure: Regenerate.
11579 * configure.in: Substitute libc_cv_rtlddir.
11580 * configure: Regenerate.
11581 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11582 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11583 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11584 * elf/Makefile (install-others, CFLAGS-interp.c)
11585 (ldso_install, common-ldd-rewrite): Likewise.
11586 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11587 $(inst_slibdir)/$(rtld-installed-name).
11588 * scripts/rellns-sh: Add -p option.
11589 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11592 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11594 * manual/nptl.texi: Renamed to ...
11595 * manual/threads.texi: ... this.
11596 * manual/Makefile (chapters): Update.
11598 2013-03-18 Roland McGrath <roland@hack.frob.com>
11601 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11602 on argument names, not just descriptions.
11603 * malloc/memusagestat.c (options): Likewise.
11604 * nss/getent.c (options): Likewise.
11606 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11609 * iconv/iconv_prog.c (options): Put N_ translation marker
11610 on argument names, not just descriptions.
11611 * iconv/iconvconfig.c (options): Likewise.
11613 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11615 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11616 implementation which is faster on all x86_64 architectures.
11617 Tested on AMD, Intel Nehalem, SNB, IVB.
11618 * sysdeps/x86_64/strnlen.S: Likewise.
11620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11621 Remove all multiarch strlen and strnlen versions.
11622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11623 Remove strlen and strnlen related parts.
11625 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11626 Inline strlen part.
11627 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11629 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11630 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11631 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11632 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11633 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11634 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11636 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11638 * manual/memory.texi (Malloc Tunable Parameters):
11639 Sort parameters alphabetically. Add comments for missing entries.
11641 2013-03-17 David S. Miller <davem@davemloft.net>
11643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11645 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11649 for arguments at most half maximum finite value.
11650 * math/libm-test.inc (j0_test): Add more tests.
11651 (j1_test): Likewise.
11652 (y0_test): Likewise.
11653 (y1_test): Likewise.
11654 * sysdeps/i386/fpu/libm-test-ulps: Update.
11655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11658 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11659 1 / x and functions P and Q for arguments above 0x1p256L.
11660 (__ieee754_y0l): Likewise.
11661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11662 (__ieee754_y1l): Likewise.
11663 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11664 (j1_test): Likewise.
11665 (y0_test): Likewise.
11666 (y1_test): Likewise.
11668 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11670 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11673 2013-03-15 Roland McGrath <roland@hack.frob.com>
11675 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11676 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11677 zero since it's initialized to EXEC_PAGESIZE.
11679 * sysdeps/unix/sysv/linux/ldsodefs.h
11680 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11681 * sysdeps/generic/ldsodefs.h: ... here.
11683 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11685 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11687 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11689 * math/test-snan.c: Renamed from
11690 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11691 * math/Makefile (tests): Add test-snan.
11692 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11695 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11696 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11698 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11699 __builtin_nan family of functions.
11700 * math/libm-test.inc (initialize): Initialize qnan_value with
11701 __builtin_nan family of functions.
11702 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11704 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11706 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11707 storage class. Initialize qNaN_var and sNaN_var with
11708 __builtin_nan and __builtin_nans families of functions,
11711 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11712 (sqrt_test): Remove duplicate test with qNaN input.
11713 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11714 (round_test, signbit_test, significand_test): Note missing +/-Inf
11715 as well as qNaN tests.
11717 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11718 qNaN_var. Fix a few strings, too.
11719 * math/libm-test.inc (nan_value): Rename to qnan_value.
11720 * math/gen-libm-test.pl (%beautify): Adjust to that.
11721 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11722 * math/test-misc.c (main): Likewise.
11723 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11724 to __qnan_bytes, and __qnan_union, respectively.
11725 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11727 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11728 and lqnanval, respectively.
11729 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11730 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11731 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11732 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11734 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11735 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11738 * math/test-misc.c (main): Fix copy'n'pastos.
11739 * misc/tst-efgcvt.c (special): Likewise.
11741 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11742 Remove declarations.
11744 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11746 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11747 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11748 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11749 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11751 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11754 macro to return vdso values correctly in IFUNC implementations.
11755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11756 Optimization by using IFUNC.
11758 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11759 Richard Henderson <rth@redhat.com>
11760 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11762 * Makefile.in (bench): New target.
11763 * NEWS: Mention the benchmark framework.
11764 * Rules (bench): Likewise.
11765 (binaries-bench): Generate binaries for functions to
11767 * benchtests/Makefile: New makefile for benchmark tests.
11768 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11770 * benchtests/exp-inputs: New input file for EXP function.
11771 * benchtests/pow-inputs: New input file for POW function.
11772 * scripts/bench.pl: New script to generate source files for
11773 benchmark programs.
11775 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11777 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11779 computations on mantissa. Use macros for rounding and
11781 (denorm): Likewise.
11782 (__dbl_mp): Likewise.
11783 (add_magnitudes): Likewise.
11784 (sub_magnitudes): Likewise.
11787 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11788 powers of two in terms of TWOPOW macro.
11789 (mp_no): Make type of mantissa as MANTISSA_T.
11790 [!RADIXI]: Define RADIXI.
11791 [!TWO52]: Define TWO52.
11792 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11794 * manual/nptl.texi (cindex): Modify threads to pthreads.
11796 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11798 * sysdeps/x86_64/preconfigure: Regenerated.
11800 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11803 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11805 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11806 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11808 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11809 * math/libm-test.inc (j0_test): Do not allow one spurious
11810 underflow exception.
11811 (y1_test): Likewise.
11813 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11815 * manual/Makefile (chapters): Add nptl.
11816 * manual/debug.texi (Debugging Support): Add link to Threads
11818 * manual/nptl.texi: New file.
11820 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11822 2013-03-14 Petr Baudis <pasky@ucw.cz>
11824 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11825 for non-NULL pointer before the memory validity test. Pointed
11826 out by Holger Brunck <holger.brunck@keymile.com>.
11828 2013-03-13 Andreas Schwab <schwab@suse.de>
11830 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11833 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11835 * timezone/zic.c: Update from tzcode 2013b.
11837 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11839 * manual/install.texi (Configuring and compiling):
11840 Mention i686 and i586.
11841 * INSTALL: Regenerate.
11843 2013-03-12 Roland McGrath <roland@hack.frob.com>
11845 * sysdeps/init_array/elf-init.c: New file.
11847 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11848 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11850 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11851 __gmon_start__ as global, but as static with a .preinit_array pointer.
11852 * sysdeps/init_array/gmon-start.c: New file. Use that.
11853 * sysdeps/init_array/crti.S: New file, empty except for comments.
11854 * sysdeps/init_array/crtn.S: Likewise.
11856 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11858 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11861 Remove Prefer_SSE_for_memop.
11862 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11863 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11864 HAS_PREFER_SSE_FOR_MEMOP.
11865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11868 Remove bzero, memset ifunc support.
11869 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11870 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11871 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11872 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11874 2013-03-11 Andreas Schwab <schwab@suse.de>
11877 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11880 (GLIBC_2.16): Remove pthread_atfork.
11882 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11884 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11885 (ptestcases.h): Likewise.
11887 2013-03-08 Roland McGrath <roland@hack.frob.com>
11889 * Makeconfig ($(common-objpfx)config.status): Depend on
11890 sysdeps/*/preconfigure{,.in} too.
11892 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11894 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11895 (__free_hook): Use void * instead of __malloc_ptr_t.
11896 (__malloc_hook): Likewise.
11897 (__realloc_hook): Likewise.
11898 (__memalign_hook): Likewise.
11899 (__after_morecore_hook): Likewise.
11900 * malloc/arena.c (save_malloc_hook): Likewise.
11901 (save_free_hook): Likewise.
11902 * malloc/hooks.c (malloc_hook_ini): Likewise.
11903 (realloc_hook_ini): Likewise.
11904 (memalign_hook_ini): Likewise.
11905 * malloc/malloc.c (malloc_hook_ini): Likewise.
11906 (realloc_hook_ini): Likewise.
11907 (memalign_hook_ini): Likewise.
11908 (__free_hook): Likewise.
11909 (__malloc_hook): Likewise.
11910 (__realloc_hook): Likewise.
11911 (__memalign_hook): Likewise.
11912 (__libc_malloc): Likewise.
11913 (__libc_free): Likewise.
11914 (__libc_realloc): Likewise.
11915 (__libc_memalign): Likewise.
11916 (__libc_valloc): Likewise.
11917 (__libc_pvalloc): Likewise.
11918 (__libc_calloc): Likewise.
11919 (__posix_memalign): Likewise.
11920 * malloc/morecore.c (__sbrk): Likewise.
11921 (__default_morecore): Likewise.
11923 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11925 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11926 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11927 __malloc_ptrdiff_t.
11929 * malloc/malloc.h (__malloc_size_t): Remove macro.
11930 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11932 (old_memalign_hook): Likewise.
11933 (old_realloc_hook): Likewise.
11934 (struct hdr): Likewise.
11936 (mallochook): Likewise.
11937 (memalignhook): Likewise.
11938 (reallochook): Likewise.
11939 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11940 (tr_old_realloc_hook): Likewise.
11941 (tr_old_memalign_hook): Likewise.
11942 (tr_mallochook): Likewise.
11943 (tr_reallochook): Likewise.
11944 (tr_memalignhook): Likewise.
11946 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11948 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11949 default_ldbl_pack and using as default implementation.
11950 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11952 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11953 redundant definition.
11954 (ldbl_insert_mantissa): Likewise.
11955 (ldbl_canonicalize): Likewise.
11956 (ldbl_nearbyint): Likewise.
11957 (ldbl_pack): Rename to ldbl_pack_ppc.
11958 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11959 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11960 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11962 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11965 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11966 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11967 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11969 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11970 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11971 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11973 2013-03-07 Andreas Jaeger <aj@suse.de>
11975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11978 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11980 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11981 Include mpa.h and declare __MPEXP.
11982 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11984 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11986 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11987 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11988 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11990 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11991 (__slowpow): Use long double EXPL and LOGL functions to
11993 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11994 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11995 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11996 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11997 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11998 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12001 intermediate variable to calculate exponent.
12003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12007 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12008 [!NO__SQR]: Define __sqr.
12009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12010 and NO__SQR. Remove all code except __mul and __sqr. Include
12011 sysdeps/ieee754/dbl-64/mpa.c.
12012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12015 * posix/Makefile (tests): Add tst-pathconf.
12016 * posix/tst-pathconf.c: New test case.
12017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12019 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12021 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12023 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12025 2013-03-06 Andreas Jaeger <aj@suse.de>
12027 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12028 definition via __MAP_ANONYMOUS.
12030 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12031 it's not part of Linux headers.
12033 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12034 (MAP_HUGE_MASK): Define.
12036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12038 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12041 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12042 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12044 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12045 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12047 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12049 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12050 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12051 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12052 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12053 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12054 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12056 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12060 Handle f2fs and efivarfs.
12062 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12065 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12066 (EFIVARFS_MAGIC): Add.
12067 (F2FS_LINK_MAX): Add.
12069 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12071 * stdio-common/vfprintf.c: Replace __builtin_expect with
12074 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12077 * sysdeps/generic/bp-sym.h: Remove file.
12078 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12079 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (__longjmp): Don't use BP_SYM.
12082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12084 (memcpy): Don't use BP_SYM.
12085 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12086 <bp-sym.h> and <bp-asm.h>.
12087 (memcpy): Don't use BP_SYM.
12088 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12090 (memcpy): Don't use BP_SYM.
12091 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12093 (memset): Don't use BP_SYM.
12094 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12095 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12096 (__bzero): Don't use BP_SYM.
12097 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12098 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12099 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12100 <bp-sym.h> and <bp-asm.h>.
12101 (memcmp): Don't use BP_SYM. Remove comment about bounded
12103 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12104 <bp-sym.h> and <bp-asm.h>.
12105 (memcpy): Don't use BP_SYM.
12106 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12107 <bp-sym.h> and <bp-asm.h>.
12108 (memset): Don't use BP_SYM.
12109 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12110 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12111 (__bzero): Don't use BP_SYM.
12112 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12113 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12114 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12115 <bp-sym.h> and <bp-asm.h>.
12116 (strncmp): Don't use BP_SYM. Remove comment about bounded
12118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12119 <bp-sym.h> and <bp-asm.h>.
12120 (memcpy): Don't use BP_SYM.
12121 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12122 <bp-sym.h> and <bp-asm.h>.
12123 (memset): Don't use BP_SYM.
12124 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12125 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12126 (__bzero): Don't use BP_SYM.
12127 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12128 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12130 <bp-sym.h> and <bp-asm.h>.
12131 (__memchr): Don't use BP_SYM.
12132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12133 <bp-sym.h> and <bp-asm.h>.
12134 (memcmp): Don't use BP_SYM. Remove comment about bounded
12136 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12137 <bp-sym.h> and <bp-asm.h>.
12138 (memcpy): Don't use BP_SYM.
12139 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12140 <bp-sym.h> and <bp-asm.h>.
12141 (__mempcpy): Don't use BP_SYM.
12142 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12143 <bp-sym.h> and <bp-asm.h>.
12144 (__memrchr): Don't use BP_SYM.
12145 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12146 <bp-sym.h> and <bp-asm.h>.
12147 (memset): Don't use BP_SYM.
12148 (__bzero): Likewise.
12149 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12150 <bp-sym.h> and <bp-asm.h>.
12151 (__rawmemchr): Don't use BP_SYM.
12152 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12153 <bp-sym.h> and <bp-asm.h>.
12154 (__STRCMP): Don't use BP_SYM.
12155 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12156 <bp-sym.h> and <bp-asm.h>.
12157 (strchr): Don't use BP_SYM.
12158 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12159 <bp-sym.h> and <bp-asm.h>.
12160 (__strchrnul): Don't use BP_SYM.
12161 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12162 <bp-sym.h> and <bp-asm.h>.
12163 (strlen): Don't use BP_SYM.
12164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12165 <bp-sym.h> and <bp-asm.h>.
12166 (strncmp): Don't use BP_SYM. Remove comment about bounded
12168 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12169 <bp-sym.h> and <bp-asm.h>.
12170 (__strnlen): Don't use BP_SYM.
12171 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12172 <bp-sym.h> and <bp-asm.h>.
12173 (__GI__setjmp): Don't use BP_SYM.
12174 (_setjmp): Likewise.
12175 (__sigsetjmp): Likewise.
12176 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12177 (L(start_addresses)): Don't use BP_SYM.
12178 (_start): Likewise.
12179 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12181 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12182 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12183 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12184 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12185 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12187 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12188 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12189 about bounded pointers.
12190 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12191 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12192 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12194 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12195 about bounded pointers. Remove GKM FIXME comments.
12196 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12197 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12199 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12200 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12201 Remove GKM FIXME comments.
12202 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12203 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12204 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12206 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12207 about bounded pointers. Remove GKM FIXME comment.
12208 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12210 (strncmp): Don't use BP_SYM. Remove comment about bounded
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12213 <bp-sym.h> and <bp-asm.h>.
12214 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12216 <bp-sym.h> and <bp-asm.h>.
12217 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12220 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12222 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12225 2013-03-05 David S. Miller <davem@davemloft.net>
12227 * po/es.po: Update from translation team.
12229 2013-03-05 Andreas Jaeger <aj@suse.de>
12231 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12232 <bits/mman-linux.h>.
12233 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12236 <bits/mman-linux.h> to end of file.
12237 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12239 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12240 <bits/mman-linux.h> to end of file.
12241 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12244 <bits/mman-linux.h> to end of file.
12246 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12247 (MCL_CURRENT, MCL_FUTURE): Define here.
12249 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12252 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12254 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12256 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12258 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12259 fourth parameter needed for rt_sigprocmask syscall.
12260 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12261 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12262 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12263 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12265 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12267 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12271 comment about bounded pointers.
12272 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12273 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12275 2013-03-04 Andreas Jaeger <aj@suse.de>
12277 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12278 common definitions.
12280 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12281 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12282 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12283 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12284 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12285 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12287 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12290 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12291 __ieee754_sqrl instead of __sqrl.
12293 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12295 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12296 * sysdeps/powerpc/fpu_control.h: ... here.
12297 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12298 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12299 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12300 * sysdeps/powerpc/bits/mathinline.h: ... here.
12302 2013-03-01 Roland McGrath <roland@hack.frob.com>
12304 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12305 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12306 to just [NEED_DL_SYSINFO_DSO].
12307 * elf/dl-support.c: Likewise.
12308 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12309 * elf/rtld.c (dl_main): Likewise.
12310 * elf/setup-vdso.h (setup_vdso): Likewise.
12311 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12312 * sysdeps/unix/sysv/linux/dl-sysdep.c
12313 (_dl_discover_osversion): Likewise.
12315 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12317 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12318 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12320 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12322 * NEWS: Mention libm performance improvements and non-x86 PI
12325 * csu/libc-start.c (__pthread_initialize_minimal): Change
12326 function arguments.
12327 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12329 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12332 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12333 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12334 <bp-sym.h> and <bp-asm.h>.
12335 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12336 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12338 (memcpy): Don't use BP_SYM.
12339 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12341 (__mpn_add_n): Don't use BP_SYM.
12342 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12343 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12345 (__mpn_addmul_1): Don't use BP_SYM.
12346 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12347 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12349 (_setjmp): Don't use BP_SYM.
12350 (__novmx_setjmp): Likewise.
12351 (__GI__setjmp): Likewise.
12352 (__vmx_setjmp): Likewise.
12353 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12355 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12356 (__bzero): Don't use BP_SYM.
12357 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12358 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12359 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12360 <bp-sym.h> and <bp-asm.h>.
12361 (memcpy): Don't use BP_SYM.
12362 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12363 <bp-sym.h> and <bp-asm.h>.
12364 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12365 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12366 <bp-sym.h> and <bp-asm.h>.
12367 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12368 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12370 (__mpn_lshift): Don't use BP_SYM.
12371 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12372 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12374 (memset): Don't use BP_SYM.
12375 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12376 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12377 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12379 (__mpn_mul_1): Don't use BP_SYM.
12380 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12382 <bp-sym.h> and <bp-asm.h>.
12383 (memcmp): Don't use BP_SYM.
12384 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12385 <bp-sym.h> and <bp-asm.h>.
12386 (memcpy): Don't use BP_SYM.
12387 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12388 <bp-sym.h> and <bp-asm.h>.
12389 (memset): Don't use BP_SYM.
12390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12391 <bp-sym.h> and <bp-asm.h>.
12392 (strncmp): Don't use BP_SYM.
12393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12394 <bp-sym.h> and <bp-asm.h>.
12395 (memcpy): Don't use BP_SYM.
12396 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12397 <bp-sym.h> and <bp-asm.h>.
12398 (memset): Don't use BP_SYM.
12399 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12400 <bp-sym.h> and <bp-asm.h>.
12401 (__memchr): Don't use BP_SYM.
12402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12403 <bp-sym.h> and <bp-asm.h>.
12404 (memcmp): Don't use BP_SYM.
12405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12406 <bp-sym.h> and <bp-asm.h>.
12407 (memcpy): Don't use BP_SYM.
12408 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12409 <bp-sym.h> and <bp-asm.h>.
12410 (__mempcpy): Don't use BP_SYM.
12411 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12412 <bp-sym.h> and <bp-asm.h>.
12413 (__memrchr): Don't use BP_SYM.
12414 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12415 <bp-sym.h> and <bp-asm.h>.
12416 (memset): Don't use BP_SYM.
12417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12418 <bp-sym.h> and <bp-asm.h>.
12419 (__rawmemchr): Don't use BP_SYM.
12420 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12421 <bp-sym.h> and <bp-asm.h>.
12422 (__STRCMP): Don't use BP_SYM.
12423 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12424 <bp-sym.h> and <bp-asm.h>.
12425 (strchr): Don't use BP_SYM.
12426 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12427 <bp-sym.h> and <bp-asm.h>.
12428 (__strchrnul): Don't use BP_SYM.
12429 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12430 <bp-sym.h> and <bp-asm.h>.
12431 (strlen): Don't use BP_SYM.
12432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12433 <bp-sym.h> and <bp-asm.h>.
12434 (strncmp): Don't use BP_SYM.
12435 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12436 <bp-sym.h> and <bp-asm.h>.
12437 (__strnlen): Don't use BP_SYM.
12438 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12440 (__mpn_rshift): Don't use BP_SYM.
12441 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12442 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12443 <bp-sym.h> and <bp-asm.h>.
12444 (__sigsetjmp): Don't use BP_SYM.
12445 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12446 (L(start_addresses)): Don't use BP_SYM.
12447 (_start): Likewise.
12448 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12450 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12451 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12452 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12453 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12455 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12456 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12457 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12458 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12460 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12462 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12463 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12465 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12467 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12468 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12469 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12471 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12473 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12475 (strncmp): Don't use BP_SYM,
12476 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12478 (__mpn_sub_n): Don't use BP_SYM.
12479 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12480 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12482 (__mpn_submul_1): Don't use BP_SYM.
12483 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12485 <bp-sym.h> and <bp-asm.h>.
12486 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12488 <bp-sym.h> and <bp-asm.h>.
12489 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12492 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12495 Use ZK to minimize writes to Z.
12496 (sub_magnitudes): Simplify code a bit.
12497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12498 Use ZK to minimize writes to Z.
12499 (sub_magnitudes): Simplify code a bit.
12501 2013-02-27 Roland McGrath <roland@hack.frob.com>
12503 * csu/gmon-start.c: Add special exception to license text.
12505 2013-02-27 Richard Henderson <rth@redhat.com>
12507 * scripts/config.guess: Update from config.git.
12508 * scripts/config.sub: Likewise.
12510 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12514 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12516 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12518 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12520 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12522 2013-02-26 Roland McGrath <roland@hack.frob.com>
12524 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12525 [$(build-shared = yes].
12527 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12529 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12530 (__mul): Reduce iterations for calculating mantissa.
12532 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12534 (__mpranred): Likewise.
12537 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12538 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12540 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12542 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12543 Define __attribute__.
12545 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12547 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12549 * posix/regex_internal.h (__attribute): Remove.
12550 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12551 (re_string_context_at): Likewise.
12552 (bitset_not): Use __attribute__ and mark function as possibly
12554 (bitset_merge): Likewise.
12555 (bitset_mask): Likewise.
12556 (re_string_char_size_at): Likewise.
12557 (re_string_wchar_at): Likewise.
12558 (re_string_elem_size_at): Likewise.
12560 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12562 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12566 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12570 (denorm): Likewise.
12571 (__dbl_mp): Likewise.
12572 (add_magnitudes): Likewise.
12573 (sub_magnitudes): Likewise.
12577 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12580 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12583 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12587 up changes with default code.
12588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12591 2013-02-24 Allan McRae <allan@archlinux.org>
12593 * manual/socket.texi (The Internet Namespace): Order menu items
12594 to match that in the file.
12596 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12597 node listing of the info page menu.
12599 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12602 * sysdeps/i386/bp-asm.h: Remove file.
12603 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12604 (PARMS): Do not use macros from bp-asm.h.
12608 (__mpn_add_n): Do not use BP_SYM
12609 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12611 (PARMS): Do not use macros from bp-asm.h.
12614 (__mpn_addmul_1): Do not use BP_SYM
12615 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12617 (PARMS): Do not use macros from bp-asm.h.
12618 (SIGMSK): Likewise.
12619 (_setjmp): Likewise. Do not use BP_SYM.
12620 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12622 (PARMS): Do not use macros from bp-asm.h.
12623 (SIGMSK): Likewise.
12624 (setjmp): Likewise. Do not use BP_SYM.
12625 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12627 (PARMS): Do not use macros from bp-asm.h.
12628 (__frexp): Do not use BP_SYM.
12630 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12632 (PARMS): Do not use macros from bp-asm.h.
12633 (__frexpf): Do not use BP_SYM.
12634 (frexpf): Likewise.
12635 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12637 (PARMS): Do not use macros from bp-asm.h.
12638 (__frexpl): Do not use BP_SYM.
12639 (frexpl): Likewise.
12640 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12642 (PARMS): Do not use macros from bp-asm.h.
12643 (__remquo): Do not use BP_SYM.
12644 (remquo): Likewise.
12645 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12647 (PARMS): Do not use macros from bp-asm.h.
12648 (__remquof): Do not use BP_SYM.
12649 (remquof): Likewise.
12650 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12652 (PARMS): Do not use macros from bp-asm.h.
12653 (__remquol): Do not use BP_SYM.
12654 (remquol): Likewise.
12655 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12657 (PARMS): Do not use macros from bp-asm.h.
12660 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12661 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12663 (PARMS): Do not use macros from bp-asm.h.
12664 (strlen): Do not use BP_SYM.
12665 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12667 (PARMS): Do not use macros from bp-asm.h.
12671 (__mpn_add_n): Do not use BP_SYM.
12672 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12674 (PARMS): Do not use macros from bp-asm.h.
12677 (__mpn_addmul_1): Do not use BP_SYM.
12678 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12681 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12683 (PARMS): Do not use macros from bp-asm.h.
12686 (__mpn_lshift): Do not use BP_SYM.
12687 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12689 (PARMS): Do not use macros from bp-asm.h.
12693 (memcpy): Likewise. Do not use BP_SYM.
12694 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12695 libc_hidden_def and weak_alias.
12696 (mempcpy): Do not use BP_SYM in weak_alias.
12697 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12699 (PARMS): Do not use macros from bp-asm.h.
12702 [!BZERO_P] (CHR): Likewise.
12703 (memset): Likewise. Do not use BP_SYM.
12704 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12706 (PARMS): Do not use macros from bp-asm.h.
12709 (__mpn_mul_1): Do not use BP_SYM.
12710 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12712 (PARMS): Do not use macros from bp-asm.h.
12715 (__mpn_rshift): Do not use BP_SYM.
12716 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12718 (PARMS): Do not use macros from bp-asm.h.
12721 (strchr): Likewise. Do not use BP_SYM.
12722 (index): Do not use BP_SYM in weak_alias.
12723 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12725 (PARMS): Do not use macros from bp-asm.h.
12728 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12729 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12731 (PARMS): Do not use macros from bp-asm.h.
12732 (strlen): Do not use BP_SYM.
12733 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12735 (PARMS): Do not use macros from bp-asm.h.
12739 (__mpn_sub_n): Do not use BP_SYM.
12740 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12742 (PARMS): Do not use macros from bp-asm.h.
12745 (__mpn_submul_1): Do not use BP_SYM.
12746 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12748 (PARMS): Do not use macros from bp-asm.h.
12752 (__mpn_add_n): Do not use BP_SYM.
12753 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12756 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12758 (PARMS): Do not use macros from bp-asm.h.
12761 (memcmp): Do not use BP_SYM.
12762 (bcmp): Do not use BP_SYM in weak_alias.
12763 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12765 (PARMS): Do not use macros from bp-asm.h.
12769 (memcpy): Likewise. Do not use BP_SYM.
12770 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12772 (PARMS): Do not use macros from bp-asm.h.
12776 (memmove): Likewise. Do not use BP_SYM.
12777 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12779 (PARMS): Do not use macros from bp-asm.h.
12783 (__mempcpy): Likewise. Do not use BP_SYM.
12784 (mempcpy): Do not use BP_SYM in weak_alias.
12785 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12787 (PARMS): Do not use macros from bp-asm.h.
12790 [!BZERO_P] (CHR): Likewise.
12791 (memset): Likewise. Do not use BP_SYM.
12792 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12794 (PARMS): Do not use macros from bp-asm.h.
12796 (strcmp): Do not use BP_SYM.
12797 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12799 (PARMS): Do not use macros from bp-asm.h.
12802 [USE_AS_STRTOK_R] (SAVE): Likewise.
12803 (FUNCTION): Likewise. Do not use BP_SYM.
12804 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12806 (strtok_r): Likewise.
12807 (__GI___strtok_r): Likewise.
12808 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12809 (PARMS): Do not use macros from bp-asm.h.
12812 (__mpn_lshift): Do not use BP_SYM.
12813 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12814 (PARMS): Do not use macros from bp-asm.h.
12817 (__memchr): Do not use BP_SYM.
12818 (memchr): Do not use BP_SYM in weak_alias.
12819 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12820 (PARMS): Do not use macros from bp-asm.h.
12823 (memcmp): Do not use BP_SYM.
12824 (bcmp): Do not use BP_SYM in weak_alias.
12825 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12826 (PARMS): Do not use macros from bp-asm.h.
12829 (__mpn_mul_1): Do not use BP_SYM.
12830 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12832 (PARMS): Do not use macros from bp-asm.h.
12835 (__rawmemchr): Do not use BP_SYM.
12836 (rawmemchr): Do not use BP_SYM in weak_alias.
12837 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12838 (PARMS): Do not use macros from bp-asm.h.
12841 (__mpn_rshift): Do not use BP_SYM.
12842 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12843 (PARMS): Do not use macros from bp-asm.h.
12844 (SIGMSK): Likewise.
12845 (__sigsetjmp): Likewise. Do not use BP_SYM.
12846 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12847 (_start): Do not use BP_SYM.
12848 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12849 (PARMS): Do not use macros from bp-asm.h.
12852 (__stpcpy): Likewise. Do not use BP_SYM.
12853 (stpcpy): Do not use BP_SYM in weak_alias.
12854 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12856 (PARMS): Do not use macros from bp-asm.h.
12860 (__stpncpy): Likewise. Do not use BP_SYM.
12861 (stpncpy): Do not use BP_SYM in weak_alias.
12862 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12863 (PARMS): Do not use macros from bp-asm.h.
12866 (strchr): Likewise. Do not use BP_SYM.
12867 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12869 (PARMS): Do not use macros from bp-asm.h.
12872 (__strchrnul): Likewise. Do not use BP_SYM.
12873 (strchrnul): Do not use BP_SYM in weak_alias.
12874 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12876 (PARMS): Do not use macros from bp-asm.h.
12878 (strcspn): Do not use BP_SYM.
12879 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12881 (PARMS): Do not use macros from bp-asm.h.
12884 (strpbrk): Likewise. Do not use BP_SYM.
12885 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12887 (PARMS): Do not use macros from bp-asm.h.
12890 (strrchr): Likewise. Do not use BP_SYM.
12891 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12892 (PARMS): Do not use macros from bp-asm.h.
12894 (strspn): Do not use BP_SYM.
12895 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12896 (PARMS): Do not use macros from bp-asm.h.
12900 (FUNCTION): Likewise. Do not use BP_SYM.
12901 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12903 (strtok_r): Likewise.
12904 (__GI___strtok_r): Likewise.
12905 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12906 (PARMS): Do not use macros from bp-asm.h.
12910 (__mpn_sub_n): Do not use BP_SYM.
12911 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12913 (PARMS): Do not use macros from bp-asm.h.
12916 (__mpn_submul_1): Do not use BP_SYM.
12917 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12919 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12921 (PARMS): Do not use macros from bp-asm.h.
12926 (__clone): Do not use BP_SYM.
12927 (clone): Do not use BP_SYM in weak_alias.
12928 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12930 (PARMS): Do not use macros from bp-asm.h.
12932 (__mmap64): Do not use BP_SYM.
12933 (mmap64): Do not use BP_SYM in weak_alias.
12934 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12935 <bp-sym.h> and <bp-asm.h>.
12936 (PARMS): Do not use macros from bp-asm.h.
12937 (__posix_fadvise64_l64): Do not use BP_SYM.
12938 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12939 (PARMS): Do not use macros from bp-asm.h.
12941 (semtimedop): Do not use BP_SYM.
12942 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12945 2013-02-21 Allan McRae <allan@archlinux.org>
12947 * manual/message.texi (Charset conversion in gettext):
12948 Move @end statement to beginning of line.
12950 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12957 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12958 (denorm): Likewise.
12959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12962 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12964 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12965 tail-call to the resolved function if pltexit isn't needed.
12967 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12970 or Y being zero as being unlikely.
12971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12974 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12976 * manual/nss.texi (System Databases and Name Service Switch):
12977 Remove frobnicate @pxref.
12979 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12981 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12982 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12984 2013-02-20 Petr Machata <pmachata@redhat.com>
12986 * elf/elf.h (R_ARM_TARGET1): New macro.
12987 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12988 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12989 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12990 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12991 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12992 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12993 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12994 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12995 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12996 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12997 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12998 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12999 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13000 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13001 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13002 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13003 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13004 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13005 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13006 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13007 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13008 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13009 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13010 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13011 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13012 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13013 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13014 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13015 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13016 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13017 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13018 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13019 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13020 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13021 (R_ARM_THM_GOT_BREL12): Likewise.
13022 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13023 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13024 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13025 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13026 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13027 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13028 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13029 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13030 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13032 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13034 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13035 __attribute_used__ to __attribute__ ((unused)).
13037 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13039 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13042 comment formatting.
13043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13045 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13050 (ENTER): Remove both macro definitions.
13052 (CHECK_BOUNDS_LOW): Likewise.
13053 (CHECK_BOUNDS_HIGH): Likewise.
13054 (CHECK_BOUNDS_BOTH): Likewise.
13055 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13056 (RETURN_BOUNDED_POINTER): Likewise.
13057 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13058 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13059 (POP_ERRNO_LOCATION_RETURN): Likewise.
13060 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13061 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13062 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13064 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13065 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13066 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13067 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13068 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13069 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13070 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13071 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13072 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13073 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13074 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13075 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13077 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13079 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13080 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13082 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13083 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13084 * sysdeps/i386/i586/memset.S (memset): Likewise.
13085 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13086 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13087 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13089 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13090 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13091 Change uses of L(2) to L(out).
13092 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13093 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13094 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13095 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13096 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13098 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13099 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13101 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13102 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13103 (RETURN): Do not use macro LEAVE.
13104 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13105 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13106 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13107 * sysdeps/i386/i686/memset.S (memset): Likewise.
13108 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13109 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13110 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13111 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13113 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13114 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13115 L(1_2) and L(1_3) into L(1).
13116 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13117 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13118 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13119 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13120 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13121 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13122 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13123 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13124 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13126 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13127 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13128 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13129 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13130 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13131 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13132 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13133 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13134 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13135 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13136 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13137 * sysdeps/i386/strspn.S (strspn): Likewise.
13138 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13140 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13141 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13143 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13144 L(1_3) into L(1_1).
13145 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13146 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13147 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13149 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13151 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13153 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13156 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13158 * math/atest-exp.c (exp_mpn): Remove ROUND.
13159 * math/atest-exp2.c (exp_mpn): Likewise.
13160 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13162 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13163 * stdlib/tst-tls-atexit-lib.c: Likewise.
13164 * stdlib/tst-tls-atexit.c: Likewise.
13166 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13168 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13169 and __attribute_alloc_size__.
13171 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13173 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13174 __attribute_alloc_size__.
13175 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13176 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13178 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13180 * include/programs/xmalloc.h: New file.
13181 * catgets/gencat.c: Include it.
13182 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13183 * elf/pldd.c: Likewise.
13184 * iconv/iconv_charmap.c: Likewise.
13185 * iconv/iconvconfig.c: Likewise.
13186 * iconv/strtab.c: Likewise.
13187 * locale/programs/locale.c: Likewise.
13188 * locale/programs/localedef.h: Likewise.
13189 * locale/programs/simple-hash.c: Likewise.
13190 * nscd/nscd.h: Likewise.
13191 * nss/makedb.c: Likewise.
13192 * sysdeps/generic/ldconfig.h: Likewise.
13194 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13196 * Versions.def: Add GLIBC_2.18.
13197 * include/link.h (struct link_map): New member l_tls_dtor_count.
13198 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13199 (__call_tls_dtors): Likewise.
13200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13201 __cxa_thread_atexit_impl.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13218 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13219 (tests): Add test case tst-tls-atexit.
13220 (modules-names): Add shared library for tst-tls-atexit.
13221 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13222 (GLIBC_PRIVATE): Add __call_tls_dtors.
13223 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13225 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13226 * stdlib/tst-tls-atexit.c: New test case.
13227 * stdlib/tst-tls-atexit-lib.c: New test case.
13229 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13231 * elf/Versions (ld): Add _dl_find_dso_for_object.
13232 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13233 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13234 (dl_open_worker): Use _dl_find_dso_for_object.
13235 * elf/dl-sym.c (do_sym): Likewise.
13236 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13238 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13240 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13241 Syntactic changes only.
13242 (_dl_runtime_profile): Do a tail-call to the resolved function.
13244 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13247 * sysdeps/x86_64/bp-asm.h: Remove file.
13248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13249 <bp-sym.h> and <bp-asm.h>.
13250 (__clone): Do not use BP_SYM.
13251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13252 <bp-sym.h> and <bp-asm.h>.
13253 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13254 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13256 (_setjmp): Do not use BP_SYM.
13257 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13259 (setjmp): Do not use BP_SYM.
13260 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13262 (mempcpy): Do not use BP_SYM in weak_alias.
13263 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13265 (strchr): Do not use BP_SYM.
13266 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13268 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13269 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13270 (_start): Do not use BP_SYM.
13271 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13273 (strcat): Do not use BP_SYM.
13274 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13276 (STRCMP): Do not use BP_SYM.
13277 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13279 (STRCPY): Do not use BP_SYM.
13280 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13282 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13284 (FUNCTION): Do not use BP_SYM.
13285 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13287 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13289 2013-02-17 Andreas Jaeger <aj@suse.de>
13291 * time/Versions: Sort entries.
13292 * string/Versions: Likewise.
13293 * resolv/Versions: Likewise.
13294 * posix/Versions: Likewise.
13295 * iconv/Versions: Likewise.
13296 * elf/Versions: Likewise.
13297 * wcsmbs/Versions: Likewise.
13299 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13301 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13302 loop termination condition.
13304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13305 variable to calculate EZ.
13308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13309 the lower precision input.
13311 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13314 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13315 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13316 (run-via-rtld-prefix): Do not handle %-bp tests.
13317 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13318 (all-object-suffixes): Remove .ob.
13319 (bppfx): Remove variable.
13320 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13321 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13322 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13323 [$(build-bounded) = yes] (libtype.ob): Likewise.
13324 * Makerules (elide-routines.ob): Remove variable.
13325 (do-tests-clean): Do not handle *-bp.out.
13326 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13327 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13328 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13329 (tests): Do not include $(tests-bp.out).
13330 (xtests): Do not include $(xtests-bp.out).
13331 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13332 [$(build-bounded) = yes] ($(addprefix
13333 $(objpfx),$(binaries-bounded))): Remove rule.
13334 ($(objpfx)%-bp.out): Remove rule.
13335 * config.make.in (build-bounded): Remove variable.
13336 * crypt/Makefile [$(build-bounded) = yes]
13337 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13338 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13339 append to variable.
13340 [$(build-bounded) = yes] (install-lib): Likewise.
13341 [$(build-bounded) = yes] (generated): Likewise.
13342 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13344 * intl/Makefile [$(build-bounded) = yes]
13345 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13346 * math/Makefile [$(build-bounded) = yes]
13347 ($(tests:%=$(objpfx)%-bp): Likewise.
13348 * misc/Makefile [$(build-bounded) = yes]
13349 ($(objpfx)tst-tsearch-bp): Likewise.
13350 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13351 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13353 * string/Makefile (o-objects.ob): Remove variable.
13354 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13355 (CFLAGS-.ob): Remove variable.
13356 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13357 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13358 both definitions of variable.
13359 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13360 (ASFLAGS-.ob): Remove variable.
13362 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13365 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13366 Remove __BOUNDED_POINTERS__ from condition.
13367 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13368 * string/bits/string2.h [!__NO_STRING_INLINES &&
13369 !__BOUNDED_POINTERS__]: Likewise.
13370 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13372 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13373 Remove conditional code.
13374 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13375 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13376 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13380 * csu/libc-start.c: Do not include <bp-sym.h>.
13381 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13382 * elf/dl-open.c: Do not include <bp-sym.h>.
13383 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13384 * math/fegetenv.c: Do not include <bp-sym.h>.
13385 (fegetenv): Do not use BP_SYM in versioned symbols.
13386 * nptl/sysdeps/pthread/bits/libc-lockP.h
13387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13390 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13392 (__pthread_mutex_destroy): Likewise.
13393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13394 (__pthread_mutex_lock): Likewise.
13395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13396 (__pthread_mutex_trylock): Likewise.
13397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13398 (__pthread_mutex_unlock): Likewise.
13399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13400 (__pthread_mutexattr_init): Likewise.
13401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13402 (__pthread_mutexattr_destroy): Likewise.
13403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13404 (__pthread_mutexattr_settype): Likewise.
13405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13406 (__pthread_rwlock_init): Likewise.
13407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13408 (__pthread_rwlock_destroy): Likewise.
13409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13410 (__pthread_rwlock_rdlock): Likewise.
13411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13412 (__pthread_rwlock_tryrdlock): Likewise.
13413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13414 (__pthread_rwlock_wrlock): Likewise.
13415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13416 (__pthread_rwlock_trywrlock): Likewise.
13417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13418 (__pthread_rwlock_unlock): Likewise.
13419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13420 (__pthread_key_create): Likewise.
13421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13422 (__pthread_setspecific): Likewise.
13423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13424 (__pthread_getspecific): Likewise.
13425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13428 (_pthread_cleanup_push_defer): Likewise.
13429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13430 (_pthread_cleanup_pop_restore): Likewise.
13431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13432 (pthread_setcancelstate): Likewise.
13433 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13435 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13436 (memchr): Do not use BP_SYM in weak_alias.
13437 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13438 (fegetenv): Do not use BP_SYM in versioned symbols.
13439 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13440 (fesetenv): Do not use BP_SYM in versioned symbols.
13441 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13442 (feupdateenv): Do not use BP_SYM in versioned symbols.
13443 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13444 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13445 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13446 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13447 (open64): Do not use BP_SYM in weak_alias.
13448 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13449 (fegetenv): Do not use BP_SYM in versioned symbols.
13450 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13451 (fesetenv): Do not use BP_SYM in versioned symbols.
13452 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13453 (feupdateenv): Do not use BP_SYM in versioned symbols.
13454 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13455 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13456 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13457 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13458 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13459 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13462 (__libc_start_main): Do not use BP_SYM.
13464 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13467 redundant return line.
13469 (denorm): Likewise.
13470 (dbl_mp): Likewise.
13471 (sub_magnitudes): Likewise.
13477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13479 (denorm): Likewise.
13480 (dbl_mp): Likewise.
13481 (sub_magnitudes): Likewise.
13488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13491 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13495 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13497 of __mul for squares.
13498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13502 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13505 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13508 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13510 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13511 prototype or function definition. Rename ubp_* variables and
13512 parameters. Remove argv definitions conditional on
13513 [__BOUNDED_POINTERS__].
13514 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13515 * elf/dl-runtime.c (_dl_fixup): Likewise.
13516 * include/set-hooks.h (RUN_HOOK): Likewise.
13517 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13519 * string/strcpy.c (strcpy): Do not use __unbounded.
13520 * sysdeps/generic/frame.h (struct layout): Likewise.
13521 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13522 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13523 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13524 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13525 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13526 (__backtrace): Likewise.
13527 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13529 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13530 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13531 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13533 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13534 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13535 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13536 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13537 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13538 Do not use __unbounded.
13539 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13540 Rename __unboundedrlimits parameter to rlimits in prototype.
13541 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13542 Do not use __unbounded.
13543 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13544 not use __ptrvalue.
13545 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13546 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13547 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13548 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13549 __ptrvalue or __unbounded.
13550 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13551 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13553 (__new_msgctl): Do not use __ptrvalue.
13554 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13556 (__libc_msgrcv): Do not use __ptrvalue.
13557 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13558 startup_info): Do not use __unbounded.
13559 (__libc_start_main): Likewise. Rename ubp_* variables and
13560 parameters. Remove argv definitions conditional on
13561 [__BOUNDED_POINTERS__].
13562 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13564 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13566 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13568 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13570 (__new_shmctl): Do not use __ptrvalue.
13571 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13572 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13574 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13575 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13576 (__libc_sigaction): Likewise.
13577 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13578 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13580 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13582 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13584 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13586 * string/mempcpy.c: Implement by calling memcpy.
13588 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13595 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13596 values in the mantissa.
13598 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13599 minimize writes to Z.
13600 (sub_magnitudes): Simplify code a bit.
13602 2013-02-12 Roland McGrath <roland@hack.frob.com>
13604 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13605 from the message. The linker prefixes all warnings with that already.
13607 2013-02-12 Andreas Schwab <schwab@suse.de>
13610 * posix/regexec.c (extend_buffers): Add parameter min_len.
13611 (check_matching): Pass minimum needed length.
13612 (clean_state_log_if_needed): Likewise.
13613 (get_subexp): Likewise.
13614 * posix/Makefile (tests): Add bug-regex34.
13615 (bug-regex34-ENV): Define.
13616 * posix/bug-regex34.c: New file.
13619 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13620 elements compare against the byte sequence of it, not its name.
13621 * posix/Makefile (tests): Add bug-regex35.
13622 (bug-regex35-ENV): Define.
13623 * posix/bug-regex35.c: New file.
13625 2013-02-11 Tom de Vries <tom@codesourcery.com>
13627 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13629 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13630 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13631 (CHECK_EOL): Add undef.
13633 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13635 * bits/stdlib-bsearch.h: New file.
13636 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13637 * stdlib/stdlib.h: Likewise.
13639 2013-02-11 Roland McGrath <roland@hack.frob.com>
13641 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13642 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13644 * manual/search.texi (Array Search Function): Add missing const in
13646 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13647 declaration to use rlim_t.
13648 (Basic Scheduling Functions): Remove erroneous const from
13649 sched_getparam prototype. Remove erroneous * from
13650 sched_get_priority_max and sched_get_priority_min prototypes.
13651 (Resource Usage): Fix summary @comment on vtimes to refer to
13652 sys/vtimes.h rather than vtimes.h.
13653 Add missing *s in vtimes prototype.
13654 (Limits on Resources): Fix ulimit prototype to return long int.
13655 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13656 prototypes to use long int rather than double.
13657 (BSD Random): Fix initstate and setstate to use char *, not void *.
13658 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13659 prototype to make second argument 'struct aiocb64 *const[]'.
13660 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13661 (Status of AIO Operations): Remove erroneous const in aio_return and
13662 aio_return64 prototypes.
13663 (Synchronizing I/O): Fix sync prototype to return void.
13664 * manual/startup.texi (Suboptions): Remove an erroneous const in
13665 getsubopt prototype.
13666 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13667 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13668 use size_t rather than int.
13669 (Scanning All Users): Likewise for getpwent_r.
13670 (Setting Groups): Add missing const to setgroups prototype.
13671 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13672 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13673 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13674 'const void *' rather than 'const char *'.
13675 (Host Address Functions): Likewise for inet_ntop.
13676 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13677 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13678 ssize_t for return value.
13679 (Sending Data): Likewise for send, sendto, sendmsg.
13680 (Socket Option Functions): Add a missing const in setsockopt prototype.
13681 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13682 use wchar_t for the argument.
13683 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13684 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13686 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13687 double/float/long double for second argument.
13688 Fix return types of significand, significandf, significandl.
13689 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13690 argument in fchmod prototype.
13691 (File Owner): Use uid_t and gid_t in fchown prototype.
13692 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13693 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13694 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13695 use 'const struct dirent **' as argument types to CMP function pointer
13697 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13698 (File Times): Fix summary magic @comment for struct utimbuf and utime
13699 to refer to utime.h, not time.h.
13700 * manual/string.texi (Argz Functions): Add missing const in
13701 argz_extract and argz_next prototypes.
13702 (Finding Tokens in a String): Likewise for basename.
13703 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13704 (Copying and Concatenation): Fix typo in wmemmove prototype.
13705 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13706 (Signal Stack): Remove erroneous const in sigstack prototype.
13707 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13709 (Simple Calendar Time): Likewise for stime.
13710 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13712 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13713 say sys/sysctl.h instead.
13714 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13715 and vsyslog prototypes.
13717 2013-02-11 Tom de Vries <tom@codesourcery.com>
13719 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13722 2013-02-11 Roland McGrath <roland@hack.frob.com>
13724 * misc/sys/mman.h: Fix typo in mremap comment.
13726 2013-02-08 Roland McGrath <roland@hack.frob.com>
13728 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13729 the '\0' terminator.
13731 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13734 * debug/segfault.c: Don't include <bp-checks.h>.
13735 * sysdeps/generic/bp-checks.h: Remove file.
13736 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13737 (__GETDENTS): Don't use CHECK_N.
13738 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13739 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13740 (__getgroups): Don't use CHECK_N.
13741 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13742 (setgroups): Don't use CHECK_N.
13743 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13744 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13745 (__libc_msgrcv): Don't use CHECK_N.
13746 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13747 (__libc_msgsnd): Don't use CHECK_N.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13750 (__libc_pread): Don't use CHECK_N.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13752 include <bp-checks.h>.
13753 (__libc_pread64): Don't use CHECK_N.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13755 include <bp-checks.h>.
13756 (__libc_pwrite): Don't use CHECK_N.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13758 include <bp-checks.h>.
13759 (__libc_pwrite64): Don't use CHECK_N.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13762 (__libc_pread): Don't use CHECK_N.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13764 include <bp-checks.h>.
13765 (__libc_pread64): Don't use CHECK_N.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13767 include <bp-checks.h>.
13768 (__libc_pwrite): Don't use CHECK_N.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13770 include <bp-checks.h>.
13771 (__libc_pwrite64): Don't use CHECK_N.
13772 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13773 (do_pread): Don't use CHECK_N.
13774 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13775 (do_pread64): Don't use CHECK_N.
13776 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13777 (do_pwrite): Don't use CHECK_N.
13778 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13779 (do_pwrite64): Don't use CHECK_N.
13780 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13781 (__libc_readv): Don't use CHECK_N.
13782 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13783 (semop): Don't use CHECK_N.
13784 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13786 (semtimedop): Don't use CHECK_N.
13787 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13788 (__libc_pread): Don't use CHECK_N.
13789 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13791 (__libc_pread64): Don't use CHECK_N.
13792 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13794 (__libc_pwrite): Don't use CHECK_N.
13795 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13797 (__libc_pwrite64): Don't use CHECK_N.
13798 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13800 (__libc_msgrcv): Don't use CHECK_N.
13801 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13802 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13803 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13804 (__libc_writev): Don't use CHECK_N.
13806 2013-02-08 Roland McGrath <roland@hack.frob.com>
13808 * string/strcpy.c: Removed unused variable.
13810 * Makeconfig (+sysdep-includes): Define with := rather than =.
13811 Use an existing include/ subdir of each sysdeps dir before it.
13813 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13815 * nscd/connection.c (register_traced_file): Comment function.
13816 [HAVE_INOTIFY] (union __inev): Define.
13817 [HAVE_INOTIFY] (inotify_check_files): New function.
13818 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13819 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13821 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13823 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13825 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13826 loaded if not already and that a failure is permanent.
13828 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13831 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13832 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13834 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13837 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13838 (CHECK_1_NULL_OK): Likewise.
13839 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13840 (__fxstat): Do not use CHECK_1.
13841 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13843 (___fxstat64): Do not use CHECK_1.
13844 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13846 (__fxstatat): Do not use CHECK_1.
13847 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13849 (__fxstatat64): Do not use CHECK_1.
13850 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13852 (__fxstat): Do not use CHECK_1.
13853 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13855 (__fxstatat): Do not use CHECK_1.
13856 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13858 (__getresgid): Do not use CHECK_1.
13859 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13861 (__getresuid): Do not use CHECK_1.
13862 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13864 (__lxstat): Do not use CHECK_1.
13865 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13867 (__old_msgctl): Do not use CHECK_1.
13868 (__new_msgctl): Likewise.
13869 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13871 (__new_setrlimit): Do not use CHECK_1.
13872 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13874 (__old_shmctl): Do not use CHECK_1.
13875 (__new_shmctl): Likewise.
13876 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13878 (__xstat): Do not use CHECK_1.
13879 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13880 (__lxstat): Do not use CHECK_1.
13881 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13883 (___lxstat64): Do not use CHECK_1.
13884 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13885 (__old_msgctl): Do not use CHECK_1.
13886 (__new_msgctl): Likewise.
13887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13889 (__gettimeofday): Do not use CHECK_1.
13890 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13891 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13892 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13894 (__gettimeofday): Do not use CHECK_1.
13895 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13896 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13897 (__new_shmctl): Do not use CHECK_1.
13898 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13900 (do_sigtimedwait): Do not use CHECK_1.
13901 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13903 (do_sigwaitinfo): Do not use CHECK_1.
13904 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13906 (msgctl): Do not use CHECK_1.
13907 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13909 (shmctl): Do not use CHECK_1.
13910 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13911 (ustat): Do not use CHECK_1.
13912 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13914 (__fxstat): Do not use CHECK_1.
13915 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13917 (__fxstatat): Do not use CHECK_1.
13918 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13920 (__lxstat): Do not use CHECK_1.
13921 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13923 (__xstat): Do not use CHECK_1.
13924 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13925 (__xstat): Do not use CHECK_1.
13926 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13927 (___xstat64): Do not use CHECK_1.
13930 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13932 (CHECK_BOUNDS_HIGH): Likewise.
13933 * string/strcpy.c: Do not include <bp-checks.h>.
13934 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13936 2013-02-07 Roland McGrath <roland@hack.frob.com>
13938 * nscd/nscd-client.h (__nscd_drop_map_ref):
13939 Add __attribute__ ((unused)).
13940 * nis/nss-nisplus.h (niserr2nss): Likewise.
13942 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13943 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13945 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13946 Remove inline keyword.
13947 * include/rounding-mode.h (round_away): Likewise.
13948 * libio/wfileops.c (adjust_wide_data): Likewise.
13949 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13950 (__m128i_strloadu_tolower): Likewise.
13951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13952 (__m128i_strloadu_tolower): Likewise.
13953 * time/mktime.c (ydhms_diff): Likewise.
13954 * locale/elem-hash.h (elem_hash): Likewise.
13955 * locale/setlocale.c (setdata): Likewise.
13956 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13957 (re_string_wchar_at): Likewise.
13958 (bitset_not, bitset_merge, bitset_mask): Likewise.
13959 [!(__GNUC__ > 3)] (inline): Remove macro.
13960 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13961 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13962 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13963 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13964 * string/memcmp.c (memcmp_bytes): Likewise.
13965 * locale/programs/locarchive.c (compute_hashval): Likewise.
13966 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13967 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13968 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13969 * nss/getent.c (print_rpc, print_protocols): Likewise.
13970 (print_passwd, print_group, print_aliases): Likewise.
13971 * nis/nss-nisplus.h (niserr2nss): Likewise.
13972 * nscd/connections.c (restart_p): Likewise.
13973 Change return type to bool.
13975 2013-02-05 Roland McGrath <roland@hack.frob.com>
13977 * Makeconfig (all-Depend-files): Add existing
13978 $(sorted-subdirs:=/Depend) files.
13979 (all-subdirs): Remove nss.
13980 * sysdeps/unix/inet/Subdirs: Add it here instead.
13981 * hesiod/Depend: New file.
13983 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13984 instead of calling alloca.
13986 * io/lseek.c (__lseek): Rename to __libc_lseek.
13987 Define __lseek as an alias.
13989 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13991 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13993 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13994 else clause and remove check for non-standard endianness.
13996 2013-02-04 David S. Miller <davem@davemloft.net>
13998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14000 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14003 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14004 (__ubp_memchr): Remove prototype.
14005 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14006 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14007 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14008 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14009 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14011 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14012 (__ubp_memchr): Likewise.
14013 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14014 (__ubp_memchr): Likewise.
14015 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14016 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14017 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14018 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14020 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14021 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14022 (__getcwd): Do not use CHECK_STRING.
14023 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14025 (__real_chown): Do not use CHECK_STRING.
14026 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14028 (fchownat): Do not use CHECK_STRING.
14029 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14031 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14033 (__lchown): Do not use CHECK_STRING.
14034 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14035 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14036 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14037 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14039 include <bp-checks.h>.
14040 (truncate64): Do not use CHECK_STRING.
14041 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14043 (__real_chown): Do not use CHECK_STRING.
14044 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14046 (__lchown): Do not use CHECK_STRING.
14047 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14049 (__chown): Do not use CHECK_STRING.
14050 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14052 (truncate64): Do not use CHECK_STRING.
14053 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14055 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14056 (__xmknod): Do not use CHECK_STRING.
14057 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14059 (__xmknodat): Do not use CHECK_STRING.
14060 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14061 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14063 2013-02-04 Andreas Schwab <schwab@suse.de>
14066 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14067 * include/netdb.h: Likewise for h_errno.
14068 * elf/tst-stackguard1.c: Include <tls.h>.
14070 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14072 * elf/link.h (struct link_map): Extend the l_addr comment.
14073 * include/link.h (struct link_map): Likewise.
14075 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14078 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14079 (BOUNDED_1): Remove macro.
14080 * debug/backtrace.c: Don't include <bp-checks.h>.
14081 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14082 (__backtrace): Likewise.
14083 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14085 (__backtrace): Don't use BOUNDED_1.
14086 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14088 (__backtrace): Don't use BOUNDED_1.
14089 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14090 (__backtrace): Don't use BOUNDED_1.
14091 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14092 (shmat): Don't use BOUNDED_N.
14094 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14097 * sysdeps/generic/bp-start.h: Remove file.
14098 * csu/libc-start.c: Don't include <bp-start.h>.
14099 (LIBC_START_MAIN): Set up __environ directly instead of using
14100 INIT_ARGV_and_ENVIRON.
14101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14105 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14107 (CHECK_FCNTL): Likewise.
14108 (CHECK_N_PAGES): Likewise.
14111 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14113 (CHECK_SIGSET_NULL_OK): Likewise.
14114 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14116 (sigpending): Don't use CHECK_SIGSET.
14117 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14119 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14120 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14122 (do_sigsuspend): Don't use CHECK_SIGSET.
14123 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14125 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14126 (do_sigwait): Don't use CHECK_SIGSET.
14127 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14130 include <bp-checks.h>.
14131 (sigpending): Don't use CHECK_SIGSET.
14132 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14133 include <bp-checks.h>.
14134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14135 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14137 (sigpending): Don't use CHECK_SIGSET.
14138 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14140 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14143 * sysdeps/generic/bp-semctl.h: Remove file.
14144 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14145 <bp-checks.h> and <bp-semctl.h>.
14146 (__old_semctl): Don't use CHECK_SEMCTL.
14147 (__new_semctl): Likewise.
14148 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14150 (__old_semctl): Don't use CHECK_SEMCTL.
14151 (__new_semctl): Likewise.
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14153 <bp-checks.h> and <bp-semctl.h>.
14154 (__old_semctl): Don't use CHECK_SEMCTL.
14155 (__new_semctl): Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14157 <bp-checks.h> and <bp-semctl.h>.
14158 (semctl): Don't use CHECK_SEMCTL.
14161 * Makerules (elide-bp-thunks): Remove variable.
14162 (elide-routines.oS): Don't use $(elide-bp-thunks).
14163 (elide-routines.os): Likewise.
14164 (elide-routines.o): Likewise.
14165 (elide-routines.op): Likewise.
14166 (elide-routines.og): Likewise.
14167 (objects): Don't use $(bp-thunks).
14168 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14170 (common-generated): Do not add s-proto-bp.d.
14171 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14174 Do not generate makefile rules for bounded-pointer thunks.
14175 * sysdeps/generic/bp-thunks.h: Remove file.
14176 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14177 * sysdeps/unix/s-proto-bp.S: Likewise.
14180 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14181 parts of result separately when argument is not close to line from
14182 -i to i and one part of argument is small.
14183 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14184 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14185 * math/libm-test.inc (cacos_test): Add more tests.
14186 (casin_test): Likewise.
14187 (casinh_test): Likewise.
14188 * sysdeps/i386/fpu/libm-test-ulps: Update.
14189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14191 2013-01-31 David S. Miller <davem@davemloft.net>
14193 * po/de.po: Update from translation team.
14195 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14197 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14199 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14201 * configure.in (_AC_PROG_CC_C89): New definition.
14202 * configure: Regenerate.
14204 * configure.in (AC_PROG_CPP): New definition.
14205 * configure: Regenerate.
14207 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14209 * debug/tst-backtrace.h: New file.
14210 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14211 (ret): Remove variable.
14213 (FAIL): Remove macro.
14214 (NO_INLINE): Likewise.
14215 (fn1): Use match function instead of strstr.
14216 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14217 (ret): Remove variable.
14219 (FAIL): Remove macro.
14220 (NO_INLINE): Likewise.
14221 (fn): Use match function instead of strstr.
14222 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14223 (ret): Remove variable.
14225 (FAIL): Remove macro.
14226 (NO_INLINE): Likewise.
14227 (handle_signal): Use match function instead of strstr.
14228 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14229 (ret): Remove variable.
14231 (FAIL): Remove macro.
14232 (NO_INLINE): Likewise.
14233 (handle_signal): Use match function instead of strstr.
14235 2013-01-23 Roland McGrath <roland@hack.frob.com>
14237 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14239 2013-01-23 David S. Miller <davem@davemloft.net>
14241 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14242 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14243 argument of CAS if possible.
14244 * sysdeps/sparc/sparc64/bits/atomic.h
14245 (__arch_compare_and_exchange_val_32_acq): Likewise.
14246 (__arch_compare_and_exchange_val_64_acq): Likewise.
14248 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14250 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14251 * sysdeps/posix/ulimit.c: ... this.
14252 Include <limits.h>.
14253 * sysdeps/unix/bsd/ulimit.c: Remove file.
14255 2013-01-23 Adam Conrad <adconrad@0c3.net>
14257 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14258 (LDFLAGS-tst-array5): Likewise.
14260 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14263 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14264 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14265 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14266 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14268 2013-01-21 David S. Miller <davem@davemloft.net>
14270 * sysdeps/sparc/backtrace.c: New file.
14271 * sysdeps/sparc/sparc32/backtrace.h: New file.
14272 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14273 * sysdeps/sparc/sparc64/backtrace.h: New file.
14274 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14275 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14278 2013-01-21 Andreas Schwab <schwab@suse.de>
14281 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14284 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14290 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14291 Mark Mitchell <mark@codesourcery.com>
14292 Tom de Vries <tom@codesourcery.com>
14293 Paul Pluzhnikov <ppluzhnikov@google.com>
14295 * debug/tst-backtrace2.c: New file.
14296 * debug/tst-backtrace3.c: Likewise.
14297 * debug/tst-backtrace4.c: Likewise.
14298 * debug/tst-backtrace5.c: Likewise.
14299 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14300 (CFLAGS-tst-backtrace3.c): Likewise.
14301 (CFLAGS-tst-backtrace4.c): Likewise.
14302 (CFLAGS-tst-backtrace5.c): Likewise.
14303 (LDFLAGS-tst-backtrace2): Likewise.
14304 (LDFLAGS-tst-backtrace3): Likewise.
14305 (LDFLAGS-tst-backtrace4): Likewise.
14306 (LDFLAGS-tst-backtrace5): Likewise.
14307 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14308 tst-backtrace4 and tst-backtrace5.
14310 2013-01-18 Anton Blanchard <anton@samba.org>
14311 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14313 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14314 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14315 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14316 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14318 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14319 "+r" and remove output regs list as redundant. Add explicit inline
14320 asm to specify register of return val to work around compiler codegen
14321 bug. Remove (int) cast on return value. Add return type parameter to
14322 use in macro so that this macro does not truncate return value for
14324 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14325 pass to INTERNAL_VSYSCALL_NCS.
14326 (INLINE_VSYSCALL): Add 'long int' as return type to
14327 INTERNAL_VSYSCALL_NCS macro invocation.
14328 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14329 INTERNAL_VSYSCALL_NCS macro invocation.
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14332 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14335 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14336 Fix application of SIMD FP exception mask.
14338 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14339 mp_no from a power of two.
14340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14341 __mpexp_twomm1. Use __pow_mp.
14343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14346 2013-01-17 David S. Miller <davem@davemloft.net>
14348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14350 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14353 * include/complex.h: Condition contents on [!_COMPLEX_H].
14354 (__kernel_casinhf): New prototype.
14355 (__kernel_casinh): Likewise.
14356 (__kernel_casinhl): Likewise.
14357 * math/Makefile (libm_calls): Add k_casinh.
14358 * math/k_casinh.c: New file.
14359 * math/k_casinhf.c: Likewise.
14360 * math/k_casinhl.c: Likewise.
14361 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14362 finite nonzero arguments.
14363 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14364 finite nonzero arguments.
14365 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14366 finite nonzero arguments.
14367 * math/s_casinh.c: Do not include <float.h>.
14368 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14369 * math/s_casinhf.c: Do not include <float.h>.
14370 (__casinhf): Move code for finite nonzero arguments to
14372 * math/s_casinhl.c: Do not include <float.h>.
14373 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14375 (__casinhl): Move code for finite nonzero arguments to
14377 * math/libm-test.inc (cacos_test): Add more tests.
14378 * sysdeps/i386/fpu/libm-test-ulps: Update.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14383 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14384 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14385 [!HAVE_MREMAP]: Remove [defined linux] case.
14386 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14388 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14390 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14392 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14394 * elf/elf.h (R_386_SIZE32): New relocation.
14395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14397 (elf_machine_rela): Likewise.
14398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14399 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14401 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14403 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14404 (FP_FAST_FMA): Do not define.
14405 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14406 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14407 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14408 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14409 !_SOFT_FLOAT]: Likewise.
14410 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14411 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14413 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14414 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14415 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14416 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14417 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14418 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14421 2013-01-16 Andreas Schwab <schwab@suse.de>
14424 * include/stdlib.h (__mktemp): Add declaration.
14425 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14426 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14428 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14430 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14432 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14433 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14434 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14436 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14437 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14441 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14442 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14443 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14445 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14446 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14448 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14450 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14452 2013-01-15 David S. Miller <davem@davemloft.net>
14454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14455 trunc{,f} to libm-sysdep_routes.
14456 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14466 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14467 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14468 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14469 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14470 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14471 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14474 nearbyint{,f} to libm-sysdep_routes.
14475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14486 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14488 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14489 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14491 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14492 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14493 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14495 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14496 libc_feholdexcept and libc_fesetenv.
14498 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14500 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14502 2013-01-14 David S. Miller <davem@davemloft.net>
14504 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14505 (SPARC_ASM_VIS2_IFUNC): Likewise.
14506 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14508 use of 'siam' instruction.
14509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14542 routines to libm-sysdep_routines.
14543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14546 fdim/fdimf to libm-sysdep_routines.
14547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14555 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14556 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14560 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14562 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14563 to optimize copies.
14565 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14570 local variable MPTWO.
14571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14574 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14576 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14579 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14581 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14583 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14585 * manual/pattern.texi (glob_t): Document gl_flags.
14586 (glob64_t): Likewise.
14588 2013-01-11 David S. Miller <davem@davemloft.net>
14590 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14591 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14592 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14593 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14594 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14595 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14597 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14598 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14599 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14600 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14601 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14602 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14604 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14605 sparc V9 rather than using V8 code.
14606 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14607 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14609 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14611 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14614 2013-01-11 Roland McGrath <roland@hack.frob.com>
14616 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14617 not in the main loop.
14618 * configure: Regenerated.
14620 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14622 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14623 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14625 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14626 [!__GLIBC_HAVE_LONG_LONG] case.
14627 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14628 condition to just #else.
14629 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14630 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14631 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14632 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14634 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14635 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14636 #elif condition to just #else.
14637 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14638 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14639 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14640 #elif condition to just #else.
14642 2013-01-11 Steve Ellcey <sellcey@mips.com>
14644 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14645 (EF_MIPS_ARCH_64): Fix value.
14646 (EF_MIPS_ARCH_32R2): New.
14647 (EF_MIPS_ARCH_64R2): New.
14649 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14651 * Makeconfig (+link-pie-before-libc): New.
14652 (+link-pie-after-libc): Likewise.
14653 (+link-pie-tests): Likewise.
14654 (+link-pie): Rewritten.
14655 (link-before-libc): Remove $(config-LDFLAGS).
14656 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14657 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14658 (config-LDFLAGS): Renamed to ...
14659 (rtld-LDFLAGS): This.
14660 (rtld-tests-LDFLAGS): New macro.
14661 (link-libc-rpath-link): Likewise.
14662 (link-libc-tests-rpath-link): Likewise.
14663 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14664 (link-libc): Prepand $(link-libc-rpath-link).
14665 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14666 (test-program-prefix): New macro.
14667 (test-via-rtld-prefix): Likewise.
14668 (test-program-cmd): Likewise.
14669 (host-test-program-cmd): Likewise.
14670 * Makefile ($(common-objpfx)testrun.sh): Replace
14671 $(run-program-prefix) with $(test-program-prefix).
14672 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14674 ($(common-objpfx)shlib.lds): Likewise.
14675 (build-module-helper): Likewise.
14676 ($(common-objpfx)format.lds): Likewise.
14677 * Rules (binaries-pie-tests): New.
14678 (binaries-pie-notests): Likewise.
14679 (binaries-pie): Rewritten.
14680 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14681 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14682 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14683 (make-test-out): Replace $(host-built-program-cmd) with
14684 $(host-test-program-cmd).
14685 * config.make.in (build-hardcoded-path-in-tests): New variable.
14686 * configure.in (--enable-hardcoded-path-in-tests): New configure
14688 (hardcoded_path_in_tests): New AC_SUBST.
14689 * configure: Regenerated.
14690 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14691 $(built-program-cmd) with $(test-program-cmd).
14692 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14693 (test_program_cmd): This.
14694 * elf/Makefile ($(objpfx)order.out): Run test with
14695 $(test-program-prefix).
14696 ($(objpfx)order2.out): Likewise.
14697 ($(objpfx)tst-initorder.out): Likewise.
14698 ($(objpfx)tst-initorder2.out): Likewise.
14699 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14700 $(test-program-cmd).
14701 ($(objpfx)tst-array1-static.out): Likewise.
14702 ($(objpfx)tst-array2.out): Likewise.
14703 ($(objpfx)tst-array3.out): Likewise.
14704 ($(objpfx)tst-array4.out): Likewise.
14705 ($(objpfx)tst-array5.out): Likewise.
14706 ($(objpfx)tst-array5-static.out): Likewise.
14707 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14708 $(test-program-cmd).
14709 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14710 $(run-program-prefix) with $(test-program-prefix).
14711 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14712 (test_program_prefix): This.
14713 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14714 $(run-program-prefix) with $(test-program-prefix).
14715 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14716 (test_program_prefix): This.
14717 * iconvdata/tst-tables.sh: Likewise.
14718 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14719 $(run-program-prefix) with $(test-program-prefix).
14720 ($(objpfx)tst-translit.out): Likewise.
14721 ($(objpfx)tst-gettext2.out): Likewise.
14722 ($(objpfx)tst-gettext4.out): Likewise.
14723 ($(objpfx)tst-gettext6.out): Likewise.
14724 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14725 (test_program_prefix): This.
14726 * intl/tst-gettext2.sh: Likewise.
14727 * intl/tst-gettext4.sh Likewise.
14728 * intl/tst-gettext6.sh: Likewise.
14729 * intl/tst-translit.sh: Likewise.
14730 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14731 with $(test-program-cmd).
14732 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14733 $(run-program-prefix) with $(test-program-prefix).
14734 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14735 (test_program_prefix): This.
14736 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14737 $(run-program-prefix) with $(test-program-prefix).
14738 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14739 (test_program_prefix): This.
14740 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14741 * posix/Makefile ($(objpfx)globtest.out): Replace
14742 $(run-via-rtld-prefix) and $(test-wrapper) with
14743 $(test-program-prefix) and $(test-via-rtld-prefix).
14744 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14745 $(test-program-prefix).
14746 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14747 $(host-test-program-cmd).
14748 (tst-spawn-ARGS): Likewise.
14749 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14750 $(test-program-prefix).
14751 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14752 (test_via_rtld_prefix): This.
14753 (test_wrapper): Renamed to ...
14754 (test_program_prefix): This.
14755 (run_program_prefix): Replaced by test_program_prefix.
14756 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14757 (test_program_prefix): This.
14758 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14759 with $(host-test-program-cmd).
14760 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14761 $(run-program-prefix) with $(test-program-prefix).
14762 ($(objpfx)tst-printf.out): Likewise.
14763 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14764 $(test-program-cmd).
14765 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14766 (test_program_prefix): This.
14767 * stdio-common/tst-unbputc.sh: Likewise.
14768 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14769 $(run-program-prefix) with $(test-program-prefix).
14770 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14771 (test_program_prefix): This.
14772 * string/Makefile ($(objpfx)tst-svc.out): Replace
14773 $(built-program-cmd) with $(test-program-cmd).
14775 2013-01-11 Andreas Jaeger <aj@suse.de>
14778 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14779 value. Sync with Linux 3.7.
14781 2013-01-10 David S. Miller <davem@davemloft.net>
14783 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14787 2013-01-10 Roland McGrath <roland@hack.frob.com>
14789 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14791 * configure: Regenerated.
14793 2013-01-10 David S. Miller <davem@davemloft.net>
14795 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14796 sparc V9 rather than using V8 code.
14797 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14798 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14800 2013-01-10 Roland McGrath <roland@hack.frob.com>
14802 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14803 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14804 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14805 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14806 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14807 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14808 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14809 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14810 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14811 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14812 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14813 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14814 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14815 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14816 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14817 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14818 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14819 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14820 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14821 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14822 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14823 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14824 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14825 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14826 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14827 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14828 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14830 2013-01-10 David S. Miller <davem@davemloft.net>
14832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14834 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14836 * posix/Makefile (tests-static): New variable.
14837 (tests): Add $(tests-static).
14838 (tst-exec-static-ARGS): New variable.
14839 (tst-spawn-static-ARGS): Likewise.
14840 * posix/tst-exec-static.c: New file.
14841 * posix/tst-spawn-static.c: Likewise.
14842 * posix/tst-exec.c: Support run directly.
14843 * posix/tst-spawn.c: Likewise.
14845 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14847 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14849 * math/bits/mathcalls.h (llrint): Likewise.
14850 (llround): Likewise.
14851 * stdlib/stdlib.h (struct drand48_data): Likewise.
14852 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14853 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14854 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14856 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14858 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14859 (elf_greg_t): Likewise.
14860 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14861 (__jmp_buf): Likewise.
14862 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14864 (llrint): Likewise, for all definitions.
14865 (llrintl): Likewise.
14867 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14868 Remove [__GNUC__] condition.
14869 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14870 condition to just [__USE_ISOC99].
14871 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14873 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14876 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14877 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14879 (_POSIX_V6_ILP32_OFF32): Likewise.
14880 (_XBS5_ILP32_OFF32): Likewise.
14881 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14882 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14884 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14886 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14889 doubles __mpexp_twomm1. Adjust usage.
14890 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14893 2013-01-10 Andreas Schwab <schwab@suse.de>
14896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14897 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14899 2013-01-09 David S. Miller <davem@davemloft.net>
14902 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14903 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14904 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14905 TCP_FASTOPEN): Define.
14906 (tcp_repair_opt): New structure.
14907 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14909 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14910 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14911 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14912 (tcp_cookie_transactions): New structure.
14914 2013-01-09 Anton Blanchard <anton@samba.org>
14916 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14917 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14919 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14921 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14923 * include/features.h (__USE_ANSI): Remove.
14925 2013-01-09 Roland McGrath <roland@hack.frob.com>
14927 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14929 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14931 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14933 * sysdeps/s390/fpu/libm-test-ulps: Update.
14935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14937 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14941 (denorm): Likewise.
14942 (__mp_dbl): Likewise.
14943 (__dbl_mp): Likewise.
14944 (add_magnitudes): Likewise.
14945 (sub_magnitudes): Likewise.
14951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14955 (denorm): Likewise.
14956 (__mp_dbl): Likewise.
14957 (__dbl_mp): Likewise.
14958 (add_magnitudes): Likewise.
14959 (sub_magnitudes): Likewise.
14965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14969 (denorm): Likewise.
14970 (__mp_dbl): Likewise.
14971 (__dbl_mp): Likewise.
14972 (add_magnitudes): Likewise.
14973 (sub_magnitudes): Likewise.
14980 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14982 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14983 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14984 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14985 2 && __USE_EXTERN_INLINES]: Likewise.
14987 2013-01-08 Andreas Jaeger <aj@suse.de>
14990 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14992 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14993 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14995 2013-01-07 Anton Blanchard <anton@samba.org>
14997 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14998 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14999 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15000 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15001 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15002 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15003 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15004 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15006 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15007 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15008 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15010 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15011 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15012 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15013 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15014 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15015 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15016 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15017 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15018 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15020 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15021 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15022 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15023 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15024 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15026 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15027 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15029 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15031 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15032 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15035 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15037 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15039 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15041 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15043 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15044 (__MALLOC_PMT): Likewise.
15045 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15046 [__GNUC__], only on [_LIBC].
15047 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15048 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15049 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15050 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15051 forward declaration.
15052 (realloc_hook_ini): Likewise.
15053 (memalign_hook_ini): Likewise.
15054 (__libc_memalign): Do not use __MALLOC_PMT in variable
15056 (__libc_valloc): Likewise.
15057 (__libc_pvalloc): Likewise.
15058 (__libc_calloc): Likewise.
15059 (__posix_memalign): Likewise.
15062 * math/s_casinh.c: Include <float.h>.
15063 (__casinh): Do not do computation with squaring and square root
15064 for large arguments.
15065 * math/s_casinhf.c: Include <float.h>.
15066 (__casinhf): Do not do computation with squaring and square root
15067 for large arguments.
15068 * math/s_casinhl.c: Include <float.h>.
15069 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15070 (__casinhl): Do not do computation with squaring and square root
15071 for large arguments.
15072 * math/libm-test.inc (casin_test): Add more tests.
15073 (casinh_test): Likewise.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15077 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15079 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15080 (__x86_64_raw_data_cache_size): Likewise.
15081 (__x86_64_data_cache_size_half): Likewise.
15082 (__x86_64_raw_data_cache_size_half): Likewise.
15083 (__x86_64_shared_cache_size): Likewise.
15084 (__x86_64_raw_shared_cache_size): Likewise.
15085 (__x86_64_shared_cache_size_half): Likewise.
15086 (__x86_64_raw_shared_cache_size_half): Likewise.
15087 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15089 (__x86_data_cache_size): This.
15090 (__x86_64_raw_data_cache_size): Renamed to ...
15091 (__x86_raw_data_cache_size): This.
15092 (__x86_64_data_cache_size_half): Renamed to ...
15093 (__x86_data_cache_size_half): This.
15094 (__x86_64_raw_data_cache_size_half): Renamed to ...
15095 (__x86_raw_data_cache_size_half): This.
15096 (__x86_64_shared_cache_size): Renamed to ...
15097 (__x86_shared_cache_size): This.
15098 (__x86_64_raw_shared_cache_size): Renamed to ...
15099 (__x86_raw_shared_cache_size): This.
15100 (__x86_64_shared_cache_size_half): Renamed to ...
15101 (__x86_shared_cache_size_half): This.
15102 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15103 (__x86_raw_shared_cache_size_half): This.
15104 * sysdeps/x86_64/memcpy.S: Updated.
15105 * sysdeps/x86_64/memset.S: Likewise.
15106 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15110 2013-01-04 David S. Miller <davem@davemloft.net>
15112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15114 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15116 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15117 1 to avoid redefinition warning.
15118 (__USE_GNU): Don't define.
15119 (init_signaling_nan): Protoize.
15121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15123 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15125 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15127 (__cpymn): Likewise.
15128 (norm): Remove commented code.
15129 (denorm): Likewise.
15130 (__mp_dbl): Likewise.
15132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15133 (__cpymn): Likewise.
15134 (norm): Remove commented code.
15135 (denorm): Likewise.
15136 (__mp_dbl): Likewise.
15139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15140 mp_no value for 1.0 and 2.0.
15141 (norm): Use RADIXI instead of radixi.d.
15142 (denorm): Likewise.
15143 (__mul): Use 0.0 instead of zero.d.
15144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15145 mp_no value for 1.0 and 2.0.
15146 (norm): Use RADIXI instead of radixi.d.
15147 (denorm): Likewise.
15148 (__mul): Use 0.0 instead of zero.d.
15150 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15153 * math/s_casinh.c (__casinh): Reduce finite argument to first
15154 quadrant then set signs of results at the end.
15155 * math/s_casinhf.c (__casinhf): Likewise.
15156 * math/s_casinhl.c (__casinhl): Likewise.
15157 * math/libm-test.inc (casin_test): Add more tests.
15158 (casinh_test): Likewise.
15159 * sysdeps/i386/fpu/libm-test-ulps: Update.
15160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15162 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15164 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15166 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15168 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15170 (denorm): Likewise.
15171 (__mp_dbl): Likewise.
15174 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15175 and adjust the header comment.
15177 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15178 variable name from declaration.
15180 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15183 Initialize COMMON_CPUID_INDEX_7 element.
15184 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15185 (CPUID_RTM): Likewise.
15186 (HAS_RTM): Likewise.
15187 (COMMON_CPUID_INDEX_7): New enum.
15189 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15192 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15193 size is zero, record memory as freed.
15195 2013-01-03 Andreas Jaeger <aj@suse.de>
15197 * po/ia.po: Add new Interlingua translation.
15199 2012-01-03 Allan McRae <allan@archlinux.org>
15201 * locale/programs/localedef.c: Fix description of '--posix' flag.
15203 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15205 * NEWS: Update dates in second copyright notice.
15206 * README: Update copyright dates in example.
15207 * manual/libc.texinfo: Update copyright dates.
15208 * scripts/test-installation.pl: Update copyright date in --version
15211 * hurd/ctty-input.c: Fix copyright notice formatting.
15212 * hurd/ctty-output.c: Likewise.
15213 * hurd/dtable.c: Likewise.
15214 * hurd/hurd-raise.c: Likewise.
15215 * hurd/hurdprio.c: Likewise.
15216 * hurd/msgportdemux.c: Likewise.
15217 * misc/sys/file.h: Likewise.
15218 * misc/sys/ioctl.h: Likewise.
15219 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15220 * sysdeps/mach/hurd/chdir.c: Likewise.
15221 * sysdeps/mach/hurd/fchdir.c: Likewise.
15222 * sysdeps/mach/hurd/rename.c: Likewise.
15223 * sysdeps/mach/hurd/rmdir.c: Likewise.
15224 * sysdeps/mach/hurd/seekdir.c: Likewise.
15225 * sysdeps/mach/hurd/setsid.c: Likewise.
15226 * sysdeps/posix/wait3.c: Likewise.
15228 * All files with FSF copyright notices: Update copyright dates
15229 using scripts/update-copyrights.
15230 * intl/plural.c: Regenerated.
15231 * locale/programs/charmap-kw.h: Likewise.
15232 * locale/programs/locfile-kw.h: Likewise.
15234 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15236 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15240 calculation loop and add branch prediction.
15242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15243 check access beyond bounds of m1np.
15245 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15247 (__inv): Remove local variable MPTWO to use the global
15249 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15253 MP3HALFS static const.
15255 2013-01-01 David S. Miller <davem@davemloft.net>
15257 * po/ca.po: Update from translation team.
15259 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15261 * scripts/update-copyrights: New file.
15262 * Makeconfig: Reformat copyright notice.
15263 * ctype/ctype.h: Likewise.
15264 * debug/swprintf_chk.c: Likewise.
15265 * elf/dl-cache.c: Likewise.
15266 * elf/dl-debug.c: Likewise.
15267 * elf/dl-object.c: Likewise.
15268 * grp/initgroups.c: Likewise.
15269 * hurd/Makefile: Likewise.
15270 * hurd/hurd/signal.h: Likewise.
15271 * hurd/hurdfault.c: Likewise.
15272 * hurd/hurdioctl.c: Likewise.
15273 * hurd/hurdlookup.c: Likewise.
15274 * hurd/intr-msg.c: Likewise.
15275 * iconv/gconv_open.c: Likewise.
15276 * libio/swprintf.c: Likewise.
15277 * locale/lc-ctype.c: Likewise.
15278 * locale/nl_langinfo.c: Likewise.
15279 * mach/Machrules: Likewise.
15280 * mach/Makefile: Likewise.
15281 * malloc/obstack.h: Likewise.
15282 * manual/Makefile: Likewise.
15283 * manual/tsort.awk: Likewise.
15284 * misc/bits/stab.def: Likewise.
15285 * nis/nis_print_group_entry.c: Likewise.
15286 * nis/nis_table.c: Likewise.
15287 * nis/nss_compat/compat-pwd.c: Likewise.
15288 * nis/nss_compat/compat-spwd.c: Likewise.
15289 * po/Makefile: Likewise.
15290 * posix/fnmatch.c: Likewise.
15291 * posix/regex.h: Likewise.
15292 * resolv/Makefile: Likewise.
15293 * resolv/nss_dns/dns-network.c: Likewise.
15294 * resolv/res_hconf.c: Likewise.
15295 * scripts/gen-sorted.awk: Likewise.
15296 * soft-fp/soft-fp.h: Likewise.
15297 * stdio-common/printf.h: Likewise.
15298 * stdlib/monetary.h: Likewise.
15299 * stdlib/random.c: Likewise.
15300 * stdlib/random_r.c: Likewise.
15301 * sysdeps/generic/Makefile: Likewise.
15302 * sysdeps/gnu/Makefile: Likewise.
15303 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15305 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15310 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15313 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15314 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15323 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15324 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15325 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15331 * sysdeps/mach/hurd/errnos.awk: Likewise.
15332 * sysdeps/mach/hurd/fork.c: Likewise.
15333 * sysdeps/mach/hurd/getcwd.c: Likewise.
15334 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15335 * sysdeps/mach/hurd/mmap.c: Likewise.
15336 * sysdeps/mach/hurd/utimes.c: Likewise.
15337 * sysdeps/mach/hurd/xmknod.c: Likewise.
15338 * sysdeps/posix/profil.c: Likewise.
15339 * sysdeps/posix/readdir_r.c: Likewise.
15340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15341 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15342 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15343 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15345 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15347 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15349 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15350 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15351 * sysdeps/pthread/lio_listio.c: Likewise.
15352 * sysdeps/sparc/dl-procinfo.h: Likewise.
15353 * sysdeps/unix/i386/sysdep.S: Likewise.
15354 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15355 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15356 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15357 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15359 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15360 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15361 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15362 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15363 * sysdeps/wordsize-32/divdi3.c: Likewise.
15364 * time/sys/time.h: Likewise.
15365 * wcsmbs/Makefile: Likewise.
15367 2013-01-01 David S. Miller <davem@davemloft.net>
15369 * po/fr.po: Update from translation team.
15371 * catgets/gencat.c: Update copyright year.
15372 * csu/version.c: Likewise.
15373 * debug/catchsegv.sh: Likewise.
15374 * debug/pcprofiledump.c: Likewise.
15375 * debug/xtrace.sh: Likewise.
15376 * elf/ldconfig.c: Likewise.
15377 * elf/ldd.bash.in: Likewise.
15378 * elf/pldd.c: Likewise.
15379 * elf/sotruss.ksh: Likewise.
15380 * elf/sprof.c: Likewise.
15381 * iconv/iconv_prog.c: Likewise.
15382 * iconv/iconvconfig.c: Likewise.
15383 * locale/programs/locale.c: Likewise.
15384 * locale/programs/localedef.c: Likewise.
15385 * login/programs/pt_chown.c: Likewise.
15386 * malloc/memusage.sh: Likewise.
15387 * malloc/memusagestat.c: Likewise.
15388 * malloc/mtrace.pl: Likewise.
15389 * nscd/nscd.c: Likewise.
15390 * nss/getent.c: Likewise.
15391 * nss/makedb.c: Likewise.
15392 * posix/getconf.c: Likewise.
15394 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15396 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15399 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15401 * math/bits/mathcalls.h (modf): Use __nonnull.
15403 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15405 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15406 (split): Use macro CN instead of the bare value.
15407 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15410 instead of the bare value.
15411 (power1): Likewise.
15413 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15415 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15417 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15419 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15421 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15423 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15424 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15426 2012-12-28 Andreas Jaeger <aj@suse.de>
15428 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15429 values are from Linux 3.7.
15431 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15432 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15434 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15436 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15439 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15441 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15442 variables with preprocessor constants.
15443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15444 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15445 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15447 2012-12-27 Bruno Haible <bruno@clisp.org>
15450 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15453 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15456 and use variable directly.
15457 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15459 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15461 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15464 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15466 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15467 include directive. Remove local variable MPONE.
15468 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15469 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15472 2012-12-25 David S. Miller <davem@davemloft.net>
15474 * version.h (RELEASE): Set to "development".
15475 (VERSION): Set to "2.17.90".
15476 * NEWS: Add 2.18 section.
15478 2012-12-21 David S. Miller <davem@davemloft.net>
15480 * po/hr.po: Update from translation team.
15482 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15484 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15486 2012-12-19 Steve Ellcey <sellcey@mips.com>
15488 * NEWS: Mention new memcpy for MIPS.
15490 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15492 * manual/contrib.texi (Contributors): Spelling correction.
15494 2012-12-15 David S. Miller <davem@davemloft.net>
15496 * po/ru.po: Update from translation team.
15498 2012-12-13 David S. Miller <davem@davemloft.net>
15500 * NEWS: Mention IFUNC testsuite enhancements.
15502 * po/pl.po: Update from translation team.
15503 * po/bg.po: Likewise.
15505 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15506 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15508 2012-12-11 David S. Miller <davem@davemloft.net>
15510 * po/sv.po: Update from translation team.
15512 * po/vi.po: Update from translation team.
15514 * po/cs.po: Update from translation team.
15516 * po/de.po: Update from translation team.
15517 * po/eo.po: Likewise.
15518 * po/nl.po: Likewise.
15520 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15523 * manual/argp.texi (Argp Helper Functions): Move node to follow
15524 Argp Parsing State.
15527 * manual/conf.texi (Limits on File System Capacity): Mention if
15528 terminating null is included in the max size.
15530 2012-12-10 Andreas Jaeger <aj@suse.de>
15532 * po/cs.po: Update from translation team.
15534 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15536 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15537 void pointer and cast to uintptr_t.
15538 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15540 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15541 * sysdeps/s390/s390-64/memset.S: Likewise.
15543 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15546 * menual/message.texi (Message Translation): Fix typos.
15547 (Helper programs for gettext): Likewise.
15549 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15552 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15555 2012-12-07 David S. Miller <davem@davemloft.net>
15557 * po/libc.pot: Update.
15559 2012-12-07 Richard Henderson <rth@redhat.com>
15562 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15563 normal/normal case to before the switch.
15564 (_FP_DIV): Likewise.
15566 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15567 Mike Frysinger <vapier@gentoo.org>
15569 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15570 check for __NR_fadvise64_64.
15572 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15574 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15575 0, not just to plain "0" as a statement.
15576 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15579 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15581 * NEWS: Use sourceware.org in Bugzilla URL.
15583 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15586 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15588 * stdio-common/tst-put-error.c (do_test): Add newline to the
15589 padded test to ensure flush.
15591 2012-12-05 Jeff Law <law@redhat.com>
15593 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15595 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15597 * README: Don't refer to ports add-on as distributed separately.
15598 Mention AArch64 in list of systems supported in the ports add-on.
15600 * LICENSES: Add more non-FSF copyright and license notices.
15602 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15605 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15607 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15608 10000 as width of padded output.
15610 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15612 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15614 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15615 variable LX with __attribute__ ((unused)).
15616 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15618 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15620 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15621 with __attribute__ ((unused)).
15623 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15625 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15627 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15629 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15630 (CFLAGS-nldbl-acos.c): New variable.
15631 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15686 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15687 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15688 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15689 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15690 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15691 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15692 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15693 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15694 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15695 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15696 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15697 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15698 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15699 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15700 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15701 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15702 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15703 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15704 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15705 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15706 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15707 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15708 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15709 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15710 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15711 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15712 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15713 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15714 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15715 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15716 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15717 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15718 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15719 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15720 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15721 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15722 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15723 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15724 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15725 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15726 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15727 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15730 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15734 whole low double instead of just low 47 bits when splitting values
15737 2012-12-03 Allan McRae <allan@archlinux.org>
15739 * manual/stdio.texi (Predefined Printf Handlers): Remove
15740 @hsep and @vsep usage.
15742 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15744 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15745 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15747 2012-12-03 Jeff Law <law@redhat.com>
15749 * time/sys/time.h (settimeofday): Do not mark TV argument
15752 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15754 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15755 when currently writing and seek to current position when not.
15756 * libio/Makefile (tests): Remove bug-fclose1.
15757 * libio/bug-fclose1.c: Delete.
15759 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15761 * manual/arith.texi (feenableexcept): Fix typo.
15762 (fedisableexcept): Likewise.
15764 2012-11-30 Roland McGrath <roland@hack.frob.com>
15766 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15767 second, differently-typed declaration, rather than a cast.
15769 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15771 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15772 * include/rpc/svc.h: ... here.
15774 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15777 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15778 depending n and resplen2 to catch cases where answer
15781 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15783 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15784 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15786 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15788 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15790 2012-11-29 Roland McGrath <roland@hack.frob.com>
15792 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15794 2012-11-28 Jeff Law <law@redhat.com>
15797 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15798 dataset_temporary. Track alloca usage into alloca_used.
15799 If dataset is large allocate and release it via malloc/free.
15801 2012-06-04 Florian Weimer <fweimer@redhat.com>
15804 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15806 2012-11-28 David S. Miller <davem@davemloft.net>
15808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15813 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15814 of pi/2 rounded to nearest to 64 bits.
15815 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15816 nearest to 64 bits.
15817 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15820 2012-11-28 Jeff Law <law@redhat.com>
15821 Martin Osvald <mosvald@redhat.com>
15824 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15825 * sunrpc/svc.c: Include time.h.
15826 (__svc_accept_failed): New function.
15827 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15828 any reason other than EINTR, call __svc_accept_failed.
15829 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15830 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15832 2012-11-28 Andreas Schwab <schwab@suse.de>
15834 * scripts/abilist.awk: Also handle indirect functions in .opd
15837 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15840 * sysdeps/x86/fpu/powl_helper.c: New file.
15841 * sysdeps/x86/fpu/Makefile: Likewise.
15842 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15844 (__ieee754_powl): Use __powl_helper for finite arguments except
15845 integer exponents below 8.
15846 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15848 (__ieee754_powl): Use __powl_helper for finite arguments except
15849 integer exponents below 8.
15850 * math/libm-test.inc (pow_test): Add more tests and enable some
15851 previously disabled tests.
15852 * sysdeps/i386/fpu/libm-test-ulps: Update.
15853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15855 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15856 Carlos O'Donell <carlos_odonell@mentor.com>
15858 * nss/makedb.c (is_prime): Assert that input is odd and greater
15859 than 4. Note that fact in a comment too.
15860 (next_prime): Add 4 to input.
15862 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15865 * libio/Makefile (tests): Add test case tst-fwrite-error.
15866 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15867 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15868 * libio/tst-fwrite-error.c: New test case.
15870 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15872 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15873 before casting to void *.
15874 * include/libc-internal.h (__pointer_type): New macro.
15875 (__integer_if_pointer_type_sub): Likewise.
15876 (__integer_if_pointer_type): Likewise.
15877 (cast_to_integer): Likewise.
15878 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15879 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15880 before casting to atomic64_t.
15881 (atomic_exchange_acq): Likewise.
15882 (__arch_exchange_and_add_body): Likewise.
15883 (__arch_add_body): Likewise.
15884 (atomic_add_negative): Likewise.
15885 (atomic_add_zero): Likewise.
15887 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15889 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15890 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15891 (add_fdes): Likewise.
15892 (linear_search_fdes): Likewise.
15893 (binary_search_unencoded_fdes): Likewise.
15895 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15897 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15899 2012-11-24 Adam Conrad <adconrad@0c3.net>
15901 * configure.in: Autodetect C++ header directories.
15902 * configure: Regenerated.
15904 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15906 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15908 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15912 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15914 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15915 LDBL_MANT_DIG == 106]: Disable some tests.
15916 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15918 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15922 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15923 input for small inputs. Return +/- pi/2 for large inputs.
15924 * math/libm-test.inc (atan_test): Add more tests.
15926 * sysdeps/generic/unwind-dw2-fde-glibc.c
15927 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15928 __attribute__ ((unused)).
15931 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15932 x * y if x and y are nonzero and z is zero.
15935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15936 nonzero exponents with absolute value below 0x1p-117 to +/-
15940 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15941 up arguments below 2**-450, not just those below 2**-500.
15942 * math/libm-test.inc (hypot_test): Add another test.
15945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15946 Return a+b for ratio over 2**120, not 2**60.
15947 * math/libm-test.inc (hypot_test): Add another test.
15949 * math/libm-test.inc (clog_test): Use
15950 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15951 (clog10_test): Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15956 2012-11-22 Andreas Schwab <schwab@suse.de>
15958 * sysdeps/i386/fpu/libm-test-ulps: Update.
15960 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15962 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15963 printf output with newline.
15965 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15968 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15969 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15970 -z nodlopen, -z initfirst and -z execstack support.
15971 * configure: Regenerated.
15973 * elf/elf.h (DF_1_NODIRECT): New macro.
15974 (DF_1_IGNMULDEF): Likewise.
15975 (DF_1_NOKSYMS): Likewise.
15976 (DF_1_NOHDR): Likewise.
15977 (DF_1_EDITED): Likewise.
15978 (DF_1_NORELOC): Likewise.
15979 (DF_1_SYMINTPOSE): Likewise.
15980 (DF_1_GLOBAUDIT): Likewise.
15981 (DF_1_SINGLETON): Likewise.
15982 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15983 DT_1_SUPPORTED_MASK bits.
15984 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15986 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15988 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15990 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15992 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15995 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15996 (sendmmsg): Move declarations...
15997 * socket/sys/socket.h: ... here.
15998 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15999 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16001 * socket/recvmmsg.c: ... this new file.
16002 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16003 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16004 definition of __sendmmsg hidden.
16005 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16006 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16007 Move ENOSYS stub into and include it from...
16008 * socket/sendmmsg.c: ... this new file.
16009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16010 (sysdep_routines): Move recvmmsg and sendmmsg...
16011 * socket/Makefile (routines): ... here.
16012 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16013 (GLIBC_PRIVATE): Add __sendmmsg.
16014 * include/sys/socket.h (__sendmmsg): Add declarations.
16015 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16018 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16021 variable I1 with __attribute__ ((unused)).
16022 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16024 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16026 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16027 DUMMY variables with __attribute__ ((unused)).
16029 * bits/byteswap.h: Include <bits/types.h>.
16030 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16032 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16034 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16035 string_t. Do not manually set errno.
16036 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16037 length with __strnlen. Make sure to both set errno and return it on
16040 2012-11-19 David S. Miller <davem@davemloft.net>
16042 With help from Joseph Myers.
16043 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16044 very large arguments properly.
16045 * math/libm-test.inc (atan_test): New tests.
16046 (atan2_test): New tests.
16047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16050 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16053 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16056 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16057 [POSIX] (EADDRNOTAVAIL): Likewise.
16058 [POSIX] (EAFNOSUPPORT): Likewise.
16059 [POSIX] (EALREADY): Likewise.
16060 [POSIX] (ECONNABORTED): Likewise.
16061 [POSIX] (ECONNREFUSED): Likewise.
16062 [POSIX] (ECONNRESET): Likewise.
16063 [POSIX] (EDESTADDRREQ): Likewise.
16064 [POSIX] (EDQUOT): Likewise.
16065 [POSIX] (EHOSTUNREACH): Likewise.
16066 [POSIX] (EIDRM): Likewise.
16067 [POSIX] (EISCONN): Likewise.
16068 [POSIX] (ELOOP): Likewise.
16069 [POSIX] (EMULTIHOP): Likewise.
16070 [POSIX] (ENETDOWN): Likewise.
16071 [POSIX] (ENETUNREACH): Likewise.
16072 [POSIX] (ENOBUFS): Likewise.
16073 [POSIX] (ENODATA): Likewise.
16074 [POSIX] (ENOLINK): Likewise.
16075 [POSIX] (ENOMSG): Likewise.
16076 [POSIX] (ENOPROTOOPT): Likewise.
16077 [POSIX] (ENOSR): Likewise.
16078 [POSIX] (ENOSTR): Likewise.
16079 [POSIX] (ENOTCONN): Likewise.
16080 [POSIX] (ENOTSOCK): Likewise.
16081 [POSIX] (EOPNOTSUPP): Likewise.
16082 [POSIX] (EOVERFLOW): Likewise.
16083 [POSIX] (EPROTO): Likewise.
16084 [POSIX] (EPROTONOSUPPORT): Likewise.
16085 [POSIX] (EPROTOTYPE): Likewise.
16086 [POSIX] (ESTALE): Likewise.
16087 [POSIX] (ETIME): Likewise.
16088 [POSIX] (ETXTBSY): Likewise.
16089 [POSIX] (EWOULDBLOCK): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16091 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16092 [POSIX] (SEEK_CUR): Likewise.
16093 [POSIX] (SEEK_END): Likewise.
16094 [POSIX || UNIX98] (mode_t): Do not require.
16095 [POSIX] (off_t): Likewise.
16096 [POSIX] (pid_t): Likewise.
16097 [POSIX] (sys/stat.h): Do not allow header.
16098 [POSIX] (unistd.h): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16100 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16102 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16104 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16105 sigevent): Specify elements.
16106 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16108 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16109 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16111 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16112 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16113 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16114 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16115 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16116 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16117 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16118 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16119 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16120 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16121 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16122 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16123 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16124 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16126 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16128 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16130 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16132 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16133 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16134 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16135 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16136 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16137 Specify lower bound on value.
16138 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16139 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16140 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16141 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16142 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16143 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16144 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16145 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16147 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16149 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16150 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16151 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16152 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16153 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16154 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16155 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16156 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16157 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16158 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16159 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16160 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16161 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16162 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16163 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16164 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16166 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16168 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16169 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16170 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16171 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16172 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16173 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16175 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16176 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16177 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16178 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16179 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16180 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16181 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16183 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16184 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16185 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16186 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16187 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16188 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16189 specify as optional.
16190 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16191 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16192 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16193 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16194 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16195 [XPG3] (NL_LANGMAX): Likewise.
16196 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16197 [POSIX || XPG3] (NL_NMAX): Likewise.
16198 [POSIX || XPG3] (NL_SETMAX): Likewise.
16199 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16200 [XPG3] (NZERO): Likewise.
16201 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16202 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16203 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16204 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16205 (REG_ERANGE): Expect.
16206 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16208 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16209 Use (void) in prototype.
16210 [POSIX] (*_t): Allow.
16211 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16212 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16213 (WRDE_BADVAL): Expect.
16215 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16217 [XPG3 || XPG4] (O_RSYNC): Likewise.
16218 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16220 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16221 [XPG3 || XPG4] (sigqueue): Likewise.
16222 [XPG3 || XPG4] (sigtimedwait): Likewise.
16223 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16224 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16225 [XPG3 || XPG4] (vsnprintf): Likewise.
16226 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16228 [XPG3 || XPG4] (blksize_t): Likewise.
16229 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16231 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16232 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16233 [XPG3 || XPG4] (struct itimerspec): Likewise.
16234 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16235 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16236 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16237 [XPG3 || XPG4] (clockid_t): Likewise.
16238 [XPG3 || XPG4] (timer_t): Likewise.
16239 [XPG3 || XPG4] (clock_getres): Likewise.
16240 [XPG3 || XPG4] (clock_gettime): Likewise.
16241 [XPG3 || XPG4] (clock_settime): Likewise.
16242 [XPG3 || XPG4] (nanosleep): Likewise.
16243 [XPG3 || XPG4] (timer_create): Likewise.
16244 [XPG3 || XPG4] (timer_delete): Likewise.
16245 [XPG3 || XPG4] (timer_gettime): Likewise.
16246 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16247 [XPG3 || XPG4] (timer_settime): Likewise.
16248 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16249 [XPG3 || XPG4] (getlogin_r): Likewise.
16250 [XPG3 || XPG4] (pread): Likewise.
16251 [XPG3 || XPG4] (pthread_atfork): Likewise.
16252 [XPG3 || XPG4] (pwrite): Likewise.
16255 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16258 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16260 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16261 finalizing MALLSTREAM.
16263 * sysdeps/mach/hurd/syncfs.c: New file.
16265 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16268 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16269 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16270 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16271 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16272 (_nss_dns_gethostbyname4_r): Likewise.
16273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16274 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16276 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16279 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16281 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16283 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16284 * elf/cache.c (print_entry): Print ",AArch64" for
16287 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16288 * elf/cache.c (print_entry): Print ",hard-float" for
16291 2012-11-18 David S. Miller <davem@davemloft.net>
16293 With help from Joseph Myers.
16294 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16296 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16298 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16299 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16301 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16302 * math/libm-test.inc (y0_test): New tests.
16303 (y1_test): New tests.
16304 * sysdeps/i386/fpu/libm-test-ulps: Update.
16305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16308 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16310 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16312 * configure: Regenerated.
16314 2012-11-17 David S. Miller <davem@davemloft.net>
16317 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16318 nonzero exponents with absolute value below 0x1p-128 to +/-
16321 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16323 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16325 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16327 * posix/getconf-speclist.c: New file.
16328 * posix/posix-envs.def: Likewise.
16329 * posix/confstr.c (START_ENV_GROUP): New macro.
16330 (END_ENV_GROUP): Likewise.
16331 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16332 (KNOWN_PRESENT_ENV_STRING): Likewise.
16333 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16334 (UNKNOWN_ENVIRONMENT): Likewise.
16335 (confstr): Include posix-envs.def instead of handling
16336 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16337 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16338 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16339 (END_ENV_GROUP): Likewise.
16340 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16341 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16342 (UNKNOWN_ENVIRONMENT): Likewise.
16343 (__sysconf): Include posix-envs.def instead of handling associated
16344 cases directly here.
16345 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16346 preprocessing getconf-speclist.c rather than running getconf or
16347 generating empty file.
16349 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16351 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16353 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16356 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16358 2012-11-16 David S. Miller <davem@davemloft.net>
16360 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16361 smaller than LDBL_EPSILON/2.0L, just return xm1.
16363 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16365 * elf/tst-array1.c (init): Set constructor priority to 1000.
16366 (fini): Set destructor priority to 1000.
16367 * elf/tst-array2dep.c: Likewise.
16369 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16372 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16373 (_IO_new_file_xsputn): Also return EOF if none of the input
16374 data was written when overflow failed.
16375 * libio/iopadn.c (_IO_padn): Likewise.
16376 * libio/iowpadn.c (_IO_wpadn): Likewise.
16377 * stdio-common/tst-put-error.c: Add copyright notice.
16378 (do_test): Add case for printing padded string.
16379 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16380 _IO_padn returned error.
16381 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16382 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16385 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16387 * libio/libioP.h: Add comment note that the references to C++
16388 bits are now obsolete.
16390 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16392 * math/libm-test.inc (check_complex): Use asprintf.
16394 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16396 * debug/pcprofiledump.c (print_version): Update copyright year.
16397 * malloc/memusagestat.c (print_version): Likewise.
16399 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16402 * elf/Makefile (tests): Add tst-audit8.
16403 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16404 ($(objpfx)tst-audit8.out): New target.
16405 (tst-audit8-ENV): New variable.
16406 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16407 audit if l_reloc_result is NULL.
16408 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16409 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16410 * elf/tst-audit8.c: New file.
16412 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16414 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16415 * misc/Makefile (CFLAGS-select.c): Define.
16416 * posix/Makefile (CFLAGS-pause.c): Define.
16418 2012-11-13 David S. Miller <davem@davemloft.net>
16420 * crypt/Makefile: Move test targets after toplevel Rules
16421 inclusion. Grab any necessary sysdep routines when linking.
16422 * crypt/md5.c (md5_process_block): Remove define, we will always
16423 name it __md5_process_block.
16424 (md5_finish_ctx): Update md5_process_block call.
16425 (md5_stream): Likewise.
16426 (md5_process_bytes): Likewise.
16427 (md5_process_block): Rename to __md5_process_block and move to ...
16428 * crypt/md5-block.c: ... here.
16429 * crypt/sha256.c (sha256_process_block): Move to ...
16430 * crypt/sha256-block.c: ... here.
16431 * crypt/sha512.c (sha512_process_block): Move to ...
16432 * crypt/sha512-block.c: ... here.
16433 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16435 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16436 * sysdeps/sparc/sparc64/multiarch/Makefile
16437 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16439 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16440 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16442 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16443 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16444 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16445 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16446 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16447 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16448 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16449 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16450 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16452 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16453 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16455 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16457 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16459 * timezone/tzselect.ksh: Update from tzcode git revision
16460 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16461 * timezone/zdump.c: Likewise.
16462 * timezone/zic.c: Likewise.
16463 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16464 in TZVERSION setting, not $(PKGVERSION).
16465 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16466 REPORT_BUGS_TO settings.
16469 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16472 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16474 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16475 detection to immediately after _FP_ROUND().
16476 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16479 2012-11-11 David S. Miller <davem@davemloft.net>
16481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16483 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16484 __close rather than their public counterparts.
16486 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16488 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16490 [UNIX98] (sem_timedwait): Do not expect.
16491 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16492 [XPG4 || UNIX98] (sockatmark): Do not expect.
16493 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16494 (clock_getcpuclockid): Do not expect.
16495 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16496 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16498 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16499 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16500 [UNIX98] (vwscanf): Likewise.
16501 [UNIX98] (vswscanf): Likewise.
16503 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16505 * timezone/version.h: Remove file.
16506 * timezone/README: Do not refer to version.h.
16507 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16508 $(objpfx)version.h.
16509 ($(objpfx)zdump.o): Likewise.
16510 ($(objpfx)version.h): New target.
16512 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16514 * timezone/README: Don't mention modification to tzselect.ksh.
16515 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16516 work on unmodified tzselect.ksh. Substitute version numbers in
16519 * Makefile (format-me): Remove.
16520 (INSTALL): Adjust indentation. Use commands directly instead of
16521 using $(format-me).
16523 * aclocal.m4 (ACX_PKGVERSION): New macro.
16524 (ACX_BUGURL): Likewise.
16525 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16526 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16527 (REPORT_BUGS_TO): Likewise.
16528 * configure: Regenerated.
16529 * config.h.in (PKGVERSION): New macro.
16530 (REPORT_BUGS_TO): Likewise.
16531 * config.make.in (PKGVERSION): New variable.
16532 (PKGVERSION_TEXI): Likewise.
16533 (REPORT_BUGS_TO): Likewise.
16534 (REPORT_BUGS_TEXI): Likewise.
16535 * Makefile (format-me): Use -I$(common-objpfx)manual.
16536 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16537 ($(common-objpfx)manual/%): New target.
16538 (manual/%): Remove target.
16539 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16540 (print_version): Use PKGVERSION.
16541 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16542 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16543 and REPORT_BUGS_TO.
16544 ($(objpfx)xtrace): Likewise.
16545 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16546 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16547 (print_version): Use PKGVERSION.
16548 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16549 (do_version): Use PKGVERSION.
16550 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16552 (common-ldd-rewrite): Likewise.
16553 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16554 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16555 (print_version): Use PKGVERSION.
16556 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16557 * elf/pldd.c (argp_program_bug_address): Remove variable.
16558 (more_help): New function.
16559 (argp): Use more_help.
16560 (print_version): Use PKGVERSION.
16561 * elf/sln.c (main): Use PKGVERSION.
16562 (usage): Use REPORT_BUGS_TO.
16563 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16564 (top level): Use PKGVERSION.
16565 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16566 (print_version): Use PKGVERSION.
16567 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16568 (print_version): Use PKGVERSION.
16569 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16570 (print_version): Use PKGVERSION.
16571 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16572 (print_version): Use PKGVERSION.
16573 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16574 (print_version): Use PKGVERSION.
16575 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16576 (print_version): Use PKGVERSION.
16577 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16579 ($(objpfx)memusage): Likewise.
16580 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16581 (do_version): Use PKGVERSION.
16582 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16583 (print_version): Use PKGVERSION.
16584 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16585 ($PKGVERSION): New variable.
16586 ($REPORT_BUGS_TO): Likewise.
16587 (usage): Use $REPORT_BUGS_TO.
16588 (top level): Use $PKGVERSION.
16589 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16590 ($(objpfx)pkgvers.texi): New rule.
16591 ($(objpfx)stamp-pkgvers): Likewise.
16592 * manual/install.texi: Include pkgvers.texi.
16593 (--with-pkgversion): Document new configure option.
16594 (--with-bugurl): Likewise.
16595 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16596 than necessarily for this particular distribution. Use
16597 REPORT_BUGS_TO for where to report bugs.
16598 * INSTALL: Regenerated.
16599 * manual/libc.texinfo: Include pkgvers.texi.
16600 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16601 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16602 (print_version): Use PKGVERSION.
16603 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16604 (print_version): Use PKGVERSION.
16605 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16606 (print_version): Use PKGVERSION.
16607 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16608 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16610 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16611 (print_version): Use PKGVERSION.
16612 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16613 (print_version): Use PKGVERSION.
16614 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16617 * timezone/checktab.awk: Update from tzcode 2012i.
16618 * timezone/ialloc.c: Likewise.
16619 * timezone/private.h: Likewise.
16620 * timezone/scheck.c: Likewise.
16621 * timezone/tzfile.h: Likewise.
16622 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16623 (TZVERSION): Hardcode tzcode version number.
16624 * timezone/zdump.c: Update from tzcode 2012i.
16625 * timezone/zic.c: Likewise.
16626 * timezone/version.h: New file.
16627 * timezone/README: Describe version.h. Update upstream location.
16630 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16631 (mktemp): Enable declaration.
16632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16634 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16649 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16650 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16651 for copies of such integer values.
16652 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16653 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16655 2012-11-09 Andreas Jaeger <aj@suse.de>
16657 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16658 definitions and declarations that are provided by
16659 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16661 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16663 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16664 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16665 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16668 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16670 * elf/elf.h: Update comment before AArch64 relocations.
16672 2012-11-07 David S. Miller <davem@davemloft.net>
16674 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16675 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16676 (__start_context): Declare.
16677 (__makecontext_ret): Delete.
16678 (__makecontext): Hook up __start_context instead of
16680 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16681 (sysdep_routines): Add __start_context when in stdlib.
16683 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16685 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16686 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16687 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16689 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16690 (READELF): New variable. Use it instead of hardcoded "readelf".
16692 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16694 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16695 * sysdeps/x86/Makefile: Here.
16696 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16697 * sysdeps/x86/tst-xmmymm.sh: This.
16699 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16701 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16703 [UNIX98] (pthread_barrier_t): Do not expect.
16704 [UNIX98] (pthread_barrierattr_t): Likewise.
16705 [UNIX98] (pthread_spinlock_t): Likewise.
16706 [UNIX98] (pthread_barrier_destroy): Likewise.
16707 [UNIX98] (pthread_barrier_init): Likewise.
16708 [UNIX98] (pthread_barrier_wait): Likewise.
16709 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16710 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16711 [UNIX98] (pthread_barrierattr_init): Likewise.
16712 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16713 [UNIX98] (pthread_getcpuclockid): Likewise.
16714 [UNIX98] (pthread_mutex_timedlock): Likewise.
16715 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16716 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16717 [UNIX98] (pthread_sigmask): Likewise.
16718 [UNIX98] (pthread_spin_destroy): Likewise.
16719 [UNIX98] (pthread_spin_init): Likewise.
16720 [UNIX98] (pthread_spin_lock): Likewise.
16721 [UNIX98] (pthread_spin_trylock): Likewise.
16722 [UNIX98] (pthread_spin_unlock): Likewise.
16723 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16725 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16726 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16727 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16728 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16729 [XPG3 || XPG4] (pthread_key_t): Likewise.
16730 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16731 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16732 [XPG3 || XPG4] (pthread_once_t): Likewise.
16733 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16734 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16735 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16736 [XPG3 || XPG4] (pthread_t): Likewise.
16738 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16740 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16742 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16743 Change function return type to int.
16745 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16746 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16747 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16748 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16749 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16750 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16751 [!POSIX] (posix_madvise): Likewise.
16752 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16754 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16755 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16756 (mode_t): Likewise.
16757 (posix_mem_offset): Likewise.
16758 (posix_typed_mem_get_info): Likewise.
16759 (posix_typed_mem_open): Likewise.
16761 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16762 Change condition to [XOPEN2K8].
16764 * conform/conformtest.pl: Preprocess allow-header data with -x c
16765 instead of from stdin.
16766 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16767 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16768 [C99-based standards] (cerfc): Likewise.
16769 [C99-based standards] (cexp2): Likewise.
16770 [C99-based standards] (cexpm1): Likewise.
16771 [C99-based standards] (clog10): Likewise.
16772 [C99-based standards] (clog1p): Likewise.
16773 [C99-based standards] (clog2): Likewise.
16774 [C99-based standards] (clgamma): Likewise.
16775 [C99-based standards] (ctgamma): Likewise.
16776 [C99-based standards] (cerff): Likewise.
16777 [C99-based standards] (cerfcf): Likewise.
16778 [C99-based standards] (cexp2f): Likewise.
16779 [C99-based standards] (cexpm1f): Likewise.
16780 [C99-based standards] (clog10f): Likewise.
16781 [C99-based standards] (clog1pf): Likewise.
16782 [C99-based standards] (clog2f): Likewise.
16783 [C99-based standards] (clgammaf): Likewise.
16784 [C99-based standards] (ctgammaf): Likewise.
16785 [C99-based standards] (cerfl): Likewise.
16786 [C99-based standards] (cerfcl): Likewise.
16787 [C99-based standards] (cexp2l): Likewise.
16788 [C99-based standards] (cexpm1l): Likewise.
16789 [C99-based standards] (clog10l): Likewise.
16790 [C99-based standards] (clog1pl): Likewise.
16791 [C99-based standards] (clog2l): Likewise.
16792 [C99-based standards] (clgammal): Likewise.
16793 [C99-based standards] (ctgammal): Likewise.
16794 * conform/data/inttypes.h-data [C99-based standards]: Include
16795 stdint.h-data. Remove all expectations for stdint.h contents.
16796 [C99-based standards] (PRI*): Do not allow.
16797 [C99-based standards] (SCN*): Likewise.
16798 [C99-based standards] (*_t): Likewise.
16799 [C99-based-standards] (PRId8): Expect macro.
16800 [C99-based-standards] (PRIi8): Likewise.
16801 [C99-based-standards] (PRIo8): Likewise.
16802 [C99-based-standards] (PRIu8): Likewise.
16803 [C99-based-standards] (PRIx8): Likewise.
16804 [C99-based-standards] (PRIX8): Likewise.
16805 [C99-based-standards] (SCNd8): Likewise.
16806 [C99-based-standards] (SCNi8): Likewise.
16807 [C99-based-standards] (SCNo8): Likewise.
16808 [C99-based-standards] (SCNu8): Likewise.
16809 [C99-based-standards] (SCNx8): Likewise.
16810 [C99-based-standards] (PRIdLEAST8): Likewise.
16811 [C99-based-standards] (PRIiLEAST8): Likewise.
16812 [C99-based-standards] (PRIoLEAST8): Likewise.
16813 [C99-based-standards] (PRIuLEAST8): Likewise.
16814 [C99-based-standards] (PRIxLEAST8): Likewise.
16815 [C99-based-standards] (PRIXLEAST8): Likewise.
16816 [C99-based-standards] (SCNdLEAST8): Likewise.
16817 [C99-based-standards] (SCNiLEAST8): Likewise.
16818 [C99-based-standards] (SCNoLEAST8): Likewise.
16819 [C99-based-standards] (SCNuLEAST8): Likewise.
16820 [C99-based-standards] (SCNxLEAST8): Likewise.
16821 [C99-based-standards] (PRIdFAST8): Likewise.
16822 [C99-based-standards] (PRIiFAST8): Likewise.
16823 [C99-based-standards] (PRIoFAST8): Likewise.
16824 [C99-based-standards] (PRIuFAST8): Likewise.
16825 [C99-based-standards] (PRIxFAST8): Likewise.
16826 [C99-based-standards] (PRIXFAST8): Likewise.
16827 [C99-based-standards] (SCNdFAST8): Likewise.
16828 [C99-based-standards] (SCNiFAST8): Likewise.
16829 [C99-based-standards] (SCNoFAST8): Likewise.
16830 [C99-based-standards] (SCNuFAST8): Likewise.
16831 [C99-based-standards] (SCNxFAST8): Likewise.
16832 [C99-based-standards] (PRId16): Likewise.
16833 [C99-based-standards] (PRIi16): Likewise.
16834 [C99-based-standards] (PRIo16): Likewise.
16835 [C99-based-standards] (PRIu16): Likewise.
16836 [C99-based-standards] (PRIx16): Likewise.
16837 [C99-based-standards] (PRIX16): Likewise.
16838 [C99-based-standards] (SCNd16): Likewise.
16839 [C99-based-standards] (SCNi16): Likewise.
16840 [C99-based-standards] (SCNo16): Likewise.
16841 [C99-based-standards] (SCNu16): Likewise.
16842 [C99-based-standards] (SCNx16): Likewise.
16843 [C99-based-standards] (PRIdLEAST16): Likewise.
16844 [C99-based-standards] (PRIiLEAST16): Likewise.
16845 [C99-based-standards] (PRIoLEAST16): Likewise.
16846 [C99-based-standards] (PRIuLEAST16): Likewise.
16847 [C99-based-standards] (PRIxLEAST16): Likewise.
16848 [C99-based-standards] (PRIXLEAST16): Likewise.
16849 [C99-based-standards] (SCNdLEAST16): Likewise.
16850 [C99-based-standards] (SCNiLEAST16): Likewise.
16851 [C99-based-standards] (SCNoLEAST16): Likewise.
16852 [C99-based-standards] (SCNuLEAST16): Likewise.
16853 [C99-based-standards] (SCNxLEAST16): Likewise.
16854 [C99-based-standards] (PRIdFAST16): Likewise.
16855 [C99-based-standards] (PRIiFAST16): Likewise.
16856 [C99-based-standards] (PRIoFAST16): Likewise.
16857 [C99-based-standards] (PRIuFAST16): Likewise.
16858 [C99-based-standards] (PRIxFAST16): Likewise.
16859 [C99-based-standards] (PRIXFAST16): Likewise.
16860 [C99-based-standards] (SCNdFAST16): Likewise.
16861 [C99-based-standards] (SCNiFAST16): Likewise.
16862 [C99-based-standards] (SCNoFAST16): Likewise.
16863 [C99-based-standards] (SCNuFAST16): Likewise.
16864 [C99-based-standards] (SCNxFAST16): Likewise.
16865 [C99-based-standards] (PRId32): Likewise.
16866 [C99-based-standards] (PRIi32): Likewise.
16867 [C99-based-standards] (PRIo32): Likewise.
16868 [C99-based-standards] (PRIu32): Likewise.
16869 [C99-based-standards] (PRIx32): Likewise.
16870 [C99-based-standards] (PRIX32): Likewise.
16871 [C99-based-standards] (SCNd32): Likewise.
16872 [C99-based-standards] (SCNi32): Likewise.
16873 [C99-based-standards] (SCNo32): Likewise.
16874 [C99-based-standards] (SCNu32): Likewise.
16875 [C99-based-standards] (SCNx32): Likewise.
16876 [C99-based-standards] (PRIdLEAST32): Likewise.
16877 [C99-based-standards] (PRIiLEAST32): Likewise.
16878 [C99-based-standards] (PRIoLEAST32): Likewise.
16879 [C99-based-standards] (PRIuLEAST32): Likewise.
16880 [C99-based-standards] (PRIxLEAST32): Likewise.
16881 [C99-based-standards] (PRIXLEAST32): Likewise.
16882 [C99-based-standards] (SCNdLEAST32): Likewise.
16883 [C99-based-standards] (SCNiLEAST32): Likewise.
16884 [C99-based-standards] (SCNoLEAST32): Likewise.
16885 [C99-based-standards] (SCNuLEAST32): Likewise.
16886 [C99-based-standards] (SCNxLEAST32): Likewise.
16887 [C99-based-standards] (PRIdFAST32): Likewise.
16888 [C99-based-standards] (PRIiFAST32): Likewise.
16889 [C99-based-standards] (PRIoFAST32): Likewise.
16890 [C99-based-standards] (PRIuFAST32): Likewise.
16891 [C99-based-standards] (PRIxFAST32): Likewise.
16892 [C99-based-standards] (PRIXFAST32): Likewise.
16893 [C99-based-standards] (SCNdFAST32): Likewise.
16894 [C99-based-standards] (SCNiFAST32): Likewise.
16895 [C99-based-standards] (SCNoFAST32): Likewise.
16896 [C99-based-standards] (SCNuFAST32): Likewise.
16897 [C99-based-standards] (SCNxFAST32): Likewise.
16898 [C99-based-standards] (PRId64): Likewise.
16899 [C99-based-standards] (PRIi64): Likewise.
16900 [C99-based-standards] (PRIo64): Likewise.
16901 [C99-based-standards] (PRIu64): Likewise.
16902 [C99-based-standards] (PRIx64): Likewise.
16903 [C99-based-standards] (PRIX64): Likewise.
16904 [C99-based-standards] (SCNd64): Likewise.
16905 [C99-based-standards] (SCNi64): Likewise.
16906 [C99-based-standards] (SCNo64): Likewise.
16907 [C99-based-standards] (SCNu64): Likewise.
16908 [C99-based-standards] (SCNx64): Likewise.
16909 [C99-based-standards] (PRIdLEAST64): Likewise.
16910 [C99-based-standards] (PRIiLEAST64): Likewise.
16911 [C99-based-standards] (PRIoLEAST64): Likewise.
16912 [C99-based-standards] (PRIuLEAST64): Likewise.
16913 [C99-based-standards] (PRIxLEAST64): Likewise.
16914 [C99-based-standards] (PRIXLEAST64): Likewise.
16915 [C99-based-standards] (SCNdLEAST64): Likewise.
16916 [C99-based-standards] (SCNiLEAST64): Likewise.
16917 [C99-based-standards] (SCNoLEAST64): Likewise.
16918 [C99-based-standards] (SCNuLEAST64): Likewise.
16919 [C99-based-standards] (SCNxLEAST64): Likewise.
16920 [C99-based-standards] (PRIdFAST64): Likewise.
16921 [C99-based-standards] (PRIiFAST64): Likewise.
16922 [C99-based-standards] (PRIoFAST64): Likewise.
16923 [C99-based-standards] (PRIuFAST64): Likewise.
16924 [C99-based-standards] (PRIxFAST64): Likewise.
16925 [C99-based-standards] (PRIXFAST64): Likewise.
16926 [C99-based-standards] (SCNdFAST64): Likewise.
16927 [C99-based-standards] (SCNiFAST64): Likewise.
16928 [C99-based-standards] (SCNoFAST64): Likewise.
16929 [C99-based-standards] (SCNuFAST64): Likewise.
16930 [C99-based-standards] (SCNxFAST64): Likewise.
16931 [C99-based-standards] (PRIdMAX): Likewise.
16932 [C99-based-standards] (PRIiMAX): Likewise.
16933 [C99-based-standards] (PRIoMAX): Likewise.
16934 [C99-based-standards] (PRIuMAX): Likewise.
16935 [C99-based-standards] (PRIxMAX): Likewise.
16936 [C99-based-standards] (PRIXMAX): Likewise.
16937 [C99-based-standards] (SCNdMAX): Likewise.
16938 [C99-based-standards] (SCNiMAX): Likewise.
16939 [C99-based-standards] (SCNoMAX): Likewise.
16940 [C99-based-standards] (SCNuMAX): Likewise.
16941 [C99-based-standards] (SCNxMAX): Likewise.
16942 [C99-based-standards] (PRIdPTR): Likewise.
16943 [C99-based-standards] (PRIiPTR): Likewise.
16944 [C99-based-standards] (PRIoPTR): Likewise.
16945 [C99-based-standards] (PRIuPTR): Likewise.
16946 [C99-based-standards] (PRIxPTR): Likewise.
16947 [C99-based-standards] (PRIXPTR): Likewise.
16948 [C99-based-standards] (SCNdPTR): Likewise.
16949 [C99-based-standards] (SCNiPTR): Likewise.
16950 [C99-based-standards] (SCNoPTR): Likewise.
16951 [C99-based-standards] (SCNuPTR): Likewise.
16952 [C99-based-standards] (SCNxPTR): Likewise.
16953 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16955 * conform/data/stdint.h-data: Update comments to clarify
16957 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16959 [C99-based standards] (INT8_MAX): Likewise.
16960 [C99-based standards] (INT16_MIN): Likewise.
16961 [C99-based standards] (INT16_MAX): Likewise.
16962 [C99-based standards] (INT32_MIN): Likewise.
16963 [C99-based standards] (INT32_MAX): Likewise.
16964 [C99-based standards] (INT64_MIN): Likewise.
16965 [C99-based standards] (INT64_MAX): Likewise.
16966 [C99-based standards] (UINT8_MAX): Likewise.
16967 [C99-based standards] (UINT16_MAX): Likewise.
16968 [C99-based standards] (UINT32_MAX): Likewise.
16969 [C99-based standards] (UINT64_MAX): Likewise.
16970 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16971 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16972 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16973 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16974 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16975 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16976 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16977 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16978 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16979 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16980 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16981 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16982 [C99-based standards] (INT_FAST8_MIN): Likewise.
16983 [C99-based standards] (INT_FAST8_MAX): Likewise.
16984 [C99-based standards] (INT_FAST16_MIN): Likewise.
16985 [C99-based standards] (INT_FAST16_MAX): Likewise.
16986 [C99-based standards] (INT_FAST32_MIN): Likewise.
16987 [C99-based standards] (INT_FAST32_MAX): Likewise.
16988 [C99-based standards] (INT_FAST64_MIN): Likewise.
16989 [C99-based standards] (INT_FAST64_MAX): Likewise.
16990 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16991 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16992 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16993 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16994 [C99-based standards] (INTPTR_MIN): Likewise.
16995 [C99-based standards] (INTPTR_MAX): Likewise.
16996 [C99-based standards] (UINTPTR_MAX): Likewise.
16997 [C99-based standards] (INTMAX_MIN): Likewise.
16998 [C99-based standards] (INTMAX_MAX): Likewise.
16999 [C99-based standards] (UINTMAX_MAX): Likewise.
17000 [C99-based standards] (PTRDIFF_MIN): Likewise.
17001 [C99-based standards] (PTRDIFF_MAX): Likewise.
17002 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17003 [C99-based standards] (SIZE_MAX): Likewise.
17004 [C99-based standards] (WCHAR_MAX): Likewise.
17005 [C99-based standards] (WINT_MAX): Likewise.
17006 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17007 constraint on value.
17008 [C99-based standards] (WCHAR_MIN): Likewise.
17009 [C99-based standards] (WINT_MIN): Likewise.
17010 [C99-based standards] (*_t): Allow.
17011 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17012 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17013 Include math.h-data and complex.h-data. Remove all expectations
17014 of math.h and complex.h contents.
17015 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17017 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17018 (struct tm): Expect tag.
17019 [C99-based-standards] (wcstof): Expect function.
17020 [C99-based-standards] (wcstold): Likewise.
17021 [C99-based-standards] (wcstoll): Likewise.
17022 [C99-based-standards] (wcstoull): Likewise.
17023 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17024 macro-int-constant. Specify type.
17025 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17026 constraint on value.
17027 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17029 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17031 [ISO C standards]: Do not allow headers.
17032 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17033 wcs[abcdefghijklmnopqrstuvwxyz]*.
17034 [ISO C standards] (*_t): Do not allow.
17035 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17037 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17038 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17040 [ISO C standards]: Do not allow headers.
17041 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17042 is[abcdefghijklmnopqrstuvwxyz]*.
17043 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17044 to[abcdefghijklmnopqrstuvwxyz]*.
17045 [ISO C standards] (*_t): Do not allow.
17046 * conform/data/stdalign.h-data: New file.
17047 * conform/data/stdbool.h-data: Likewise.
17048 * conform/data/stdnoreturn.h-data: Likewise.
17050 2012-11-07 Roland McGrath <roland@hack.frob.com>
17053 * manual/filesys.texi (Directory Entries): Typo fix.
17054 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17056 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17058 * elf/elf.h (EM_AARCH64): New macro.
17059 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17060 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17061 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17062 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17063 (R_AARCH64_TLSDESC): Likewise.
17064 (NT_ARM_TLS): Likewise.
17065 (NT_ARM_HW_BREAK): Likewise.
17066 (NT_ARM_HW_WATCH): Likewise.
17068 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17071 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17072 (__ieee754_powl): Saturate nonzero exponents with absolute value
17073 below 0x1p-79 to +/- 0x1p-79.
17074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17075 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17076 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17077 nonzero exponents with absolute value below 0x1p-32 to +/-
17079 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17080 (__ieee754_powl): Saturate nonzero exponents with absolute value
17081 below 0x1p-79 to +/- 0x1p-79.
17082 * math/libm-test.inc (pow_test): Add more tests.
17084 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17086 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17087 _dl_s390_cap_flags with kernel. Increase string length.
17088 (_dl_s390_platforms): Add z196 and zEC12.
17090 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17092 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17093 Change XOPEN21K to XOPEN2K.
17095 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17097 * string/memmove.c: Use memcpy when possible.
17099 2012-11-06 Andreas Jaeger <aj@suse.de>
17101 * po/eo.po: Update from translation team.
17103 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17107 exponent and small x and y exponents, scale x or y up. Increase
17108 by 2 the exponent used in scaling up.
17109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17111 * math/libm-test.inc (fma_test): Add more tests.
17112 (fma_test_towardzero): Likewise.
17113 (fma_test_downward): Likewise.
17114 (fma_test_upward): Likewise.
17116 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17119 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17123 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17124 namespace for names of struct fields.
17125 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17127 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17128 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17130 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17133 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17135 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17137 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17141 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17144 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17148 definitely overflow as x * y not x * y + z.
17149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17151 * math/libm-test.inc (fma_test): Add more tests.
17152 (fma_test_towardzero): Likewise.
17153 (fma_test_downward): Likewise.
17154 (fma_test_upward): Likewise.
17156 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17160 * include/stub-tag.h: Remove file.
17161 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17163 * manual/maint.texi (Porting): Don't reference it.
17164 * Makerules ($(objpfx)stubs): Likewise.
17165 * dirent/closedir.c: Don't include <stub-tag.h>.
17166 * dirent/dirfd.c: Likewise.
17167 * dirent/fdopendir.c: Likewise.
17168 * dirent/getdents.c: Likewise.
17169 * dirent/getdents64.c: Likewise.
17170 * dirent/opendir.c: Likewise.
17171 * dirent/readdir.c: Likewise.
17172 * dirent/readdir64.c: Likewise.
17173 * dirent/readdir64_r.c: Likewise.
17174 * dirent/readdir_r.c: Likewise.
17175 * dirent/rewinddir.c: Likewise.
17176 * dirent/seekdir.c: Likewise.
17177 * dirent/telldir.c: Likewise.
17178 * gmon/profil.c: Likewise.
17179 * grp/setgroups.c: Likewise.
17180 * inet/if_index.c: Likewise.
17181 * io/access.c: Likewise.
17182 * io/chdir.c: Likewise.
17183 * io/chmod.c: Likewise.
17184 * io/chown.c: Likewise.
17185 * io/close.c: Likewise.
17186 * io/dup.c: Likewise.
17187 * io/dup2.c: Likewise.
17188 * io/dup3.c: Likewise.
17189 * io/euidaccess.c: Likewise.
17190 * io/faccessat.c: Likewise.
17191 * io/fchdir.c: Likewise.
17192 * io/fchmod.c: Likewise.
17193 * io/fchmodat.c: Likewise.
17194 * io/fchown.c: Likewise.
17195 * io/fchownat.c: Likewise.
17196 * io/fcntl.c: Likewise.
17197 * io/flock.c: Likewise.
17198 * io/fstatfs.c: Likewise.
17199 * io/fstatfs64.c: Likewise.
17200 * io/fstatvfs.c: Likewise.
17201 * io/fstatvfs64.c: Likewise.
17202 * io/futimens.c: Likewise.
17203 * io/fxstat.c: Likewise.
17204 * io/fxstat64.c: Likewise.
17205 * io/fxstatat.c: Likewise.
17206 * io/fxstatat64.c: Likewise.
17207 * io/getcwd.c: Likewise.
17208 * io/isatty.c: Likewise.
17209 * io/lchmod.c: Likewise.
17210 * io/lchown.c: Likewise.
17211 * io/link.c: Likewise.
17212 * io/linkat.c: Likewise.
17213 * io/lseek.c: Likewise.
17214 * io/lseek64.c: Likewise.
17215 * io/lxstat64.c: Likewise.
17216 * io/mkdir.c: Likewise.
17217 * io/mkdirat.c: Likewise.
17218 * io/mkfifo.c: Likewise.
17219 * io/mkfifoat.c: Likewise.
17220 * io/open.c: Likewise.
17221 * io/open64.c: Likewise.
17222 * io/openat.c: Likewise.
17223 * io/openat64.c: Likewise.
17224 * io/pipe.c: Likewise.
17225 * io/pipe2.c: Likewise.
17226 * io/poll.c: Likewise.
17227 * io/posix_fadvise.c: Likewise.
17228 * io/posix_fadvise64.c: Likewise.
17229 * io/posix_fallocate.c: Likewise.
17230 * io/posix_fallocate64.c: Likewise.
17231 * io/read.c: Likewise.
17232 * io/readlink.c: Likewise.
17233 * io/readlinkat.c: Likewise.
17234 * io/rmdir.c: Likewise.
17235 * io/sendfile.c: Likewise.
17236 * io/sendfile64.c: Likewise.
17237 * io/statfs.c: Likewise.
17238 * io/statfs64.c: Likewise.
17239 * io/statvfs.c: Likewise.
17240 * io/statvfs64.c: Likewise.
17241 * io/symlink.c: Likewise.
17242 * io/symlinkat.c: Likewise.
17243 * io/ttyname.c: Likewise.
17244 * io/ttyname_r.c: Likewise.
17245 * io/umask.c: Likewise.
17246 * io/unlink.c: Likewise.
17247 * io/unlinkat.c: Likewise.
17248 * io/utime.c: Likewise.
17249 * io/utimensat.c: Likewise.
17250 * io/write.c: Likewise.
17251 * io/xmknod.c: Likewise.
17252 * io/xmknodat.c: Likewise.
17253 * io/xstat.c: Likewise.
17254 * io/xstat64.c: Likewise.
17255 * login/getpt.c: Likewise.
17256 * login/grantpt.c: Likewise.
17257 * login/unlockpt.c: Likewise.
17258 * math/e_acoshl.c: Likewise.
17259 * math/e_acosl.c: Likewise.
17260 * math/e_asinl.c: Likewise.
17261 * math/e_atan2l.c: Likewise.
17262 * math/e_atanhl.c: Likewise.
17263 * math/e_coshl.c: Likewise.
17264 * math/e_expl.c: Likewise.
17265 * math/e_fmodl.c: Likewise.
17266 * math/e_gammal_r.c: Likewise.
17267 * math/e_hypotl.c: Likewise.
17268 * math/e_j0l.c: Likewise.
17269 * math/e_j1l.c: Likewise.
17270 * math/e_jnl.c: Likewise.
17271 * math/e_lgammal_r.c: Likewise.
17272 * math/e_log10l.c: Likewise.
17273 * math/e_log2l.c: Likewise.
17274 * math/e_logl.c: Likewise.
17275 * math/e_powl.c: Likewise.
17276 * math/e_rem_pio2l.c: Likewise.
17277 * math/e_sinhl.c: Likewise.
17278 * math/e_sqrtl.c: Likewise.
17279 * math/fclrexcpt.c: Likewise.
17280 * math/fedisblxcpt.c: Likewise.
17281 * math/feenablxcpt.c: Likewise.
17282 * math/fegetenv.c: Likewise.
17283 * math/fegetexcept.c: Likewise.
17284 * math/fegetround.c: Likewise.
17285 * math/feholdexcpt.c: Likewise.
17286 * math/fesetenv.c: Likewise.
17287 * math/fesetround.c: Likewise.
17288 * math/feupdateenv.c: Likewise.
17289 * math/fgetexcptflg.c: Likewise.
17290 * math/fraiseexcpt.c: Likewise.
17291 * math/fsetexcptflg.c: Likewise.
17292 * math/ftestexcept.c: Likewise.
17293 * math/k_cosl.c: Likewise.
17294 * math/k_rem_pio2l.c: Likewise.
17295 * math/k_sinl.c: Likewise.
17296 * math/k_tanl.c: Likewise.
17297 * math/s_asinhl.c: Likewise.
17298 * math/s_atanl.c: Likewise.
17299 * math/s_cbrtl.c: Likewise.
17300 * math/s_erfl.c: Likewise.
17301 * math/s_expm1l.c: Likewise.
17302 * math/s_log1pl.c: Likewise.
17303 * math/s_tanhl.c: Likewise.
17304 * misc/acct.c: Likewise.
17305 * misc/brk.c: Likewise.
17306 * misc/chflags.c: Likewise.
17307 * misc/chroot.c: Likewise.
17308 * misc/fchflags.c: Likewise.
17309 * misc/fgetxattr.c: Likewise.
17310 * misc/flistxattr.c: Likewise.
17311 * misc/fremovexattr.c: Likewise.
17312 * misc/fsetxattr.c: Likewise.
17313 * misc/fsync.c: Likewise.
17314 * misc/ftruncate.c: Likewise.
17315 * misc/futimes.c: Likewise.
17316 * misc/futimesat.c: Likewise.
17317 * misc/getdomain.c: Likewise.
17318 * misc/getdtsz.c: Likewise.
17319 * misc/gethostid.c: Likewise.
17320 * misc/gethostname.c: Likewise.
17321 * misc/getloadavg.c: Likewise.
17322 * misc/getpagesize.c: Likewise.
17323 * misc/getsysstats.c: Likewise.
17324 * misc/getxattr.c: Likewise.
17325 * misc/gtty.c: Likewise.
17326 * misc/ioctl.c: Likewise.
17327 * misc/lgetxattr.c: Likewise.
17328 * misc/listxattr.c: Likewise.
17329 * misc/llistxattr.c: Likewise.
17330 * misc/lremovexattr.c: Likewise.
17331 * misc/lsetxattr.c: Likewise.
17332 * misc/lutimes.c: Likewise.
17333 * misc/madvise.c: Likewise.
17334 * misc/mincore.c: Likewise.
17335 * misc/mlock.c: Likewise.
17336 * misc/mlockall.c: Likewise.
17337 * misc/mmap.c: Likewise.
17338 * misc/mprotect.c: Likewise.
17339 * misc/msync.c: Likewise.
17340 * misc/munlock.c: Likewise.
17341 * misc/munlockall.c: Likewise.
17342 * misc/munmap.c: Likewise.
17343 * misc/preadv.c: Likewise.
17344 * misc/preadv64.c: Likewise.
17345 * misc/ptrace.c: Likewise.
17346 * misc/pwritev.c: Likewise.
17347 * misc/pwritev64.c: Likewise.
17348 * misc/readv.c: Likewise.
17349 * misc/reboot.c: Likewise.
17350 * misc/remap_file_pages.c: Likewise.
17351 * misc/removexattr.c: Likewise.
17352 * misc/revoke.c: Likewise.
17353 * misc/select.c: Likewise.
17354 * misc/setdomain.c: Likewise.
17355 * misc/setegid.c: Likewise.
17356 * misc/seteuid.c: Likewise.
17357 * misc/sethostid.c: Likewise.
17358 * misc/sethostname.c: Likewise.
17359 * misc/setregid.c: Likewise.
17360 * misc/setreuid.c: Likewise.
17361 * misc/setxattr.c: Likewise.
17362 * misc/sstk.c: Likewise.
17363 * misc/stty.c: Likewise.
17364 * misc/swapoff.c: Likewise.
17365 * misc/swapon.c: Likewise.
17366 * misc/sync.c: Likewise.
17367 * misc/syncfs.c: Likewise.
17368 * misc/syscall.c: Likewise.
17369 * misc/truncate.c: Likewise.
17370 * misc/ualarm.c: Likewise.
17371 * misc/usleep.c: Likewise.
17372 * misc/ustat.c: Likewise.
17373 * misc/utimes.c: Likewise.
17374 * misc/vhangup.c: Likewise.
17375 * misc/writev.c: Likewise.
17376 * posix/_exit.c: Likewise.
17377 * posix/alarm.c: Likewise.
17378 * posix/execve.c: Likewise.
17379 * posix/fexecve.c: Likewise.
17380 * posix/fork.c: Likewise.
17381 * posix/fpathconf.c: Likewise.
17382 * posix/getaddrinfo.c: Likewise.
17383 * posix/getegid.c: Likewise.
17384 * posix/geteuid.c: Likewise.
17385 * posix/getgid.c: Likewise.
17386 * posix/getgroups.c: Likewise.
17387 * posix/getlogin.c: Likewise.
17388 * posix/getlogin_r.c: Likewise.
17389 * posix/getpgid.c: Likewise.
17390 * posix/getpid.c: Likewise.
17391 * posix/getppid.c: Likewise.
17392 * posix/getresgid.c: Likewise.
17393 * posix/getresuid.c: Likewise.
17394 * posix/getsid.c: Likewise.
17395 * posix/getuid.c: Likewise.
17396 * posix/glob64.c: Likewise.
17397 * posix/nanosleep.c: Likewise.
17398 * posix/pathconf.c: Likewise.
17399 * posix/pause.c: Likewise.
17400 * posix/posix_madvise.c: Likewise.
17401 * posix/pread.c: Likewise.
17402 * posix/pread64.c: Likewise.
17403 * posix/pwrite.c: Likewise.
17404 * posix/pwrite64.c: Likewise.
17405 * posix/sched_getaffinity.c: Likewise.
17406 * posix/sched_getp.c: Likewise.
17407 * posix/sched_gets.c: Likewise.
17408 * posix/sched_primax.c: Likewise.
17409 * posix/sched_primin.c: Likewise.
17410 * posix/sched_rr_gi.c: Likewise.
17411 * posix/sched_setaffinity.c: Likewise.
17412 * posix/sched_setp.c: Likewise.
17413 * posix/sched_sets.c: Likewise.
17414 * posix/sched_yield.c: Likewise.
17415 * posix/setgid.c: Likewise.
17416 * posix/setlogin.c: Likewise.
17417 * posix/setpgid.c: Likewise.
17418 * posix/setresgid.c: Likewise.
17419 * posix/setresuid.c: Likewise.
17420 * posix/setsid.c: Likewise.
17421 * posix/setuid.c: Likewise.
17422 * posix/sleep.c: Likewise.
17423 * posix/spawni.c: Likewise.
17424 * posix/sysconf.c: Likewise.
17425 * posix/times.c: Likewise.
17426 * posix/wait.c: Likewise.
17427 * posix/wait3.c: Likewise.
17428 * posix/wait4.c: Likewise.
17429 * posix/waitpid.c: Likewise.
17430 * resolv/gai_sigqueue.c: Likewise.
17431 * resource/getpriority.c: Likewise.
17432 * resource/getrlimit.c: Likewise.
17433 * resource/getrusage.c: Likewise.
17434 * resource/nice.c: Likewise.
17435 * resource/setpriority.c: Likewise.
17436 * resource/setrlimit.c: Likewise.
17437 * resource/ulimit.c: Likewise.
17438 * rt/aio_cancel.c: Likewise.
17439 * rt/aio_fsync.c: Likewise.
17440 * rt/aio_read.c: Likewise.
17441 * rt/aio_sigqueue.c: Likewise.
17442 * rt/aio_suspend.c: Likewise.
17443 * rt/aio_write.c: Likewise.
17444 * rt/clock_getres.c: Likewise.
17445 * rt/clock_gettime.c: Likewise.
17446 * rt/clock_nanosleep.c: Likewise.
17447 * rt/clock_settime.c: Likewise.
17448 * rt/lio_listio.c: Likewise.
17449 * rt/mq_close.c: Likewise.
17450 * rt/mq_getattr.c: Likewise.
17451 * rt/mq_notify.c: Likewise.
17452 * rt/mq_open.c: Likewise.
17453 * rt/mq_receive.c: Likewise.
17454 * rt/mq_send.c: Likewise.
17455 * rt/mq_setattr.c: Likewise.
17456 * rt/mq_timedreceive.c: Likewise.
17457 * rt/mq_timedsend.c: Likewise.
17458 * rt/mq_unlink.c: Likewise.
17459 * rt/shm_open.c: Likewise.
17460 * rt/shm_unlink.c: Likewise.
17461 * rt/timer_create.c: Likewise.
17462 * rt/timer_delete.c: Likewise.
17463 * rt/timer_getoverr.c: Likewise.
17464 * rt/timer_gettime.c: Likewise.
17465 * rt/timer_settime.c: Likewise.
17466 * setjmp/__longjmp.c: Likewise.
17467 * setjmp/setjmp.c: Likewise.
17468 * signal/kill.c: Likewise.
17469 * signal/killpg.c: Likewise.
17470 * signal/raise.c: Likewise.
17471 * signal/sigaction.c: Likewise.
17472 * signal/sigaltstack.c: Likewise.
17473 * signal/sigblock.c: Likewise.
17474 * signal/sigignore.c: Likewise.
17475 * signal/sigintr.c: Likewise.
17476 * signal/signal.c: Likewise.
17477 * signal/sigpause.c: Likewise.
17478 * signal/sigpending.c: Likewise.
17479 * signal/sigqueue.c: Likewise.
17480 * signal/sigreturn.c: Likewise.
17481 * signal/sigset.c: Likewise.
17482 * signal/sigsetmask.c: Likewise.
17483 * signal/sigstack.c: Likewise.
17484 * signal/sigsuspend.c: Likewise.
17485 * signal/sigtimedwait.c: Likewise.
17486 * signal/sigvec.c: Likewise.
17487 * signal/sigwait.c: Likewise.
17488 * signal/sigwaitinfo.c: Likewise.
17489 * signal/sysv_signal.c: Likewise.
17490 * socket/accept.c: Likewise.
17491 * socket/accept4.c: Likewise.
17492 * socket/bind.c: Likewise.
17493 * socket/connect.c: Likewise.
17494 * socket/getpeername.c: Likewise.
17495 * socket/getsockname.c: Likewise.
17496 * socket/getsockopt.c: Likewise.
17497 * socket/isfdtype.c: Likewise.
17498 * socket/listen.c: Likewise.
17499 * socket/recv.c: Likewise.
17500 * socket/recvfrom.c: Likewise.
17501 * socket/recvmsg.c: Likewise.
17502 * socket/send.c: Likewise.
17503 * socket/sendmsg.c: Likewise.
17504 * socket/sendto.c: Likewise.
17505 * socket/setsockopt.c: Likewise.
17506 * socket/shutdown.c: Likewise.
17507 * socket/sockatmark.c: Likewise.
17508 * socket/socket.c: Likewise.
17509 * socket/socketpair.c: Likewise.
17510 * stdio-common/ctermid.c: Likewise.
17511 * stdio-common/cuserid.c: Likewise.
17512 * stdio-common/remove.c: Likewise.
17513 * stdio-common/rename.c: Likewise.
17514 * stdio-common/renameat.c: Likewise.
17515 * stdio-common/tempname.c: Likewise.
17516 * stdlib/getcontext.c: Likewise.
17517 * stdlib/makecontext.c: Likewise.
17518 * stdlib/setcontext.c: Likewise.
17519 * stdlib/swapcontext.c: Likewise.
17520 * stdlib/system.c: Likewise.
17521 * streams/fattach.c: Likewise.
17522 * streams/fdetach.c: Likewise.
17523 * streams/getmsg.c: Likewise.
17524 * streams/getpmsg.c: Likewise.
17525 * streams/putmsg.c: Likewise.
17526 * streams/putpmsg.c: Likewise.
17527 * sysdeps/unix/bsd/getpt.c: Likewise.
17528 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17529 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17530 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17533 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17534 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17535 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17536 * sysvipc/msgctl.c: Likewise.
17537 * sysvipc/msgget.c: Likewise.
17538 * sysvipc/msgrcv.c: Likewise.
17539 * sysvipc/msgsnd.c: Likewise.
17540 * sysvipc/semctl.c: Likewise.
17541 * sysvipc/semget.c: Likewise.
17542 * sysvipc/semop.c: Likewise.
17543 * sysvipc/semtimedop.c: Likewise.
17544 * sysvipc/shmat.c: Likewise.
17545 * sysvipc/shmctl.c: Likewise.
17546 * sysvipc/shmdt.c: Likewise.
17547 * sysvipc/shmget.c: Likewise.
17548 * termios/tcdrain.c: Likewise.
17549 * termios/tcflow.c: Likewise.
17550 * termios/tcflush.c: Likewise.
17551 * termios/tcgetattr.c: Likewise.
17552 * termios/tcgetpgrp.c: Likewise.
17553 * termios/tcsendbrk.c: Likewise.
17554 * termios/tcsetattr.c: Likewise.
17555 * termios/tcsetpgrp.c: Likewise.
17556 * time/adjtime.c: Likewise.
17557 * time/clock.c: Likewise.
17558 * time/getitimer.c: Likewise.
17559 * time/gettimeofday.c: Likewise.
17560 * time/setitimer.c: Likewise.
17561 * time/settimeofday.c: Likewise.
17562 * time/stime.c: Likewise.
17563 * time/time.c: Likewise.
17565 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17567 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17570 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17572 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17574 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17578 FE_TONEAREST before applying Dekker multiplication and Knuth
17579 addition. Clear inexact exceptions and check for exact zero
17580 results afterwards.
17581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17584 * math/libm-test.inc (fma_test): Add more tests.
17585 (fma_test_towardzero): Likewise.
17586 (fma_test_downward): Likewise.
17587 (fma_test_upward): Likewise.
17588 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17590 (libc_fesetround): New macro.
17591 (libc_fesetroundf): Likewise.
17592 (libc_fesetroundl): Likewise.
17593 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17595 (libc_fesetround_387): Likewise.
17596 (libc_fesetroundf): New macro.
17597 (libc_fesetround): Likewise.
17598 (libc_fesetroundl): Likewise.
17599 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17601 (libc_fesetroundf): New macro.
17602 (libc_fesetround): Likewise.
17603 (libc_fesetroundl): Likewise.
17604 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17605 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17606 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17608 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17609 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17611 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17612 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17614 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17618 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17619 integer constant usable in #if and use that to give value to enum
17621 (FE_DIVBYZERO): Likewise.
17622 (FE_UNDERFLOW): Likewise.
17623 (FE_OVERFLOW): Likewise.
17624 (FE_INVALID): Likewise.
17625 (FE_INVALID_SNAN): Likewise.
17626 (FE_INVALID_ISI): Likewise.
17627 (FE_INVALID_IDI): Likewise.
17628 (FE_INVALID_ZDZ): Likewise.
17629 (FE_INVALID_IMZ): Likewise.
17630 (FE_INVALID_COMPARE): Likewise.
17631 (FE_INVALID_SOFTWARE): Likewise.
17632 (FE_INVALID_SQRT): Likewise.
17633 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17634 (FE_TONEAREST): Likewise.
17635 (FE_TOWARDZERO): Likewise.
17636 (FE_UPWARD): Likewise.
17637 (FE_DOWNWARD): Likewise.
17638 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17639 (FE_DIVBYZERO): Likewise.
17640 (FE_OVERFLOW): Likewise.
17641 (FE_UNDERFLOW): Likewise.
17642 (FE_INEXACT): Likewise.
17643 (FE_TONEAREST): Likewise.
17644 (FE_DOWNWARD): Likewise.
17645 (FE_UPWARD): Likewise.
17646 (FE_TOWARDZERO): Likewise.
17647 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17648 (FE_UNDERFLOW): Likewise.
17649 (FE_OVERFLOW): Likewise.
17650 (FE_DIVBYZERO): Likewise.
17651 (FE_INVALID): Likewise.
17652 (FE_TONEAREST): Likewise.
17653 (FE_TOWARDZERO): Likewise.
17654 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17655 (FE_OVERFLOW): Likewise.
17656 (FE_UNDERFLOW): Likewise.
17657 (FE_DIVBYZERO): Likewise.
17658 (FE_INEXACT): Likewise.
17659 (FE_TONEAREST): Likewise.
17660 (FE_TOWARDZERO): Likewise.
17661 (FE_UPWARD): Likewise.
17662 (FE_DOWNWARD): Likewise.
17663 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17664 (FE_DIVBYZERO): Likewise.
17665 (FE_OVERFLOW): Likewise.
17666 (FE_UNDERFLOW): Likewise.
17667 (FE_INEXACT): Likewise.
17668 (FE_TONEAREST): Likewise.
17669 (FE_DOWNWARD): Likewise.
17670 (FE_UPWARD): Likewise.
17671 (FE_TOWARDZERO): Likewise.
17673 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17675 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17677 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17679 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17680 commands. Quote $PWD.
17681 (blacklist_exports): Don't use remove_newlines. Replace "declare
17683 (remove_newlines): Remove.
17685 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17687 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17688 * stdlib/stdlib.h (atof): Moved to ...
17689 * include/bits/stdlib-float.h: Here. New file.
17690 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17691 * stdlib/bits/stdlib-float.h: New file.
17692 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17697 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17699 * conform/conformtest.pl (@headers): Add fenv.h.
17700 * conform/data/fenv.h-data: New file.
17701 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17702 include of <math/fenv.h>.
17704 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17705 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17706 && !UNIX98]. Enables tests for XOPEN2K8.
17707 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17708 POSIX2008]: Likewise.
17710 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17711 (struct rusage): Do not expect type or its members.
17714 * math/math.h (FP_NAN): Define macro to integer constant usable in
17715 #if and use that to give value to enum constant.
17716 (FP_INFINITE): Likewise.
17717 (FP_ZERO): Likewise.
17718 (FP_SUBNORMAL): Likewise.
17719 (FP_NORMAL): Likewise.
17721 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17723 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17724 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17727 2012-11-02 Roland McGrath <roland@hack.frob.com>
17729 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17730 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17731 autoconf-time if not.
17732 * configure.in: Remove AC_PREREQ.
17734 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17736 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17737 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17738 of the internal implementation.
17740 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17742 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17743 except include of <misc/sys/syslog.h>.
17745 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17748 function returns with a NULL context exit with zero.
17750 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17752 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17754 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17756 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17757 (run_program_cmd): This.
17758 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17759 (tst_langinfo): New variable. Use it.
17761 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17763 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17764 floating point opcodes.
17766 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17768 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17771 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17773 * sysdeps/mach/hurd/powerpc: Remove directory.
17774 * sysdeps/mach/powerpc: Likewise.
17776 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17778 * scripts/check-local-headers.sh: Ignore c++ headers.
17780 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17782 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17783 __libc_cleanup_region_start argument.
17785 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17790 x * y using scaling, not as x * y + z.
17791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17793 * math/libm-test.inc (fma_test): Add more tests.
17794 (fma_test_towardzero): Likewise.
17795 (fma_test_downward): Likewise.
17796 (fma_test_upward): Likewise.
17798 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17800 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17802 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17804 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17807 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17809 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17811 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17818 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17821 Fix the order of the list for glibc 2.17.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17825 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17829 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17832 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17833 for low part of x being zero before using __atanl (y).
17834 * math/libm-test.inc (atan2_test): Add another test.
17836 * manual/install.texi (Configuring and compiling): Document
17837 general use of test-wrapper and test-wrapper-env.
17838 * INSTALL: Regenerated.
17840 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17841 (__fma): Do not extract and scale down low bits on after-rounding
17842 systems when result rounded to normal precision would have normal
17844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17845 (__fmal): Do not extract and scale down low bits on after-rounding
17846 systems when result rounded to normal precision would have normal
17848 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17849 (__fmal): Do not extract and scale down low bits on after-rounding
17850 systems when result rounded to normal precision would have normal
17852 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17854 (fma_test): Add more tests.
17855 (fma_test_towardzero): Likewise.
17856 (fma_test_downward): Likewise.
17857 (fma_test_upward): Likewise.
17859 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17861 * sysdeps/i386/tininess.h: Renamed to ...
17862 * sysdeps/x86/tininess.h: This.
17863 * sysdeps/x86_64/tininess.h: Removed.
17865 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17867 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17868 input. Use $(build-program-cmd).
17869 ($(objpfx)tst-array1-static.out): Likewise.
17870 ($(objpfx)tst-array2.out): Likewise.
17871 ($(objpfx)tst-array3.out): Likewise.
17872 ($(objpfx)tst-array4.out): Likewise.
17873 ($(objpfx)tst-array5.out): Likewise.
17874 ($(objpfx)tst-array5-static.out): Likewise.
17876 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17878 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17881 * nss/nsswitch.h (nss_interface_function): Provide new
17882 macro for use with NSS functions.
17883 * grp/initgroups.c: Use new macro.
17884 * nss/getXXbyYY.c: Likewise.
17885 * nss/getXXbyYY_r.c: Likewise.
17886 * nss/getXXent.c: Likewise.
17887 * nss/getXXent_r.c: Likewise.
17888 * sysdeps/posix/getaddrinfo.c: Likewise.
17890 2012-10-30 Andreas Jaeger <aj@suse.de>
17892 * po/ru.po: Update Russion translation from translation project.
17894 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17899 result and shift together with sticky bit instead of replicating
17900 round-to-nearest rounding.
17901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17903 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17904 missing underflow exceptions.
17905 (fma_test_towardzero): Add more tests.
17906 (fma_test_downward): Likewise.
17907 (fma_test_upward): Likewise.
17910 * sysdeps/generic/tininess.h: New file.
17911 * sysdeps/i386/tininess.h: Likewise.
17912 * sysdeps/sh/tininess.h: Likewise.
17913 * sysdeps/x86_64/tininess.h: Likewise.
17914 * stdlib/tst-strtod-underflow.c: Likewise.
17915 * stdlib/tst-tininess.c: Likewise.
17916 * stdlib/strtod_l.c: Include <tininess.h>.
17917 (round_and_return): Do not set errno for exact underflow cases.
17918 Force an underflow exception when setting errno for underflow.
17919 Determine underflow based on rounding to normal precision if
17920 TININESS_AFTER_ROUNDING.
17921 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17922 ERANGE for exact underflow cases.
17923 * stdlib/Makefile (tests): Add tst-tininess and
17924 tst-strtod-underflow.
17925 ($(objpfx)tst-tininess): Use $(link-libm).
17926 ($(objpfx)tst-strtod-underflow): Likewise.
17928 2012-10-30 Andreas Jaeger <aj@suse.de>
17931 * elf/Makefile (tests): Remove conditional for have-initfini-array
17932 since this is now always required and the variable does not exist
17934 (tests-static): Likewise.
17935 (modules-names): Likewise.
17937 * po/eo.po: Add Esperanto translation from translation project.
17939 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17940 merged with constructor/destructor.
17941 (init_array): Likewise.
17942 * elf/tst-array2dep.c (fini_array): Likewise.
17943 (init_array): Likewise.
17945 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17947 * manual/message.texi: Delete @cartouche tags.
17949 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17951 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17953 * sysdeps/mach/hurd/fsync.c: Likewise.
17955 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17956 [_POSIX_REALTIME_SIGNALS]: Change condition to
17957 [_POSIX_REALTIME_SIGNALS > 0].
17959 2012-10-27 Andreas Jaeger <aj@suse.de>
17961 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17962 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17964 [__WORDSIZE != 64]: Likewise.
17966 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17968 * iconvdata/tst-table.sh: Remove ${SHELL}.
17969 * iconvdata/tst-tables.sh: Likewise.
17971 2012-10-25 David S. Miller <davem@davemloft.net>
17973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17974 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17980 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17981 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17984 2012-10-25 Roland McGrath <roland@hack.frob.com>
17986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17987 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17990 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17991 Jim Blandy <jimb@codesourcery.com>
17993 * scripts/cross-test-ssh.sh: New file.
17994 * manual/install.texi (Configuring and compiling): Document use of
17996 * INSTALL: Regenerated.
17998 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18000 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18003 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18005 * Makeconfig (run-program-prefix): Fix comment.
18007 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18008 Jim Blandy <jimb@codesourcery.com>
18010 * Makeconfig (test-wrapper): New variable,
18011 (test-wrapper-env): Likewise.
18012 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18013 (run-built-tests): Define to yes.
18014 (run-program-prefix): Use $(test-wrapper).
18015 (built-program-cmd): Likewise.
18016 * Rules (make-test-out): Use $(test-wrapper-env) and
18017 $(host-built-program-cmd).
18018 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18019 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18021 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18022 $(test-wrapper-env) to tst-rtld-load-self.sh.
18023 ($(objpfx)order2.out): Use $(test-wrapper).
18024 ($(objpfx)tst-initorder.out): Likewise.
18025 ($(objpfx)tst-initorder2.out): Likewise.
18026 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18027 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18028 (test_wrapper_env): New variable. Use it to run ld.so.
18029 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18030 Use it to run ld.so.
18031 (test_wrapper_env): Likewise.
18032 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18033 $(test-wrapper) to run-iconv-test.sh.
18034 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18035 (ICONV): Use $test_wrapper.
18036 * posix/Makefile ($(objpfx)globtest.out): Pass
18037 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18038 globtest.sh, not $(run-program-prefix).
18039 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18040 (test_wrapper): Likewise.
18041 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18042 set together with run_via_rtld_prefix.
18043 (run_program_prefix): Define in terms of test_wrapper and
18044 run_via_rtld_prefix.
18046 2012-10-24 Roland McGrath <roland@hack.frob.com>
18048 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18049 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18053 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18054 Declare __clock_getres, __clock_gettime, __clock_settime,
18055 __clock_nanosleep, and __clock_getcpuclockid.
18056 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18057 Remove librt_hidden_def (clock_gettime).
18058 * sysdeps/unix/clock_gettime.c: Likewise.
18059 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18061 * rt/clock_getres.c: Define __clock_getres as an alias.
18062 * sysdeps/posix/clock_getres.c: Likewise.
18063 * rt/clock_settime.c: Define __clock_settime as an alias.
18064 * sysdeps/unix/clock_settime.c: Likewise.
18065 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18066 * sysdeps/unix/clock_nanosleep.c: Likewise.
18067 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18068 * rt/clock-compat.c: New file.
18069 * rt/Makefile (librt-routines): Add clock-compat and move
18070 $(clock-routines) to ...
18071 (routines): ... here, new variable.
18072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18073 Don't add get_clockfreq here.
18074 * rt/Versions (libc: GLIBC_2.17): New version set.
18075 Add clock_* symbols here.
18076 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18078 (GLIBC_2.17): Add clock_* symbols.
18079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18090 * NEWS: Mention the move.
18092 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18093 Use __open, __read, __close rather than their public counterparts.
18094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18095 (__get_clockfreq_via_cpuinfo): Likewise.
18096 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18097 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18099 * config.h.in (HAVE_IFUNC): New #undef.
18100 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18102 * configure: Regenerated.
18104 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18106 * configure.in: Move READELF check to start of file.
18107 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18108 libc_cv_asm_gnu_indirect_function in the process.
18109 * configure: Regenerated.
18111 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18113 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18114 send the output to /dev/null.
18115 (libc_cv_cc_with_libunwind): Likewise.
18116 (libc_cv_as_noexecstack): Likewise.
18117 * configure: Regenerate.
18119 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18121 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18123 * posix/globtest.sh (TMPDIR): Do not set.
18124 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18125 (testout): Likewise.
18127 2012-10-24 Andreas Jaeger <aj@suse.de>
18129 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18130 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18131 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18132 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18133 posix_fadvise64, posix_fallocate64.
18135 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18136 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18137 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18139 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18141 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18144 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18145 <bits/fcntl-linux.h>.
18146 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18149 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18150 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18151 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18152 [__WORDSIZE != 64]: Likewise.
18154 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18156 * Makeconfig (run-built-tests): New variable.
18157 * Rules [$(cross-compiling) = yes]: Change condition to
18158 [$(run-built-tests) = no].
18159 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18160 to [$(run-built-tests) = yes].
18161 * elf/Makefile [$(cross-compiling) = no]: Likewise
18162 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18163 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18164 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18165 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18166 * io/Makefile [$(cross-compiling) = no]: Likewise.
18167 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18168 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18169 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18170 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18171 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18172 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18173 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18174 * string/Makefile [$(cross-compiling) = no]: Likewise.
18176 * posix/Makefile ($(objpfx)globtest.out): Pass
18177 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18178 $(rtld-installed-name).
18179 * posix/globtest.sh (elf_objpfx): Remove variable.
18180 (rtld_installed_name): Likewise.
18181 (library_path): Likewise.
18182 (run_program_prefix): New variable. Use for running globtest
18185 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18186 Joseph Myers <joseph@codesourcery.com>
18188 * Makeconfig (host-built-program-cmd): New variable.
18189 * elf/Makefile (tst-stackguard1-ARGS): Use
18190 $(host-built-program-cmd).
18191 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18192 (tst-spawn-ARGS): Likewise.
18193 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18195 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18196 Jim Blandy <jimb@codesourcery.com>
18198 * Makeconfig (run-via-rtld-prefix): New variable.
18199 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18200 (built-program-cmd): Likewise.
18202 2012-10-22 Andreas Jaeger <aj@suse.de>
18204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18205 __O_RSYNC if it exists, otherwise to O_SYNC.
18207 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18208 Joseph Myers <joseph@codesourcery.com>
18210 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18212 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18214 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18217 2012-10-22 Andreas Jaeger <aj@suse.de>
18219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18224 bits/fcntl-linux.h.
18226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18227 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18234 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18235 Joseph Myers <joseph@codesourcery.com>
18237 * config.make.in (NM): New variable.
18239 2012-10-21 Andreas Jaeger <aj@suse.de>
18241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18242 definitions and declarations that are provided by
18243 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18245 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18248 * elf/Makefile (tests-static): Add tst-leaks1-static.
18249 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18250 ($(objpfx)tst-leaks1-static): New rule.
18251 ($(objpfx)tst-leaks1-static-mem): Likewise.
18252 (tst-leaks1-static-ENV): New macro.
18253 * elf/dl-open.c (dl_open_worker): Check the main application
18254 only if SHARED is defined.
18255 * elf/tst-leaks1-static.c: New file.
18257 2012-10-20 Andreas Jaeger <aj@suse.de>
18259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18260 generic values for Linux.
18261 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18262 and declarations that are provided by <bits/fcntl-linux.h> and
18263 include <bits/fcntl-linux.h>.
18264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18267 2012-10-20 Roland McGrath <roland@hack.frob.com>
18269 * io/fcntl.h: Move include of <bits/types.h> to the top and
18270 include it unconditionally.
18272 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18274 * wcsmbs/Makefile (tests-ifunc): New variable.
18275 (tests): Add $(tests-ifunc).
18276 * wcsmbs/test-wcschr-ifunc.c: New file.
18277 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18278 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18279 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18280 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18281 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18283 * string/Makefile (tests-ifunc): New variable.
18284 (tests): Add $(tests-ifunc).
18285 * string/test-memccpy.c (TEST_NAME): New macro.
18286 * string/test-memchr.c (TEST_NAME): Likewise.
18287 * string/test-memcmp.c (TEST_NAME): Likewise.
18288 * string/test-memcpy.c (TEST_NAME): Likewise.
18289 * string/test-memmem.c (TEST_NAME): Likewise.
18290 * string/test-memmove.c (TEST_NAME): Likewise.
18291 * string/test-memset.c (TEST_NAME): Likewise.
18292 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18293 * string/test-stpcpy.c (TEST_NAME): Likewise.
18294 * string/test-stpncpy.c (TEST_NAME): Likewise.
18295 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18296 * string/test-strcasestr.c (TEST_NAME): Likewise.
18297 * string/test-strcat.c (TEST_NAME): Likewise.
18298 * string/test-strchr.c (TEST_NAME): Likewise.
18299 * string/test-strcmp.c(TEST_NAME): Likewise.
18300 * string/test-strcpy.c (TEST_NAME): Likewise.
18301 * string/test-strcspn.c (TEST_NAME): Likewise.
18302 * string/test-strlen.c (TEST_NAME): Likewise.
18303 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18304 * string/test-strncmp.c (TEST_NAME): Likewise.
18305 * string/test-strncpy.c (TEST_NAME): Likewise.
18306 * string/test-strnlen.c (TEST_NAME): Likewise.
18307 * string/test-strpbrk.c (TEST_NAME): Likewise.
18308 * string/test-strrchr.c (TEST_NAME): Likewise.
18309 * string/test-strspn.c (TEST_NAME): Likewise.
18310 * string/test-strstr.c (TEST_NAME): Likewise.
18311 * string/test-bcopy-ifunc.c: New file.
18312 * string/test-bzero-ifunc.c: Likewise.
18313 * string/test-memccpy-ifunc.c: Likewise.
18314 * string/test-memchr-ifunc.c: Likewise.
18315 * string/test-memcmp-ifunc.c: Likewise.
18316 * string/test-memcpy-ifunc.c: Likewise.
18317 * string/test-memmem-ifunc.c: Likewise.
18318 * string/test-memmove-ifunc.c: Likewise.
18319 * string/test-mempcpy-ifunc.c: Likewise.
18320 * string/test-memset-ifunc.c: Likewise.
18321 * string/test-rawmemchr-ifunc.c: Likewise.
18322 * string/test-stpcpy-ifunc.c: Likewise.
18323 * string/test-stpncpy-ifunc.c: Likewise.
18324 * string/test-strcasecmp-ifunc.c: Likewise.
18325 * string/test-strcasestr-ifunc.c: Likewise.
18326 * string/test-strcat-ifunc.c: Likewise.
18327 * string/test-strchr-ifunc.c: Likewise.
18328 * string/test-strchrnul-ifunc.c: Likewise.
18329 * string/test-strcmp-ifunc.c: Likewise.
18330 * string/test-strcpy-ifunc.c: Likewise.
18331 * string/test-strcspn-ifunc.c: Likewise.
18332 * string/test-strlen-ifunc.c: Likewise.
18333 * string/test-strncasecmp-ifunc.c: Likewise.
18334 * string/test-strncat-ifunc.c: Likewise.
18335 * string/test-strncmp-ifunc.c: Likewise.
18336 * string/test-strncpy-ifunc.c: Likewise.
18337 * string/test-strnlen-ifunc.c: Likewise.
18338 * string/test-strpbrk-ifunc.c: Likewise.
18339 * string/test-strrchr-ifunc.c: Likewise.
18340 * string/test-strspn-ifunc.c: Likewise.
18341 * string/test-strstr-ifunc.c: Likewise.
18343 * debug/Makefile (tests-ifunc): New variable.
18344 (tests): Add $(tests-ifunc).
18345 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18346 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18347 * debug/test-stpcpy_chk-ifunc.c: New file.
18348 * debug/test-strcpy_chk-ifunc.c: Likewise.
18350 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18353 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18354 header is not read in.
18356 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18358 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18359 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18360 directly. Pass built executable to script as
18361 $(built-program-cmd).
18362 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18363 $testprogram without using LD_LIBRARY_PATH and $ldso.
18365 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18366 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18367 $(rtld-installed-name).
18368 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18369 (rtld_installed_name): Likewise.
18370 (library_path): Likewise.
18371 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18372 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18373 $(run-program-prefix) to tst-tables.sh.
18374 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18375 it to run tst-table-from and tst-table-to.
18376 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18377 Pass it to tst-table.sh.
18378 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18379 $(run-program-prefix) to tst-gettext.sh.
18380 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18382 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18384 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18385 to run tst-gettext.
18386 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18387 to run tst-gettext2.
18388 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18389 to run tst-translit.
18390 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18391 $(run-program-prefix) to tst-mtrace.sh.
18392 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18394 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18395 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18396 $(rtld-installed-name).
18397 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18398 (rtld_installed_name): Likewise.
18399 (run_program_prefix): New variable. Use it to run wordexp-test.
18401 * Makeconfig (ARCH): Remove all definitions.
18402 (machine): Likewise.
18403 [ARCH]: Remove conditional code.
18404 [!objdir]: Give error.
18405 [!objdir] (objpfx): Remove.
18406 [!objdir] (common-objpfx): Likewise.
18407 [!objdir] (common-objdir): Likewise.
18408 * configure.in (config_makefile): Remove. Hardcode Makefile in
18409 AC_CONFIG_FILES call.
18410 * configure: Regenerated.
18413 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18415 (testout): Likewise.
18417 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18418 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18419 $(rtld-installed-name).
18420 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18421 (rtld_installed_name): Likwise.
18422 (runit): Remove function.
18423 (run_getconf): New variable, Use it for running getconf binary.
18425 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18428 * string/test-memmem.c (check_result): New function.
18429 (do_one_test): Use it.
18430 (check1): New function.
18431 (test_main): Use it.
18433 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18435 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18437 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18439 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18440 (_G_LSEEK64): Likewise.
18441 (_G_MMAP64): Likewise.
18442 (_G_FSTAT64): Likewise.
18443 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18444 (_G_LSEEK64): Likewise.
18445 (_G_MMAP64): Likewise.
18446 (_G_FSTAT64): Likewise.
18447 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18448 unconditional. Call __mmap64 directly.
18449 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18450 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18451 __lseek64 directly.
18452 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18453 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18455 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18456 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18457 __lseek64 directly.
18458 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18459 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18460 __lseek64 directly.
18461 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18462 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18463 __lseek64 directly.
18464 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18465 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18466 __fxstat64 directly.
18467 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18468 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18470 (freopen64) [!_G_OPEN64]: Remove conditional code.
18471 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18473 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18474 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18476 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18477 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18479 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18480 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18482 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18483 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18485 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18486 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18488 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18489 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18491 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18493 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18496 * manual/memory.texi (Malloc Tunable Parameters): Add note
18497 about free list pointers overwriting some perturb bytes.
18498 Wording suggested by Roland McGrath.
18500 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18502 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18503 (lgamma_test): Likewise.
18504 (tgamma_test): Likewise.
18506 2012-10-16 Florian Weimer <fweimer@redhat.com>
18509 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18510 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18512 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18514 * NEWS: Mention BZ #14716.
18515 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18516 when removing AVAILABLE1_USES_J macro.
18518 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18520 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18521 (__bswap_64): __uint64_t for unsigned 64-bit int.
18523 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18525 * include/string.h (memmem): Declare libc hidden alias.
18526 * string/memmem.c (memmem): Define libc hidden alias.
18527 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18528 __read, __close instead of open, read, close.
18530 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18533 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18535 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18536 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18537 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18539 (__rawmemchr_sse2): Likewise.
18540 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18541 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18542 (__strchr_sse2): Likewise.
18543 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18544 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18545 (__strcasecmp_sse2): Likewise.
18546 (__strncasecmp_sse2): Likewise.
18547 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18548 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18549 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18550 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18551 (__strrchr_sse2): Likewise.
18552 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18554 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18555 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18556 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18557 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18558 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18560 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18561 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18562 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18563 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18564 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18565 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18566 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18567 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18568 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18569 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18570 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18571 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18572 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18573 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18574 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18575 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18576 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18577 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18578 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18579 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18580 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18581 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18582 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18583 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18587 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18588 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18589 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18590 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18592 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18594 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18595 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18596 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18597 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18599 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18600 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18601 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18602 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18603 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18604 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18605 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18606 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18607 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18608 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18609 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18610 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18611 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18612 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18613 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18614 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18615 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18616 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18617 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18618 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18619 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18620 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18621 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18622 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18624 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18625 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18626 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18627 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18628 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18629 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18630 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18631 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18632 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18633 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18634 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18636 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18637 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18639 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18641 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18642 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18643 * include/ifunc-impl-list.h: New file.
18644 * misc/ifunc-impl-list.c: Likewise.
18645 * misc/Makefile (routines): Add ifunc-impl-list.
18646 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18647 * string/test-string.h: Include <ifunc-impl-list.h>.
18648 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18649 impl_array): New variables.
18650 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18652 (test_init): Call __libc_ifunc_impl_list to initialize
18653 func_list if TEST_IFUNC and TEST_NAME are defined.
18655 * string/Makefile (strop-tests): Add bcopy and bzero.
18656 * string/test-bcopy.c: New file.
18657 * string/test-bzero.c: Likewise.
18658 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18660 * string/test-memset.c: Support bzero test if TEST_BZERO is
18662 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18664 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18666 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18669 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18671 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18672 * configure: Regenerated.
18674 * Makeconfig (+link-static-before-libc): Don't include
18675 $(link-static-libc).
18677 * libio/libio.h (_IO_pos_t): Remove.
18679 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18681 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18684 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18686 * crypt/crypt-entry.c: Include fips-private.h.
18687 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18688 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18689 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18690 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18692 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18694 * crypt/crypt-private.h: Include stdbool.h.
18695 (_ufc_setup_salt_r): Return bool.
18696 * crypt/crypt-entry.c: Include errno.h.
18697 (__crypt_r): Return NULL with EINVAL for bad salt.
18698 * crypt/crypt_util.c (bad_for_salt): New.
18699 (_ufc_setup_salt_r): Check that salt is long enough and within
18700 the specified alphabet.
18701 * crypt/badsalttest.c: New file.
18702 * crypt/Makefile (tests): Add it.
18703 ($(objpfx)badsalttest): New.
18705 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18707 * NEWS: Add entry for BZ #14602.
18709 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18711 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18713 * math/libm-test.inc: Update comment listing what functions and
18715 (isgreater_test): New function.
18716 (isgreaterequal_test): Likewise.
18717 (isless_test): Likewise.
18718 (islessequal_test): Likewise.
18719 (islessgreater_test): Likewise.
18720 (isunordered_test): Likewise.
18721 (main): Call the new functions.
18723 2012-10-09 Roland McGrath <roland@hack.frob.com>
18725 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18726 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18727 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18728 * sysdeps/i386/configure: Regenerated.
18729 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18730 * sysdeps/mach/configure: Regenerated.
18731 * sysdeps/mach/hurd/configure: Regenerated.
18732 * sysdeps/powerpc/configure: Regenerated.
18733 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18734 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18735 * sysdeps/s390/s390-32/configure: Regenerated.
18736 * sysdeps/s390/s390-64/configure: Regenerated.
18737 * sysdeps/sh/configure: Regenerated.
18738 * sysdeps/sparc/configure: Regenerated.
18739 * sysdeps/unix/sysv/linux/configure: Regenerated.
18740 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18741 * sysdeps/x86_64/configure: Regenerated.
18743 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18744 defined. Don't check if MAP is NULL.
18746 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18748 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18749 (_G_stat64): Likewise.
18750 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18751 (_G_stat64): Likewise.
18752 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18753 instead of struct _G_stat64.
18754 * libio/fileops.c (mmap_remap_check): Likewise.
18755 (decide_maybe_mmap): Likewise.
18756 (_IO_new_file_seekoff): Likewise.
18757 (_IO_file_stat): Likewise.
18758 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18760 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18761 instead of struct _G_stat64.
18762 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18764 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18767 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18769 (CHECK_EOL): New macro.
18770 (two_way_short_needle): Check beginning of haystack for EOL. Use
18772 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18773 Replace with CHECK_EOL.
18774 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18775 Replace with CHECK_EOL.
18777 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18779 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18781 * math/libm-test.inc: Update comment listing what functions and
18783 (finite_test): New function.
18784 (isinf_test): Likewise.
18785 (isnan_test): Likewise.
18786 (fpclassify_test): Test subnormal input.
18787 (isfinite_test): Likewise.
18788 (isnormal_test): Likewise.
18789 (main): Call the new functions.
18791 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18794 * Makerules (%.dynsym): Force C locale when running
18795 $(OBJDUMP) --dynamic-syms.
18797 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18799 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18802 2012-10-06 David S. Miller <davem@davemloft.net>
18804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18805 upper 32-bits of the length value in %o2 since we use branch-on-register
18806 tests which consider the entire 64-bit register.
18808 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18810 * string/test-strstr.c (check2): Add a test for page boundary.
18812 2012-10-05 David S. Miller <davem@davemloft.net>
18814 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18815 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18817 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18819 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18820 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18821 and bzero when HWCAP_SPARC_CRYPTO is present.
18823 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18826 * string/test-strstr.c (check2): New function.
18827 (test_main): Call check2.
18829 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18831 * string/bug-strcasestr1.c (do_test): Moved to ...
18832 * string/test-strcasestr.c (check1): Here. New function.
18833 (do_one_test): Break out result checking code into ...
18834 (check_result): This. New function.
18835 (do_one_test): Call check_result.
18836 (test_main): Call check1.
18837 * string/bug-strchr1.c (do_test): Moved to ...
18838 * string/test-strchr.c (check1): Here. New function.
18839 (do_one_test): Break out result checking code into ...
18840 (check_result): This. New function.
18841 (do_one_test): Call check_result.
18842 (test_main): Call check1.
18843 * string/bug-strstr1.c (main): Moved to ...
18844 * string/test-strstr.c (check1): Here. New function.
18845 (do_one_test): Break out result checking code into ...
18846 (check_result): This. New function.
18847 (do_one_test): Call check_result.
18848 (test_main): Call check1.
18849 * string/bug-strcasestr1.c: Removed.
18850 * string/bug-strchr1.c: Likewise.
18851 * string/bug-strstr1.c: Likewise.
18853 * elf/Makefile (dl-routines): Add hwcaps.
18854 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18855 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18856 (_dl_important_hwcaps): Moved to ...
18857 * elf/dl-hwcaps.c: Here. New file.
18858 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18861 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18862 if IS_IN_rtld isn't defined.
18864 * elf/dl-support.c (_dl_sysinfo_map): New.
18865 Include "get-dynamic-info.h" and "setup-vdso.h".
18866 (_dl_non_dynamic_init): Call setup_vdso.
18867 * elf/dynamic-link.h: Don't include <assert.h>.
18868 (elf_get_dynamic_info): Moved to ...
18869 * elf/get-dynamic-info.h: Here. New file.
18870 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18871 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18872 * elf/setup-vdso.h: Here. New file.
18873 * elf/rtld.c: Include "setup-vdso.h".
18874 (dl_main): Call setup_vdso.
18876 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18878 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18879 creal in comment listing functions tested. List finite, isinf,
18880 isnan, isless, islessequal, isgreater, isgreaterequal,
18881 islessgreater, isunordered, lgamma_r and pow10 as functions and
18882 macros not tested. Mention which functions not tested are aliases
18883 for other functions. Fix typo. Note that signs of NaNs are not
18886 * scripts/config.guess: Update from config.git.
18887 * scripts/config.sub: Likewise.
18889 2012-10-04 Roland McGrath <roland@hack.frob.com>
18891 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18892 * misc/madvise.c (madvise): Renamed to __madvise.
18893 Make madvise a weak alias.
18894 * include/sys/mman.h: Declare __madvise.
18895 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18896 * sysdeps/unix/syscalls.list
18897 (madvise): Make __madvise the strong name, and madvise a weak alias.
18898 * sysdeps/unix/sysv/linux/syscalls.list
18899 (madvise, mmap): Remove redundant entries.
18900 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18901 * malloc/malloc.c (mtrim): Likewise.
18902 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18904 2012-10-03 Roland McGrath <roland@hack.frob.com>
18906 * sysdeps/mach/hurd/dl-cache.c: File removed.
18907 * config.h.in (USE_LDCONFIG): New #undef.
18908 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18909 * configure: Regenerated.
18910 * elf/Makefile (dl-routines): Add dl-cache only under
18911 [$(use-ldconfig) = yes].
18912 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18913 cache on [USE_LDCONFIG].
18914 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18916 * elf/rtld.c (dl_main): Likewise.
18918 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18920 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18921 _SC_LEVEL4_CACHE_LINESIZE.
18923 2012-10-03 Roland McGrath <roland@hack.frob.com>
18925 * sysdeps/unix/bsd/confstr.h: File removed.
18927 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18929 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18932 2012-10-02 Roland McGrath <roland@hack.frob.com>
18934 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18935 Make 'mapoff' field ElfW(Off) rather than off_t.
18937 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18939 * nscd/Makefile: Remove nscd-cflags and all its users.
18940 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18941 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18944 * malloc.c (malloc_printerr): Clarify error message.
18946 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18950 Set bit_FMA_Usable if FMA is supported.
18951 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18953 (bit_FMA4_Usable): Updated.
18954 (index_FMA_Usable): New macro.
18955 (CPUID_FMA): Likewise
18956 (HAS_FMA): Defined with bit_FMA_Usable.
18958 2012-10-01 Roland McGrath <roland@hack.frob.com>
18960 * bits/types.h (__swblk_t): Type removed.
18961 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18962 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18964 (__SWBLK_T_TYPE): Likewise.
18965 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18966 (__SWBLK_T_TYPE): Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18968 (__SWBLK_T_TYPE): Likewise.
18969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18970 (__SWBLK_T_TYPE): Likewise.
18972 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18973 Honza Horak <hhorak@redhat.com>
18975 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18976 (xdr_mapname): Use YPMAXMAP as maxsize.
18977 (xdr_peername): Use YPMAXPEER as maxsize.
18978 (xdr_keydat): Use YPAXRECORD as maxsize.
18979 (xdr_valdat): Use YPMAXRECORD as maxsize.
18981 2012-10-01 Roland McGrath <roland@hack.frob.com>
18983 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18985 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18986 * csu/init-first.c: ... here.
18987 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18988 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18989 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18990 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18991 * sysdeps/i386/init-first.c: File removed.
18992 * sysdeps/sh/init-first.c: File removed.
18994 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18998 if x * y might underflow to zero and z is zero.
18999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19001 * math/libm-test.inc (min_subnorm_value): New variable.
19002 (fma_test): Add more tests.
19003 (fma_test_towardzero): Likewise.
19004 (fma_test_downward): Likewise
19005 (fma_test_upward): Likewise.
19006 (initialize): Set min_subnorm_value.
19008 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19013 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19014 mode for addition resulting in exact zero.
19015 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19020 * math/libm-test.inc (fma_test): Add more tests.
19021 (fma_test_towardzero): New function.
19022 (fma_test_downward): Likewise.
19023 (fma_test_upward): Likewise.
19024 (main): Call the new functions.
19026 2012-09-28 David S. Miller <davem@davemloft.net>
19028 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19030 2012-09-28 Roland McGrath <roland@hack.frob.com>
19032 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19033 instead of SIGALRM.
19035 * sysdeps/gnu/_G_config.h: Moved to ...
19036 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19037 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19038 * sysdeps/generic/_G_config.h: ... here.
19040 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19042 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19044 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19045 Conditionalize target on [libnss_test1.so-version].
19047 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19049 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19050 (elfobjdir): Move out of conditionals.
19052 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19053 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19054 (__nss_lookup_function): Conditionalize label remove_from_tree on
19055 [!DO_STATIC_NSS || SHARED], matching its only use.
19057 2012-09-28 David S. Miller <davem@davemloft.net>
19059 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19060 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19062 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19064 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19066 when HWCAP_SPARC_CRYPTO is present.
19068 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19070 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19072 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19075 * stdio-common/vfprintf.c (process_string_arg): Revert
19078 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19080 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19082 * stdio-common/tst-sprintf.c: Include <locale.h>
19083 (main): Test sprintf's handling of incomplete multibyte
19086 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19088 * elf/dl-runtime.c (VERSYMIDX): Removed.
19089 * elf/dl-version.c (VERSYMIDX): Likewise.
19090 * elf/do-rel.h (VERSYMIDX): Likewise.
19091 (VALIDX): Likewise.
19092 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19093 * elf/rtld.c (VALIDX): Likewise.
19094 (ADDRIDX): Likewise.
19095 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19096 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19097 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19098 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19099 (VALIDX): Likewise.
19100 (ADDRIDX): Likewise.
19102 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19104 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19106 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19109 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19111 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19112 addresses are in the same scope as 192.0.2/24.
19113 * posix/gai.conf: Document new scope table defaults.
19115 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19118 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19119 for ftell. Compute offsets from write pointers instead.
19120 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19122 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19125 * libio/Makefile (tests): New test case tst-fseek.
19126 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19127 combination works in wide mode.
19128 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19129 state when the external buffer state changes.
19131 2012-09-27 David S. Miller <davem@davemloft.net>
19134 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19135 pass reloc->r_addend in as the 'high' argument to
19136 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19140 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19142 * rt/tst-aio2.c: Include <pthread.h>.
19143 * rt/tst-aio3.c: Likewise.
19145 2012-09-27 Steve Ellcey <sellcey@mips.com>
19147 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19149 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19151 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19152 contents on [SHARED].
19154 2012-09-26 Marek Polacek <polacek@redhat.com>
19158 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19159 for C++ and GCC <4.3 as well as for non GCC compilers.
19161 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19165 2012-09-25 Roland McGrath <roland@hack.frob.com>
19167 * Makefile.in (all, install): Declare with .PHONY.
19168 Reported by Michael Hope <michael.hope@linaro.org>.
19170 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19172 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19173 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19175 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19177 (sydep_routines): Add the new and the internal functions.
19178 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19179 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19181 (GLIBC_2.17): Add the new function.
19182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19183 (GLIBC_2.17): Likewise.
19184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19185 (GLIBC_2.17): Likewise.
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19187 (GLIBC_2.17): Likewise.
19188 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19190 2012-09-25 Alan Modra <amodra@gmail.com>
19192 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19193 Add release barrier before setting once_control to say
19194 initialisation is done. Add hints on lwarx. Use macro in
19196 (clear_once_control): Add release barrier.
19198 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19201 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19203 * math/s_clog10.c (__clog10): Likewise.
19204 * math/s_clog10f.c (__clog10f): Likewise.
19205 * math/s_clog10l.c (__clog10l): Likewise.
19206 * math/s_clogf.c (__clogf): Likewise.
19207 * math/s_clogl.c (__clogl): Likewise.
19208 * math/Makefile (libm-calls): Add x2y2m1.
19209 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19210 (__x2y2m1): Likewise.
19211 (__x2y2m1l): Likewise.
19212 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19213 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19214 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19216 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19217 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19218 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19219 * sysdeps/i386/fpu/libm-test-ulps: Update.
19220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19223 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19224 int as type of variable DEPTH.
19225 (glob): Use size_t instead of int as type of variables NEWCOUNT
19228 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19230 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19231 Add s_sincosf-sse2.
19232 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19233 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19234 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19235 macros for using routine as __sincosf_ia32.
19236 Use macro for function declaration and weak_alias.
19237 * sysdeps/i386/fpu/libm-test-ulps: Update.
19239 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19242 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19243 subnormal argument.
19244 * math/s_cexpf.c (__cexpf): Likewise.
19245 * math/s_csinf.c (__csinf): Likewise.
19246 * math/s_csinhf.c (__csinhf): Likewise.
19247 * math/s_ctanf.c (__ctanf): Likewise.
19248 * math/s_ctanhf.c (__ctanhf): Likewise.
19249 * math/s_ccosh.c (__ccoshf): Likewise.
19250 * math/s_cexp.c (__cexpl): Likewise.
19251 * math/s_csin.c (__csin): Likewise.
19252 * math/s_csinh.c (__csinh): Likewise.
19253 * math/s_ctan.c (__ctan): Likewise.
19254 * math/s_ctanh.c (ctanh): Likewise.
19255 * math/s_ccoshl.c (__ccoshl): Likewise.
19256 * math/s_cexpl.c (__cexpl): Likewise.
19257 * math/s_csinl.c (__csinl): Likewise.
19258 * math/s_csinhl.c (__csinhl): Likewise.
19259 * math/s_ctanl.c (__ctanl): Likewise.
19260 * math/s_ctanhl.c (__ctanhl): Likewise.
19262 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19264 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19265 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19266 (_IO_off_t): Define to __off_t, not _G_off_t.
19267 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19268 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19269 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19270 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19271 type of __dummy and __dummy2 fields.
19272 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19273 (_G_ssize_t): Likewise.
19274 (_G_off_t): Likewise.
19275 (_G_pid_t): Likewise.
19276 (_G_uid_t): Likewise.
19277 (_G_wchar_t): Likewise.
19278 (_G_wint_t): Likewise.
19279 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19280 (_G_ssize_t): Likewise.
19281 (_G_off_t): Likewise.
19282 (_G_pid_t): Likewise.
19283 (_G_uid_t): Likewise.
19284 (_G_wchar_t): Likewise.
19285 (_G_wint_t): Likewise.
19286 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19287 (_G_ssize_t): Likewise.
19288 (_G_off_t): Likewise.
19289 (_G_pid_t): Likewise.
19290 (_G_uid_t): Likewise.
19291 (_G_wchar_t): Likewise.
19292 (_G_wint_t): Likewise.
19294 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19296 * malloc/arena.c: Include malloc-sysdep.h.
19297 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19298 is sufficient to shrink the heap or an unmap is needed.
19299 * sysdeps/generic/malloc-sysdep.h: New file. Define
19300 new function check_may_shrink_heap.
19301 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19302 new function check_may_shrink_heap.
19304 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19306 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19309 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19311 * catgets/test-gencat.sh: Add "set -e".
19312 * elf/tst-pathopt.sh: Likewise.
19313 * grp/tst_fgetgrent.sh: Likewise.
19314 * iconvdata/run-iconv-test.sh: Likewise.
19315 * intl/tst-gettext.sh: Likewise.
19316 * intl/tst-gettext2.sh: Likewise.
19317 * intl/tst-gettext4.sh: Likewise.
19318 * intl/tst-gettext6.sh: Likewise.
19319 * intl/tst-translit.sh: Likewise.
19320 * io/ftwtest-sh: Likewise.
19321 * libio/test-freopen.sh: Likewise.
19322 * malloc/tst-mtrace.sh: Likewise.
19323 * posix/globtest.sh: Likewise.
19324 * posix/tst-getconf.sh: Likewise.
19325 * posix/wordexp-tst.sh: Likewise.
19326 * stdio-common/tst-printf.sh: Likewise.
19327 * stdio-common/tst-unbputc.sh: Likewise.
19328 * stdlib/tst-fmtmsg.sh: Likewise.
19329 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19330 * catgets/Makefile: Do not specify -e option when running
19331 testsuite shell scripts.
19332 * elf/Makefile: Likewise.
19333 * grp/Makefile: Likewise.
19334 * iconvdata/Makefile: Likewise.
19335 * intl/Makefile: Likewise.
19336 * io/Makefile: Likewise.
19337 * libio/Makefile: Likewise.
19338 * malloc/Makefile: Likewise.
19339 * posix/Makefile: Likewise.
19340 * stdio-common/Makefile: Likewise.
19341 * stdlib/Makefile: Likewise.
19342 * sysdeps/x86_64/Makefile: Likewise.
19344 * io/ftwtest-sh: Add copyright header.
19345 * posix/globtest.sh: Likewise.
19346 * posix/tst-getconf.sh: Likewise.
19347 * posix/wordexp-tst.sh: Likewise.
19348 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19350 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19353 * Makeconfig (+link): Defined as $(+link-static) if
19354 $(build-shared) isn't yes.
19355 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19357 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19359 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19362 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19363 new chunk size with MALLOC_ALIGN_MASK.
19365 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19368 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19370 (__printf_fphex): Determine rounding using get_rounding_mode and
19372 * stdio-common/tst-printf-round.c (struct hex_test): New
19374 (hex_tests): New variable.
19375 (test_hex_in_one_mode): New function.
19376 (do_test): Also run tests for hex float output.
19378 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19380 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19381 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19382 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19383 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19384 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19385 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19386 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19387 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19389 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19391 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19392 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19393 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19394 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19396 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19399 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19401 * elf/tst-rtld-load-self.sh: New test.
19402 * elf/Makefile: Run it.
19404 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19406 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19407 (tst-writev-ENV): Remove.
19408 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19410 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19412 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19414 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19416 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19418 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19420 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19421 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19422 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19425 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19428 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19429 * config.make.in (have-cpp-asm-debuginfo): Removed.
19430 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19431 * configure: Regenerated.
19433 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19436 * stdio-common/printf_fp.c: Include <stdbool.h> and
19438 (___printf_fp): Determine rounding using get_rounding_mode and
19440 * stdio-common/tst-printf-round.c: New file.
19441 * stdio-common/Makefile (tests): Add tst-printf-round.
19442 (link-libm): New variable.
19443 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19445 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19448 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19449 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19451 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19454 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19456 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19457 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19458 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19459 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19461 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19464 * include/rounding-mode.h: New file.
19465 * sysdeps/generic/get-rounding-mode.h: Likewise.
19466 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19467 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19468 (MAX_VALUE): New macro.
19469 (MIN_VALUE): Likewise.
19470 (overflow_value): New function.
19471 (underflow_value): Likewise.
19472 (round_and_return): Use overflow_value and underflow_value to
19473 determine return values in overflow and underflow cases. Use
19474 round_away to determine rounding depending on rounding mode.
19475 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19476 determine return values in overflow and underflow cases.
19477 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19478 (struct test_results): New structure.
19479 (struct test): Use struct test_results to store expected results
19480 for all rounding modes.
19481 (TEST): Include expected results for all rounding modes.
19482 (test_in_one_mode): New function.
19483 (do_test): Use test_in_one_mode to compute and check results.
19484 Check results for all rounding modes.
19485 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19488 2012-12-09 Allan McRae <allan@archlinux.org>
19490 * sysdeps/i386/fpu/libm-test-ulps: Update
19492 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19494 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19495 (_G_int32_t): Likewise.
19496 (_G_uint16_t): Likewise.
19497 (_G_uint32_t): Likewise.
19498 (_G_HAVE_BOOL): Likewise.
19499 (_G_HAVE_ATEXIT): Likewise.
19500 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19501 (_G_HAVE_IO_FILE_OPEN): Likewise.
19502 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19503 (_G_int32_t): Likewise.
19504 (_G_uint16_t): Likewise.
19505 (_G_uint32_t): Likewise.
19506 (_G_HAVE_BOOL): Likewise.
19507 (_G_HAVE_ATEXIT): Likewise.
19508 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19509 (_G_HAVE_IO_FILE_OPEN): Likewise.
19510 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19511 (_G_int32_t): Likewise.
19512 (_G_uint16_t): Likewise.
19513 (_G_uint32_t): Likewise.
19514 (_G_HAVE_BOOL): Likewise.
19515 (_G_HAVE_ATEXIT): Likewise.
19516 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19517 (_G_HAVE_IO_FILE_OPEN): Likewise.
19519 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19521 * csu/libc-tls.c: Update copyright years.
19523 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19525 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19526 [!_G_USING_THUNKS]: Remove conditional code.
19527 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19528 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19530 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19531 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19532 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19533 (_G_VTABLE_LABEL_PREFIX): Likewise.
19534 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19535 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19536 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19537 (_G_VTABLE_LABEL_PREFIX): Likewise.
19538 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19539 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19540 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19541 (_G_VTABLE_LABEL_PREFIX): Likewise.
19542 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19544 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19546 * libio/Makefile: Include ../Makeconfig before tests.
19547 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19548 only if $(build-shared) is yes.
19550 * iconv/gconv_db.c: Update copyright years.
19552 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19554 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19555 unwind info if defined PIC. Fix special cases description.
19556 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19558 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19560 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19562 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19564 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19566 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19569 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19570 (LDLIBS-tst-chk4): This.
19571 (LDFLAGS-tst-chk5): Renamed to ...
19572 (LDLIBS-tst-chk5): This.
19573 (LDFLAGS-tst-chk6): Renamed to ...
19574 (LDLIBS-tst-chk6): This.
19575 (LDFLAGS-tst-lfschk4): Renamed to ...
19576 (LDLIBS-tst-lfschk4): This.
19577 (LDFLAGS-tst-lfschk5): Renamed to ...
19578 (LDLIBS-tst-lfschk5): This.
19579 (LDFLAGS-tst-lfschk6): Renamed to ...
19580 (LDLIBS-tst-lfschk6): This.
19582 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19583 on $(common-objpfx)soversions.mk.
19585 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19588 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19591 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19593 * malloc/arena.c (arena_get_retry): New function that gets
19594 another arena for the caller to try its request on.
19595 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19596 current arena cannot fulfill the request.
19597 (__libc_memalign): Likewise.
19598 (__libc_memalign): Likewise.
19599 (__libc_pvalloc): Likewise.
19600 (__libc_calloc): Likewise.
19602 2012-09-05 John Tobey <john.tobey@gmail.com>
19605 * manual/arith.texi (Operations on Complex): Fix description
19606 of carg branch cut.
19608 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19611 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19615 * manual/memory.texi (Memory): Make order of menu items match
19618 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19620 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19621 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19622 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19624 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19626 * csu/libc-tls.c (static_dtv): Renamed to ...
19627 (_dl_static_dtv): This. Make it global.
19628 (_dl_initial_dtv): Removed.
19629 (__libc_setup_tls): Updated.
19630 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19631 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19634 2012-09-06 Petr Machata <pmachata@redhat.com>
19636 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19637 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19638 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19639 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19644 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19645 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19648 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19651 * Makeconfig (link-static-before-libc): Replace $(+prector)
19653 (link-static-after-libc): Replace $(+postctor) with
19655 (link-bounded): Replace $(+prector)/$(+postctor) with
19656 $(+prectorT)/$(+postctorT).
19657 (+prectorT): New macro.
19658 (+postctorT): Likewise.
19660 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19662 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19663 (round_str): Handle values above the maximum for IBM long double
19665 * stdlib/tst-strtod-round.c (tests): Regenerated.
19667 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19669 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19671 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19672 zarch_nohighgprs around the zarch optimized routines.
19673 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19674 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19678 2012-09-05 David S. Miller <davem@davemloft.net>
19680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19682 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19683 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19684 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19685 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19688 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19690 * malloc/arena.c: Fold copyright years.
19691 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19693 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19695 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19697 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19699 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19701 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19703 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19704 change internal state upon failure.
19706 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19708 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19709 * malloc/memusage.c (mmap): Likewise.
19710 (mmap64, mremap): Likewise. Adjust name in comment.
19712 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19714 * libio/fileops.c: Fix typos in comments.
19715 * libio/oldfileops.c: Likewise.
19716 * libio/wfileops.c: Likewise.
19718 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19721 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19722 (tst-malloc-usable-ENV): Set environment for test case.
19723 * malloc/hooks.c (malloc_check_get_size): New function to get
19725 * malloc/malloc.c (musable): Use malloc_check_get_size.
19726 * malloc/tst-malloc-usable.c: New test case.
19728 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19730 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19732 2012-09-05 Allan McRae <allan@archlinux.org>
19735 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19736 determine header location.
19737 * configure: Regenerated.
19739 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19741 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19743 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19744 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19746 (test): Regenerate.
19748 2012-09-04 David S. Miller <davem@davemloft.net>
19750 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19751 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19752 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19754 2012-09-04 Florian Weimer <fweimer@redhat.com>
19756 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19759 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19761 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19764 * libio/iogetdelim.c: Include <limits.h>.
19765 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19766 + len + 1 would overflow.
19768 2012-09-03 Andreas Jaeger <aj@suse.de>
19770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19771 * sysdeps/i386/fpu/libm-test-ulps: Update.
19773 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19775 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19776 Add s_sinf-sse2, s_conf-sse2.
19778 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19779 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19780 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19781 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19783 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19784 for using routine as __sinf_ia32.
19785 Use macro for function declaration and weak_alias.
19786 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19787 for using routine as __cosf_ia32.
19788 Use macro for function declaration and weak_alias.
19790 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19791 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19793 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19794 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19797 * math/libm-test.inc (cos_test): Add more test cases.
19798 (sin_test): Likewise.
19799 (sincos_test): Likewise.
19801 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19804 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19806 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19808 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19811 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19812 first element of the GOT.
19813 (elf_machine_load_address): Return the difference between
19814 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19816 2012-09-01 Allan McRae <allan@archlinux.org>
19819 * configure.in (AWK): Require gawk version 3.0 or later.
19820 * configure: Regenerated.
19822 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19824 * sysdeps/unix/sysv/linux/kernel-features.h
19825 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19826 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19827 [__NR_clock_getres]: Make code unconditional.
19828 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19829 (clock_getcpuclockid): Remove code left unreachable by removal of
19831 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19832 code unconditional.
19833 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19834 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19835 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19836 Make code unconditional.
19837 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19838 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19839 * sysdeps/unix/sysv/linux/clock_settime.c
19840 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19842 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19843 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19845 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19848 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19849 scripts/test-installation.pl.
19851 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19852 and $ld_so_version if it is set.
19854 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19858 failure if reading from procfs failed.
19859 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19861 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19863 * sysdeps/unix/sysv/linux/kernel-features.h
19864 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19865 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19866 Remove conditional code.
19867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19868 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19869 Remove conditional code.
19870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19871 * sysdeps/unix/sysv/linux/i386/fxstat.c
19872 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19874 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19875 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19877 * sysdeps/unix/sysv/linux/i386/lxstat.c
19878 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19880 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19881 Remove conditional code.
19882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19883 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19884 Remove conditional code.
19885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19886 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19887 <kernel-features.h>.
19888 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19890 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19891 Remove conditional code.
19892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19893 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19894 Remove conditional.
19896 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19899 * NEWS: Add fixed bug number.
19901 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19904 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19905 underflowing exponent in case of negative sign.
19906 * stdlib/tst-strtod-round-data: Add more tests.
19907 * stdlib/tst-strtod-round.c (tests): Regenerated.
19910 * stdlib/strtod_l.c (NDIG): Remove.
19911 (HEXNDIG): Likewise.
19912 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19913 smallest representable value.
19914 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19915 lie within an exact representation of 1/2 ulp of the result.
19916 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19918 (TENS_P9_IDX): Define unconditionally.
19919 (TENS_P9_SIZE): Likewise.
19920 (TENS_P10_IDX): Likewise.
19921 (TENS_P10_SIZE): Likewise.
19922 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19923 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19924 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19925 entries for 10^2^13 and 10^2^14.
19926 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19927 (TENS_P13_IDX): Define.
19928 (TENS_P13_SIZE): Likewise.
19929 (TENS_P14_IDX): Likewise.
19930 (TENS_P14_SIZE): Likewise.
19931 (_fpioconst_pow10): Change array size to
19932 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19934 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19935 1024]: Add entries for 10^2^13 and 10^2^14.
19936 [LAST_POW10 > _LAST_POW10]: Remove #error.
19937 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19938 (_fpioconst_pow10): Change array size to
19939 FPIOCONST_POW10_ARRAY_SIZE.
19940 * stdlib/gen-fpioconst.c: New file.
19941 * stdlib/gen-tst-strtod-round.c: Likewise.
19942 * stdlib/tst-strtod-round-data: Likewise.
19943 * stdlib/tst-strtod-round.c: Likewise.
19944 * stdlib/Makefile (tests): Add tst-strtod-round.
19947 * stdlib/strtod_l.c: Include <stdint.h>.
19948 (NDEBUG): Do not define.
19949 (round_and_return): Change EXPONENT parameter to type intmax_t.
19950 Rearrange calculations to avoid internal overflow possibilities.
19951 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19952 Rearrange calculations to avoid internal overflow possibilities.
19953 Assert that number fits inside MPNSIZE limbs.
19954 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19955 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19956 calculations and add assertions to avoid internal overflow
19957 possibilities. Add casts to avoid signed/unsigned operations.
19958 * stdlib/tst-strtod-overflow.c: New file.
19959 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19961 2012-08-25 Marek Polacek <polacek@redhat.com>
19963 * time/time.h: Fix some typos in comments.
19965 2012-08-23 Roland McGrath <roland@hack.frob.com>
19967 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19968 * posix/tst-rfc3484-2.c: Likewise.
19969 * posix/tst-rfc3484-3.c: Likewise.
19971 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19973 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19974 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19976 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19978 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19979 #include of fxstatat64.c.
19981 2012-08-22 Roland McGrath <roland@hack.frob.com>
19983 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19984 * shadow/getspent_r.c: Likewise.
19985 * shadow/getspnam.c: Likewise.
19986 * shadow/getspnam_r.c: Likewise.
19987 * gshadow/getsgent.c: Likewise.
19988 * gshadow/getsgent_r.c: Likewise.
19989 * gshadow/getsgnam.c: Likewise.
19990 * gshadow/getsgnam_r.c: Likewise.
19991 * inet/getnetbyad.c: Likewise.
19992 * inet/getnetbyad_r.c: Likewise.
19993 * inet/getnetbynm.c: Likewise.
19994 * inet/getnetbynm_r.c: Likewise.
19995 * inet/getnetent.c: Likewise.
19996 * inet/getnetent_r.c: Likewise.
19997 * inet/getproto.c: Likewise.
19998 * inet/getproto_r.c: Likewise.
19999 * inet/getprtent.c: Likewise.
20000 * inet/getprtent_r.c: Likewise.
20001 * inet/getprtname.c: Likewise.
20002 * inet/getprtname_r.c: Likewise.
20003 * inet/getrpcbyname.c: Likewise.
20004 * inet/getrpcbyname_r.c: Likewise.
20005 * inet/getrpcbynumber.c: Likewise.
20006 * inet/getrpcbynumber_r.c: Likewise.
20007 * inet/getrpcent.c: Likewise.
20008 * inet/getrpcent_r.c: Likewise.
20009 * inet/getaliasent.c: Likewise.
20010 * inet/getaliasent_r.c: Likewise.
20011 * inet/getaliasname.c: Likewise.
20012 * inet/getaliasname_r.c: Likewise.
20013 * nscd/getgrgid_r.c: Likewise.
20014 * nscd/getgrnam_r.c: Likewise.
20015 * nscd/gethstbyad_r.c: Likewise.
20016 * nscd/gethstbynm3_r.c: Likewise.
20017 * nscd/getpwnam_r.c: Likewise.
20018 * nscd/getpwuid_r.c: Likewise.
20019 * nscd/getsrvbynm_r.c: Likewise.
20020 * nscd/getsrvbypt_r.c: Likewise.
20021 * nscd/gai.c: Likewise.
20023 * configure.in (build_nscd): New substituted variable, set
20024 by --disable-build-nscd and defaults to $use_nscd.
20025 * configure: Regenerated.
20026 * config.make.in (build-nscd): New substituted variable.
20027 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20028 Change conditional to require [$(build-nscd) = yes] as well.
20029 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20032 * configure.in (use_nscd): New substituted variable, set by
20033 --disable-nscd. If enabled, define USE_NSCD.
20034 * configure: Regenerated.
20035 * config.h.in: Add USE_NSCD.
20036 * config.make.in (use-nscd): New substituted variable.
20037 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20038 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20039 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20040 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20041 (CFLAGS-getgrnam_r.c): Likewise.
20042 (CFLAGS-initgroups.c): Likewise.
20043 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20044 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20046 * inet/getnetgrent_r.c
20047 (nscd_setnetgrent): New function, broken out of ...
20048 (setnetgrent): ... here. Call it.
20049 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20050 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20051 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20052 * nscd/Makefile (routines, aux): Move definitions after include of
20053 Makeconfig. Conditionalize on [$(use-nscd) != no].
20054 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20055 Conditionalize on [USE_NSCD].
20056 (is_nscd, nscd_init_cb): Likewise.
20057 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20058 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20059 * nss/nss_db/db-init.c: Likewise.
20060 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20062 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20063 (make_request): Use it.
20064 (cache_valid_p): New function.
20065 (__check_pf): Use it.
20066 * NEWS: Add item for --disable-nscd.
20068 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20070 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20071 to support sed >= 4.2.1-20-ga9bf076.
20072 * configure: Regenerated.
20074 2012-08-22 Roland McGrath <roland@hack.frob.com>
20076 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20077 Conditionalize whole body on [IREL].
20079 2012-08-22 Jeff Law <law@redhat.com>
20082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20083 if the family is PF_UNSPEC.
20085 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20087 * Makerules (lib-version): Rename from V.
20088 (install-lib-nosubdir): Change V to lib-version.
20090 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20093 * powerpc32/power6/wcschr.c: New file.
20094 * powerpc32/power6/wcscpy.c: New file.
20095 * powerpc32/power6/wcsrchr.c: New file.
20096 * powerpc64/power6/wcschr.c: New file.
20097 * powerpc64/power6/wcscpy.c: New file.
20098 * powerpc64/power6/wcsrchr.c: New file.
20100 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20102 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20103 (two_way_short_needle): Use it.
20104 * string/strstr.c (AVAILABLE1_USES_J): Define.
20105 * string/strcasestr.c: Likewise.
20107 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20109 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20112 * NEWS: Add an entry.
20113 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20114 define their defaults.
20115 (two_way_short_needle): Detect end-of-string on-the-fly.
20116 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20117 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20118 * string/bug-strcasestr1.c: New test.
20119 * string/Makefile: Run it.
20121 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20124 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20125 the first character.
20127 2012-08-21 Roland McGrath <roland@hack.frob.com>
20129 * csu/elf-init.c (__libc_csu_irel): Function removed.
20130 * csu/libc-start.c (apply_irel): New function.
20131 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20133 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20135 * sysdeps/unix/sysv/linux/kernel-features.h
20136 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20137 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20138 <kernel-features.h>.
20139 [__NR_fadvise64_64]: Make code unconditional.
20140 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20141 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20142 !__NR_fadvise64_64)]: Likewise.
20143 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20144 !__NR_fadvise64_64))]: Likewise.
20145 [__NR_fadvise64]: Make code unconditional.
20146 [!__NR_fadvise64]: Remove conditional code.
20147 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20148 <kernel-features.h>.
20149 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20151 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20154 not include <kernel-features.h>.
20155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20159 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20160 include <kernel-features.h>.
20161 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20163 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20166 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20169 slight instruction rearrangements per scrollpipe analysis.
20170 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20172 2012-08-20 Roland McGrath <roland@hack.frob.com>
20174 * manual/syslog.texi (syslog; vsyslog, closelog):
20175 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20176 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20178 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20179 DSOCAPS to match condition on defining it.
20181 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20183 * sysdeps/unix/sysv/linux/kernel-features.h
20184 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20186 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20187 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20189 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20190 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20192 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20193 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20195 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20196 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20198 * sysdeps/unix/sysv/linux/kernel-features.h
20199 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20200 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20202 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20203 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20204 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20205 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20206 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20207 Make code unconditional.
20208 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20209 (__mmap64) [!__NR_mmap2]: Likewise.
20210 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20211 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20212 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20213 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20214 [__NR_mmap2]: Make code unconditional.
20215 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20216 (__mmap64) [!__NR_mmap2]: Likewise.
20218 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20220 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20222 2012-08-18 Andreas Jaeger <aj@suse.de>
20224 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20226 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20228 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20229 * include/unistd.h (__have_sock_cloexec): Likewise.
20230 (__have_pipe2): Likewise.
20231 (__have_dup3): Likewise.
20233 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20236 * include/unistd.h (__have_pipe2): Change define into an extern int.
20237 (__have_dup3): Likewise.
20238 * socket/have_sock_cloexec.c: Include fcntl.h.
20239 (__have_pipe2): New variable.
20240 (__have_dup3): Likewise.
20242 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20244 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20246 2012-08-17 Marek Polacek <polacek@redhat.com>
20248 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20249 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20251 2012-08-17 Roland McGrath <roland@hack.frob.com>
20253 * configure.in: Add AC_SUBST for sysheaders.
20254 * configure: Regenerated.
20255 * config.make.in (sysheaders): New substituted variable.
20257 * sysdeps/unix/mkfifo.c: Moved ...
20258 * sysdeps/posix/mkfifo.c: ... here.
20259 * sysdeps/unix/mkfifoat.c: Moved ...
20260 * sysdeps/posix/mkfifoat.c: ... here.
20262 * sysdeps/unix/utime.c: Moved ...
20263 * sysdeps/posix/utime.c: ... here.
20265 * sysdeps/unix/time.c: Moved ...
20266 * sysdeps/posix/time.c: ... here.
20267 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20268 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20270 * sysdeps/unix/nice.c: Moved ...
20271 * sysdeps/posix/nice.c: ... here.
20273 * sysdeps/unix/alarm.c: Moved ...
20274 * sysdeps/posix/alarm.c: ... here.
20276 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20278 2012-08-17 Jeff Law <law@redhat.com>
20280 * intl/Makefile (codeset_mo): New variable.
20281 ($(codeset_mo)): New target.
20282 (tst-codeset.out): Depend on that. Remove explicit rule.
20283 (tst-gettext3.out, tst-gettext5.out): Likewise.
20284 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20285 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20286 * intl/tst-codeset.sh: Remove.
20287 * intl/tst-gettext3.sh: Likewise.
20288 * intl/tst-gettext5.sh: Likewise.
20290 2012-08-17 Roland McGrath <roland@hack.frob.com>
20292 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20293 * sysdeps/unix/syscalls.list: ... here.
20295 * sysdeps/posix/getaddrinfo.c
20296 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20297 (gaiconf_init, gaiconf_reload): Use them.
20298 [!_STATBUF_ST_NSEC]
20299 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20300 Define using time_t rather than struct timespec.
20302 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20303 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20305 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20307 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20308 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20311 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20312 __libc_cleanup_push argument.
20314 * bits/param.h: New file.
20315 * misc/sys/param.h: New file.
20316 * include/sys/param.h: New file.
20317 * misc/Makefile (headers): Add bits/param.h.
20318 * sysdeps/generic/sys/param.h: File removed.
20319 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20320 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20321 * sysdeps/mach/hurd/bits/param.h: New file.
20322 * sysdeps/mach/hurd/sys/param.h: File removed.
20324 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20327 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20329 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20330 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20333 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20334 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20335 rather than -D_IO_MTSAFE_IO conditionally.
20336 * stdio-common/Makefile (CPPFLAGS): Likewise.
20337 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20338 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20339 Use $(libio-mtsafe).
20340 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20341 of -D_IO_MTSAFE_IO.
20342 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20343 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20344 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20345 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20346 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20347 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20348 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20349 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20350 (CFLAGS-fread_u_chk.c): Likewise.
20351 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20352 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20353 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20354 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20355 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20356 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20357 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20358 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20359 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20361 * libio/Makefile: Test [$(libc-reentrant) = yes]
20362 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20365 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20366 * sysdeps/pthread/configure: File removed.
20367 * sysdeps/pthread/Makeconfig: New file.
20368 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20369 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20371 2012-08-16 Gary Benson <gbenson@redhat.com>
20373 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20374 unmapping the first object in a namespace.
20376 2012-08-16 Roland McGrath <roland@hack.frob.com>
20378 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20379 (__internal_setnetgrent): ... this. Add internal_function to
20380 definition. Add libc_hidden_def.
20381 (setnetgrent): Update caller.
20382 (internal_endnetgrent): Renamed to ...
20383 (__internal_endnetgrent): ... this. Add internal_function to
20384 definition. Add libc_hidden_def.
20385 (endnetgrent): Update caller.
20386 (internal_getnetgrent_r): Renamed to ...
20387 (__internal_getnetgrent_r): ... this. Add internal_function to
20388 definition. Add libc_hidden_def.
20389 (__getnetgrent_r): Update caller.
20390 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20392 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20394 * stdlib/longlong.h: Update from GCC.
20396 2012-08-16 Roland McGrath <roland@hack.frob.com>
20398 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20399 on _QL, which is set by umul_ppmm but never used.
20400 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20401 variables, which are set by GMP macros but never used.
20402 * stdio-common/_itowa.c (_itowa): Likewise.
20403 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20404 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20406 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20408 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20409 struct La_sh_regs is not constant.
20410 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20411 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20412 and struct La_sparc64_regs are not constant.
20414 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20416 * sysdeps/unix/sysv/linux/kernel-features.h
20417 (__ASSUME_POSIX_TIMERS): Remove.
20418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20420 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20421 Make code unconditional.
20422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20423 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20424 Make code unconditional.
20425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20426 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20427 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20429 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20430 Make code unconditional.
20431 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20432 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20433 (__libc_missing_posix_timers): Remove.
20435 2012-08-15 Roland McGrath <roland@hack.frob.com>
20437 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20438 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20440 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20442 * elf/dl-sym.c: Include <stdlib.h>.
20444 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20445 constants, which avoids warnings in 32-bit builds.
20447 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20448 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20450 * misc/lseek.c: File moved to ...
20451 * io/lseek.c: ... here.
20453 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20455 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20456 shifting LEN more than 31 bits at once.
20458 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20461 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20462 segmentation fault for a case of two empty input strings.
20463 * string/test-strncasecmp.c (check1): Renamed to...
20464 (bz12205): ...this.
20465 (bz14195): Add new testcase for two empty input strings and N > 0.
20466 (test_main): Call new testcase, adapt for renamed function.
20468 2012-08-15 Andreas Jaeger <aj@suse.de>
20471 * crypt/md5test2.c: New test, based on test supplied by Serge
20472 Belyshev <belyshev@depni.sinp.msu.ru>.
20473 * crypt/Makefile (xtests): Add md5test-giant..
20474 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20476 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20479 * crypt/md5.c (md5_process_block): Don't assume the buffer
20480 length is less than 2**32.
20481 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20482 length is less than 2**64.
20484 2012-08-15 Roland McGrath <roland@hack.frob.com>
20486 * string/str-two-way.h: Include <sys/param.h>.
20487 (MAX): Macro removed.
20489 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20490 Move #define and #undef of memmove to just before and after
20491 including <string.h>.
20493 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20494 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20495 and after including <string.h>. Move declarations of
20496 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20497 to before #include "string/memmove.c".
20499 * include/dirent.h: Declare __getdirentries.
20501 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20502 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20504 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20506 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20507 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20508 * sysdeps/i386/configure: Regenerated.
20509 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20510 STABS_CURRENT_FILE, and STABS_FUN.
20511 (END): Remove call to STABS_FUN_END.
20512 (STABS_CURRENT_FILE1): Delete.
20513 (STABS_CURRENT_FILE): Likewise.
20514 (STABS_FUN): Likewise.
20515 (STABS_FUN_END): Likewise.
20516 (STABS_FUN2): Likewise.
20517 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20518 * sysdeps/x86_64/configure: Regenerated.
20520 2012-08-14 Roland McGrath <roland@hack.frob.com>
20522 * elf/dl-open.c: Include <atomic.h>.
20523 * elf/dl-lookup.c: Likewise.
20525 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20527 * sysdeps/unix/sysv/linux/kernel-features.h
20528 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20529 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20531 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20533 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20534 condition on __ASSUME_CLONE_THREAD_FLAGS.
20536 2012-08-14 Andreas Jaeger <aj@suse.de>
20538 * sysdeps/i386/fpu/libm-test-ulps: Update.
20540 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20542 * include/atomic.h (atomic_exchange_and_add): Split into ...
20543 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20546 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20550 2012-08-13 Jeff Law <law@redhat.com>
20552 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20553 null byte in the output string.
20555 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20557 * sysdeps/unix/sysv/linux/kernel-features.h
20558 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20559 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20560 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20562 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20563 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20564 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20566 2012-08-09 Jeff Law <law@redhat.com>
20569 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20570 When avoid_arena is set, don't retry in the that arena. Pick the
20571 next one, whatever it might be.
20572 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20573 (arena_lock): Pass in new parameter to arena_get2.
20574 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20576 (__libc_malloc): Unify retrying after main arena failure with
20577 __libc_memalign version.
20578 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20580 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20583 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20584 to __redirect_strstr.
20585 (__strstr_sse42): Use typeof __redirect_strstr.
20586 (__strstr_ia32): Likewise.
20587 (__libc_strstr): New prototype.
20588 (strstr): Renamed to ...
20589 (__libc_strstr): This.
20590 (strstr): New strong alias of __libc_strstr.
20591 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20595 (__libc_time): New prototype.
20596 (time_ifunc): Replace time with __libc_time.
20597 (time): New strong alias and hidden definition of __libc_time.
20598 (__GI_time): Remove strong alias.
20599 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20600 Include <stddef.h>.
20601 (memmove): Redefined to __redirect_memmove.
20602 (__memmove_sse2): Use typeof __redirect_memmove.
20603 (__memmove_ssse3): Likewise.
20604 (__memmove_ssse3_back): Likewise.
20605 (__libc_memmove): New prototype.
20606 (memmove): Renamed to ...
20607 (__libc_memmove): This.
20608 (memmove): New strong alias of __libc_memmove.
20610 2012-08-08 Mark Salter <msalter@redhat.com>
20613 (R_MN10300_TLS_GD): Define.
20614 (R_MN10300_TLS_LD): Likewise.
20615 (R_MN10300_TLS_LDO): Likewise.
20616 (R_MN10300_TLS_GOTIE): Likewise.
20617 (R_MN10300_TLS_IE): Likewise.
20618 (R_MN10300_TLS_LE): Likewise.
20619 (R_MN10300_TLS_DTPMOD): Likewise.
20620 (R_MN10300_TLS_DTPOFF): Likewise.
20621 (R_MN10300_TLS_TPOFF): Likewise.
20622 (R_MN10300_SYM_DIFF): Likewise.
20623 (R_MN10300_ALIGN): Likewise.
20624 (R_MN10300_NUM): Update.
20626 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20631 2012-08-08 Roland McGrath <roland@hack.frob.com>
20633 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20635 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20636 sysdeps/unix -> sysdeps/posix move.
20637 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20639 2012-08-07 Allan McRae <allan@archlinux.org>
20642 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20643 (SUNOS_CPP): Likewise.
20644 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20646 (open_input): Call CPP using execvp.
20648 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20650 * sysdeps/unix/sysv/linux/kernel-features.h
20651 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20652 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20653 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20654 (__ASSUME_WAITID_SYSCALL): Likewise.
20655 * sysdeps/unix/sysv/linux/dl-execstack.c
20656 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20657 code unconditional.
20658 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20660 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20661 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20662 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20664 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20666 [__ASSUME_WAITID_SYSCALL]: Likewise.
20667 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20669 2012-08-07 Roland McGrath <roland@hack.frob.com>
20671 * sysdeps/unix/closedir.c: Renamed to ...
20672 * sysdeps/posix/closedir.c: ... here.
20673 * sysdeps/unix/dirfd.c: Renamed to ...
20674 * sysdeps/posix/dirfd.c: ... here.
20675 * sysdeps/unix/dirstream.h: Renamed to ...
20676 * sysdeps/posix/dirstream.h: ... here.
20677 * sysdeps/unix/fdopendir.c: Renamed to ...
20678 * sysdeps/posix/fdopendir.c: ... here.
20679 * sysdeps/unix/opendir.c: Renamed to ...
20680 * sysdeps/posix/opendir.c: ... here.
20681 * sysdeps/unix/readdir.c: Renamed to ...
20682 * sysdeps/posix/readdir.c: ... here.
20683 * sysdeps/unix/readdir_r.c: Renamed to ...
20684 * sysdeps/posix/readdir_r.c: ... here.
20685 * sysdeps/unix/rewinddir.c: Renamed to ...
20686 * sysdeps/posix/rewinddir.c: ... here.
20687 * sysdeps/unix/seekdir.c: Renamed to ...
20688 * sysdeps/posix/seekdir.c: ... here.
20689 * sysdeps/unix/telldir.c: Renamed to ...
20690 * sysdeps/posix/telldir.c: ... here.
20691 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20692 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20693 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20694 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20696 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20697 * bits/fcntl.h: ... here.
20699 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20701 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20702 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20703 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20704 (struct flock): Move l_start, l_len to the beginning.
20705 Use __pid_t for l_pid.
20706 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20707 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20708 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20709 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20710 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20711 [__USE_LARGEFILE64] (struct flock64): New type.
20712 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20714 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20715 * bits/dirent.h: ... here.
20717 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20718 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20720 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20723 Change from 2.6.0 to 2.6.16.
20724 * sysdeps/unix/sysv/linux/configure: Regenerated.
20725 * sysdeps/unix/sysv/linux/kernel-features.h
20726 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20727 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20729 (__ASSUME_UTIMES): Likewise.
20730 (__ASSUME_CLONE_STOPPED): Remove.
20731 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20732 architectures, not kernel version.
20733 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20734 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20735 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20736 (__ASSUME_WAITID_SYSCALL): Likewise.
20737 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20738 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20739 * README: State 2.6.16 as minimum Linux kernel version. Do not
20740 refer to older versions.
20742 2012-08-06 Roland McGrath <roland@hack.frob.com>
20744 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20745 Define alphasort64 as an alias.
20746 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20747 Define versionsort64 as an alias.
20748 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20749 Define scandir64 as an alias.
20750 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20751 Define scandirat64 as an alias.
20752 * dirent/alphasort64.c (alphasort64):
20753 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20754 * dirent/versionsort64.c: Likewise.
20755 * dirent/scandir64.c: Likewise.
20756 * dirent/scandirat64.c: Likewise.
20757 * sysdeps/wordsize-64/alphasort.c: File removed.
20758 * sysdeps/wordsize-64/alphasort64.c: File removed.
20759 * sysdeps/wordsize-64/scandir.c: File removed.
20760 * sysdeps/wordsize-64/scandir64.c: File removed.
20761 * sysdeps/wordsize-64/scandirat.c: File removed.
20762 * sysdeps/wordsize-64/scandirat64.c: File removed.
20763 * sysdeps/wordsize-64/versionsort.c: File removed.
20764 * sysdeps/wordsize-64/versionsort64.c: File removed.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20766 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20768 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20770 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20771 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20772 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20774 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20776 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20778 [defined __arch64__ || defined __sparcv9]
20779 (__INO_T_MATCHES_INO64_T): New macro.
20780 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20781 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20782 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20783 * sysdeps/unix/sysv/linux/bits/dirent.h
20784 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20785 (_DIRENT_MATCHES_DIRENT64): New macro.
20787 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20788 Define lockf64 as an alias.
20789 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20790 Define fseeko64 as an alias.
20791 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20792 Define ftello64 as an alias.
20793 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20794 Define _IO_fgetpos64 and fgetpos64 as aliases.
20795 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20796 Define _IO_fsetpos64 and fsetpos64 as aliases.
20797 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20798 Conditionalize body on this.
20799 * libio/fseeko64.c: Likewise.
20800 * libio/ftello64.c: Likewise.
20801 * libio/iofgetpos64.c: Likewise.
20802 * libio/iofsetpos64.c: Likewise.
20803 * sysdeps/wordsize-64/lockf.c: File removed.
20804 * sysdeps/wordsize-64/lockf64.c: File removed.
20805 * sysdeps/wordsize-64/fseeko.c: File removed.
20806 * sysdeps/wordsize-64/fseeko64.c: File removed.
20807 * sysdeps/wordsize-64/ftello.c: File removed.
20808 * sysdeps/wordsize-64/ftello64.c: File removed.
20809 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20810 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20811 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20812 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20815 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20816 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20817 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20818 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20819 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20820 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20821 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20824 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20826 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20828 [defined __arch64__ || defined __sparcv9]
20829 (__OFF_T_MATCHES_OFF64_T): New macro.
20830 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20831 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20833 (__OFF_T_MATCHES_OFF64_T): New macro.
20835 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20837 * stdlib/secure-getenv.c (__secure_getenv): Replace
20838 GLIBC_2_16 with GLIBC_2_17.
20840 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20842 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20843 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20845 2012-08-03 David S. Miller <davem@davemloft.net>
20847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20849 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20851 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20853 (__ASSUME_CORRECT_SI_PID): Likewise.
20854 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20855 (__ASSUME_TMPFS_NAME): Likewise.
20856 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20857 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20858 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20859 (HAVE_AUX_SECURE): Make definition unconditional.
20860 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20861 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20863 2012-08-03 Roland McGrath <roland@hack.frob.com>
20865 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20866 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20867 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20868 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20869 __eloop_threshold instead of SYMLOOP_MAX.
20871 * sysdeps/generic/eloop-threshold.h: New file.
20872 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20874 * elf/chroot_canon.c (chroot_canon): Likewise.
20876 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20880 Change to 2.6.0 everywhere.
20881 * sysdeps/unix/sysv/linux/configure: Regenerated.
20882 * sysdeps/unix/sysv/linux/kernel-features.h
20883 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20884 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20886 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20887 (__ASSUME_FUTEX_REQUEUE): Remove.
20888 (__ASSUME_STATFS64): Define unconditionally.
20889 (__ASSUME_AT_SECURE): Likewise.
20890 (__ASSUME_CORRECT_SI_PID): Likewise.
20891 (__ASSUME_TGKILL): Define without depending on kernel version for
20893 (__ASSUME_UTIMES): Likewise.
20894 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20896 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20897 (__ASSUME_TMPFS_NAME): Likewise.
20898 * README: Update reference to Linux kernel versions.
20900 2012-08-02 Marek Polacek <polacek@redhat.com>
20903 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20904 libc_cv_asm_type_prefix with %.
20905 * configure: Regenerated.
20906 * include/libc-symbols.h: Remove comment about
20907 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20908 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20909 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20910 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20911 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20912 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20913 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20914 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20915 * elf/tst-unique2mod1.c: Likewise.
20916 * elf/tst-unique1mod2.c: Likewise.
20917 * elf/tst-unique1mod1.c: Likewise.
20918 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20919 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20920 Replace ASM_TYPE_DIRECTIVE with .type.
20921 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20922 * sysdeps/i386/sysdep.h: Likewise.
20923 * sysdeps/x86_64/sysdep.h: Likewise.
20924 * sysdeps/sh/sysdep.h: Likewise.
20925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20926 Do not define ASM_TYPE_DIRECTIVE.
20927 * sysdeps/powerpc/sysdep.h: Likewise.
20928 * sysdeps/powerpc/powerpc32/sysdep.h:
20929 Replace ASM_TYPE_DIRECTIVE with .type.
20930 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20931 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20932 * sysdeps/i386/fpu/e_powf.S: Likewise.
20933 * sysdeps/i386/fpu/e_expl.S: Likewise.
20934 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20935 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20936 * sysdeps/i386/fpu/e_pow.S: Likewise.
20937 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20938 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20939 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20940 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20941 * sysdeps/i386/fpu/e_log2.S: Likewise.
20942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20943 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20944 * sysdeps/i386/fpu/e_powl.S: Likewise.
20945 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20946 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20947 * sysdeps/i386/fpu/e_logl.S: Likewise.
20948 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20949 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20950 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20951 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20952 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20953 * sysdeps/i386/fpu/e_log.S: Likewise.
20954 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20955 * sysdeps/i386/fpu/e_logf.S: Likewise.
20956 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20957 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20958 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20959 * sysdeps/i386/fpu/e_log10.S: Likewise.
20960 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20961 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20962 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20963 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20964 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20965 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20966 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20967 * sysdeps/i386/i686/strtok.S: Likewise.
20968 * sysdeps/i386/i386-mcount.S: Likewise.
20969 * sysdeps/i386/strtok.S: Likewise.
20970 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20971 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20972 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20973 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20975 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20976 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20977 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20978 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20979 * sysdeps/x86_64/_mcount.S: Likewise.
20980 * sysdeps/x86_64/strtok.S: Likewise.
20981 * sysdeps/sh/_mcount.S: Likewise.
20983 2012-08-01 Roland McGrath <roland@hack.frob.com>
20985 * libio/iofopen.c: Include <fcntl.h>.
20986 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20987 (_IO_fopen64, fopen64): Define as aliases.
20988 * libio/iofopen64.c: Include <fcntl.h>.
20989 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20990 Conditionalize body on this.
20991 * sysdeps/wordsize-64/iofopen.c: File removed.
20992 * sysdeps/wordsize-64/iofopen64.c: File removed.
20994 2012-08-01 Marek Polacek <polacek@redhat.com>
20996 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20997 Use dlfcn directly instead of a variable.
20998 (binfmt-subdir): Do not define.
21001 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21004 Remove all definitions.
21005 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21006 <kernel-features.h>.
21007 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21008 (miss_F_GETOWN_EX): Remove all definitions.
21009 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21011 [!__ASSUME_FCNTL64]: Remove conditional code.
21012 [__ASSUME_FCNTL64]: Make code unconditional.
21013 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21014 <kernel-features.h>.
21015 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21016 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21017 (lockf64) [__NR_fcntl64]: Make code unconditional.
21018 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21020 * sysdeps/unix/sysv/linux/kernel-features.h
21021 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21022 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21023 Make code unconditional.
21024 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21025 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21027 [__NR_vfork]: Make code unconditional.
21028 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21029 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21031 [__NR_vfork]: Make code unconditional.
21032 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21033 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21035 2012-08-01 Roland McGrath <roland@hack.frob.com>
21037 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21038 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21040 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21041 Define mkstemp64 as an alias.
21042 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21043 Define mkstemps64 as an alias.
21044 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21045 Define mkostemp64 as an alias.
21046 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21047 Define mkostemps64 as an alias.
21048 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21049 Conditionalize body on this.
21050 * misc/mkostemp64.c: Likewise.
21051 * misc/mkostemps64.c: Likewise.
21052 * misc/mkstemps64.c: Likewise.
21053 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21054 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21055 * sysdeps/wordsize-64/mkostemp.c: File removed.
21056 * sysdeps/wordsize-64/mkstemp.c: File removed.
21057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21059 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21063 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21064 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21065 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21066 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21068 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21069 compat_symbol macros from <shlib-compat.h> rather than the underlying
21070 default_symbol_version and symbol_version macros, so that DEFAULT
21071 lines in shlib-versions are respected.
21072 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21074 2012-08-01 Florian Weimer <fweimer@redhat.com>
21076 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21077 Declare with warn_unused_result.
21078 (setgid, setregid, setegid, setresgid): Likewise.
21079 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21081 * WUR-REPORT: Remove set*id functions.
21083 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21085 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21087 2012-07-31 Roland McGrath <roland@hack.frob.com>
21090 * include/sys/socket.h (__libc_accept, __libc_accept4):
21091 Add attribute_hidden.
21092 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21094 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21096 * inet/getnetgrent_r.c (setup): Likewise.
21098 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21100 2012-07-31 David S. Miller <davem@davemloft.net>
21102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21104 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21107 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21108 value between 1.0 and 2.0 and smaller part has absolute value less
21110 * math/s_clog10.c (__clog10): Likewise.
21111 * math/s_clog10f.c (__clog10f): Likewise.
21112 * math/s_clog10l.c (__clog10l): Likewise.
21113 * math/s_clogf.c (__clogf): Likewise.
21114 * math/s_clogl.c (__clogl): Likewise.
21115 * math/libm-test.inc (clog_test): Add more tests.
21116 (clog10_test): Likewise.
21117 * sysdeps/i386/fpu/libm-test-ulps: Update.
21118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21120 2012-07-31 Florian Weimer <fweimer@redhat.com>
21122 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21123 Exit with zero in case no suitable GID is found, and write a
21124 message to standard error.
21126 2012-07-30 Roland McGrath <roland@hack.frob.com>
21128 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21130 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21131 (MAXPATHLEN): Removed.
21132 (NOGROUP, NODEV): New macros.
21133 (setbit, clrbit, isset, isclr): New macros.
21134 (howmany, roundup, powerof2): New macros.
21135 (DEV_BSIZE): New macro.
21137 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21138 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21140 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21141 definition on [!__NO_LONG_DOUBLE_MATH].
21143 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21144 PTR_MANGLE and PTR_DEMANGLE.
21146 * socket/accept4.c (accept4): Rename to __libc_accept4.
21147 Define accept4 as a weak alias.
21149 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21150 on [_DIRENT_HAVE_D_TYPE].
21151 * io/ftw.c (ftw_dir): Likewise.
21153 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21155 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21157 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21158 Use the BSD numbers rather than the arbitrary ones we had.
21159 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21160 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21161 (SIGXCPU, SIGXFSZ): New macros.
21164 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21165 initializer on [_LIBC_REENTRANT].
21167 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21168 definitions inside [_POSIX_MAPPED_FILES].
21170 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21172 * dirent/opendir.c: Include <fcntl.h>.
21174 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21175 (__libc_getspecific): Likewise.
21176 (__libc_key_create): Likewise.
21178 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21179 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21180 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21181 (tmpfile64): Define as alias.
21182 * sysdeps/wordsize-64/tmpfile.c: File removed.
21183 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21185 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21187 * stdio-common/vfscanf.c: Include <stdbool.h>.
21188 * nss/makedb.c: Likewise.
21189 * stdio-common/_i18n_number.h: Likewise.
21190 * argp/argp-help.c: Likewise.
21191 * posix/wordexp.c: Likewise.
21192 * sysdeps/posix/spawni.c: Likewise.
21193 * nss/nss_files/files-initgroups.c: Likewise.
21194 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21195 * nss/nss_files/files-initgroups.c: Likewise.
21196 * nss/nss_db/db-netgrp.c: Likewise.
21197 * nss/nss_db/db-initgroups.c: Likewise.
21198 * io/fchmodat.c: Include <sys/stat.h>.
21200 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21201 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21203 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21206 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21207 Add multiple inclusion protection.
21209 2012-07-27 David S. Miller <davem@davemloft.net>
21211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21213 2012-07-27 Gary Benson <gbenson@redhat.com>
21216 * elf/rtld.c: Include <stap-probe.h>.
21217 (dl_main): Added static probes "init_start" and "init_complete".
21218 * elf/dl-load.c: Include <stap-probe.h>.
21219 (lose): Take new parameter "nsid".
21220 Added static probe "map_failed".
21221 (_dl_map_object_from_fd): Pass namespace id to lose.
21222 Added static probe "map_start".
21223 (open_verify): Pass namespace id to lose.
21224 * elf/dl-open.c: Include <stap-probe.h>.
21225 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21226 and "reloc_complete".
21227 * elf/dl-close.c: Include <stap-probe.h>.
21228 (_dl_close_worker): Added static probes "unmap_start" and
21230 * elf/rtld-debugger-interface.txt: New file documenting the above.
21232 2012-07-26 Roland McGrath <roland@hack.frob.com>
21234 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21235 rather than a string variable.
21236 * sunrpc/rpc_main.c (h_output): Likewise.
21237 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21239 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21241 * inet/check_native.c: New file.
21243 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21246 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21247 if larger part has absolute value 1.0.
21248 * math/s_clog10.c (__clog10): Likewise.
21249 * math/s_clog10f.c (__clog10f): Likewise.
21250 * math/s_clog10l.c (__clog10l): Likewise.
21251 * math/s_clogf.c (__clogf): Likewise.
21252 * math/s_clogl.c (__clogl): Likewise.
21253 * math/libm-test.inc (clog_test): Add more tests.
21254 (clog10_test): Likewise.
21255 * sysdeps/i386/fpu/libm-test-ulps: Update.
21256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21258 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21259 (pltexit): Likewise.
21260 (La_regs): Likewise.
21261 (La_retval): Likewise.
21262 (int_retval): Likewise.
21263 Update #error for removed macros to refer only to definitions in
21265 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21267 (pltexit): Likewise.
21268 (La_regs): Likewise.
21269 (La_retval): Likewise.
21270 (int_retval): Likewise.
21271 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21273 (pltexit): Likewise.
21274 (La_regs): Likewise.
21275 (La_retval): Likewise.
21276 (int_retval): Likewise.
21277 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21279 (pltexit): Likewise.
21280 (La_regs): Likewise.
21281 (La_retval): Likewise.
21282 (int_retval): Likewise.
21283 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21285 (pltexit): Likewise.
21286 (La_regs): Likewise.
21287 (La_retval): Likewise.
21288 (int_retval): Likewise.
21289 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21291 (pltexit): Likewise.
21292 (La_regs): Likewise.
21293 (La_retval): Likewise.
21294 (int_retval): Likewise.
21295 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21297 (pltexit): Likewise.
21298 (La_regs): Likewise.
21299 (La_retval): Likewise.
21300 (int_retval): Likewise.
21301 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21302 macro definitions in tst-audit.h.
21303 * sysdeps/i386/tst-audit.h: New file.
21304 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21305 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21306 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21307 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21308 * sysdeps/sh/tst-audit.h: Likewise.
21309 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21310 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21311 * sysdeps/x86_64/tst-audit.h: Likewise.
21313 2012-07-26 Andreas Jaeger <aj@suse.de>
21315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21318 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21319 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21320 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21322 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21323 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21324 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21326 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21329 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21331 (si_call_addr, si_syscall, si_arch): Define new macro.
21332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21334 (si_call_addr, si_syscall, si_arch): Define new marcro.
21335 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21337 (si_call_addr, si_syscall, si_arch): Define new macro.
21338 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21340 (si_call_addr, si_syscall, si_arch): Define new macro.
21342 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21346 Change to 2.4.21 where previously 2.4.1.
21347 * sysdeps/unix/sysv/linux/configure: Regenerated.
21348 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21349 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21350 Linux kernel version.
21351 (__ASSUME_STD_AUXV): Remove.
21352 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21354 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21355 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21356 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21357 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21358 (__ASSUME_NETLINK_SUPPORT): Likewise.
21359 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21360 (__no_netlink_support): Remove conditional definition.
21361 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21363 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21364 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21365 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21366 (if_nameindex_ioctl): Remove.
21367 (if_nameindex_netlink): Do not handle __no_netlink_support.
21368 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21370 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21371 Remove conditional code.
21372 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21374 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21376 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21377 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21378 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21380 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21381 [!__ASSUME_STD_AUXV]: Remove conditional code.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21383 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21384 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21386 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21387 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21389 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21391 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21392 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21394 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21396 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21399 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21402 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21403 code unconditional.
21404 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21406 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21408 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21411 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21413 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21416 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21417 code unconditional.
21418 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21420 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21422 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21425 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21426 code unconditional.
21427 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21429 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21431 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21434 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21436 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21437 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21438 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21439 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21440 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21441 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21442 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21443 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21444 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21445 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21446 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21447 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21448 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21449 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21450 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21451 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21452 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21453 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21454 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21456 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21457 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21460 2012-07-25 Florian Weimer <fweimer@redhat.com>
21462 * Versions.def: Add GLIBC_2.17.
21463 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21464 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21465 Introduce __libc_secure_getenv.
21466 * stdlib/Versions (2.17): Add secure_getenv
21467 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21468 * stdlib/secure-getenv.c: Rename __secure_getenv to
21469 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21470 symbol __secure_getenv for GLIBC_2.0.
21471 * stdlib/tst-secure-getenv.c: New.
21472 * stdlib/Makefile (tests): Add testcase.
21473 * manual/startup.texi (Environment Access): Document
21475 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21476 __libc_secure_getenv.
21477 * inet/ruserpass.c (ruserpass): Likewise.
21478 * malloc/mtrace.c (mtrace): Likewise.
21479 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21480 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21481 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21482 * sysdeps/posix/tempname.c: Likewise. Evaluate
21483 HAVE_SECURE_GETENV.
21484 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21485 __secure_getenv to __libc_secure_getenv.
21486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21499 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21501 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21502 (struct La_i86_retval): Likewise.
21503 (struct La_x86_64_regs): Likewise.
21504 (struct La_x86_64_retval): Likewise.
21505 (struct La_x32_regs): Likewise.
21506 (struct La_x32_retval): Likewise.
21507 (struct La_ppc32_regs): Likewise.
21508 (struct La_ppc32_retval): Likewise.
21509 (struct La_ppc64_regs): Likewise.
21510 (struct La_ppc64_retval): Likewise.
21511 (struct La_sh_regs): Likewise.
21512 (struct La_sh_retval): Likewise.
21513 (struct La_s390_32_regs): Likewise.
21514 (struct La_s390_32_retval): Likewise.
21515 (struct La_s390_64_regs): Likewise.
21516 (struct La_s390_64_retval): Likewise.
21517 (struct La_sparc32_regs): Likewise.
21518 (struct La_sparc32_retval): Likewise.
21519 (struct La_sparc64_regs): Likewise.
21520 (struct La_sparc64_retval): Likewise.
21521 (struct audit_ifaces): Remove architecture-specific pltenter and
21523 * sysdeps/i386/ldsodefs.h: New file.
21524 * sysdeps/powerpc/ldsodefs.h: Likewise.
21525 * sysdeps/s390/ldsodefs.h: Likewise.
21526 * sysdeps/sh/ldsodefs.h: Likewise.
21527 * sysdeps/sparc/ldsodefs.h: Likewise.
21528 * sysdeps/x86_64/ldsodefs.h: Likewise.
21530 2012-07-25 Marek Polacek <polacek@redhat.com>
21533 * math/libm-test.inc (yn_test): Add another test.
21534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21535 to ERANGE when the result is +-Inf.
21536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21537 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21538 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21539 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21541 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21543 * conform/data/time.h-data (NULL): Use macro-constant. Require
21545 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21547 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21549 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21551 * configure.in <sysdeps resolving>: Correct printing
21553 * configure: Regenerate.
21555 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21557 * math/w_ilogb.c: Include <limits.h>.
21558 * math/w_ilogbl.c: Likewise.
21560 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21562 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21563 va_copy. Document allowing for unavailable va_copy only as
21564 pre-C99 compatibility.
21565 * manual/string.texi (Copying and Concatenation): Use va_copy
21566 instead of __va_copy in concat example.
21568 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21570 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21571 (__sendto): Use create_address_port. Initialize APORT and deallocate
21574 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21575 with O_NOLINK passed to __file_name_lookup.
21577 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21578 with O_NOLINK passed to __file_name_lookup.
21580 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21581 negative N or less than NGIDS.
21583 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21584 type to string_t. Set ERANGE as errno and return it if NAME is not big
21585 enough. Use memcpy instead of strncpy.
21587 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21589 * elf/Makefile (check-data): Remove.
21590 (localplt.data): New vpath directive.
21591 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21592 instead of $(check-data).
21593 * scripts/data/localplt-generic.data: Move to ...
21594 * sysdeps/generic/localplt.data: ... here.
21595 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21596 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21597 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21600 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21603 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21606 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21609 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21612 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21616 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21618 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21619 PPC32 and PPC64 files.
21620 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21621 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21623 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21625 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21626 __makecontext_ret to ...
21627 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21628 ... here and call exit if uc_link is NULL. New file.
21629 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21630 __makecontext_ret.S.
21631 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21632 __makecontext_ret to ...
21633 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21634 ... here and call exit if uc_link is NULL. New file.
21635 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21636 __makecontext_ret.S.
21638 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21640 * elf/elf.h (R_390_IRELATIVE): New definition.
21641 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21642 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21643 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21645 (elf_machine_lazy_rel): Likewise.
21646 * sysdeps/s390/dl-irel.h: New file.
21647 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21648 * sysdeps/s390/s390-64/memset.S: New asm code.
21649 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21650 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21652 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21653 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21654 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21656 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21657 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21658 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21659 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21660 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21661 * sysdeps/s390/s390-32/memset.S: New asm code.
21662 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21664 2012-07-17 Marek Polacek <polacek@redhat.com>
21667 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21668 * sysdeps/s390/s390-64/configure.in: Likewise.
21669 * sysdeps/sparc/configure.in: Likewise.
21670 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21671 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21672 * sysdeps/i386/configure.in: Likewise.
21673 * sysdeps/x86_64/configure.in: Likewise.
21674 * sysdeps/sh/configure.in: Likewise.
21675 * sysdeps/s390/s390-32/configure: Regenerated.
21676 * sysdeps/s390/s390-64/configure: Likewise.
21677 * sysdeps/x86_64/configure: Likewise.
21678 * sysdeps/sh/configure: Likewise.
21679 * sysdeps/powerpc/powerpc64/configure: Likewise.
21680 * sysdeps/powerpc/powerpc32/configure: Likewise.
21681 * sysdeps/sparc/configure: Likwise.
21682 * sysdeps/i386/configure: Likewise.
21684 * elf/dl-open.c: Comment fixes.
21686 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21688 * Makefile [CXX] (check-data): Remove.
21689 [CXX] (c++-types.data): New vpath directive.
21690 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21691 vpath. Do not allow for C++ type data being missing.
21692 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21693 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21694 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21695 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21696 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21697 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21698 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21701 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21704 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21707 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21710 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21713 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21716 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21719 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21722 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21723 definitions to architecture-specific files.
21724 (TLS_IE): Likewise.
21725 (TLS_LD): Likewise.
21726 (TLS_GD): Likewise.
21727 * sysdeps/i386/tls-macros.h: New file.
21728 * sysdeps/powerpc/tls-macros.h: Likewise.
21729 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21730 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21731 * sysdeps/sh/tls-macros.h: Likewise.
21732 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21733 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21734 * sysdeps/x86_64/tls-macros.h: Likewise.
21736 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21739 zero value for regular exit case.
21741 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21742 (__start_context): Preserve zero value for regular exit case.
21744 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21745 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21747 * manual/setjmp.texi (setcontext): Clarify normal process
21748 termination when uc_link is the null pointer.
21749 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21752 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21754 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21755 preprocessor. Test for each exception mask separately.
21757 2012-07-16 Andreas Jaeger <aj@suse.de>
21759 * po/ru.po: Update from translation team.
21761 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21763 * conform/data/string.h-data (NULL): Use macro-constant. Require
21765 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21766 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21767 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21768 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21771 2012-07-13 Andreas Jaeger <aj@suse.de>
21773 * po/fr.po: Update from translation team.
21775 2012-07-12 Marek Polacek <polacek@redhat.com>
21778 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21779 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21782 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21786 Change to 2.4.1 where previously 2.4.0.
21787 * sysdeps/unix/sysv/linux/configure: Regenerated.
21788 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21789 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21791 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21792 (__ASSUME_AT_CLKTCK): Remove.
21793 (__ASSUME_AT_PAGESIZE): Likewise.
21794 (__ASSUME_AT_XID): Likewise.
21795 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21796 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21797 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21799 (HAVE_AUX_PAGESIZE): Likewise.
21800 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21801 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21802 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21804 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21808 the temporary buffer used to invoke __gethostbyname2_r,
21809 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21810 host_data / struct gaih_addrtuple.
21811 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21812 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21813 header file nss/nsswitch.h.
21814 * nss/nsswitch.h (global scope): Add definition of implementation
21815 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21816 resolv/nss_dns/dns-host.c).
21818 2012-07-11 Andreas Jaeger <aj@suse.de>
21820 * po/fr.po: Update from translation team.
21822 * po/sv.po: Update from translation team
21823 * po/fr.po: Another update from translation team.
21825 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21828 for subnormals or multiply small sinh result by itself.
21829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21832 2012-07-11 David S. Miller <davem@davemloft.net>
21834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21836 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21839 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21840 (INTERNAL_MARK): Shift it here.
21842 2012-07-10 Marek Polacek <polacek@redhat.com>
21845 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21846 libc_cv_asm_global_directive with .globl.
21847 * configure: Regenerated.
21848 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21850 * sysdeps/i386/configure: Regenerated.
21851 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21853 * sysdeps/x86_64/configure: Regenerated.
21854 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21855 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21856 * elf/tst-unique2mod2.c: Likewise.
21857 * elf/tst-unique2mod1.c: Likewise.
21858 * elf/tst-unique1mod2.c: Likewise.
21859 * elf/tst-unique1mod1.c: Likewise.
21860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21861 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21863 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21864 * sysdeps/mach/sysdep.h: Likewise.
21865 * sysdeps/i386/sysdep.h: Likewise.
21866 * sysdeps/i386/i386-mcount.S: Likewise.
21867 * sysdeps/x86_64/_mcount.S: Likewise.
21868 * sysdeps/x86_64/sysdep.h: Likewise.
21869 * sysdeps/sh/_mcount.S: Likewise.
21870 * sysdeps/sh/sysdep.h: Likewise.
21871 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21872 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21873 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21874 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21875 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21876 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21877 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21878 * locale/localeinfo.h: Likewise.
21879 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21880 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21882 2012-07-09 Roland McGrath <roland@hack.frob.com>
21885 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21887 * manual/message.texi (The Uniforum approach): Likewise.
21888 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21889 (glibc iconv Implementation): Likewise.
21891 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21894 * math/s_clog.c (__clog): Avoid scaling a value down where that
21895 could result in underflow.
21896 * math/s_clog10.c (__clog10): Likewise.
21897 * math/s_clog10f.c (__clog10f): Likewise.
21898 * math/s_clog10l.c (__clog10l): Likewise.
21899 * math/s_clogf.c (__clogf): Likewise.
21900 * math/s_clogl.c (__clogl): Likewise.
21901 * math/libm-test.inc (clog_test): Add more tests.
21902 (clog10_test): Likewise.
21903 * sysdeps/i386/fpu/libm-test-ulps: Update.
21904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21906 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21909 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21910 by 7 not 8 to examine high bit of fractional part.
21913 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21914 for call to __mcount_internal.
21915 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21916 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21917 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21919 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21922 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21923 approximation for values within 0x1p-13f of an odd multiple of
21925 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21926 exception. Add more tests.
21927 * sysdeps/i386/fpu/libm-test-ulps: Update.
21930 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21931 inputs and return -1 for them. Do not check for +Inf in case not
21932 reachable for +Inf.
21933 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21934 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21935 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21936 and return -1 for them. Do not check for +Inf in case not
21937 reachable for +Inf.
21938 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21941 and return -1 for them. Do not check for +Inf in case not
21942 reachable for +Inf.
21943 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21944 spurious underflow.
21945 * sysdeps/i386/fpu/libm-test-ulps: Update.
21946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21948 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21950 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21952 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21956 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21957 could result in spurious underflow. Scale down values above
21958 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21959 * math/s_csqrtf.c (__csqrtf): Likewise.
21960 * math/s_csqrtl.c (__csqrtl): Likewise.
21961 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21962 spurious underflow.
21963 * sysdeps/i386/fpu/libm-test-ulps: Update.
21964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21966 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21968 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21970 * catgets/xopen-msg.awk: New file.
21971 * catgets/xopen-msg.sed: Removed.
21973 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21975 * intl/po2test.awk: New file.
21976 * intl/po2test.sed: Removed.
21978 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21981 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21982 or multiply small sinh result by itself.
21983 * math/s_ctanf.c (__ctanf): Likewise.
21984 * math/s_ctanh.c (__ctanh): Likewise.
21985 * math/s_ctanhf.c (__ctanhf): Likewise.
21986 * math/s_ctanhl.c (__ctanhl): Likewise.
21987 * math/s_ctanl.c (__ctanl): Likewise.
21988 * math/libm-test.inc (ctan_test_tonearest): New function.
21989 (ctan_test_towardzero): Likewise.
21990 (ctan_test_downward): Likewise.
21991 (ctan_test_upward): Likewise.
21992 (ctanh_test_tonearest): Likewise.
21993 (ctanh_test_towardzero): Likewise.
21994 (ctanh_test_downward): Likewise.
21995 (ctanh_test_upward): Likewise.
21996 (main): Call these new functions.
21997 * sysdeps/i386/fpu/libm-test-ulps: Update.
21998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22000 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22002 * .gitignore: Delete /ports entry.
22004 2012-07-03 Andreas Jaeger <aj@suse.de>
22006 * po/bg.po: Update from translation team.
22007 * po/cs.po: Likewise.
22008 * po/de.po: Likewise.
22009 * po/hr.po: Likewise.
22010 * po/nl.pl: Likewise.
22011 * po/pl.po: Likewise.
22012 * po/vi.po: Likewise.
22014 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22016 * Makeconfig [!+link] (+link-before-libc): New variable.
22017 [!+link] (+link-after-libc): Likewise.
22018 [!+link] (+link-tests): Likewise.
22019 [!+link] (+link): Define in terms of $(+link-before-libc) and
22020 $(+link-after-libc).
22021 [!+link-static] (+link-static-before-libc): New variable.
22022 [!+link-static] (+link-static-after-libc): Likewise.
22023 [!+link-static] (+link-static-tests): Likewise.
22024 [!+link-static] (+link-static): Define in terms of
22025 $(+link-static-before-libc) and $(+link-static-after-libc).
22026 [build-shared] (link-libc-before-gnulib): New variable.
22027 [build-shared] (link-libc-tests): Likewise.
22028 [build-shared] (link-libc): Define in terms of
22029 $(link-libc-before-gnulib).
22030 [!build-shared] (link-libc-tests): New variable.
22031 (link-libc-static-tests): New variable.
22032 [!gnulib] (gnulib-arch): New variable.
22033 [!gnulib] (gnulib-tests): Likewise.
22034 [!gnulib] (static-gnulib-arch): Likewise.
22035 [!gnulib] (static-gnulib-tests): Likewise.
22036 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22037 Define with "=" instead of ":=".
22038 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22039 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22040 * Rules (binaries-all-notests): New variable.
22041 (binaries-all-tests): Likewise.
22042 (binaries-static-notests): Likewise.
22043 (binaries-static-tests): Likewise.
22044 (binaries-all): Define using $(binaries-all-notests) and
22045 $(binaries-all-tests).
22046 (binaries-static): Define using $(binaries-static-notests) and
22047 $(binaries-static-tests).
22048 (binaries-shared-tests): New variable.
22049 (binaries-shared-notests): Likewise.
22050 (binaries-shared): Remove variable.
22051 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22052 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22053 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22054 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22055 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22056 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22057 * elf/Makefile (sln-modules): New variable.
22058 (extra-objs): Add $(sln-modules:=.o).
22059 (ldconfig-modules): Add static-stubs.
22060 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22061 * elf/static-stubs.c: New file.
22064 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22065 by 7 not 8 to examine high bit of fractional part. Use volatile
22066 variables when splitting into final array of floats if
22067 __FLT_EVAL_METHOD__ != 0.
22068 * math/libm-test.inc (cos_test): Add another test.
22069 (sin_test): Likewise.
22070 * sysdeps/i386/fpu/libm-test-ulps: Update.
22073 * math/libm-test.inc (cosh_test): Add more tests.
22075 * version.h (RELEASE): Set to "development".
22076 (VERSION): Set to "2.16.90".
22078 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22080 * NEWS: Update copyright. Remove last-updated date.
22081 Mention math library bug fixes and timezone data changes.
22082 * README: Mention GNU/Hurd, x32, and HPPA support status.
22084 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22086 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22088 2012-06-27 Andreas Jaeger <aj@suse.de>
22090 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22092 2012-06-25 Andreas Jaeger <aj@suse.de>
22094 * sysdeps/s390/fpu/libm-test-ulps: Update.
22096 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22097 Thomas Schwinge <thomas@codesourcery.com>
22099 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22100 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22104 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22106 * sysdeps/mach/start.c: Remove file.
22107 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22108 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22109 * sysdeps/sh/init-first.c: Likewise.
22111 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22112 registers for frame unwinding purposes, add CFI directives.
22113 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22114 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22115 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22118 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22119 __fortify_fail returning.
22120 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22122 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22123 sysdeps/sh/____longjmp_chk.S.
22124 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22125 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22126 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22127 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22129 * sysdeps/sh/abort-instr.h: New file.
22130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22131 process in case exit returns.
22133 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22134 initialize the GOT register before use.
22136 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22137 calculation of ARGC > 4.
22139 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22140 meaningful names to some local labels.
22142 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22143 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22145 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22146 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22147 (__arch_compare_and_exchange_val_16_acq): Likewise.
22148 (__arch_compare_and_exchange_val_32_acq): Likewise.
22149 (atomic_exchange_and_add): Fix gUSA sequence.
22150 (atomic_add): Likewise.
22151 (atomic_add_negative): Likewise.
22152 (atomic_add_zero): Likewise.
22153 (atomic_bit_test_set): Likewise.
22155 2012-06-22 Andreas Schwab <schwab@redhat.com>
22158 * include/link.h (struct link_map): Add l_free_initfini.
22159 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22161 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22162 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22163 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22166 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22168 * configure.in: Use AC_LANG_SOURCE.
22169 * configure: Regenerate.
22171 2012-06-22 Roland McGrath <roland@hack.frob.com>
22173 * configure.in (libc_cv_localstatedir): New substituted variable.
22174 * configure: Regenerated.
22175 * config.make.in (localstatedir): New variable, substituted from
22176 libc_cv_localstatedir.
22177 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22178 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22179 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22180 * sysdeps/gnu/configure: Regenerated.
22182 2012-06-21 Jeff Law <law@redhat.com>
22185 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22186 free. Simplify list management for _LIBC case.
22188 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22192 Clear sign bit of 64-bit integer value before comparing against
22195 * sysdeps/mach/configure: Regenerated.
22197 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22200 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22202 2012-06-21 Jeff Law <law@redhat.com>
22205 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22206 uint16_t for elements in the "seen" array to avoid char overflows.
22207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22208 * elf/dl-open.c (dl_open_worker): Likewise.
22210 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22212 * scripts/list-sources.sh: Scan PORTS for translations.
22213 * po/libc.pot: Regenerated.
22215 2012-06-21 Andreas Jaeger <aj@suse.de>
22218 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22220 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22221 * bits/byteswap-16.h (__bswap_16): Likewise.
22222 * bits/byteswap.h (__bswap_constant_16): Likewise.
22224 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22227 * sysdeps/i386/fpu_control.h: Removed.
22228 * sysdeps/x86_64/fpu_control.h: Moved to ...
22229 * sysdeps/x86/fpu_control.h: Here.
22231 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22232 (_FPU_SETCW): Likewise.
22234 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22237 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22238 * sysdeps/x86/fpu/bits/mathinline.h: This.
22239 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22243 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22244 functions if __x86_64__ is defined.
22246 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22248 * string/endian.h: Add !__ASSEMBLER__ condition for including
22249 conversion interfaces.
22251 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22255 of ABS(x) in calculating zero to negative powers other than odd
22257 * math/libm-test.inc (pow_test): Add more tests.
22259 2012-06-15 Andreas Jaeger <aj@suse.de>
22261 * manual/contrib.texi (Contributors): Update entry of Liubov
22262 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22265 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22267 * string/string.h: Add __wur to GNU version of strerror_r.
22269 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22272 * string/Makefile (tests): Add tst-strtok_r.
22273 * string/tst-strtok_r.c: New file.
22274 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22275 RAX_LP/RDX_LP on SAVE_PTR.
22277 2012-06-14 Roland McGrath <roland@hack.frob.com>
22279 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22281 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22283 * libm_test.inc (csqrt_test): Allow more spurious underflow
22285 (j0_test): Likewise.
22286 (j1_test): Likewise.
22287 (y0_test): Likewise.
22288 (y1_test): Likewise.
22290 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22292 * po/Makefile (libc.pot): Use UTF-8 charset.
22294 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22297 Suppress sign-conversion warning from FD_SET.
22298 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22299 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22300 not unsigned long int.
22301 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22303 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22307 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22308 __extern_always_inline instead of __extern_inline.
22309 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22310 (__signbit): Likewise.
22311 (__signbitl): Support C++ namespace.
22312 (lrintf): New inline function.
22314 (llrintf): Likewise.
22315 (llrint): Likewise.
22325 (floorf): Likewise.
22326 (nearbyint): Likewise.
22327 (nearbyintf): Likewise.
22329 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22332 non-default versions.
22334 2012-06-11 Roland McGrath <roland@hack.frob.com>
22337 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22339 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22341 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22342 (FE_UPWARD, FE_DOWNWARD): Don't define.
22343 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22346 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22348 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22349 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22351 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22353 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22355 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22356 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22358 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22361 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22362 * sysdeps/i386/fpu/Implies: New file.
22363 * sysdeps/x86_64/fpu/Implies: Likewise.
22364 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22365 * sysdeps/x86/fpu/bits/fenv.h: This.
22367 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22370 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22373 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22374 character 0xffff that matches the last element of the
22377 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22382 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22385 values higher than 25.6283.
22387 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22390 subnormal exponent extraction and add some __builtin_expect.
22391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22392 Fix for subnormal mantissa calculation.
22394 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22396 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22397 cpu2 is -1 and errno is not ENOSYS.
22399 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22402 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22403 * sysdeps/x86/bits/string.h: This.
22404 * sysdeps/x86_64/bits/string.h: Removed.
22406 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22407 if not compiling for x86-64, but compiling for >= i486.
22409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22410 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22412 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22413 New macro from Linux kernel 3.4.0.
22414 (FP_XSTATE_MAGIC2): Likewise.
22415 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22416 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22417 (struct _fpx_sw_bytes): New struct.
22418 (struct _xsave_hdr): Likewise.
22419 (struct _ymmh_state): Likewise.
22420 (struct _xstate): Likewise.
22422 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22423 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22425 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22426 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22427 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22429 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22431 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22432 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22433 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22434 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22436 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22439 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22440 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22441 (sysdep_headers): Include sys/platform/ppc.h.
22442 * sysdeps/powerpc/test-gettimebase.c: Test for
22443 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22444 * manual/Makefile (appendices): Include platform.texi.
22445 * manual/contrib.texi (Contributors): Update @node pointers.
22446 * manual/maint.texi (Maintenance): Likewise.
22447 (Platform): New node.
22448 * manual/platform.texi: New file. Document the new features.
22450 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22451 Jakub Jelinek <jakub@redhat.com>
22454 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22455 where __builtin_expect is unavailable.
22457 2012-06-03 David S. Miller <davem@davemloft.net>
22459 * stdlib/longlong.h: Updated from GCC.
22461 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22464 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22465 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22468 (GLIBC_2.16): Likewise.
22470 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22472 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22474 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22477 (default-abi): New variable.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22479 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22481 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22483 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22485 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22488 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22489 definition. Document in comment.
22491 2012-06-01 David S. Miller <davem@davemloft.net>
22493 * stdlib/longlong.h: Updated from GCC.
22495 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22498 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22499 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22500 sys/debugreg.h sys/io.h here.
22501 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22502 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22504 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22505 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22506 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22507 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22508 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22509 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22511 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22512 Define only if __x86_64__ is defined.
22514 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22517 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22518 Use int64_t for variable i.
22519 * math/libm-test.inc (fmod_test): Add more tests.
22521 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22522 z computation is not scheduled after fetestexcept.
22523 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22524 Use math_force_eval instead of asm to ensure calculation scheduled
22525 before exception test.
22526 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22527 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22529 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22532 computation is not scheduled after fetestexcept.
22534 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22537 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22538 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22540 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22542 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22543 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22545 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22548 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22550 (__WCHAR_MIN): Support __WORDSIZE == 64.
22551 (__WCHAR_MAX): Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22554 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22558 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22561 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22562 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22564 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22565 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22567 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22568 Defined to 1 if __x86_64__ isn't defined.
22569 (_STAT_VER_LINUX_OLD): New.
22570 (st_atime): Remove duplicate.
22571 (st_mtime): Likewise.
22572 (st_ctime): Likewise.
22574 2012-05-31 David S. Miller <davem@davemloft.net>
22576 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22579 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22581 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22585 * elf/dl-reloc.c: Include <_itoa.h>.
22586 (_dl_reloc_bad_type): Remove use of INTUSE.
22587 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22588 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22589 * stdio-common/psiginfo.c (psiginfo): Likewise.
22590 * stdio-common/psignal.c (psignal): Likewise.
22591 * string/strsignal.c (strsignal): Likewise.
22592 * include/signal.h (_sys_siglist): Declare hidden proto.
22593 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22594 INTVARDEF with libc_hidden_data_def.
22595 * stdio-common/itoa-udigits.c: Likewise.
22596 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22597 (_itoa_lower_digits_internal): Remove declaration.
22598 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22599 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22600 (_sys_sigabbrev_internal): Remove aliases.
22601 (_sys_siglist): Define hidden alias.
22603 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22608 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22611 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22612 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22614 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22615 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22616 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22617 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22618 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22619 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22621 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22622 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22623 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22625 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22633 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22634 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22635 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22637 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22638 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22640 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22641 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22642 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22644 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22645 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22647 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22648 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22654 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22655 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22657 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22659 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22660 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22661 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22663 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22665 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22667 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22669 * math/math.h (M_El): Use two more decimal places.
22670 (M_LOG2El): Likewise.
22671 (M_LOG10El): Likewise.
22672 (M_LN2l): Likewise.
22673 (M_LN10l): Likewise.
22675 (M_PI_2l): Likewise.
22676 (M_PI_4l): Likewise.
22677 (M_1_PIl): Likewise.
22678 (M_2_PIl): Likewise.
22679 (M_2_SQRTPIl): Likewise.
22680 (M_SQRT2l): Likewise.
22681 (M_SQRT1_2l): Likewise.
22683 2012-05-31 David S. Miller <davem@davemloft.net>
22685 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22686 values between float registers.
22687 * sysdeps/sparc/sparc64/memset.S: Likewise.
22688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22690 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22692 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22693 -D_FORTIFY_SOURCE=1.
22694 (CPPFLAGS-tst-longjmp_chk.c): Define.
22695 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22696 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22697 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22698 CFLAGS-tst-wchar-h.c.
22700 2012-05-31 Marek Polacek <polacek@redhat.com>
22703 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22704 __endmntent_internal): Remove declaration.
22705 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22706 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22707 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22709 2012-05-30 David S. Miller <davem@davemloft.net>
22711 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22712 (___Q_simulate_exceptions): Use real FP ops rather than writing
22714 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22717 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22720 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22721 * sysdeps/x86/bits/xtitypes.h: This.
22723 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22724 * sysdeps/x86/bits/wordsize.h: This.
22726 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22727 * sysdeps/x86/bits/huge_vall.h: This.
22729 * sysdeps/i386/bits/select.h: Removed.
22730 * sysdeps/x86_64/bits/select.h: Renamed to ...
22731 * sysdeps/x86/bits/select.h: This.
22733 * sysdeps/i386/bits/setjmp.h: Removed.
22734 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22735 * sysdeps/x86/bits/setjmp.h: This.
22737 * sysdeps/i386/bits/mathdef.h: Removed.
22738 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22739 * sysdeps/x86/bits/mathdef.h: This.
22741 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22744 * include/sys/socket.h (__connect_internal)
22745 (__libc_sa_len_internal): Remove declaration.
22746 (__connect, __libc_sa_len): Declare hidden_proto.
22747 (SA_LEN): Remove use of INTUSE.
22748 * socket/connect.c: Add libc_hidden_def.
22749 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22750 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22751 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22753 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22754 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22755 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22756 of adding _internal alias.
22758 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22761 * sysdeps/i386/bits/link.h: Removed.
22762 * sysdeps/i386/bits/linkmap.h: Likewise.
22763 * sysdeps/x86_64/bits/link.h: Renamed to ...
22764 * sysdeps/x86/bits/link.h: This.
22765 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22766 * sysdeps/x86/bits/linkmap.h: This.
22768 * sysdeps/i386/bits/endian.h: Removed.
22769 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22770 * sysdeps/x86/bits/endian.h: This.
22772 * sysdeps/i386/bits/byteswap.h: Removed.
22773 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22774 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22775 * sysdeps/x86/bits/byteswap.h: This.
22776 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22777 * sysdeps/x86/bits/byteswap-16.h: This.
22778 * sysdeps/i386/Implies: Add x86.
22779 * sysdeps/x86_64/Implies: Likewise.
22781 2012-05-30 David S. Miller <davem@davemloft.net>
22783 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22784 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22785 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22786 (FP_TRAPPING_EXCEPTIONS): Define.
22787 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22788 (FP_TRAPPING_EXCEPTIONS): Define.
22789 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22790 subnormals only when inexact has been signalled or underflow
22791 exceptions are enabled.
22792 (_FP_PACK_CANONICAL): Likewise.
22794 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22798 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22800 2012-05-30 Richard Henderson <rth@twiddle.net>
22802 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22803 with #ifndef NOT_IN_libc.
22805 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22806 marked to avoid plt entry.
22808 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22811 * Makeconfig (default-abi): New macro.
22812 (abi-includes): Likewise.
22813 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22814 $(abi-$(default-abi)-lib-soname) for soname if defined.
22815 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22817 * Makefile (installed-stubs): Likewise.
22818 * include/stubs-biarch.h: Removed.
22819 * scripts/lib-names.awk: Only handle one library at a time.
22820 * scripts/soversions.awk: Remove WORDSIZE support.
22821 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22825 (syscall-list-default-condition): Likewise.
22826 (syscall-list-default-condition): Likewise.
22827 (syscall-list-includes): Likewise.
22828 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22829 syscall-list-* with abi-*. Handle undefined abi-variants.
22830 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22831 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22832 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22833 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22835 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22837 (syscall-list-32-options): Likewise.
22838 (syscall-list-32-condition): Likewise.
22839 (syscall-list-64-options): Likewise.
22840 (syscall-list-64-condition): Likewise.
22841 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22843 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22846 (abi-64-ld-soname): New macro.
22847 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22848 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22851 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22852 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22854 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22856 * sysdeps/unix/sysv/linux/kernel-features.h
22857 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22858 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22859 include <kernel-features.h>.
22860 [!__NR_ftruncate64]: Remove conditional code.
22861 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22862 [__NR_ftruncate64]: Make code unconditional.
22863 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22864 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22865 include <kernel-features.h>.
22866 [!__NR_ftruncate64]: Remove conditional code.
22867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22868 [__NR_ftruncate64]: Make code unconditional.
22869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22871 include <kernel-features.h>.
22872 [!__NR_ftruncate64]: Remove conditional code.
22873 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22874 [__NR_ftruncate64]: Make code unconditional.
22875 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22877 include <kernel-features.h>.
22878 [!__NR_ftruncate64]: Remove conditional code.
22879 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22880 [__NR_ftruncate64]: Make code unconditional.
22881 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22883 * configure.in (libc_cv_fpie): Weaken to a compile test using
22884 LIBC_TRY_CC_OPTION.
22885 * configure: Regenerated.
22887 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22902 2012-05-27 David S. Miller <davem@davemloft.net>
22904 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22906 (__Q_simulate_exceptions): Return void. Change to simulate
22907 exceptions by writing into the %fsr.
22908 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22909 (__Qp_handle_exceptions): Likewise.
22911 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22912 __Qp_handle_exceptions.
22913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22914 __Qp_handle_exceptions.
22915 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22916 as unused and give dummy FP_RND_NEAREST initializer.
22917 (FP_INHIBIT_RESULTS): Define.
22918 (___Q_simulate_exceptions): Update declaration.
22919 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22921 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22922 as unused and give dummy FP_RND_NEAREST initializer.
22923 (__Qp_handle_exceptions): Update declaration.
22924 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22927 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22929 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22930 the temporary FPU control word.
22931 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22932 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22933 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22934 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22935 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22936 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22937 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22938 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22939 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22940 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22941 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22943 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22945 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22948 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22950 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22951 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22952 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22953 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22955 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22956 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22959 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22961 * po/h.po: Update from translation team.
22963 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22965 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22967 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22968 handling of denormals.
22969 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22970 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22971 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22972 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22973 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22978 2012-05-26 Marek Polacek <polacek@redhat.com>
22981 * math/libm-test.inc (fma_test): Don't always expect underflow
22984 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22987 * elf/tst-execstack.c: Include stackinfo.h.
22988 (do_test): Adjust test case to ensure that pthread_getattr_np
22989 behaviour remains the same after marking stack executable.
22991 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22993 * sysdeps/unix/sysv/linux/kernel-features.h
22994 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22995 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22997 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22998 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22999 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23001 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23002 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23004 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23006 * configure.in: Define the default includes to being none.
23007 * configure: Regenerated.
23009 2012-05-25 Roland McGrath <roland@hack.frob.com>
23011 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23012 * sysdeps/x86_64/setjmp.S: Likewise.
23013 * sysdeps/i386/bsd-setjmp.S: Likewise.
23014 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23015 * sysdeps/i386/setjmp.S: Likewise.
23016 * sysdeps/i386/__longjmp.S: Likewise.
23017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23018 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23020 * include/stap-probe.h: New file.
23021 * configure.in: Handle --enable-systemtap.
23022 * configure: Regenerated.
23023 * config.h.in (USE_STAP_PROBE): New #undef.
23024 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23025 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23026 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23028 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23032 to 2.4.0 where earlier.
23033 * sysdeps/unix/sysv/linux/configure: Regenerated.
23034 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
23043 [__ASSUME_32BITUIDS]: Make code unconditional.
23044 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23045 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23046 <kernel-features.h>.
23047 [__ASSUME_32BITUIDS]: Make code unconditional.
23048 [!__ASSUME_32BITUIDS]: Remove conditional code.
23049 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23050 <kernel-features.h>.
23051 [__ASSUME_32BITUIDS]: Make code unconditional.
23052 [!__ASSUME_32BITUIDS]: Remove conditional code.
23053 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23054 <kernel-features.h>.
23055 [__ASSUME_32BITUIDS]: Make code unconditional.
23056 [!__ASSUME_32BITUIDS]: Remove conditional code.
23057 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23058 <kernel-features.h>.
23059 [__ASSUME_32BITUIDS]: Make code unconditional.
23060 [!__ASSUME_32BITUIDS]: Remove conditional code.
23061 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23062 <kernel-features.h>.
23063 [__ASSUME_32BITUIDS]: Make code unconditional.
23064 [!__ASSUME_32BITUIDS]: Remove conditional code.
23065 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23066 <kernel-features.h>.
23067 [__ASSUME_32BITUIDS]: Make code unconditional.
23068 [!__ASSUME_32BITUIDS]: Remove conditional code.
23069 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23070 <kernel-features.h>.
23071 [__ASSUME_32BITUIDS]: Make code unconditional.
23072 [!__ASSUME_32BITUIDS]: Remove conditional code.
23073 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23074 <kernel-features.h>.
23075 [__ASSUME_32BITUIDS]: Make code unconditional.
23076 [!__ASSUME_32BITUIDS]: Remove conditional code.
23077 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23078 <kernel-features.h>.
23079 [__ASSUME_32BITUIDS]: Make code unconditional.
23080 [!__ASSUME_32BITUIDS]: Remove conditional code.
23081 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23082 <kernel-features.h>.
23083 [__ASSUME_32BITUIDS]: Make code unconditional.
23084 [!__ASSUME_32BITUIDS]: Remove conditional code.
23085 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23086 <kernel-features.h>.
23087 [__NR_setresgid] (__setresgid): Do not declare.
23088 [__ASSUME_32BITUIDS]: Make code unconditional.
23089 [!__ASSUME_32BITUIDS]: Remove conditional code.
23090 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23091 <kernel-features.h>.
23092 [__NR_setresuid] (__setresuid): Do not declare.
23093 [__ASSUME_32BITUIDS]: Make code unconditional.
23094 [!__ASSUME_32BITUIDS]: Remove conditional code.
23095 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23096 <kernel-features.h>.
23097 [__ASSUME_32BITUIDS]: Make code unconditional.
23098 [!__ASSUME_32BITUIDS]: Remove conditional code.
23099 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23100 <kernel-features.h>.
23101 [__ASSUME_32BITUIDS]: Make code unconditional.
23102 [!__ASSUME_32BITUIDS]: Remove conditional code.
23103 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23104 <kernel-features.h>.
23105 [__ASSUME_32BITUIDS]: Make code unconditional.
23106 [!__ASSUME_32BITUIDS]: Remove conditional code.
23107 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23108 <kernel-features.h>.
23109 [__ASSUME_32BITUIDS]: Make code unconditional.
23110 [!__ASSUME_32BITUIDS]: Remove conditional code.
23111 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23112 <kernel-features.h>.
23113 [__ASSUME_32BITUIDS]: Make code unconditional.
23114 [!__ASSUME_32BITUIDS]: Remove conditional code.
23115 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23116 <kernel-features.h>.
23117 [__ASSUME_32BITUIDS]: Make code unconditional.
23118 [!__ASSUME_32BITUIDS]: Remove conditional code.
23119 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23120 <kernel-features.h>.
23121 [__ASSUME_32BITUIDS]: Make code unconditional.
23122 [!__ASSUME_32BITUIDS]: Remove conditional code.
23123 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23124 <kernel-features.h>.
23125 [__ASSUME_32BITUIDS]: Make code unconditional.
23126 [!__ASSUME_32BITUIDS]: Remove conditional code.
23127 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23128 <kernel-features.h>.
23129 [__ASSUME_32BITUIDS]: Make code unconditional.
23130 [!__ASSUME_32BITUIDS]: Remove conditional code.
23131 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23132 <kernel-features.h>.
23133 [__ASSUME_32BITUIDS]: Make code unconditional.
23134 [!__ASSUME_32BITUIDS]: Remove conditional code.
23135 * sysdeps/unix/sysv/linux/kernel-features.h
23136 (__ASSUME_SETRESUID_SYSCALL): Remove.
23137 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23138 (__ASSUME_32BITUIDS): Likewise.
23139 (__ASSUME_LDT_WORKS): Likewise.
23140 (__ASSUME_O_DIRECTORY): Likewise.
23141 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23142 architecture but not kernel version.
23143 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23144 (__ASSUME_MMAP2_SYSCALL): Likewise.
23145 (__ASSUME_STAT64_SYSCALL): Likewise.
23146 (__ASSUME_IPC64): Likewise.
23147 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23148 <kernel-features.h>.
23149 [__ASSUME_32BITUIDS]: Make code unconditional.
23150 [!__ASSUME_32BITUIDS]: Remove conditional code.
23151 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23152 <kernel-features.h>.
23153 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23154 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23155 132096]: Remove conditional code.
23156 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23157 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23158 <kernel-features.h>.
23159 [__ASSUME_32BITUIDS]: Make code unconditional.
23160 [!__ASSUME_32BITUIDS]: Remove conditional code.
23161 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23162 <kernel-features.h>.
23163 [__ASSUME_32BITUIDS]: Make code unconditional.
23164 [!__ASSUME_32BITUIDS]: Remove conditional code.
23165 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23166 <kernel-features.h>.
23167 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23169 (__setresgid): Do not declare.
23170 [__ASSUME_32BITUIDS]: Make code unconditional.
23171 [!__ASSUME_32BITUIDS]: Remove conditional code.
23172 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23173 <kernel-features.h>.
23174 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23176 (__setresuid): Do not declare.
23177 [__ASSUME_32BITUIDS]: Make code unconditional.
23178 [!__ASSUME_32BITUIDS]: Remove conditional code.
23179 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23180 <kernel-features.h>.
23181 [__ASSUME_32BITUIDS]: Make code unconditional.
23182 [!__ASSUME_32BITUIDS]: Remove conditional code.
23183 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23184 <kernel-features.h>.
23185 [__ASSUME_32BITUIDS]: Make code unconditional.
23186 [!__ASSUME_32BITUIDS]: Remove conditional code.
23188 2012-05-25 Richard Henderson <rth@twiddle.net>
23190 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23191 dl_hwcap to ifunc resolver.
23192 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23194 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23195 dl_hwcap to ifunc resolver.
23196 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23198 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23201 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23202 for |x| <= 2**-26, not 2**-57.
23203 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23206 2012-05-24 Jeff Law <law@redhat.com>
23208 * stdio-common/Makefile (tests): Add bug25.
23209 * stdio-common/bug25.c: New test.
23211 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23214 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23215 multiple of MALLOC_ALIGNMENT in size.
23216 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23218 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23220 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23222 (FILENAME_MAX): Use macro-int-constant.
23223 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23224 (_IOFBF): Use macro-int-constant.
23225 (_IOLBF): Likewise.
23226 (_IONBF): Likewise.
23227 (SEEK_CUR): Likewise.
23228 (SEEK_END): Likewise.
23229 (SEEK_SET): Likewise.
23230 (TMP_MAX): Likewise.
23231 (EOF): Use macro-int-constant. Require < 0.
23232 (NULL): Use macro-constant. Require == 0.
23233 (stdin): Require type to be FILE *.
23234 (stdout): Likewise.
23235 (stderr): Likewise.
23236 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23237 macro-int-constant.
23238 (EXIT_SUCCESS): Likewise.
23239 (NULL): Use macro-constant. Require == 0.
23240 (RAND_MAX): Use macro-int-constant.
23241 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23242 [C99-based standards] (strtof): Require function.
23243 [C99-based standards] (strtold): Likewise.
23244 [C99-based standards] (strtoll): Likewise.
23245 [C99-based standards] (strtoull): Likewise.
23246 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23247 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23248 [ISO || ISO99 || ISO11] (math.h): Likewise.
23249 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23250 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23253 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23256 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23257 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23258 * intl/dgettext.c (DCGETTEXT): Likewise.
23259 * intl/gettext.c (DCGETTEXT): Likewise.
23260 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23261 * posix/regex_internal.h (gettext): Likewise.
23262 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23263 Remove declaration.
23264 * include/argz.h (__argz_count_internal)
23265 (__argz_stringify_internal): Remove declaration.
23266 (__argz_count, __argz_stringify): Declare hidden proto.
23267 * intl/dcgettext.c: Remove use of INTDEF.
23268 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23269 * string/argz-stringify.c: Likewise.
23270 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23271 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23272 Declare hidden proto.
23273 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23274 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23275 Declare hidden proto.
23276 * include/stdio.h (__asprintf_internal): Don't declare.
23277 (__asprintf): Don't define as macro. Declare hidden proto.
23278 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23279 (__fsetlocking): Declare hidden proto.
23280 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23281 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23283 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23284 (_IO_setlinebuf): Remove use of INTUSE.
23285 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23286 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23287 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23288 Remove declaration.
23289 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23290 (_IO_do_flush): Remove use of INTUSE.
23291 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23292 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23293 (_IO_adjust_column, _IO_least_wmarker)
23294 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23295 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23296 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23297 (_IO_default_doallocate, _IO_wdefault_doallocate)
23298 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23299 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23300 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23301 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23302 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23303 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23304 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23305 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23306 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23307 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23308 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23309 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23310 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23312 (_IO_flush_all_internal, _IO_adjust_column_internal)
23313 (_IO_default_uflow_internal, _IO_default_finish_internal)
23314 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23315 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23316 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23317 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23318 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23319 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23320 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23321 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23322 (_IO_file_close_internal, _IO_file_close_it_internal)
23323 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23324 (_IO_file_init_internal, _IO_file_attach_internal)
23325 (_IO_file_fopen_internal, _IO_file_read_internal)
23326 (_IO_file_sync_internal, _IO_file_seek_internal)
23327 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23328 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23329 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23330 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23331 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23332 (_IO_list_all_internal, _IO_link_in_internal)
23333 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23334 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23335 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23336 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23337 (_IO_do_write_internal, _IO_padn_internal)
23338 (_IO_getline_info_internal, _IO_getline_internal)
23339 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23340 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23341 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23342 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23343 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23344 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23345 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23346 with libc_hidden_ver, remove use of INTUSE.
23347 * libio/genops.c: Likewise.
23348 * libio/freopen.c: Likewise.
23349 * libio/freopen64.c: Likewise.
23350 * libio/iofclose.c: Likewise.
23351 * libio/iofdopen.c: Likewise.
23352 * libio/iofflush.c: Likewise.
23353 * libio/iofflush_u.c: Likewise.
23354 * libio/iofgets.c: Likewise.
23355 * libio/iofgets_u.c: Likewise.
23356 * libio/iofopen.c: Likewise.
23357 * libio/iofopncook.c: Likewise.
23358 * libio/iofread.c: Likewise.
23359 * libio/iofread_u.c: Likewise.
23360 * libio/ioftell.c: Likewise.
23361 * libio/iofwrite.c: Likewise.
23362 * libio/iogetline.c: Likewise.
23363 * libio/iogets.c: Likewise.
23364 * libio/iogetwline.c: Likewise.
23365 * libio/iopadn.c: Likewise.
23366 * libio/iopopen.c: Likewise.
23367 * libio/ioseekoff.c: Likewise.
23368 * libio/ioseekpos.c: Likewise.
23369 * libio/iosetbuffer.c: Likewise.
23370 * libio/iosetvbuf.c: Likewise.
23371 * libio/ioungetc.c: Likewise.
23372 * libio/ioungetwc.c: Likewise.
23373 * libio/iovdprintf.c: Likewise.
23374 * libio/iovsprintf.c: Likewise.
23375 * libio/iovsscanf.c: Likewise.
23376 * libio/memstream.c: Likewise.
23377 * libio/obprintf.c: Likewise.
23378 * libio/oldfileops.c: Likewise.
23379 * libio/oldiofclose.c: Likewise.
23380 * libio/oldiofdopen.c: Likewise.
23381 * libio/oldiofopen.c: Likewise.
23382 * libio/oldiopopen.c: Likewise.
23383 * libio/oldstdfiles.c: Likewise.
23384 * libio/putc.c: Likewise.
23385 * libio/setbuf.c: Likewise.
23386 * libio/setlinebuf.c: Likewise.
23387 * libio/stdfiles.c: Likewise.
23388 * libio/strops.c: Likewise.
23389 * libio/vasprintf.c: Likewise.
23390 * libio/vscanf.c: Likewise.
23391 * libio/vsnprintf.c: Likewise.
23392 * libio/vswprintf.c: Likewise.
23393 * libio/wfiledoalloc.c: Likewise.
23394 * libio/wfileops.c: Likewise.
23395 * libio/wgenops.c: Likewise.
23396 * libio/wmemstream.c: Likewise.
23397 * libio/wstrops.c: Likewise.
23398 * libio/__fpurge.c: Likewise.
23399 * libio/__fsetlocking.c: Likewise.
23400 * assert/assert.c: Likewise.
23401 * debug/fgets_chk.c: Likewise.
23402 * debug/fgets_u_chk.c: Likewise.
23403 * debug/fread_chk.c: Likewise.
23404 * debug/fread_u_chk.c: Likewise.
23405 * debug/gets_chk.c: Likewise.
23406 * debug/obprintf_chk.c: Likewise.
23407 * debug/vasprintf_chk.c: Likewise.
23408 * debug/vdprintf_chk.c: Likewise.
23409 * debug/vsnprintf_chk.c: Likewise.
23410 * debug/vsprintf_chk.c: Likewise.
23411 * malloc/mtrace.c: Likewise.
23412 * misc/error.c: Likewise.
23413 * misc/syslog.c: Likewise.
23414 * stdio-common/asprintf.c: Likewise.
23415 * stdio-common/fxprintf.c: Likewise.
23416 * stdio-common/getw.c: Likewise.
23417 * stdio-common/isoc99_fscanf.c: Likewise.
23418 * stdio-common/isoc99_scanf.c: Likewise.
23419 * stdio-common/isoc99_vfscanf.c: Likewise.
23420 * stdio-common/isoc99_vscanf.c: Likewise.
23421 * stdio-common/isoc99_vsscanf.c: Likewise.
23422 * stdio-common/printf-prs.c: Likewise.
23423 * stdio-common/printf_fp.c: Likewise.
23424 * stdio-common/printf_fphex.c: Likewise.
23425 * stdio-common/printf_size.c: Likewise.
23426 * stdio-common/putw.c: Likewise.
23427 * stdio-common/scanf.c: Likewise.
23428 * stdio-common/sprintf.c: Likewise.
23429 * stdio-common/tmpfile.c: Likewise.
23430 * stdio-common/vfprintf.c: Likewise.
23431 * stdio-common/vfscanf.c: Likewise.
23432 * stdlib/strfmon_l.c: Likewise.
23433 * sunrpc/openchild.c: Likewise.
23434 * sunrpc/xdr_stdio.c: Likewise.
23435 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23436 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23438 2012-05-24 Roland McGrath <roland@hack.frob.com>
23440 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23442 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23443 in the third column, to generate for the shared library an IFUNC
23444 that uses _dl_vdso_vsym.
23445 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23446 * Makeconfig (object-suffixes-noshared): New variable.
23448 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23449 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23450 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23451 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23454 * include/sys/time.h (__gettimeofday): Remove macro.
23455 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23456 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23458 (__gettimeofday): Add libc_hidden_def.
23459 (gettimeofday): Add libc_hidden_weak.
23460 * sysdeps/mach/gettimeofday.c: Likewise.
23461 * sysdeps/posix/gettimeofday.c: Likewise.
23462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23463 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23465 (__gettimeofday_internal): Remove strong_alias.
23466 (__gettimeofday): Add libc_hidden_def.
23467 (gettimeofday): Add libc_hidden_weak.
23468 * sysdeps/unix/syscalls.list (gettimeofday):
23469 Remove __gettimeofday_internal alias.
23471 2012-05-24 Daniel Jacobowitz <drow@false.org>
23472 H.J. Lu <hongjiu.lu@intel.com>
23475 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23476 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23477 (largebin_index_32_big): New.
23478 (largebin_index): Use it for 16-byte alignment.
23479 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23480 correction with front_misalign.
23482 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23510 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23511 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23513 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23517 * math/libm-test.inc (exp_test): Add test from bug 14036.
23518 (pow_test): Add test from bug 10846.
23520 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23522 (special_function): Do not include flags in test name.
23523 (parse_args): Likewise.
23524 * sysdeps/i386/fpu/libm-test-ulps: Update.
23525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23527 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23530 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23532 * math/libm-test.inc ("Philosophy"): Update comment about
23534 (UNDERFLOW_EXCEPTION): New macro.
23535 (UNDERFLOW_EXCEPTION_OK): Likewise.
23536 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23537 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23538 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23539 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23540 (INVALID_EXCEPTION_OK): Update value.
23541 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23542 (OVERFLOW_EXCEPTION_OK): Likewise.
23543 (IGNORE_ZERO_INF_SIGN): Likewise.
23544 (test_exceptions): Handle underflow exceptions.
23545 (acos_test): Update for underflow exception expectations.
23546 (cexp_test): Likewise.
23547 (clog_test): Likewise.
23548 (clog10_test): Likewise.
23549 (csqrt_test): Likewise.
23550 (ctan_test): Likewise.
23551 (ctanh_test): Likewise.
23552 (exp_test): Likewise.
23553 (exp10_test): Likewise.
23554 (exp2_test): Likewise.
23555 (expm1_test): Likewise.
23556 (fma_test): Likewise.
23557 (j0_test): Likewise.
23558 (jn_test): Likewise.
23559 (nexttoward_test): Likewise.
23560 (pow_test): Likewise.
23561 (scalbn_test): Likewise.
23562 (scalbln_test): Likewise.
23563 (tan_test): Likewise.
23564 (y1_test): Likewise.
23565 * sysdeps/i386/fpu/libm-test-ulps: Update.
23566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23568 2012-05-23 David S. Miller <davem@davemloft.net>
23570 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23571 (__libc_sigaction): Remove unused local variables.
23573 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23575 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23577 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23579 mktime: avoid signed integer overflow
23580 * time/mktime.c (__mktime_internal): Do not mishandle the case
23581 where diff == INT_MIN.
23583 mktime: simplify computation of average
23584 * time/mktime.c (ranged_convert): Use new time_t_avg function
23585 instead of rolling our own (probably-slower) code.
23587 mktime: do not assume signed right shift propagates sign bit
23588 * time/mktime.c (isdst_differ): New static function.
23589 (__mktime_internal): No need to normalize tm_isdst now.
23590 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23593 mktime: merge another wrapv change from gnulib
23594 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23595 from some compilers.
23597 mktime: remove incorrect attempt at unusual arithmetics
23598 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23599 The code didn't really work on such machines anyway.
23600 (TYPE_MINIMUM): Assume two's complement.
23601 (twos_complement_arithmetic): Verify that long_int and time_t
23602 are two's complement (or unsigned, in the latter case).
23604 mktime: check signed shifts on long_int and time_t, too
23605 * time/mktime.c (SHR): Check that shifts work as desired
23606 on the types long_int and time_t too, as SHR is used on
23609 mktime: do not assume 'long' is wide enough
23610 * time/mktime.c (verify): Move decl up.
23611 (long_int): New type.
23612 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23613 to remove assumption in the code that 'long' is wide enough to
23614 store year values. This assumption is not true on x32 and on
23615 some non-glibc platforms.
23617 mktime: merge wrapv change from gnulib
23618 * time/mktime.c (WRAPV): New macro.
23619 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23620 (guess_time_tm, __mktime_internal): Do not assume that signed
23621 integer overflow wraps around; modern compilers generate code
23622 where this assumption is no longer valid.
23624 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23626 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23627 Replace "jmp L(pseudo_end)" with "ret".
23628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23631 2012-05-23 Andreas Jaeger <aj@suse.de>
23633 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23634 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23636 2012-05-23 Andreas Jaeger <aj@suse.de>
23637 Maximilian Attems <max@stro.at>
23639 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23642 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23644 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23645 code so that pseudo_end is just ret and the stack pointer is
23646 correct also for static library in error case.
23648 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23650 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23651 move to syscalls.list.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23657 * manual/install.texi (Running make install): Do not mention Linux
23658 kernel version for which pt_chown is not needed.
23659 (Linux): Do not mention problems with nscd with 2.0 kernels.
23660 * INSTALL: Regenerated.
23662 2012-05-23 Andreas Jaeger <aj@suse.de>
23664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23665 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23667 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23669 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23670 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23671 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23672 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23673 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23674 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23676 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23677 * sysdeps/unix/sysv/linux/bits/in.h
23678 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23680 2012-05-22 Roland McGrath <roland@hack.frob.com>
23682 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23683 (PREPARE_VERSION): Just use assert instead, it will be elided
23684 under [NDEBUG] anyway.
23686 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23688 * sysdeps/unix/sysv/linux/Makefile: Include
23689 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23690 (sysdep_routines): Remove sysctl.
23691 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23692 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23693 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23694 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23695 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23697 2012-05-22 Andreas Jaeger <aj@suse.de>
23699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23700 that pseudo_end is just ret and the stack pointer is correct also
23701 for static library in error case.
23703 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23706 * nss/nsswitch.c (defconfig_entries): New variable.
23707 (__nss_database_lookup): Don't leak defconfig entries.
23708 (nss_parse_service_list): Don't leak on error paths.
23709 (free_database_entries): New function.
23710 (free_defconfig): New function.
23711 (free_mem): Move common code to free_database_entries.
23713 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23715 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23717 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23719 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23720 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23723 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23724 (INTERNAL_SYSCALL_TYPES): Likewise.
23725 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23726 (LOAD_REGS_TYPES_[1-6]): Likewise.
23727 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23728 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23730 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23732 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23733 copysignl for GLIBC_2_0.
23734 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23735 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23737 logbl for GLIBC_2_0.
23738 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23739 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23741 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23743 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23746 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23749 * time/mktime.c: Update copyright years.
23751 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23753 mktime: merge comment-quoting-style change from gnulib
23754 * time/mktime.c: Quote 'like this' in comments.
23755 The GNU coding standards suggest that we no longer quote `like this',
23756 as "`" and "'" are typically rendered asymmetrically nowadays.
23757 The typical gnulib style is to quote 'like this' when quoting
23758 code, and "like this" when quoting English.
23760 * time/mktime.c (compile-command): Add "-I.".
23762 mktime: merge mktime-internal.h change from gnulib
23763 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23765 mktime: merge time_r change from gnulib
23766 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23768 mktime: merge DEBUG change from gnulib
23769 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23770 case system <time.h> has a #define.
23772 mktime: merge <sys/types.h> change from gnulib
23773 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23774 since <time.t> is now guaranteed to define time_t.
23776 mktime: merge HAVE_CONFIG_H change from gnulib
23777 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23779 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23784 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23786 (struct rusage): Use anonymous union to pad each field to
23789 2012-05-21 David S. Miller <davem@davemloft.net>
23791 * Makefules (o-iterator): Remove .s cases.
23792 (compile-command.s): Delete.
23793 (COMPILE.s): Delete.
23794 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23796 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23798 * configure.in (libc_cv_predef_stack_protector): Only consider
23799 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23800 * configure: Regenerated.
23802 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23805 New macro. Use R*LP on int and pointer.
23806 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23807 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23808 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23809 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23811 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23812 [__WORDSIZE_TIME64_COMPAT32] instead of
23813 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23814 (struct utmp): Likewise.
23815 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23816 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23818 (__WORDSIZE_TIME64_COMPAT32): This.
23819 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23820 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23821 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23822 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23823 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23824 (__WORDSIZE_TIME64_COMPAT32): New macro.
23826 2012-05-21 Andreas Jaeger <aj@suse.de>
23828 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23829 only if [SHARED]. Add prototype for __wcschr_ia32.
23831 2012-05-21 Roland McGrath <roland@hack.frob.com>
23833 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23834 of %rbp unmolested in the jmp_buf while mangling the low bits.
23835 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23836 unmolested high bits of %rbp while demangling the low bits.
23837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23839 2012-05-21 Andreas Jaeger <aj@suse.de>
23841 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23842 * sunrpc/svc_simple.c: Use it for registerrpc.
23843 * sunrpc/xcrypt.c: Use it for passwd2des.
23845 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23847 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23849 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23850 Don't define if [__SYSCALL_WORDSIZE != 32].
23851 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23854 2012-05-21 Bruno Haible <bruno@clisp.org>
23855 Andreas Jaeger <aj@suse.de>
23857 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23858 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23859 inptr and inend for must_buffer_ch.
23860 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23861 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23862 * stdio-common/Makefile (tests): Remove bug15.
23863 (bug15-ENV): Remove macro.
23864 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23867 2012-05-19 Andreas Jaeger <aj@suse.de>
23868 Roland McGrath <roland@hack.frob.com>
23870 * manual/contrib.texi: Completely rewritten. It contains now an
23871 alphabetical list of contributors and their contributions.
23873 2012-05-21 Richard Henderson <rth@twiddle.net>
23875 * misc/getauxval.c (__getauxval): Use unsigned long int.
23876 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23877 (getauxval): Use unsigned long int.
23879 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23881 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23883 2012-05-21 Roland McGrath <roland@hack.frob.com>
23885 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23886 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23887 __alignof__ (long double).
23889 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23893 2012-05-20 Richard Henderson <rth@twiddle.net>
23895 * misc/getauxval.c: New file.
23896 * misc/sys/auxv.h: New file.
23897 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23898 (routines): Add getauxval.
23899 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23900 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23901 * elf/dl-sysdep.c (_dl_auxv): Remove.
23902 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23903 * elf/dl-support.c (_dl_auxv): New variable.
23904 (_dl_aux_init): Initialize it.
23905 * manual/startup.texi (Auxiliary Vector): New node.
23906 * sysdeps/generic/bits/hwcap.h: New file.
23907 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23908 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23909 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23910 * sysdeps/sparc/sysdep.h: ... here. Include it.
23911 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23924 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23928 2012-05-19 David S. Miller <davem@davemloft.net>
23930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23932 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23935 * math/s_ccosh.c: Include <float.h>
23936 (__ccosh): Avoid internal overflow calculating sinh and cosh
23937 values before multiplying by sin and cos values.
23938 * math/s_ccoshf.c: Likewise.
23939 * math/s_ccoshl.c: Likewise.
23940 * math/s_csin.c: Likewise.
23941 * math/s_csinf.c: Likewise.
23942 * math/s_csinl.c: Likewise.
23943 * math/s_csinh.c: Likewise.
23944 * math/s_csinhf.c: Likewise.
23945 * math/s_csinhl.c: Likewise.
23946 * math/libm-test.inc (ccos_test): Add more tests.
23947 (ccosh_test): Likewise.
23948 (csin_test): Likewise.
23949 (csinh_test): Likewise.
23950 * sysdeps/i386/fpu/libm-test-ulps: Update.
23951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23953 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23955 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23956 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23958 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23960 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23962 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23963 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23964 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23965 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23966 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23967 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23968 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23969 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23970 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23971 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23972 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23973 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23974 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23975 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23976 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23977 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23978 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23979 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23980 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23981 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23982 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23983 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23984 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23985 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23986 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23987 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23988 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23989 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23990 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23991 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23992 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23994 2012-05-18 Andreas Jaeger <aj@suse.de>
23996 * csu/.gitignore: Delete.
23998 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24000 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24001 (timex): Use __syscall_slong_t.
24003 2012-05-18 Andreas Jaeger <aj@suse.de>
24004 Carlos O'Donell <carlos_odonell@mentor.com>
24006 * manual/install.texi (Configuring and compiling): Update
24007 description about files modified in the source directory.
24008 * INSTALL: Regenerated.
24010 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24012 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24013 value. Use "or" to set return value to -1.
24014 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24015 negate return value.
24017 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24019 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24020 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24021 failure if the compiler has Graphite support disabled.
24022 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24024 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24025 CFLAGS-memmove.c): Likewise.
24026 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24029 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24031 * sysdeps/x86_64/x32/_itoa.h: New file.
24033 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24034 getdents system call only if kernel and user dirents have the
24035 same d_ino and d_off.
24037 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24038 LLONG_MAX != LONG_MAX.
24039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24040 (_fitoa_word): Likewise.
24042 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24044 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24046 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24048 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24049 include <bits/wordsize.h>. Check __x86_64__ instead of
24051 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24052 if __x86_64__ is defined. Use anonymous union on fpstate.
24054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24057 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24059 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24060 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24062 Refer to _rtld_local_ro instead of _rtld_global_ro.
24063 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24065 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24067 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24069 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24070 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24071 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24073 * sysdeps/powerpc/powerpc32/dl-machine.c
24074 (__elf_machine_runtime_setup) [PROF]: Don't reference
24077 2012-05-18 Andreas Jaeger <aj@suse.de>
24079 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24080 function only available for GCCs before 3.4 since GCC 3.4
24081 introduced a builtin.
24083 (llrintf): Likewise.
24084 (llrint): Likewise.
24091 (nearbyint): Likewise.
24092 (nearbyintf): Likewise.
24096 (floorf): Likewise.
24098 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24100 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24101 on both fields and cast pointer to __syscall_ulong_t.
24103 * bits/types.h (__fsword_t): New type.
24104 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24105 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24107 (__FSWORD_T_TYPE): Likewise.
24108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24109 (__FSWORD_T_TYPE): Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24111 (__FSWORD_T_TYPE): Likewise.
24112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24113 (__FSWORD_T_TYPE): Likewise.
24114 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24115 __SWORD_TYPE with __fsword_t.
24116 (statfs64): Likewise.
24118 2012-05-17 David S. Miller <davem@davemloft.net>
24120 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24122 2012-05-17 Andreas Jaeger <aj@suse.de>
24124 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24127 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24129 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24131 2012-05-17 Andreas Jaeger <aj@suse.de>
24133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24136 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24138 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24140 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24142 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24143 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24145 2012-05-17 Andreas Jaeger <aj@suse.de>
24146 Carlos O'Donell <carlos_odonell@mentor.com>
24149 * sysdeps/x86_64/multiarch/init-arch.h
24150 (bit_YMM_Usable): Rename to...
24151 (bit_AVX_Usable): ... this.
24152 (bit_FMA4_Usable): New macro.
24153 (bit_XMM_state): New macro.
24154 (bit_YMM_state): New macro.
24155 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24156 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24157 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24158 (CPUID_OSXSAVE): New macro.
24159 (CPUID_AVX): New macro.
24160 (CPUID_FMA4): New macro.
24161 (index_YMM_Usable): Rename to...
24162 (index_AVX_Usable): ... this.
24163 (HAS_AVX): Use HAS_ARCH_FEATURE.
24164 (HAS_FMA4): Likewise.
24165 (HAS_YMM_USABLE): Remove.
24166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24167 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24169 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24170 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24171 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24172 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24173 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24175 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24177 * math/libm-test.c: Support platforms without multiple rounding modes.
24178 * math/bug-nextafter.c: Support platforms without FP exceptions.
24179 * math/bug-nexttoward.c: Likewise.
24180 * math/test-fenv.c: Likewise.
24181 * math/test-misc.c: Likewise.
24182 * stdlib/bug-getcontext.c: Likewise.
24184 2012-05-17 Andreas Jaeger <aj@suse.de>
24186 * manual/examples/search.c (critter_cmp): Change signature to
24188 * manual/string.texi (Collation Functions): Likewise.
24190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24192 * bits/types.h: Fold copyright years.
24193 * bits/typesizes.h: Likewise.
24194 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24198 * time/time.h: Likewise.
24200 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24203 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24204 in instead of returning them. Return void.
24205 (__libc_mallinfo): Accumulate over all arenas.
24206 (__malloc_stats): Adjust for change in int_mallinfo interface.
24208 2012-05-16 Roland McGrath <roland@hack.frob.com>
24211 * configure.in (NM): Add AC_CHECK_TOOL for it.
24212 (libc_extra_cflags): New substituted variable.
24213 Check for -fstack-protector being used implicitly.
24214 * configure: Regenerated.
24215 * config.make.in (config-extra-cflags): New variable,
24216 gets @libc_extra_cflags@.
24217 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24220 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24221 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24222 * configure: Regenerated.
24223 * config.make.in (CPPUNDEFS): New substituted variable.
24224 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24225 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24226 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24228 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24230 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24231 (mq_attr): Use __syscall_slong_t.
24233 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24235 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24236 Check __x86_64__ instead of __WORDSIZE.
24237 (_STAT_VER_LINUX): Likewise.
24238 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24239 __syscall_ulong_t and __syscall_slong_t.
24240 (stat64): Likewise.
24242 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24246 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24248 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24252 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24255 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24256 include <bits/wordsize.h>. Check __x86_64__ instead of
24258 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24260 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24263 include <bits/wordsize.h>. Check __x86_64__ instead of
24265 (user_regs_struct): Use "__extension__ unsigned long long"
24266 instead of "unsigned long" if __x86_64__ is defined.
24267 (user): Likewise. Pad after pointer field if __ILP32__ is
24270 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24272 * configure.in (makeinfo): Require version 4.5 or later. Allow
24274 * configure: Regenerated.
24275 * manual/install.texi (texinfo): Increase version requirement to
24277 * INSTALL: Regenerated.
24279 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24281 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24283 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24285 * sysdeps/x86_64/x32/ffs.c: New file.
24287 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24289 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24290 defined. Use __syscall_ulong_t.
24291 (shminfo): Use __syscall_ulong_t.
24292 (shm_info): Likewise.
24294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24297 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24299 (msgqnum_t): Use __syscall_ulong_t.
24300 (msglen_t): Likewise.
24301 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24304 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24305 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24307 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24309 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24310 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24312 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24316 include <bits/wordsize.h>. Check __x86_64__ instead of
24319 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24320 "unsigned long long int" if __x86_64__ is defined.
24321 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24324 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24325 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24327 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24329 (GET_PC): Cast to uintptr_t first.
24330 (GET_FRAME): Likewise.
24331 (GET_STACK): Likewise.
24333 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24334 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24336 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24338 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24339 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24340 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24341 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24343 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24344 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24345 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24346 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24347 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24349 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24353 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24358 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24359 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24360 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24361 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24363 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24365 * Makerules (+depfiles): Also collect depfiles from .oS in
24367 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24368 .oS, $(libnldbl-routines)).
24370 * Makerules (native-compile-mkdep-flags): Define.
24371 * sunrpc/Makefile (extra-objs): Add $(addprefix
24372 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24373 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24374 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24375 calling $(make-target-directory).
24377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24379 * bits/types.h (__snseconds_t): Removed.
24380 * time/time.h (struct timespec): Replace __snseconds_t with
24382 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24383 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24386 (__SNSECONDS_T_TYPE): Likewise.
24387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24388 (__SNSECONDS_T_TYPE): Likewise.
24389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24390 (__SNSECONDS_T_TYPE): Likewise.
24392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24394 * sysdeps/mach/hurd/bits/typesizes.h
24395 (__SYSCALL_SLONG_TYPE): New macro.
24396 (__SYSCALL_ULONG_TYPE): Likewise.
24398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24400 * bits/types.h (__syscall_slong_t): New type.
24401 (__syscall_ulong_t): Likewise.
24403 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24404 (__SYSCALL_ULONG_TYPE): Likewise.
24405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24406 (__SYSCALL_SLONG_TYPE): Likewise.
24407 (__SYSCALL_ULONG_TYPE): Likewise.
24408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24409 (__SYSCALL_SLONG_TYPE): Likewise.
24410 (__SYSCALL_ULONG_TYPE): Likewise.
24411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24412 (__SYSCALL_SLONG_TYPE): Likewise.
24413 (__SYSCALL_ULONG_TYPE): Likewise.
24415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24417 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24418 Add sigaltstack-offsets.sym.
24419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24420 <sigaltstack-offsets.h>.
24421 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24422 longjmp_msg pointer.
24423 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24424 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24426 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24428 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24430 * elf/stackguard-macros.h: Remove file.
24431 * sysdeps/generic/stackguard-macros.h: New file.
24432 * sysdeps/i386/stackguard-macros.h: Likewise.
24433 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24434 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24435 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24436 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24437 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24438 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24439 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24440 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24441 <elf/stackguard-macros.h>.
24444 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24445 __aligned__ in attribute.
24446 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24447 (gregset_t): Likewise.
24449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24451 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24452 * sysdeps/x86_64/64/Implies-after: Here. New file.
24453 * sysdeps/x86_64/x32/Implies-after: New file.
24455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24457 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24458 and access return value for _dl_profile_fixup. Use R10_LP to
24461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24463 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24467 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24468 * sysdeps/x86_64/x32/sysdep.h: New file.
24470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24472 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24473 * sysdeps/x86_64/setjmp.S: Likewise.
24475 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24478 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24479 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24480 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24481 remove unused global constant.
24483 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24485 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24486 include of <not-cancel.h>.
24488 2012-05-15 Roland McGrath <roland@hack.frob.com>
24490 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24492 2012-05-15 Jeff Law <law@redhat.com>
24493 Andreas Jaeger <aj@suse.de>
24496 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24498 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24499 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24500 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24501 code changing __hst_map_handle.map.
24503 2012-05-15 Roland McGrath <roland@hack.frob.com>
24505 * configure.in (sysnames): Look for Implies-before and Implies-after
24507 * configure: Regenerated.
24509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24511 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24512 8-byte data alignment with LP_SIZE alignment.
24514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24516 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24521 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24525 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24526 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24527 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24529 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24533 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24534 (stackinfo_sub_sp): Likewise.
24536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24553 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24557 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24558 into R11_LP and load __x86_64_shared_cache_size_half into
24561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24566 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24574 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24575 powerpc32/power7/fpu/s_logb.c via #include.
24576 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24577 powerpc32/power7/fpu/s_logbf.c via #include.
24578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24579 powerpc32/power7/fpu/s_logbl.c via #include.
24581 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24583 * README.libm: Remove file.
24585 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24587 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24588 count for x32. Use R*_LP and omit operand-size suffix.
24590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24592 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24593 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24594 * sysdeps/x86_64/x32/shlib-versions: New file.
24596 2012-05-14 Roland McGrath <roland@hack.frob.com>
24598 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24599 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24600 Use _dl_fatal_printf instead.
24602 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24604 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24605 set if not set by the user. Do not allow for being unset.
24606 * sysdeps/unix/sysv/linux/configure: Regenerated.
24608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24610 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24611 the `q' suffix from lea and replace .quad with ASM_ADDR.
24613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24616 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24618 (PTR_DEMANGLE): Likewise.
24620 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24622 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24624 (ASM_ADDR): Likewise.
24625 (RAX_LP): Likewise.
24626 (RBP_LP): Likewise.
24627 (RBX_LP): Likewise.
24628 (RCX_LP): Likewise.
24629 (RDI_LP): Likewise.
24630 (RSI_LP): Likewise.
24631 (RSP_LP): Likewise.
24634 (R10_LP): Likewise.
24635 (R10_LP): Likewise.
24636 (R11_LP): Likewise.
24637 (R12_LP): Likewise.
24638 (R13_LP): Likewise.
24639 (R14_LP): Likewise.
24640 (R15_LP): Likewise.
24642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24644 * sysdeps/x86_64/x32/dl-machine.h: New file.
24646 2012-05-14 Andreas Jaeger <aj@suse.de>
24648 * manual/Makefile (subdir): Remove export of subdir.
24649 (all): Remove target.
24650 (.PHONY): Remove all from list.
24651 (mkinstalldirs): Remove.
24652 (.PHONY): Remove installdirs from list.
24653 ($(inst_infodir)/libc.info): Use make-target-directory.
24654 (installdirs): Remove.
24655 (subdir_%): Remove.
24656 (glibc-targets): Remove.
24659 ($(objpfx)stubs ../po/manual.pot): Remove.
24660 ($(objpfx)stamp%): Remove.
24661 (make-target-directory): Remove.
24662 (subdir_install): Remove.
24663 (routines): Remove.
24670 * manual/.gitignore: Remove, it's not needed anymore.
24671 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24673 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24675 (texis): Renamed to $(objpfx)texis.
24676 (texis-path): New, contains path to generated files.
24677 (chapters.%): Use texis-path for complete path, add extra argument
24679 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24680 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24681 (summary,texi, stamp-summary): Use complete path of
24682 files. Generate files in build dir.
24683 (dir-add.texi): Build in build dir.
24684 (libm-err.texi,stamp-libm-err): Likewise.
24685 (version.texi, stamp-version): Likewise.
24686 (.%c.texi): Likewise.
24687 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24688 (mostlyclean): Remove target.
24689 (realclean): Remove target.
24690 (generated): Add new variable with contents from mostlyclean and
24691 realclean, remove entries duplicated in common-mostlyclean, add
24692 stamp-libm-err and stamp-version.
24693 (generated-dirs): Add libc directory.
24694 ($(inst_infodir)/libc.info): Install files from build dir.
24696 * manual/install.texi (Configuring and compiling): Adjust since
24697 the info files are not part of the tar ball anymore.
24699 2012-05-14 Andreas Jaeger <aj@suse.de>
24701 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24704 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24707 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24708 to 2.2.0 where earlier.
24709 * sysdeps/unix/sysv/linux/configure: Regenerated.
24710 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24711 Remove conditional code.
24712 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24713 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24714 Remove conditional code.
24715 [!__NR_lchown]: Likewise.
24716 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24717 [__NR_lchown]: Likewise.
24718 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24719 comment referencing __ASSUME_LCHOWN_SYSCALL.
24720 * sysdeps/unix/sysv/linux/i386/sigaction.c
24721 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24722 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24723 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24724 Remove conditional code.
24725 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24726 (__protocol_available): Remove #if 0 code.
24727 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24729 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24730 * sysdeps/unix/sysv/linux/kernel-features.h
24731 (__ASSUME_GETCWD_SYSCALL): Don't define.
24732 (__ASSUME_REALTIME_SIGNALS): Likewise.
24733 (__ASSUME_PREAD_SYSCALL): Likewise.
24734 (__ASSUME_PWRITE_SYSCALL): Likewise.
24735 (__ASSUME_POLL_SYSCALL): Likewise.
24736 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24737 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24739 (__ASSUME_SIOCGIFNAME): Don't define.
24740 (__ASSUME_MSG_NOSIGNAL): Likewise.
24741 (__ASSUME_SENDFILE): Define unconditionally.
24742 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24743 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24745 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24746 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24747 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24748 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24749 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24750 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24751 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24753 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24756 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24765 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24768 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24771 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24776 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24777 Remove conditional code.
24778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24780 Remove conditional code.
24781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24782 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24783 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24784 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24785 Remove conditional code.
24786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24787 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24788 Remove conditional code.
24789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24790 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24791 Remove conditional code.
24792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24793 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24794 Remove conditional code.
24795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24796 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24797 Remove conditional code.
24798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24799 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24802 * sysdeps/unix/sysv/linux/sigaction.c
24803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24805 * sysdeps/unix/sysv/linux/sigpending.c
24806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24808 * sysdeps/unix/sysv/linux/sigprocmask.c
24809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24811 * sysdeps/unix/sysv/linux/sigsuspend.c
24812 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24813 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24815 (__libc_missing_rt_sigs): Remove.
24816 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24817 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24818 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24819 Remove conditional code.
24820 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24821 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24824 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24826 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24828 2012-05-14 Andreas Jaeger <aj@suse.de>
24830 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24831 it's not used in glibc.
24832 (__coshm1): Likewise.
24833 (__acosh1p): Likewise.
24836 * manual/string.texi (Copying and Concatenation): Add missing
24837 variable in concat example.
24838 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24840 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24844 __builtin_clzl with __builtin_clzll.
24846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24849 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24852 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24854 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24855 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24856 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24857 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24859 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24861 * NEWS: Update ia64 info.
24863 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24865 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24868 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24870 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24871 * sysdeps/unix/syscalls.list (dup3): Likewise.
24872 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24873 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24875 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24877 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24878 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24880 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24882 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24884 (TLS_IE): Use mov/add instead of movq/addq to load thread
24886 (TLS_GD_PREFIX): New.
24889 2012-05-11 David S. Miller <davem@davemloft.net>
24891 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24892 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24893 (_FPU_SETCW): Likewise.
24895 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24897 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24898 is 32-byte aligned.
24900 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24903 * iconvdata/gb18030.c: Update tables.
24904 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24905 characters specially.
24906 (BODY for TO_LOOP): Add encoding of missing ranges.
24908 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24911 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24912 * sysdeps/mach/hurd/dup3.c: Likewise.
24913 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24914 * sysdeps/powerpc/memmove.c:: Likewise.
24916 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24919 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24923 * elf/elf.h (R_X86_64_RELATIVE64): New.
24924 (R_X86_64_NUM): Updated.
24925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24926 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24927 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24928 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24929 tst-quad1pie tst-quad2pie
24930 (modules-names): Add tst-quadmod1 tst-quadmod2.
24931 ($(objpfx)tst-quad1): New dependency.
24932 ($(objpfx)tst-quad2): Likewise.
24933 ($(objpfx)tst-quad1pie): Likewise.
24934 ($(objpfx)tst-quad2pie): Likewise.
24935 * sysdeps/x86_64/tst-quad1.c: New file.
24936 * sysdeps/x86_64/tst-quad1pie.c: New file.
24937 * sysdeps/x86_64/tst-quad2.c: Likewise.
24938 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24939 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24940 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24941 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24942 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24946 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24947 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24948 * streams/stropts.h (t_scalar_t): Define type.
24950 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24951 (_PATH_PRESERVE): Set to "/var/lib".
24952 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24954 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24957 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24958 if __dir_mkfile succeeded.
24960 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24961 checking for _hurd_dtablesize. Unlock it right after having
24962 finished _hurd_dtable allocation.
24964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24966 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24967 * sysdeps/mach/hurd/configure: Regenerated.
24968 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24969 special-casing to...
24970 * sysdeps/gnu/configure.in: ... this new file.
24971 * sysdeps/unix/sysv/linux/configure: Regenerated.
24972 * sysdeps/gnu/configure: New generated file.
24974 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24975 for Linux: use nsec instead of usec, as well as:
24976 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24977 members of type struct timespec.
24978 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24980 (struct stat64): Likewise.
24981 (_STATBUF_ST_NSEC): New macro.
24982 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24984 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24985 __strtoul_internal rather than strtoul.
24987 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24989 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24994 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24995 which preserves existing values.
24996 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24998 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25000 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25001 TIMEOUT values. Return EINVAL for NFDS values either negative or
25002 greater than FD_SETSIZE.
25004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25006 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25007 allocated, call __vm_protect to finish enabling the existing space, and
25008 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25009 allocate the remainder.
25011 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25013 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25014 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25016 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25018 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25019 sysdeps/mach/hurd/readlink.c.
25021 * posix/tst-sysconf.c (posix_options): Only use
25022 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25023 _POSIX_SYNCHRONIZED_IO when they are defined
25024 * sysdeps/mach/hurd/bits/posix_opt.h:
25025 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25026 (_XOPEN_REALTIME): Undefine macro.
25027 (_XOPEN_REALTIME_THREADS): Undefine macro.
25028 (_XOPEN_SHM): Undefine macro.
25029 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25031 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25033 (_POSIX_ASYNC_IO): Undefine macro.
25034 (_POSIX_PRIORITIZED_IO): Undefine macro.
25035 (_POSIX_SPIN_LOCKS): Define macro to -1.
25037 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25038 SA_NODEFER, SA_RESETHAND.
25039 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25040 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25045 * elf/Makefile (pldd-modules): Define unconditionally.
25047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25049 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25053 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25054 Return ENOENT when name is empty.
25055 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25059 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25061 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25065 Fix mlock in all cases except non-readable pages.
25066 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25067 instead of VM_PROT_ALL as parameter to __vm_wire function.
25069 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25070 (__mkdir): When path is `/', just fail with EEXIST.
25071 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25075 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25076 <sys/uio.h> (for writev).
25077 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25078 and <sys/param.h> (for MIN).
25080 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25082 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25083 REQUESTED_TIME. Properly set the remaining time and return EINTR
25086 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25088 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25089 Depend on against $(link-rpcuserlibs).
25091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25093 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25094 (__libc_stack_end): Do not use attribute_relro.
25095 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25096 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25097 to libthread-provided value.
25098 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25101 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25104 * bits/libc-lock.h (__libc_once_get): New macro.
25105 * sysdeps/mach/bits/libc-lock.h: Likewise.
25106 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25107 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25108 instead of using implementation details.
25110 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25111 * libio/freopen.c: Likewise.
25112 * libio/freopen64.c: Likewise.
25113 * misc/syslog.c: Likewise.
25114 * nscd/connections.c: Likewise.
25115 * nscd/netgroupcache.c: Likewise.
25116 * sysdeps/posix/getcwd.c: Likewise.
25118 2012-05-10 Roland McGrath <roland@hack.frob.com>
25120 * math/w_ilogbf.c: Add #include <limits.h>.
25122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25124 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25125 path instead of returning without unlocking.
25127 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25128 immediate-write ioctls.
25129 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25133 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25134 __builtin_frame_address instead of making assumptions about the
25135 location of the return address relative to DATA. Force early load of
25136 the return address.
25137 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25138 __builtin_frame_address.
25141 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25142 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25143 implement dup3 and do some further code clean-ups.
25144 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25145 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25147 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25149 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25151 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25152 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25153 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25154 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25155 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25158 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25159 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25160 when handler == SIG_ERR, not when handler != SIG_ERR.
25162 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25164 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25165 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25168 accept4 for GNU Hurd.
25169 * include/sys/socket.h (__libc_accept4): New prototype.
25170 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25171 to implement __libc_accept4.
25172 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25174 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25176 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25177 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25178 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25179 signal-defines.sym.
25181 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25183 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25187 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25188 assertion on O_CLOEXEC flag.
25189 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25190 * hurd/intern-fd.c: Likewise.
25191 * hurd/port2fd.c: Likewise.
25193 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25196 * bits/in.h (IPV6_PKTINFO): Define new macro.
25197 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25199 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25204 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25206 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25207 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25209 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25210 * math/libm-test.inc (logb_test) : Additional logb tests.
25212 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25213 Andreas Jaeger <aj@suse.de>
25215 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25216 * configure: Regenerated.
25217 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25218 * config.make.in (link-obsolete-rpc): New substituted variable.
25219 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25220 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25221 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25222 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25223 so that libc.a contains the symbols.
25224 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25225 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25226 * sunrpc/auth_none.c: Likewise.
25227 * sunrpc/auth_unix.c: Likewise.
25228 * sunrpc/authdes_prot.c: Likewise.
25229 * sunrpc/authuxprot.c: Likewise.
25230 * sunrpc/clnt_gen.c: Likewise.
25231 * sunrpc/clnt_perr.c: Likewise.
25232 * sunrpc/clnt_raw.c: Likewise.
25233 * sunrpc/clnt_simp.c: Likewise.
25234 * sunrpc/clnt_tcp.c: Likewise.
25235 * sunrpc/clnt_udp.c: Likewise.
25236 * sunrpc/clnt_unix.c: Likewise.
25237 * sunrpc/des_crypt.c: Likewise.
25238 * sunrpc/des_soft.c: Likewise.
25239 * sunrpc/get_myaddr.c: Likewise.
25240 * sunrpc/key_call.c: Likewise.
25241 * sunrpc/key_prot.c: Likewise.
25242 * sunrpc/netname.c: Likewise.
25243 * sunrpc/pm_getmaps.c: Likewise.
25244 * sunrpc/pm_getport.c: Likewise.
25245 * sunrpc/pmap_clnt.c: Likewise.
25246 * sunrpc/pmap_prot.c: Likewise.
25247 * sunrpc/pmap_prot2.c: Likewise.
25248 * sunrpc/pmap_rmt.c: Likewise.
25249 * sunrpc/publickey.c: Likewise.
25250 * sunrpc/rpc_cmsg.c: Likewise.
25251 * sunrpc/rpc_common.c: Likewise.
25252 * sunrpc/rpc_dtable.c: Likewise.
25253 * sunrpc/rpc_prot.c: Likewise.
25254 * sunrpc/rpc_thread.c: Likewise.
25255 * sunrpc/rtime.c: Likewise.
25256 * sunrpc/svc.c: Likewise.
25257 * sunrpc/svc_auth.c: Likewise.
25258 * sunrpc/svc_raw.c: Likewise.
25259 * sunrpc/svc_run.c: Likewise.
25260 * sunrpc/svc_tcp.c: Likewise.
25261 * sunrpc/svc_udp.c: Likewise.
25262 * sunrpc/svc_unix.c: Likewise.
25263 * sunrpc/svcauth_des.c: Likewise.
25264 * sunrpc/xcrypt.c: Likewise.
25265 * sunrpc/xdr.c: Likewise.
25266 * sunrpc/xdr_array.c: Likewise.
25267 * sunrpc/xdr_float.c: Likewise.
25268 * sunrpc/xdr_intXX_t.c: Likewise.
25269 * sunrpc/xdr_mem.c: Likewise.
25270 * sunrpc/xdr_rec.c: Likewise.
25271 * sunrpc/xdr_ref.c: Likewise.
25272 * sunrpc/xdr_sizeof.c: Likewise.
25273 * sunrpc/xdr_stdio.c: Likewise.
25275 2012-05-10 Roland McGrath <roland@hack.frob.com>
25277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25278 change. Update copyright years.
25280 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25282 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25284 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25285 Joseph Myers <joseph@codesourcery.com>
25286 Paul Pluzhnikov <ppluzhnikov@google.com>
25289 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25291 [cross-compiling] (extra-libs): Likewise.
25292 [cross-compiling] (extra-libs-others): Likewise.
25293 [cross-compiling] (librpcsvc-routines): Likewise.
25294 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25295 [cross-compiling] (omit-deps): Likewise.
25296 (sunrpc-CPPFLAGS): New variable.
25297 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25298 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25299 (cross-rpcgen-objs): New variable.
25300 (extra-objs): Append $(cross-rpcgen-objs).
25301 ($(cross-rpcgen-objs)): New rule.
25302 ($(objpfx)cross-rpcgen): Likewise.
25303 (rpcgen-cmd): Define to use $(built-program-file). Expand
25305 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25306 ($(objpfx)x%.stmp): Likewise.
25307 * sunrpc/proto.h [IS_IN_build] (_): Define.
25308 [IS_IN_build] (_libc_intl_domainname): Likewise.
25310 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25313 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25314 and R_X86_64_TPOFF64.
25316 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25318 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25319 sysdeps/unix/sysv/syscalls.list.
25322 * sysdeps/unix/sysv/syscalls.list: Remove file.
25324 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25327 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25328 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25329 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25330 (__LC_IDENTIFICATION): Make these macros useful in #if
25331 expressions, as required by C99.
25333 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25335 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25336 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25339 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25341 * stdlib/longlong.h: Updated from GCC.
25343 2012-05-09 Andreas Jaeger <aj@suse.de>
25345 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25346 default is first entry.
25347 (run_mode): Set type.
25348 (main): Remove informal message about syslog.
25349 (options): Fix typo.
25352 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25355 (llrintf): Likewise.
25356 (llrint): Likewise.
25359 (nearbyint): Likewise.
25360 (nearbyintf): Likewise.
25362 2012-05-09 Andreas Jaeger <aj@suse.de>
25363 Pedro Alves <palves@redhat.com>
25365 * nscd/nscd.c (run_mode): Use enum.
25366 (main): Cleanup coding style issue.
25368 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25369 Andreas Jaeger <aj@suse.de>
25371 * nscd/nscd.c (go_background): Replaced with...
25372 (run_mode): ... this.
25373 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25374 (options): Add -F --foreground.
25375 (main): Implement it.
25376 (parse_opt): Parse it.
25378 2012-05-09 Andreas Jaeger <aj@suse.de>
25381 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25382 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25383 -Wconversion warning.
25384 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25387 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25389 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25391 (LC_ALL): Use macro-int-constant.
25392 (LC_COLLATE): Likewise.
25393 (LC_CTYPE): Likewise.
25394 (LC_MESSAGES): Likewise.
25395 (LC_MONETARY): Likewise.
25396 (LC_NUMERIC): Likewise.
25397 (LC_TIME): Likewise.
25398 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25399 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25401 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25403 [C99-based standards] (float_t): Expect type.
25404 [C99-based standards] (double_t): Expect type.
25405 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25407 [C99-based standards] (HUGE_VALL): Likewise.
25408 [C99-based standards] (INFINITY): Likewise.
25409 [C99-based standards] (NAN): Likewise.
25410 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25411 [C99-based standards] (FP_NAN): Likewise.
25412 [C99-based standards] (FP_NORMAL): Likewise.
25413 [C99-based standards] (FP_SUBNORMAL): Likewise.
25414 [C99-based standards] (FP_ZERO): Likewise.
25415 [C99-based standards] (FP_FAST_FMA): Use
25416 optional-macro-int-constant. Specify type. Require == 1.
25417 [C99-based standards] (FP_FAST_FMAF): Likewise.
25418 [C99-based standards] (FP_FAST_FMAL): Likewise.
25419 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25420 [C99-based standards] (FP_ILOGBNAN): Likewise.
25421 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25423 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25424 [C99-based standards] (math_errhandling): Specify type.
25425 [ISO99 || ISO11] (signgam): Do not allow.
25426 [non-C99-based standards] (copysignf): Do not allow.
25427 [non-C99-based standards] (exp2f): Likewise.
25428 [non-C99-based standards] (log2f): Likewise.
25429 [non-C99-based standards] (modff): Allow.
25430 [non-C99-based standards] (erff): Do not allow.
25431 [non-C99-based standards] (erfcf): Likewise.
25432 [non-C99-based standards] (gammaf): Likewise.
25433 [non-C99-based standards] (hypotf): Likewise.
25434 [non-C99-based standards] (j0f): Likewise.
25435 [non-C99-based standards] (j1f): Likewise.
25436 [non-C99-based standards] (jnf): Likewise.
25437 [non-C99-based standards] (lgammaf): Likewise.
25438 [non-C99-based standards] (tgammaf): Likewise.
25439 [non-C99-based standards] (y0f): Likewise.
25440 [non-C99-based standards] (y1f): Likewise.
25441 [non-C99-based standards] (ynf): Likewise.
25442 [non-C99-based standards] (isnanf): Likewise.
25443 [non-C99-based standards] (acoshf): Likewise.
25444 [non-C99-based standards] (asinhf): Likewise.
25445 [non-C99-based standards] (atanhf): Likewise.
25446 [non-C99-based standards] (cbrtf): Likewise.
25447 [non-C99-based standards] (expm1f): Likewise.
25448 [non-C99-based standards] (ilogbf): Likewise.
25449 [non-C99-based standards] (log1pf): Likewise.
25450 [non-C99-based standards] (logbf): Likewise.
25451 [non-C99-based standards] (nextafterf): Likewise.
25452 [non-C99-based standards] (remainderf): Likewise.
25453 [non-C99-based standards] (rintf): Likewise.
25454 [non-C99-based standards] (scalbf): Likewise.
25455 [non-C99-based standards] (copysignl): Likewise.
25456 [non-C99-based standards] (exp2l): Likewise.
25457 [non-C99-based standards] (log2l): Likewise.
25458 [non-C99-based standards] (modfl): Allow.
25459 [non-C99-based standards] (erfl): Do not allow.
25460 [non-C99-based standards] (erfcl): Likewise.
25461 [non-C99-based standards] (gammal): Likewise.
25462 [non-C99-based standards] (hypotl): Likewise.
25463 [non-C99-based standards] (j0l): Likewise.
25464 [non-C99-based standards] (j1l): Likewise.
25465 [non-C99-based standards] (jnl): Likewise.
25466 [non-C99-based standards] (lgammal): Likewise.
25467 [non-C99-based standards] (tgammal): Likewise.
25468 [non-C99-based standards] (y0l): Likewise.
25469 [non-C99-based standards] (y1l): Likewise.
25470 [non-C99-based standards] (ynl): Likewise.
25471 [non-C99-based standards] (isnanl): Likewise.
25472 [non-C99-based standards] (acoshl): Likewise.
25473 [non-C99-based standards] (asinhl): Likewise.
25474 [non-C99-based standards] (atanhl): Likewise.
25475 [non-C99-based standards] (cbrtl): Likewise.
25476 [non-C99-based standards] (expm1l): Likewise.
25477 [non-C99-based standards] (ilogbl): Likewise.
25478 [non-C99-based standards] (log1pl): Likewise.
25479 [non-C99-based standards] (logbl): Likewise.
25480 [non-C99-based standards] (nextafterl): Likewise.
25481 [non-C99-based standards] (remainderl): Likewise.
25482 [non-C99-based standards] (rintl): Likewise.
25483 [non-C99-based standards] (scalbl): Likewise.
25484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25485 [non-C99-based standards] (FP_*): Do not allow.
25486 [C99-based standards] (FP_*): Change to
25487 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25488 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25490 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25491 (SIG_ERR): Likewise.
25492 [X/Open-based standards] (SIG_HOLD): Likewise.
25493 (SIG_IGN): Likewise.
25494 (SIGABRT): Use macro-int-constant. Specify type. Require
25496 (SIGFPE): Likewise.
25497 (SIGILL): Likewise.
25498 (SIGINT): Likewise.
25499 (SIGSEGV): Likewise.
25500 (SIGTER): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25506 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25507 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25508 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25509 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25510 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25511 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25512 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25513 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25514 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25515 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25516 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25517 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25518 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25519 [X/Open-based standards] (SIGTRAP): Likewise.
25520 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25521 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25522 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25523 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25524 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25527 2012-05-08 Ian Wienand <ianw@vmware.com>
25530 * time/tzset.c (__tzset_parse_tz): Update default rules for
25531 daylight time changes in the Energy Policy Act of 2005.
25533 2012-05-09 Andreas Jaeger <aj@suse.de>
25536 * elf/ldconfig.c (parse_conf): Change string to make clear that
25537 ldconfig only issued a warning if ld.so.conf does not exist.
25539 2012-05-08 David S. Miller <davem@davemloft.net>
25541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25542 movxtod instead of popping the value on the stack.
25544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25546 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25548 * config.h.in: Add HAVE_ARM_PCS_VFP.
25550 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25553 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25554 checking but the checks are disabled for any reason.
25556 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25558 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25559 and ELF64_R_TYPE with ELFW(R_TYPE).
25561 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25563 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25564 (ulimit): Likewise.
25566 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25567 (settimeofday): Likewise.
25569 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25571 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25572 a struct th_u2 inside the union, and move tu_block/tu_code into
25573 a new th_u3 union of tu_block/tu_code inside of that. Move
25574 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25575 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25576 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25577 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25578 (th_stuff): Change to th_u1.tu_stuff.
25580 (th_msg): Change to th_u1.th_u2.tu_data.
25582 2012-05-07 David S. Miller <davem@davemloft.net>
25584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25587 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25588 (SETUP_PIC_REG): Use it.
25589 (SETUP_PIC_REG_LEAF): Use it.
25591 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25595 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25597 (EXPL_FINITE): Likewise.
25598 (FLDLOG): Likewise.
25599 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25600 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25602 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25604 (EXPL_FINITE): Likewise.
25605 (FLDLOG): Likewise.
25606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25607 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25609 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25610 test of -max_value argument for long double.
25611 * sysdeps/i386/fpu/libm-test-ulps: Update.
25612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25614 2012-05-06 David S. Miller <davem@davemloft.net>
25616 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25617 quad soft-float symbols whose references which are compiler
25619 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25621 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25625 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25627 (EXPL_FINITE): Likewise.
25628 (FLDLOG): Likewise.
25631 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25632 Adjust comments for base varying.
25633 (__expl_finite): Change alias to EXPL_FINITE.
25634 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25636 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25637 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25639 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25642 (EXPL_FINITE): Likewise.
25643 (FLDLOG): Likewise.
25646 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25647 Adjust comments for base varying.
25648 (__expl_finite): Change alias to EXPL_FINITE.
25649 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25654 * math/libm-test.inc (check_float_internal): Correct ulp
25655 calculation for subnormal expected results.
25657 2012-05-06 Andreas Jaeger <aj@suse.de>
25659 * Makeconfig (+math-flags): New, set to -frounding-math.
25660 (+cflags): Add +math-flags so that all of glibc gets compiled with
25663 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25665 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25667 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25673 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25674 (__ieee754_expl): Allow for and saturate large arguments.
25675 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25676 (u_threshold): Likewise.
25677 (__exp): Call __ieee754_exp before checking for overflow and
25679 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25680 (u_threshold): Likewise.
25681 (__expf): Call __ieee754_expf before checking for overflow and
25683 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25684 (u_threshold): Likewise.
25685 (__expl): Call __ieee754_expl before checking for overflow and
25687 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25688 (__ieee754_expl): Allow for and saturate large arguments.
25689 * math/libm-test.inc (exp_test): Add another test. Do not allow
25690 missing overflow exception on overflow.
25691 (expm1_test): Do not allow missing overflow exception on overflow.
25693 * sysdeps/i386/fpu/e_expl.c: Move to ...
25694 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25695 rather than using inline asm.
25696 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25697 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25698 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25700 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25703 (signal): Likewise.
25707 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25709 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25710 sysdeps/unix/common/syscalls.list.
25711 (fchmod): Likewise.
25712 (fchown): Likewise.
25713 (ftruncate): Likewise.
25714 (getrusage): Likewise.
25715 (gettimeofday): Likewise.
25716 (setpgid): Likewise.
25717 (setregid): Likewise.
25718 (setreuid): Likewise.
25719 (sigaction): Likewise.
25720 (truncate): Likewise.
25721 (vhangup): Likewise.
25722 * sysdeps/unix/common/syscalls.list: Remove file.
25723 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25724 * sysdeps/unix/sysv/linux/Implies: Likewise.
25726 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25728 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25730 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25734 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25737 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25740 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25743 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25746 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25749 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25752 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25756 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25760 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25763 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25767 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25771 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25773 * sysdeps/unix/common/bits/dirent.h: Remove file.
25774 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25776 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25777 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25778 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25779 * sysdeps/unix/bsd/isatty.c: Likewise.
25780 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25781 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25782 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25784 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25788 long double comparison inaccuracies.
25789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25792 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25794 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25797 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25801 nonzero digits before rounding a hex value.
25802 * stdlib/tst-strtod.c (tests): Add another test.
25804 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25806 * sysdeps/s390/fpu/libm-test-ulps: Update.
25808 2012-05-03 Andreas Jaeger <aj@suse.de>
25810 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25811 does not get optimized out.
25812 (malloc_opt_barrier): New.
25814 2012-05-03 Andreas Jaeger <aj@suse.de>
25815 Roland McGrath <roland@hack.frob.com>
25817 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25818 intermediate file deletion.
25819 (generated): Add .symlist files.
25821 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25824 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25825 Redirect under this condition.
25826 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25827 [__USE_GNU] (__dprintf_chk): Not under this condition.
25828 [__USE_GNU] (__vdprintf_chk): Likewise.
25829 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25830 under this condition.
25831 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25832 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25833 [__USE_XOPEN2K8] (vdprintf): Likewise.
25834 [__USE_GNU] (__dprintf_chk): Not under this condition.
25835 [__USE_GNU] (__vdprintf_chk): Likewise.
25836 [__USE_GNU] (dprintf): Likewise.
25837 [__USE_GNU] (vdprintf): Likewise.
25839 2012-05-03 Roland McGrath <roland@hack.frob.com>
25841 * elf/Makefile (common-generated): Set this instead of generated for
25842 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25843 $(all-built-dso)-derived lists.
25845 2012-05-03 Andreas Jaeger <aj@suse.de>
25847 * sysdeps/i386/fpu/libm-test-ulps: Update.
25850 * FAQ.in: Likewise.
25851 * scripts/gen-FAQ.pl: Likewise.
25852 * manual/install.texi (Installation): Point to online location of
25854 * Makefile (files-for-dist): Remove FAQ.
25857 2012-05-02 Allan McRae <allan@archlinux.org>
25859 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25860 (LDFLAGS-reldepmod5.so): Likewise.
25861 (LDFLAGS-reldep6mod1.so): Likewise.
25862 (LDFLAGS-reldep6mod4.so): Likewise.
25863 (LDFLAGS-reldep8mod3.so): Likewise.
25864 (LDFLAGS-unload4mod1.so): Likewise.
25865 (LDFLAGS-unload4mod2.so): Likewise.
25866 (LDFLAGS-tst-initorder): Likewise.
25867 (LDFLAGS-tst-initordera2.so): Likewise.
25868 (LDFLAGS-tst-initordera3.so): Likewise.
25869 (LDFLAGS-tst-initordera4.so): Likewise.
25870 (LDFLAGS-tst-initorderb2.so): Likewise.
25871 (LDFLAGS-noload): Likewise.
25872 (LDFLAGS-next): Likewise.
25873 (LDFLAGS-order2mod1.so): Likewise.
25874 (LDFLAGS-order2mod2.so): Likewise.
25875 (LDFLAGS-tst-initorder2): Likewise.
25876 (LDFLAGS-tst-initorder2a.so): Likewise.
25877 (LDFLAGS-tst-initorder2b.so): Likewise.
25878 (LDFLAGS-tst-initorder2c.so): Likewise.
25879 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25881 2012-05-02 David S. Miller <davem@davemloft.net>
25883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25885 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25888 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25890 2012-05-02 Andreas Jaeger <aj@suse.de>
25892 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25893 since we manipulate rounding mode.
25894 (CPPFLAGS-test-idouble.c): Likewise.
25895 (CPPFLAGS-test-ifloat.c): Likewise.
25896 (CFLAGS-test-ldouble.c): Likewise.
25897 (CFLAGS-test-double.c): Likewise.
25898 (CFLAGS-test-float.c): Likewise.
25899 (CFLAGS-test-misc.c): Likewise.
25900 (CFLAGS-test-test-fenv.c): Likewise.
25902 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25907 comparisons to determine direction to adjust input.
25909 2012-05-01 Roland McGrath <roland@hack.frob.com>
25911 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25912 output to the target.
25914 * scripts/localplt.awk: New file.
25915 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25916 (check-localplt-CFLAGS): Variable removed.
25917 ($(all-built-dso:=.jmprel)): New static pattern rule.
25918 (generated): Add those targets.
25919 (localplt-built-dso): New variable.
25920 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25922 * elf/check-localplt.c: File removed.
25924 * scripts/check-execstack.awk: New file.
25925 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25926 (check-execstack-CFLAGS): Variable removed.
25927 ($(objpfx)check-execstack.h): Target removed.
25928 ($(objpfx)execstack-default): New target.
25929 (generated): Add that instead of check-execstack.h.
25930 ($(all-built-dso:=.phdr)): New static pattern rule.
25931 (generated): Add those targets.
25932 * elf/check-execstack.c: File removed.
25934 * scripts/check-textrel.awk: New file.
25935 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25936 (check-textrel-CFLAGS): Variable removed.
25937 (all-built-dso): Use := to define.o
25938 ($(all-built-dso:=.dyn)): New static pattern rule.
25939 (generated): Add those targets.
25940 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25941 * config.make.in (READELF): New substituted variable.
25942 * elf/check-textrel.c: File removed.
25944 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25946 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25948 * conform/data/ctype.h-data [C99-based standards] (isblank):
25950 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25951 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25953 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25954 Specify type. Require positive value.
25955 (EILSEQ): Likewise.
25956 (ERANGE): Likewise.
25957 [ISO || POSIX] (EILSEQ): Do not expect.
25958 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25959 Specify type. Require positive value.
25960 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25968 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25969 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25970 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25971 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25972 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25973 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25974 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25975 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25976 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25977 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25978 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25979 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25980 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25981 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25982 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25983 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25984 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25985 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25986 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25989 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25992 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25994 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25995 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25996 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25997 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25999 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26000 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26001 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26002 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26003 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26004 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26005 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26006 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26007 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26008 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26009 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26010 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26011 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26012 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26013 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26014 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26015 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26016 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26017 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26018 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26019 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26020 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26021 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26022 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26023 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26024 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26025 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26026 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26027 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26034 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26035 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26036 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26038 (FLT_ROUNDS): Expect as macro, not constant.
26039 (FLT_MANT_DIG): Use macro-int-constant.
26040 (DBL_MANT_DIG): Likewise.
26041 (LDBL_MANT_DIG): Likewise.
26042 (FLT_DIG): Likewise.
26043 (DBL_DIG): Likewise.
26044 (LDBL_DIG): Likewise.
26045 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26046 (DBL_MIN_EXP): Likewise.
26047 (LDBL_MIN_EXP): Likewise.
26048 (FLT_MAX_EXP): Use macro-int-constant.
26049 (DBL_MAX_EXP): Likewise.
26050 (LDBL_MAX_EXP): Likewise.
26051 (FLT_MAX_10_EXP): Likewise.
26052 (DBL_MAX_10_EXP): Likewise.
26053 (LDBL_MAX_10_EXP): Likewise.
26054 (FLT_MAX): Use macro-constant.
26055 (DBL_MAX): Likewise.
26056 (LDBL_MAX): Likewise.
26057 (FLT_EPSILON): Use macro-constant. Give upper bound.
26058 (DBL_EPSILON): Likewise.
26059 (LDBL_EPSILON): Likewise.
26060 (FLT_MIN): Likewise.
26061 (DBL_MIN): Likewise.
26062 (LDBL_MIN): Likewise.
26063 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26064 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26065 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26066 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26067 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26068 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26069 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26070 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26071 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26072 [ISO11] (FLT_TRUE_MIN): Likewise.
26073 [ISO11] (LDBL_TRUE_MIN): Likewise.
26074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26075 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26076 (SCHAR_MIN): Use macro-int-constant. Specify type.
26077 (SCHAR_MAX): Likewise.
26078 (UCHAR_MAX): Likewise.
26079 (CHAR_MIN): Likewise.
26080 (CHAR_MAX): Likewise.
26081 (MB_LEN_MAX): Use macro-int-constant.
26082 (SHRT_MIN): Use macro-int-constant. Specify type.
26083 (SHRT_MAX): Likewise.
26084 (USHRT_MAX): Likewise.
26085 (INT_MAX): Likewise.
26086 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26088 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26090 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26092 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26093 bound negative. Suffix upper bound with "L".
26094 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26096 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26098 [C99-based standards] (LLONG_MAX): Likewise.
26099 [C99-based standards] (ULLONG_MAX): Likewise.
26100 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26102 [ISO11] (max_align_t): Require type.
26103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26105 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26106 from $CFLAGS, without defining away __attribute__ calls.
26107 (checknamespace): Use $CFLAGS_namespace.
26109 * conform/conformtest.pl (@keywords): Only include C99 keywords
26110 for standards based on C99 or C11.
26112 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26114 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26117 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26118 usability of symbols in #if.
26120 * conform/conformtest.pl: If macro or constant types start
26121 "promoted:", expect the symbol to be of the following type
26122 promoted by the integer promotions.
26124 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26125 in one place. Also handle "macro-constant".
26127 * conform/conformtest.pl: Only accept expected macro values with
26128 "==". Parse all "macro" lines in one place.
26129 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26131 * conform/conformtest.pl: Handle braced types on "constant" lines
26132 instead of handling "typed-constant".
26133 * conform/data/signal.h-data: Use "constant" instead of
26136 * conform/conformtest.pl: Handle "optional-" at start of lines in
26137 one place rather than duplicating several cases. Handle each
26138 format of "macro" line with initial "optional-".
26140 * conform/conformtest.pl: Only accept expected constant or
26141 optional-constant values with "==". Parse all "constant" lines in
26142 one place. Parse all "optional-constant" lines in one place.
26143 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26144 * conform/data/fmtmsg.h-data: Likewise.
26145 * conform/data/netinet/in.h-data: Likewise.
26146 * conform/data/tar.h-data: Likewise.
26147 * conform/data/limits.h-data: Use "==" form on "constant" and
26148 "optional-constant" lines.
26150 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26151 Use -std=c99 for XOPEN2K.
26152 (@knownproblems): Remove.
26153 (newtoken): Don't check %isknown.
26155 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26156 Do not expect macro.
26157 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26169 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26170 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26187 [XPG3] (acosh): Likewise.
26188 [XPG3] (asinh): Likewise.
26189 [XPG3] (atanh): Likewise.
26190 [XPG3] (cbrt): Likewise.
26191 [XPG3] (expm1): Likewise.
26192 [XPG3] (ilogb): Likewise.
26193 [XPG3] (log1p): Likewise.
26194 [XPG3] (logb): Likewise.
26195 [XPG3] (nextafter): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26198 [XPG3] (remainder): Likewise.
26199 [XPG3] (rint): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26207 [UNIX98 || XOPEN2K] (scalb): Expect.
26208 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26209 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26320 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26330 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26331 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26346 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26347 _XOPEN_SOURCE_EXTENDED for XPG4.
26349 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26351 * Makeconfig (localtime): Remove variable.
26352 (inst_localtime-file): Likewise.
26354 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26375 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26379 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26380 comparisons to determine direction to adjust input.
26381 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26382 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26383 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26389 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26390 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26392 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26394 * math/libm-test.inc (nexttoward_test): Add more tests.
26396 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26400 in version GLIBC_2.1, not GLIBC_2.0.
26401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26404 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26407 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26409 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26410 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26411 * math/libm-test.inc (acos_test): Add more tests.
26412 (asin_test): Likewise.
26413 * sysdeps/i386/fpu/libm-test-ulps: Update.
26414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26417 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26419 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26420 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26421 * math/libm-test.inc (acos_test_tonearest): New function.
26422 (acos_test_towardzero): Likewise.
26423 (acos_test_downward): Likewise.
26424 (acos_test_upward): Likewise.
26425 (asin_test_tonearest): Likewise.
26426 (asin_test_towardzero): Likewise.
26427 (asin_test_downward): Likewise.
26428 (asin_test_upward): Likewise.
26429 (main): Call the new functions.
26430 * sysdeps/i386/fpu/libm-test-ulps: Update.
26431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26435 * math/e_exp10.c: Include <float.h>.
26436 (__ieee754_exp10): Handle underflow here rather than multiplying
26437 large negative argument by M_LN10.
26438 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26440 * math/e_exp10l.c: Include <float.h>.
26441 (__ieee754_exp10l): Handle underflow here rather than multiplying
26442 large negative argument by M_LN10l.
26443 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26444 spurious overflow exception on underflow.
26446 2012-04-29 Marek Polacek <polacek@redhat.com>
26448 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26449 (__fortify_function): New macro.
26450 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26451 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26452 __extern_always_inline.
26453 * libio/bits/stdio2.h: Likewise.
26454 * libio/bits/stdio.h: Likewise.
26455 * string/string.h: Likewise.
26456 * string/bits/string3.h: Likewise.
26457 * include/stdio.h: Likewise.
26458 * stdlib/bits/stdlib.h: Likewise.
26459 * stdlib/stdlib.h: Likewise.
26460 * rt/bits/mqueue2.h: Likewise.
26461 * rt/mqueue.h: Likewise.
26462 * posix/bits/unistd.h: Likewise.
26463 * posix/unistd.h: Likewise.
26464 * io/bits/poll2.h: Likewise.
26465 * io/bits/fcntl2.h: Likewise.
26466 * io/fcntl.h: Likewise.
26467 * io/sys/poll.h: Likewise.
26468 * misc/bits/syslog.h: Likewise.
26469 * misc/bits/syslog-ldbl.h: Likewise.
26470 * misc/sys/syslog.h: Likewise.
26471 * socket/bits/socket2.h: Likewise.
26472 * socket/sys/socket.h: Likewise.
26473 * debug/tst-chk1.c: Likewise.
26474 * wcsmbs/bits/wchar2.h: Likewise.
26475 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26476 * wcsmbs/wchar.h: Likewise.
26478 2012-04-29 Andreas Jaeger <aj@suse.de>
26480 * Makerules (tests): Remove enable-check-abi protection.
26481 (check-abi-warn): Remove.
26482 (check-abi-%): Remove check-abi-warn usage.
26484 * configure.in: Remove check-abi configure option.
26485 * configure: Regenerated.
26486 * config.make.in (enable-check-abi): Remove.
26488 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26491 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26492 double functions to double *_finite functions.
26495 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26496 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26498 * stdio-common/Makefile (tests): Add tst-sprintf3.
26499 * stdio-common/tst-sprintf3.c: New file.
26501 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26502 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26504 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26506 * conform/conformtest.pl: Remove duplicate typed-constant
26509 2012-04-28 David S. Miller <davem@davemloft.net>
26511 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26512 (check-abi-%): Remove AWK script prerequisite and explicit
26514 (check-abi): Rewrite to just diff the symlist with the abilist.
26515 (config-tls, config-abi-config): Delete, no longer used.
26516 (update-abi-%): Remove AWK script and explicit abilist directory.
26517 (update-abi): Rewrite to simply compare and conditionally copy the
26518 symlist and the sysdep abilist file. Remove update-abi-config
26520 * abilist/ld.abilist: Remove.
26521 * abilist/libBrokenLocale.abilist: Remove.
26522 * abilist/libanl.abilist: Remove.
26523 * abilist/libcrypt.abilist: Remove.
26524 * abilist/libdl.abilist: Remove.
26525 * abilist/librt.abilist: Remove.
26526 * abilist/libthread_db.abilist: Remove.
26527 * abilist/libutil.abilist: Remove.
26528 * scripts/extract-abilist.awk: Remove.
26529 * scripts/merge-abilist.awk: Remove.
26530 * sysdeps/generic/libcidn.abilist: New file.
26531 * sysdeps/generic/libnss_compat.abilist: New file.
26532 * sysdeps/generic/libnss_db.abilist: New file.
26533 * sysdeps/generic/libnss_dns.abilist: New file.
26534 * sysdeps/generic/libnss_files.abilist: New file.
26535 * sysdeps/generic/libnss_hesiod.abilist: New file.
26536 * sysdeps/generic/libnss_nis.abilist: New file.
26537 * sysdeps/generic/libnss_nisplus.abilist: New file.
26538 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26539 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26540 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26542 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26543 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26544 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26545 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26546 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26547 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26548 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26549 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26550 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26552 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26553 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26554 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26555 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26557 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26558 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26559 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26560 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26561 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26562 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26564 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26565 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26566 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26568 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26671 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26672 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26673 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26676 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26677 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26678 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26679 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26680 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26681 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26682 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26683 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26684 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26736 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26738 * conform/conformtest.pl: Fix typo in handling typed-constant from
26741 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26743 * README: Cut down references to pre-2.6 Linux kernels and
26744 Linuxthreads. Update lists of configurations in libc and ports
26745 and sort alphabetically. Say "or newer" with Linux kernel version
26748 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26750 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26753 * math/libm-test.inc (logb_test_downward): New test to expose
26754 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26757 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26760 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26762 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26763 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26765 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26767 * sysdeps/unix/i386/brk.S: Remove file.
26768 * sysdeps/unix/i386/dl-brk.S: Likewise.
26769 * sysdeps/unix/i386/pipe.S: Likewise.
26770 * sysdeps/unix/i386/sigreturn.S: Likewise.
26771 * sysdeps/unix/i386/syscall.S: Likewise.
26772 * sysdeps/unix/i386/vfork.S: Likewise.
26773 * sysdeps/unix/i386/wait.S: Likewise.
26775 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26776 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26778 * configure.in (arm*-none*): Do not allow without
26779 --enable-hacker-mode.
26780 (netbsd*): Remove case setting base_os.
26781 (386bsd*): Likewise.
26782 (freebsd*): Likewise.
26785 (sunos*): Likewise.
26786 (ultrix*): Likewise.
26787 (newsos*): Likewise.
26788 (dynix*): Likewise.
26794 (minix*): Likewise.
26795 (irix4*): Likewise.
26796 (irix6*): Likewise.
26797 (solaris[2-9]*): Likewise.
26799 * configure: Regenerated.
26801 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26805 overflow or cancellation in calculating denominator.
26806 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26808 down expression to avoid unexpected rounding in newer GCCs.
26809 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26811 2012-04-26 David S. Miller <davem@davemloft.net>
26813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26814 long-double compat symbols.
26815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26829 2012-04-25 David S. Miller <davem@davemloft.net>
26831 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26832 HWCAP_* values only after the memory barriers have been defined.
26833 (atomic_full_barrier): Define.
26834 (atomic_read_barrier): Define.
26835 (atomic_write_barrier): Define.
26837 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26839 * shlib-versions: Add libgcc_s version information.
26840 * sysdeps/generic/libgcc_s.h: Remove.
26841 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26843 * sysdeps/gnu/unwind-resume.c: Likewise.
26844 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26846 2012-04-25 David S. Miller <davem@davemloft.net>
26848 * sysdeps/unix/sparc/brk.S: Delete.
26849 * sysdeps/unix/sparc/dl-brk.S: Delete.
26850 * sysdeps/unix/sparc/pipe.S: Delete.
26851 * sysdeps/unix/sparc/sysdep.S: Delete.
26852 * sysdeps/unix/sparc/sysdep.h: Delete.
26853 * sysdeps/unix/sparc/vfork.S: Delete.
26854 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26855 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26857 ret_ERRVAL, r0, r1, MOVE): Define.
26858 (JUMPTARGET): Remove.
26859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26860 sysdeps/unix/sparc/sysdep.h
26861 (ENTRY, END): Remove.
26862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26864 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26866 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26867 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26870 * timezone/README: Update upstream location and email address for
26872 * timezone/zdump.c: Update from tzcode 2012b.
26873 * timezone/zic.c: Likewise.
26875 * configure.in (libc_cv_as_needed): Remove test.
26876 * configure: Regenerated.
26877 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26878 conditional definition.
26879 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26880 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26881 * config.make.in (have-as-needed): Remove variable.
26883 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26884 Paul Pluzhnikov <ppluzhnikov@google.com>
26886 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26889 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26891 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26892 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26893 * sysdeps/sh/strlen.S: Likewise.
26895 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26897 * sysdeps/unix/fork.S: Remove file.
26898 * sysdeps/unix/i386/fork.S: Likewise.
26899 * sysdeps/unix/sparc/fork.S: Likewise.
26901 * sysdeps/unix/system.c: Remove file.
26902 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26904 * sysdeps/unix/getegid.S: Remove file.
26905 * sysdeps/unix/geteuid.S: Likewise.
26907 2012-04-24 Roland McGrath <roland@hack.frob.com>
26909 * scripts/check-localplt.awk: New file.
26910 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26912 * scripts/data/localplt-generic.data: Add a comment.
26914 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26915 NODE when __dir_mkfile failed.
26916 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26917 Reported by Ludovic Courtès <ludo@gnu.org>.
26919 2012-04-24 Andreas Jaeger <aj@suse.de>
26921 * Makerules (common-clean): Also remove gen-as-const-headers
26924 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26926 * Makerules (native-compile): Do not change working directory for
26927 build. Use $(OUTPUT_OPTION) in command.
26928 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26930 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26933 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26934 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26935 * math/libm-test.inc (floor_test): Add more tests.
26936 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26938 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26940 * sysdeps/unix/getdents.c: Remove file.
26941 * sysdeps/unix/sysv/getdents.c: Likewise.
26942 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26944 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26945 sysdeps/unix/mman/syscalls.list.
26947 (mprotect): Likewise.
26949 (munmap): Likewise.
26950 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26951 * sysdeps/unix/mman/syscalls.list: Remove.
26952 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26954 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26955 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26956 * configure: Regenerated.
26957 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26958 $(libgcc_s_suffix).
26959 * config.make.in (libgcc_s_suffix): Remove variable.
26961 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26963 * sysdeps/unix/sysv/gethostname.c: Move to ...
26964 * sysdeps/posix/gethostname.c: ... here.
26966 * sysdeps/unix/execve.S: Remove file.
26968 * sysdeps/unix/_exit.S: Remove file.
26970 2012-04-23 Andreas Jaeger <aj@suse.de>
26973 * manual/Makefile: Remove make dist support, there's no
26974 need for a stand-alone documentation tar ball.
26975 (TEXI2DVI): Define always, it's not in Makeconfig.
26978 (edition): Removed.
26979 (glibc-doc-$(edition).tar): Removed
26983 (ETAGS): Remove, it's in Makeconfig.
26984 (move-if-change): Remove, it's in Makeconfig.
26986 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26989 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26990 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26991 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26992 (strtod_l, strtof_l, strtold_l): Remove __wur.
26993 It is not necessarily an error to ignore strtol's return value.
26994 One can reliably look at the stored endptr to decide whether
26995 the number had valid syntax.
26997 2012-04-21 Andreas Jaeger <aj@suse.de>
27000 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27002 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27004 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27005 * sysdeps/unix/sysv/Versions: Remove file.
27007 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27012 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27016 version from __vm86.
27018 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27020 * sysdeps/unix/common/lxstat.c: Remove file.
27021 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27023 * sysdeps/unix/sysv/Makefile: Remove file.
27025 * sysdeps/unix/sysv/direct.h: Remove file.
27027 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27028 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27029 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27030 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27031 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27032 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27033 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27035 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27037 * sysdeps/unix/xmknod.c: Remove file.
27038 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27040 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27042 * sysdeps/unix/sysv/i386/time.S: Remove file.
27044 * sysdeps/unix/fxstat.c: Remove file.
27045 * sysdeps/unix/xstat.c: Likewise.
27046 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27048 * sysdeps/unix/sysv/sigaction.c: Remove file.
27050 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27051 (sysdep_headers): Remove variable.
27052 [termio.h not in sysdep_headers] (generated): Likewise.
27053 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27054 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27055 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27056 * sysdeps/unix/sysv/tcflow.c: Likewise.
27057 * sysdeps/unix/sysv/tcflush.c: Likewise.
27058 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27059 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27060 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27061 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27062 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27064 * sysdeps/unix/siglist.c: Remove file.
27066 * sysdeps/unix/getppid.S: Remove file.
27068 * sysdeps/unix/mkdir.c: Remove file.
27069 * sysdeps/unix/rmdir.c: Likewise.
27071 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27073 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27075 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27076 errlist-compat value.
27078 2012-04-18 David S. Miller <davem@davemloft.net>
27080 * sysdeps/generic/memcopy.h (reg_char): Delete.
27081 * debug/strcat_chk.c: Use char, not reg_char.
27082 * debug/strcpy_chk.c: Likewise.
27083 * debug/strncat_chk.c: Likewise.
27084 * debug/strncpy_chk.c: Likewise.
27085 * string/memchr.c: Likewise.
27086 * string/memrchr.c: Likewise.
27087 * string/rawmemchr.c: Likewise.
27088 * string/strcat.c: Likewise.
27089 * string/strchr.c: Likewise.
27090 * string/strchrnul.c: Likewise.
27091 * string/strcmp.c: Likewise.
27092 * string/strcpy.c: Likewise.
27093 * string/strncat.c: Likewise.
27094 * string/strncmp.c: Likewise.
27095 * string/strncpy.c: Likewise.
27097 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27099 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27100 __builtin_memcopy is called when src and dest ranges are known to not
27103 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27105 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27106 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27107 fwd_align_merge macro call.
27108 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27109 bwd_align_merge macro call.
27110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27112 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27114 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27115 bwd_align_merge macros.
27116 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27117 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27118 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27120 2012-04-18 David S. Miller <davem@davemloft.net>
27122 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27124 2012-04-18 Andreas Jaeger <aj@suse.de>
27127 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27128 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27129 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27131 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27132 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27135 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27136 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27137 Adjust for changed ldbl-128 files.
27139 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27140 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27141 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27143 2012-04-17 David S. Miller <davem@davemloft.net>
27145 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27147 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27149 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27150 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27151 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27152 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27153 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27154 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27156 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27159 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27160 * math/libm-test.inc: Add ilogb errno and exception tests.
27161 * math/w_ilogb.c: New file: ilogb wrapper.
27162 * math/w_ilogbf.c: New file: ilogbf wrapper.
27163 * math/w_ilogbl.c: New file: ilogbl wrapper.
27164 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27165 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27166 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27167 exception being thrown with 0.0 as argument.
27168 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27169 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27170 exception being thrown with 0.0 as argument.
27171 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27172 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27173 exception being thrown with 0.0 as argument.
27174 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27175 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27176 exception being thrown with 0.0 as argument.
27177 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27178 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27179 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27180 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27181 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27182 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27183 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27184 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27185 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27187 2012-04-17 Petr Baudis <pasky@ucw.cz>
27189 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27192 2012-04-16 Marek Polacek <polacek@redhat.com>
27194 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27196 2012-04-16 Marek Polacek <polacek@redhat.com>
27198 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27199 operands of fdivp instruction.
27201 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27203 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27204 * elf/tst-auditmod3b.c: Likewise.
27205 * elf/tst-auditmod4b.c: Likewise.
27206 * elf/tst-auditmod5b.c: Likewise.
27207 * elf/tst-auditmod6b.c: Likewise.
27208 * elf/tst-auditmod6c.c: Likewise.
27209 * elf/tst-auditmod7b.c: Likewise.
27210 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27211 * sysdeps/x86_64/preconfigure.in: Likewise.
27212 * sysdeps/x86_64/preconfigure: Regenerated.
27214 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27216 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27219 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27222 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27224 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27227 * locale/iso-639.def: Fix gl language name. Spotted by
27230 2012-04-12 Roland McGrath <roland@hack.frob.com>
27233 * libio/libio.h (__io_write_fn): Update comment.
27235 2012-04-12 Petr Baudis <pasky@ucw.cz>
27238 * stdio.texi (Hook Functions): The user provided writer function
27239 is not allowed to return -1.
27241 2012-04-11 David S. Miller <davem@davemloft.net>
27243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27245 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27247 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27248 Add a leading slash to rtkaio.
27250 2012-04-11 Jim Meyering <meyering@redhat.com>
27253 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27254 It is not necessarily an error to ignore fwrite's return
27255 value. One can reliably use ferror to test for errors after
27258 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27260 * bits/types.h (__snseconds_t): New type.
27261 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27263 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27265 (__SNSECONDS_T_TYPE): Likewise.
27266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27267 (__SNSECONDS_T_TYPE): Likewise.
27268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27269 (__SNSECONDS_T_TYPE): Likewise.
27271 2012-04-10 Andreas Jaeger <aj@suse.de>
27274 * manual/time.texi (Processor Time): Return type of times is
27275 elapsed real time since an arbitrary point in the past.
27276 (CPU Time): Move CLK_TCK from here...
27277 (Processor Time): ...to here. Correct description.
27278 * manual/conf.texi (Constants for Sysconf): Correct description of
27281 2012-04-10 David S. Miller <davem@davemloft.net>
27284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27285 where the is a gap between DT_REL(A) and DT_JMPREL.
27287 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27289 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27290 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27291 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27293 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27295 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27296 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27297 (dl_main): Handle --inhibit-cache.
27298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27300 * elf/dl-load.c (_dl_map_object): Use it.
27301 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27303 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27306 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27307 (__ieee754_powl): Saturate large exponents rather than testing for
27308 overflow of y*log2(x).
27309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27310 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27314 * math/s_ctan.c: Include <float.h>.
27315 (__ctan): Avoid internal overflow or cancellation in calculating
27317 * math/s_ctanf.c: Likewise.
27318 * math/s_ctanl.c: Likewise.
27319 * math/s_ctanh.c: Likewise.
27320 * math/s_ctanhf.c: Likewise.
27321 * math/s_ctanhl.c: Likewise.
27322 * math/libm-test.inc (ctan_test): Add more tests.
27323 (ctanh_test): Likewise.
27324 * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327 2012-04-09 Andreas Jaeger <aj@suse.de>
27330 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27331 is an optional BSD extension.
27334 * manual/stdio.texi (Opening Streams): Document additional fopen
27337 2012-04-09 Roland McGrath <roland@hack.frob.com>
27339 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27340 %eax without telling the compiler.
27342 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27345 * manual/install.texi: Use sourceware.org.
27347 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27350 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27351 (__ieee754_pow): Generate overflow and underflow using huge*huge
27352 and tiny*tiny rather than just returning constant infinity or zero
27353 for large exponents.
27354 * math/libm-test.inc (pow_test): Require overflow exceptions for
27355 applicable cases of large exponents.
27358 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27359 (__ieee754_pow): Use iterative multiplication algorithm only for
27360 integer exponents with absolute value below 1024. Check for odd
27361 integer exponents when using algorithm for real exponents.
27362 * math/libm-test.inc (pow_test): Add more tests.
27363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27365 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27368 * math/libm-test.inc (exp_test): Do not allow overflow exception
27371 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27374 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27375 instead of __kernel_standard_f.
27377 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27379 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27380 * sysdeps/x86_64/memset_chk.S: Likewise.
27382 2012-04-08 Andreas Jaeger <aj@suse.de>
27385 * manual/startup.texi (Environment Access): Describe return value
27386 for putenv and setenv.
27389 * manual/filesys.texi (Directory Entries): Add description for
27393 * manual/filesys.texi (Directory Entries): Clarify that it's file
27394 system not operating system in the description of DT_UNKNOWN.
27397 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27399 2012-04-08 Stephen Compall <s11@member.fsf.org>
27402 * manual/llio.texi (Opening and Closing Files): Add cross
27403 reference to explain mode argument.
27405 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27407 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27408 * sysdeps/x86_64/memset_chk.S: Likewise.
27410 2012-04-07 David S. Miller <davem@davemloft.net>
27412 * elf/elf.h (R_SPARC_WDISP10): Define.
27413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27416 R_SPARC_SIZE64 and R_SPARC_H34.
27418 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27420 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27421 conditions and remove no longer applicable assertion.
27423 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27425 * bits/byteswap.h: Include <features.h>.
27426 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27427 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27429 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27431 * bits/byteswap.h (__bswap_16): Removed.
27432 Include <bits/byteswap-16.h> to get __bswap_16.
27433 * sysdeps/i386/bits/byteswap.h: Likewise.
27434 * sysdeps/s390/bits/byteswap.h: Likewise.
27435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27436 * bits/byteswap-16.h: New file.
27437 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27438 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27439 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27440 * string/Makefile (headers): Add bits/byteswap-16.h.
27442 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27445 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27447 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27448 * nss/tst-nss-static.c: New.
27450 2012-04-06 Robert Millan <rmh@gnu.org>
27453 * manual/llio.texi (File Position Primitive): lseek
27454 refers to WHENCE when it really means OFFSET.
27456 2012-04-06 Andreas Jaeger <aj@suse.de>
27458 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27459 strncmp declarations.
27461 * abilist/libc.abilist: Add __poll and __ppoll.
27463 2012-04-05 David S. Miller <davem@davemloft.net>
27465 * scripts/check-local-headers.sh: Accept a host triplet in the
27466 path matched by the exclude regexp.
27468 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27470 * sysdeps/powerpc/powerpc32/dl-machine.h
27471 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27472 * sysdeps/s390/s390-32/dl-machine.h
27473 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27474 * sysdeps/sparc/sparc32/dl-machine.h
27475 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27476 * sysdeps/sparc/sparc64/dl-machine.h
27477 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27479 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27481 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27482 undefined symbol errors.
27484 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27487 2012-04-05 Michael Matz <matz@suse.de>
27490 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27492 2012-04-05 Andreas Jaeger <aj@suse.de>
27495 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27498 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27500 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27501 which ROUND is no valid rounding mode.
27503 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27505 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27507 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27509 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27511 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27512 an exception using FPU order intentionally.
27514 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27516 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27517 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27518 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27519 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27521 2012-04-05 Simon Josefsson <simon@josefsson.org>
27524 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27525 EINVAL when BUFLEN is too smal.
27527 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27530 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27531 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27533 2012-04-03 Andreas Jaeger <aj@suse.de>
27536 * manual/setjmp.texi (System V contexts): Fix sentence.
27539 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27540 New macro for this case.
27541 [!__GNUC__] (__bswap_64): New inline function for this case.
27542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27543 * bits/byteswap.h: Likewise.
27544 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27545 ull, guard with __GLIBC_HAVE_LONG_LONG.
27547 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27548 __GLIBC_HAVE_LONG_LONG.
27550 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27551 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27553 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27556 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27557 inptr and inend, rather than using last_ch.
27559 2012-04-02 David S. Miller <davem@davemloft.net>
27561 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27562 * stdio-common/printf-parse.h (read_int): Change return type to
27563 'int', return -1 on INT_MAX overflow.
27564 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27565 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27566 overflows INT_MAX. Check for overflow of in-format-string precision
27567 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27568 SIZE_MAX not INT_MAX for integer overflow test.
27569 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27570 skip the construct in the format string but do not record anything.
27571 * stdio-common/bug22.c: Adjust to test both width/prevision
27572 INT_MAX overflow as well as total length INT_MAX overflow. Check
27573 explicitly for proper errno values.
27575 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27577 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27579 * string/test-strcmp.c [! WIDE]: Likewise.
27580 * time/tst-mktime2.c: Likewise for INT_MAX.
27581 * string/test-string.h: #include <sys/param.h> for MIN.
27583 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27584 * sysdeps/i386/init-first.c (init): Likewise.
27585 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27586 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27587 * sysdeps/sh/init-first.c (init): Likewise.
27589 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27591 * po/ru.po: Update from translation team.
27592 * po/vi.po: Likewise.
27594 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27596 * resolv/nss_dns/dns-host.c: Merge copyright years.
27598 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27601 Optimize memcpy with prefetch if
27602 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27603 src, dst pointers have unequal 16 byte alignments.
27605 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27608 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27609 from a CNAME entry and return the minimum ttl for the query.
27610 (gaih_getanswer_slice): Likewise.
27612 2012-03-30 Jeff Law <law@redhat.com>
27614 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27616 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27617 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27619 * resolv/nss_dns/dns-host.c: Update copyright year.
27621 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27623 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27624 requests to save a system call. Fix check that all bytes are sent.
27626 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27627 comments for sendmmsg.
27629 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27632 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27633 with only 1 character between 0x0041 and 0x01b0.
27634 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27635 * wcsmbs/tst-mbsnrtowcs.c: New file.
27637 2012-03-29 David S. Miller <davem@davemloft.net>
27639 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27640 small copies by hand.
27642 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27645 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27646 _nss_compat_initgroups_dyn): Fall back to malloc/free
27647 for large group memberships.
27649 2012-03-28 David S. Miller <davem@davemloft.net>
27651 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27652 that branches into memcpy.
27653 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27656 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27659 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27660 implementation too.
27661 * sysdeps/sparc/mempcpy.S: New file.
27663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27664 the IFUNC routine in the libc case.
27665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27667 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27668 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27669 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27670 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27671 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27672 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27673 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27674 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27676 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27677 loop to 256 bytes instead of 64 bytes and fix test signedness.
27679 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27680 * sysdeps/sparc/sparc32/Makefile: rather than here...
27681 * sysdeps/sparc/sparc64/Makefile: and here.
27683 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27685 * malloc/mallocbug.c: Avoid warnings about unused variables.
27687 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27690 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27691 in the right place. Discard and retry query if response is
27692 larger than input buffer size.
27694 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27699 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27700 x for large integer exponent.
27701 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27702 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27703 sign of result as needed afterwards.
27704 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27705 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27706 result for underflowing pow the same as for overflow.
27707 (__kernel_standard_l): Handle powl overflow and underflow here
27708 rather than calling __kernel_standard.
27709 * math/libm-test.inc (pow_test): Add more tests.
27724 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27725 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27726 (__kernel_standard_l): New function.
27727 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27729 * math/w_acosl.c (__acosl): Likewise.
27730 * math/w_asinl.c (__asinl): Likewise.
27731 * math/w_atan2l.c (__atan2l): Likewise.
27732 * math/w_atanhl.c (__atanhl): Likewise.
27733 * math/w_coshl.c (__coshl): Likewise.
27734 * math/w_exp10l.c (__exp10l): Likewise.
27735 * math/w_exp2l.c (__exp2l): Likewise.
27736 * math/w_fmodl.c (__fmodl): Likewise.
27737 * math/w_hypotl.c (__hypotl): Likewise.
27738 * math/w_j0l.c (__j0l, __y0l): Likewise.
27739 * math/w_j1l.c (__j1l, __y1l): Likewise.
27740 * math/w_jnl.c (__jnl, __ynl): Likewise.
27741 * math/w_lgammal.c (__lgammal): Likewise.
27742 * math/w_log10l.c (__log10l): Likewise.
27743 * math/w_log2l.c (__log2l): Likewise.
27744 * math/w_logl.c (__logl): Likewise.
27745 * math/w_powl.c (__powl): Likewise.
27746 * math/w_remainderl.c (__remainderl): Likewise.
27747 * math/w_scalbl.c (sysv_scalbl): Likewise.
27748 * math/w_sinhl.c (__sinhl): Likewise.
27749 * math/w_sqrtl.c (__sqrtl): Likewise.
27750 * math/w_tgammal.c (__tgammal): Likewise.
27751 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27752 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27753 * math/libm-test.inc (acos_test): Add more tests.
27754 (acosh_test): Likewise.
27755 (asin_test): Likewise.
27756 (atanh_test): Likewise.
27757 (exp_test): Likewise.
27758 (exp10_test): Likewise.
27759 (exp2_test): Likewise.
27760 (expm1_test): Likewise.
27761 (lgamma_test): Likewise.
27762 (log_test): Likewise.
27763 (log10_test): Likewise.
27764 (log1p_test): Likewise.
27765 (log2_test): Likewise.
27766 (pow_test): Do not allow some spurious overflow exceptions.
27767 (sqrt_test): Add more tests.
27768 (tgamma_test): Likewise.
27769 (y0_test): Likewise.
27770 (y1_test): Likewise.
27771 (yn_test): Likewise.
27773 2012-03-27 Anton Blanchard <anton@samba.org>
27775 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27777 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27778 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27779 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27781 2012-03-27 David S. Miller <davem@davemloft.net>
27783 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27785 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27786 have-as-vis3 check.
27788 2012-03-27 Andreas Jaeger <aj@suse.de>
27790 * sysdeps/x86_64/elf/configure.in: Moved to ...
27791 * sysdeps/x86_64/configure.in: ... here.
27792 * sysdeps/x86_64/elf/start.S: Moved to ...
27793 * sysdeps/x86_64/start.S: ... here.
27794 * sysdeps/x86_64/elf/configure: Delete.
27796 * sysdeps/x86_64/configure.in: Merge contents from
27797 sysdeps/i386/configure.in (without i686 check).
27799 * sysdeps/i386/elf/Versions: Merge into ...
27800 * sysdeps/i386/Versions: ... this.
27801 * sysdeps/i386/elf/Versions: Delete file.
27802 * sysdeps/i386/elf/start.S: Moved to ...
27803 * sysdeps/i386/start.S: ...here.
27804 * sysdeps/i386/elf/configure.in: Merge into...
27805 * sysdeps/i386/configure.in: ...here.
27806 * sysdeps/i386/elf/configure.in: Delete file.
27807 * sysdeps/i386/elf/configure: Delete file.
27809 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27810 * debug/backtracesyms.c: ... here.
27811 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27812 * debug/backtracesymsfd.c: ... here.
27813 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27814 * sysdeps/generic/ifunc-sel.h: ... here.
27816 * sysdeps/unix/i386/start.c: Delete file.
27817 * sysdeps/unix/sparc/start.c: Delete file.
27818 * sysdeps/unix/start.c: Delete file.
27820 * sysdeps/sh/elf/configure.in: Moved to ...
27821 * sysdeps/sh/configure.in: ... here.
27822 * sysdeps/sh/elf/start.S: Moved to ...
27823 * sysdeps/sh/start.S: ... here.
27824 * sysdeps/sh/elf/configure: Delete file.
27826 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27827 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27828 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27829 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27830 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27831 * sysdeps/powerpc/powerpc64/start.S: here.
27832 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27833 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27834 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27835 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27836 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27838 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27839 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27840 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27841 * sysdeps/powerpc/powerpc32/start.S: ... here.
27842 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27843 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27844 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27846 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27847 * sysdeps/powerpc/ifunc-sel.h: ... here.
27848 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27849 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27851 * sysdeps/sparc/elf/configure.in: Moved to ...
27852 * sysdeps/sparc/configure.in: ... here.
27853 * sysdeps/sparc/elf/configure: Delete file.
27854 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27855 * sysdeps/sparc/sparc32/start.S: ... here.
27856 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27857 * sysdeps/sparc/sparc64/start.S: ... here.
27858 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27859 * sysdeps/sparc/sparc32/Makefile: ... this.
27860 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27861 * sysdeps/sparc/sparc64/Makefile: ... this.
27863 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27864 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27865 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27866 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27867 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27868 * sysdeps/s390/s390-32/setjmp.S: ... here.
27869 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27870 * sysdeps/s390/s390-32/configure.in: ... here.
27871 * sysdeps/s390/s390-32/elf/configure: Delete file.
27872 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27873 * sysdeps/s390/s390-32/start.S: ... here.
27875 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27876 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27877 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27878 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27879 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27880 * sysdeps/s390/s390-64/setjmp.S: ... here.
27881 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27882 * sysdeps/s390/s390-64/configure.in: ... here
27883 * sysdeps/s390/s390-64/elf/configure: Delete file.
27884 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27885 * sysdeps/s390/s390-64/start.S: ... here.
27886 * sysdeps/s390/s390-64/elf/configure: Delete.
27888 * configure.in: Remove support for elf directories in sysdeps.
27890 * configure: Regenerated.
27891 * sysdeps/i386/configure: Regenerated.
27892 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27893 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27894 * sysdeps/s390/s390-32/configure: Regenerated.
27895 * sysdeps/s390/s390-64/configure: Regenerated.
27896 * sysdeps/sh/configure: Regenerated.
27897 * sysdeps/sparc/configure: Regenerated.
27898 * sysdeps/x86_64/configure: Regenerated.
27900 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27905 denormal result into account.
27907 2012-03-25 Roland McGrath <roland@hack.frob.com>
27909 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27910 Reported by Allan McRae <allan@archlinux.org>.
27912 2012-03-23 Jeff Law <law@redhat.com>
27914 * nss/getnssent.c (__nss_getent): Fix typo.
27916 2012-03-23 David S. Miller <davem@davemloft.net>
27918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27920 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27922 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27923 to pad to uint64_t for each field.
27924 (dl_tls_index): Replace unsigned long with uint64_t.
27926 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27927 Paul Pluzhnikov <ppluzhnikov@google.com>
27930 * grp/Makefile (otherlibs): Don't set it.
27931 * inet/Makefile (otherlibs): Likewise.
27932 * login/Makefile (otherlibs): Likewise.
27933 * nscd/Makefile (otherlibs): Likewise.
27934 * posix/Makefile (otherlibs): Likewise.
27935 * pwd/Makefile (otherlibs): Likewise.
27936 * rt/Makefile (otherlibs): Likewise.
27937 * sunrpc/Makefile (otherlibs): Likewise.
27938 * nss/Makefile (otherlibs): Likewise.
27939 Add libnss_files to routines and static-only-routines.
27940 ($(objpfx)getent): Remove rule.
27941 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27942 static-only-routines.
27944 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27947 * math/s_cexp.c: Include <float.h>.
27948 (__cexp): Handle exp result overflowing not necessarily
27949 overflowing both real and imaginary parts of result.
27950 * math/s_cexpf.c: Likewise.
27951 * math/s_cexpl.c: Likewise.
27952 * math/libm-test.inc (cexp_test): Add more tests.
27953 * sysdeps/i386/fpu/libm-test-ulps: Update.
27954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27956 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27958 * include/link.h (ELFW): New macro.
27959 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27960 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27962 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27964 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27967 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27969 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27971 (struct La_x32_retval): Likewise.
27973 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27975 * sysdeps/x86_64/preconfigure.in: New file.
27976 * sysdeps/x86_64/preconfigure: New generated file.
27978 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27981 * math/e_exp2l.c: Include <float.h>.
27982 (__ieee754_exp2l): Handle overflow and underflow cases
27983 separately. Only pass fractional part of argument to
27985 * math/libm-test.inc (exp2_test): Add more tests.
27987 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27988 negating x to take absolute value.
27989 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27991 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27992 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27994 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27995 computing low part if x was negated.
27996 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27998 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28000 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28001 la_x32_gnu_pltexit.
28002 (pltexit): Cast int_retval to ptrdiff_t.
28003 * elf/tst-auditmod3b.c: Likewise.
28004 * elf/tst-auditmod4b.c: Likewise.
28005 * elf/tst-auditmod5b.c: Likewise.
28006 * elf/tst-auditmod6b.c: Likewise.
28007 * elf/tst-auditmod6c.c: Likewise.
28008 * elf/tst-auditmod7b.c: Likewise.
28010 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28011 and x32_gnu_pltexit.
28013 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28014 __ELF_NATIVE_CLASS.
28015 (La_x32_regs): New macro.
28016 (La_x32_retval): Likewise.
28017 (la_x32_gnu_pltenter): New function prototype.
28018 (la_x32_gnu_pltexit): Likewise.
28020 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28022 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28027 * configure.in (libc_cv_cc_nofma): Check for option to disable
28028 generation of FMA instructions.
28029 * configure: Regenerate.
28030 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28031 * sysdeps/ieee754/dbl-64/Makefile: New file.
28032 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28033 Remove brandred-fma4.
28034 (CFLAGS-brandred-fma4.c): Remove.
28035 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28041 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28043 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28044 LLONG_MAX != LONG_MAX.
28045 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28046 (_fitoa_word): Likewise.
28047 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28048 LLONG_MAX != LONG_MAX.
28049 * stdio-common/_itowa.h: Include <_itoa.h>.
28050 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28051 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28052 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28053 only if not defined.
28054 (_ITOA_WORD_TYPE): Likewise.
28055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28056 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28058 2012-03-21 David S. Miller <davem@davemloft.net>
28060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28062 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28064 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28065 of x86_64 when setting libc_cv_slibdir, libdir and
28067 * sysdeps/unix/sysv/linux/configure: Regenerated.
28069 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28071 * manual/lang.texi (Old Varargs): Remove section.
28072 (How Variadic): Update menu.
28073 (va_start): Do not mention varargs.h.
28075 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28076 Joseph Myers <joseph@codesourcery.com>
28078 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28080 * configure: Regenerated.
28082 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28084 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28085 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28088 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28091 * Makefile (files-for-dist): Remove NOTES.
28092 (NOTES): Remove rule.
28093 * README: Don't refer to NOTES.
28094 * manual/creature.texi: Don't include macros.texi.
28095 * manual/intro.texi (creature.texi): Remove comment referring to
28098 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28099 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28100 * configure: Regenerated.
28101 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28102 LIBC_TRY_CC_OPTION.
28103 (libc_cv_as_i686): Likewise.
28104 (libc_cv_cc_avx): Likewise.
28105 (libc_cv_cc_sse2avx): Likewise.
28106 (libc_cv_cc_fma4): Likewise.
28107 (libc_cv_cc_novzeroupper): Likewise.
28108 * sysdeps/i386/configure: Regenerated.
28111 * sysdeps/i386/fpu/s_cexp.S: Remove.
28112 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28113 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28114 * math/libm-test.inc (cexp_test): Add more tests.
28115 * sysdeps/i386/fpu/libm-test-ulps: Update.
28116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28118 2012-03-21 Allan McRae <allan@archlinux.org>
28120 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28122 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28125 * math/w_exp2.c: Do not include <float.h>.
28126 (o_threshold, u_threshold): Remove.
28127 (__exp2): Calculate result before checking finiteness and calling
28129 * math/w_exp2f.c: Likewise.
28130 * math/w_exp2l.c: Likewise.
28131 * math/libm-test.inc (exp2_test): Require overflow exception for
28135 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28136 range of signed 64-bit integers before using fistpll. Remove
28137 checks for whether integers fit in mantissa bits.
28138 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28139 the range of signed 32-bit integers before using fistpl. Remove
28140 checks for whether integers fit in mantissa bits.
28141 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28142 (__ieee754_powl): Test for y outside the range of signed 64-bit
28143 integers before using fistpll. Reduce 64-bit values to 63-bit
28145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28146 divide-by-zero is raised for zero to large negative powers.
28147 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28148 (__ieee754_powl): Test for y outside the range of signed 64-bit
28149 integers before using fistpll. Reduce 64-bit values to 63-bit
28151 * math/libm-test.inc (pow_test): Add more tests.
28153 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28155 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28156 <stdio-common/_itoa.h>.
28157 * debug/segfault.c: Likewise.
28158 * elf/dl-cache.c: Likewise.
28159 * elf/dl-minimal.c: Likewise.
28160 * elf/dl-misc.c: Likewise.
28161 * elf/dl-sysdep.c: Likewise.
28162 * elf/dl-version.c: Likewise.
28163 * elf/rtld.c: Likewise.
28164 * hurd/hurdsock.c: Likewise.
28165 * hurd/lookup-retry.c: Likewise.
28166 * malloc/malloc.c: Likewise.
28167 * malloc/mtrace.c: Likewise.
28168 * nscd/nscd_getgr_r.c: Likewise.
28169 * nscd/nscd_getpw_r.c: Likewise.
28170 * nscd/nscd_getserv_r.c: Likewise.
28171 * posix/getopt_init.c: Likewise.
28172 * posix/wordexp.c: Likewise.
28173 * stdio-common/_itoa.c: Likewise.
28174 * stdio-common/printf_fphex.c: Likewise.
28175 * stdio-common/vfprintf.c: Likewise.
28176 * string/_strerror.c: Likewise.
28177 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28178 * sysdeps/i386/i686/hp-timing.h: Likewise.
28179 * sysdeps/mach/_strerror.c: Likewise.
28180 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28181 * sysdeps/mach/hurd/sethostid.c: Likewise.
28182 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28183 * sysdeps/mach/xpg-strerror.c: Likewise.
28184 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28185 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28186 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28187 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28188 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28189 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28190 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28191 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28192 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28193 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28194 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28195 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28196 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28197 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28198 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28199 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28200 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28201 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28202 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28203 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28206 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28208 * stdio-common/_itoa.h: Moved to ...
28209 * sysdeps/generic/_itoa.h: Here.
28211 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28213 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28214 instead of "_itoa.h" and "_itowa.h".
28215 * stdio-common/vfprintf.: Likewise.
28217 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28219 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28221 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28222 (__signbit): Likwise.
28223 (llrintf): Likwise.
28226 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28228 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28231 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28233 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28234 OVERFLOW_EXCEPTION_OK.
28235 * math/libm-test.inc ("Philosophy"): Update comment about
28237 (OVERFLOW_EXCEPTION): Define.
28238 (OVERFLOW_EXCEPTION_OK): Likewise.
28239 (INVALID_EXCEPTION_OK): Renumber.
28240 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28241 (IGNORE_ZERO_INF_SIGN): Likewise.
28242 (test_exceptions): Handle FE_OVERFLOW.
28243 (exp10_test): Expect overflow exceptions.
28244 (exp2_test): Likewise.
28245 (expm1_test): Likewise.
28246 (nextafter_test): Likewise.
28247 (pow_test): Likewise.
28248 (scalbn_test): Likewise.
28249 (scalbln_test): Likewise.
28251 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28253 * sysdeps/x86_64/bits/atomic.h
28254 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28256 (atomic_exchange_acq): Likewise.
28257 (__arch_exchange_and_add_body): Likewise.
28258 (__arch_add_body): Likewise.
28259 (atomic_add_negative): Likewise.
28260 (atomic_add_zero): Likewise.
28262 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28264 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28265 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28267 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28269 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28270 Check __x86_64__ instead of __WORDSIZE.
28272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28274 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28276 2012-03-19 David S. Miller <davem@davemloft.net>
28278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28280 * sysdeps/sparc/fpu/fenv_private.h: New file.
28281 * sysdeps/sparc/fpu/math_private.h: Use it.
28282 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28284 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28285 (libc_feholdexcept_setroundl): Remove.
28286 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28288 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28289 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28291 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28293 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28294 int64_t instead of long int.
28295 (INSERT_WORDS64): Likwise.
28297 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28299 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28300 _Unwind_GetCFA return to _Unwind_Ptr first.
28302 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28305 * math/s_clog.c: Include <float.h>.
28306 (__clog): Scale large or subnormal inputs.
28307 * math/s_clogf.c: Likewise.
28308 * math/s_clogl.c: Likewise.
28309 * math/s_clog10.c: Include <float.h>.
28310 (M_LOG10_2): Define.
28311 (__clog10): Scale large or subnormal inputs.
28312 * math/s_clog10f.c: Likewise.
28313 * math/s_clog10l.c: Likewise.
28314 * math/libm-test.inc (clog_test): Add more tests.
28315 (clog10_test): Likewise.
28316 * sysdeps/i386/fpu/libm-test-ulps: Update.
28317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28320 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28322 * math/libm-test.inc (atan2_test): Add another test.
28324 * Makerules (common-objdir-compile): Remove.
28325 * sysdeps/unix/Makefile (config-generated): Do not add
28326 $(unix-generated) to variable.
28327 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28328 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28330 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28332 [generic bits/local_lim.h] (before-compile): Do not append to
28334 [generic bits/local_lim.h] (common-generated): Likewise.
28335 [generic sys/param.h] (before-compile): Do not append to variable.
28336 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28337 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28338 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28339 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28341 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28342 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28343 [generic sys/param.h] ($(addprefix
28344 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28345 [generic sys/param.h] (common-generated): Do not append to
28347 [generic sys/param.h] (sysdep_headers): Likewise.
28348 [generic bits/errno.h] (before-compile): Do not append to
28350 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28352 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28353 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28354 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28355 [generic bits/errno.h] (common-generated): Do not append to
28357 [generic bits/ioctls.h] (before-compile): Do not append to
28359 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28361 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28362 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28363 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28365 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28366 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28367 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28368 [generic bits/ioctls.h] (common-generated): Do not append to
28370 [generic sys/syscall.h] (syscall.h): Remove variable.
28371 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28373 [generic sys/syscall.h] (before-compile): Do not append to
28375 [generic sys/syscall.h] (common-generated): Likewise.
28376 * sysdeps/unix/errnos-tmpl.c: Remove file.
28377 * sysdeps/unix/errnos.awk: Likewise.
28378 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28379 * sysdeps/unix/ioctls.awk: Likewise.
28380 * sysdeps/unix/mk-local_lim.c: Likewise.
28381 * sysdeps/unix/snarf-ioctls: Likewise.
28383 2012-03-19 Richard Henderson <rth@twiddle.net>
28385 * sysdeps/i386/fpu/fenv_private.h: New file.
28386 * sysdeps/i386/fpu/math_private.h: Use it.
28387 (math_opt_barrier, math_force_eval): Remove.
28388 (libc_feholdexcept_setround_53bit): Remove.
28389 (libc_feupdateenv_53bit): Remove.
28390 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28391 (math_opt_barrier, math_force_eval): Remove.
28392 (libc_feholdexcept): Remove.
28393 (libc_feholdexcept_setround): Remove.
28394 (libc_fetestexcept, libc_fesetenv): Remove.
28395 (libc_feupdateenv_test): Remove.
28396 (libc_feupdateenv, libc_feholdsetround): Remove.
28397 (libc_feresetround): Remove.
28399 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28400 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28402 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28403 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28404 (libc_feupdateenv_testl): New.
28405 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28406 (libc_feupdateenv_testf): New.
28407 (libc_feupdateenv): Use libc_feupdateenv_test.
28408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28411 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28412 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28413 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28414 (libc_feresetround_noex): New.
28415 (libc_feresetround_noexf): New.
28416 (libc_feresetround_noexl): New.
28417 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28418 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28419 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28420 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28425 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28426 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28427 SET_RESTORE_ROUND_NOEX.
28428 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28429 SET_RESTORE_ROUND_NOEXF.
28430 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28431 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28432 (libc_feholdsetroundf): New.
28433 (libc_feresetround, libc_feresetroundf): New.
28435 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28436 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28437 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28439 * sysdeps/generic/math_private.h: Include <fenv.h>.
28440 (default_libc_feholdexcept): New.
28441 (default_libc_feholdexcept_setround): New.
28442 (default_libc_fesetenv, default_libc_feupdateenv): New.
28443 (libc_feholdexcept): Only define if undefined.
28444 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28445 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28446 (libc_feholdexcept_setroundl): Likewise.
28447 (libc_feholdexcept_setround_53bit): Likewise.
28448 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28449 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28450 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28451 (libc_feupdateenv_53bit): Likewise.
28452 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28453 (libc_feholdexcept): Convert from macro to inline function.
28454 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28455 (libc_fesetenv, libc_feupdateenv): Likewise.
28457 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28458 not previously defined.
28459 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28460 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28461 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28462 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28463 * sysdeps/ieee754/flt-32/math_private.h: New file.
28464 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28465 math_private.h below SET_FLOAT_WORD.
28466 (__isnan, __isinf_ns, __finite): Remove.
28467 (__isnanf, __isinf_nsf, __finitef): Remove.
28469 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28473 2012-03-17 David S. Miller <davem@davemloft.net>
28476 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28479 2012-03-16 David S. Miller <davem@davemloft.net>
28481 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28485 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28487 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28488 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28489 sysdep_routines when subdir is sysvipc.
28490 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28491 __getshmlba helper.
28493 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28495 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28497 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28500 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28502 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28503 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28504 (__lround): Renamed to ...
28505 (__llround): This. Replace long int with long long int.
28506 Define lround functions as aliases of llround functions.
28507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28509 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28511 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28512 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28513 adresses to uintptr_t. Replace "long int" and "unsigned long
28514 int" with "greg_t" on va_arg.
28516 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28518 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28519 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28521 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28522 Move e_machine check before EI_CLASS check. Handle x32
28523 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28524 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28525 SKIP_EM_IA_64 and include
28526 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28528 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28529 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28530 (add_system_dir): New macro.
28532 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28533 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28535 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28546 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28548 * math/w_j0f.c (j0f): Likewise.
28550 * math/w_j0l.c (__j0l): Likewise.
28552 * math/w_j1.c (j1): Likewise.
28554 * math/w_j1f.c (j1f): Likewise.
28556 * math/w_j1l.c (__j1l): Likewise.
28558 * math/w_jn.c (jn): Likewise.
28560 * math/w_jnf.c (jnf): Likewise.
28562 * math/w_jnl.c (__jnl): Likewise.
28564 * math/libm-test.inc (j0_test): Add more tests.
28565 (j1_test): Likewise.
28566 (jn_test): Likewise. Add trailing semicolon to existing test.
28567 (y0_test): Likewise.
28568 (y1_test): Likewise.
28569 * sysdeps/i386/fpu/libm-test-ulps: Update.
28570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28575 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28576 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28578 (__tanl): Set errno for infinite argument.
28579 * sysdeps/i386/fpu/mptan.c: Remove.
28580 * sysdeps/i386/fpu/s_tan.S: Likewise.
28581 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28582 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28583 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28584 * math/libm-test.inc (tan_test): Add more tests and enable more
28585 tests for double and long double.
28586 * sysdeps/i386/fpu/libm-test-ulps: Update.
28587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28589 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28591 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28592 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28594 2012-03-16 Roland McGrath <roland@hack.frob.com>
28596 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28597 * configure.in: Use it for both main tree and add-ons.
28598 * configure: Regenerated.
28600 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28602 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28604 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28606 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28610 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28611 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28616 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28617 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28618 != 0 for prec == 2.
28619 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28620 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28621 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28622 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28623 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28624 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28625 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28626 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28627 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28628 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28629 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28630 * math/libm-test.inc (cos_test): Add more tests and enable more
28631 tests for long double.
28632 (sin_test): Likewise.
28633 (sincos_test): Likewise.
28634 * sysdeps/i386/fpu/libm-test-ulps: Update.
28635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28637 2012-03-16 David S. Miller <davem@davemloft.net>
28639 * sysdeps/sparc/fpu/math_private.h: New file.
28641 2012-03-15 David S. Miller <davem@davemloft.net>
28643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28657 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28658 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28660 * sysdeps/sparc/sparc-ifunc.h: New file.
28661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28702 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28706 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28708 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28712 2012-03-15 Andreas Jaeger <aj@suse.de>
28715 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28716 ieee754/flt-32 implementation for sin, cos and sincos.
28717 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28718 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28719 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28720 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28721 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28722 ieee754/flt-32 implementation for tan.
28724 * math/libm-test.inc (cos_test): Enable some large input tests for
28726 (sin_test): Likewise.
28727 (sincos_test): Likewise.
28728 (tan_test): Add tests for large input.
28730 * sysdeps/i386/fpu/libm-test-ulps: Update.
28732 2012-03-15 Andreas Jaeger <aj@suse.de>
28735 * math/libm-test.inc (cos_test): Add more test cases.
28736 (sin_test): Likewise.
28737 (sincos_test): Likewise.
28739 2012-03-15 Andreas Jaeger <aj@suse.de>
28742 * math/libm-test.inc (cos_test): Add a test case for large input
28744 (sin_test): Likewise.
28745 (sincos_test): Likewise.
28747 2012-03-15 Andreas Jaeger <aj@suse.de>,
28748 Joseph Myers <joseph@codesourcery.com>
28751 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28752 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28753 * sysdeps/i386/fpu/branred.c: Likewise.
28754 * sysdeps/i386/fpu/dosincos.c: Likewise.
28755 * sysdeps/i386/fpu/mpa.c: Likewise.
28756 * sysdeps/i386/fpu/s_cos.S: Likewise.
28757 * sysdeps/i386/fpu/s_sin.S: Likewise.
28758 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28759 * sysdeps/i386/fpu/sincos32.c: Likewise.
28761 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28763 (libc_feupdateenv_53bit): Define.
28764 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28766 (libc_feupdateenv_53bit): Define.
28768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28769 53 bit (without extend i386 double precision).
28771 * math/libm-test.inc (sincos_test): Add tests for large input.
28775 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28777 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28781 2012-03-15 David S. Miller <davem@davemloft.net>
28783 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28784 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28785 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28786 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28811 fmin/fmax sysdep routines.
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28814 2012-03-14 David S. Miller <davem@davemloft.net>
28816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28888 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28893 * sysdeps/sparc/configure.in: New file.
28894 * sysdeps/sparc/configure: Generate.
28895 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28896 * configure: Regenerate.
28897 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28898 * config.make.in (have-as-vis3): New.
28899 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28900 available use -Av9d instead of -Av9a.
28901 * sysdeps/sparc/sparc64/Makefile: Likewise.
28902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28914 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28915 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28917 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28918 fzeros/fnegs to load 0x80000000 into a float register instead of
28920 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28922 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28926 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28927 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28928 ($(inst_includedir)/bits/syscall.h): Remove rule.
28929 ($(objpfx)bits/syscall.d): Include instead of
28930 $(objpfx)syscall-list.d.
28931 (generated): Change syscall-list.h and syscall-list.d to
28932 bits/syscall.h and bits/syscall.d.
28934 2012-03-14 Roland McGrath <roland@hack.frob.com>
28937 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28939 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28942 * math/s_csqrt.c: Include <float.h>.
28943 (__csqrt): Scale large or subnormal inputs.
28944 * math/s_csqrtf.c: Likewise.
28945 * math/s_csqrtl.c: Likewise.
28946 * math/libm-test.inc (csqrt_test): Add more tests.
28947 * sysdeps/i386/fpu/libm-test-ulps: Update.
28948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28951 * math/libm-test.inc (hypot_test): Add more tests.
28953 2012-03-13 David S. Miller <davem@davemloft.net>
28956 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28957 double-precision for the calculation instead of scaling.
28959 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28962 manipulate bits before adding and subtracting TWO52[sx].
28963 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28966 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28968 2012-03-13 David S. Miller <davem@davemloft.net>
28970 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28971 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28973 rtld-global-offsets.h
28974 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28976 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28979 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28981 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28982 'err' in the ifdef scope in which it is actually used.
28984 * nss/nss_db/db-init.c: Include string.h
28986 2012-03-12 David S. Miller <davem@davemloft.net>
28988 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28989 masking out of the most significant byte of random value used.
28990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28991 Fix coding style in previous change.
28993 * sysdeps/unix/sysv/linux/kernel-features.h
28994 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28995 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28997 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29000 2012-03-11 David S. Miller <davem@davemloft.net>
29002 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29003 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29004 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29005 for 'resultvar' otherwise things get truncated on 64-bit.
29007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29008 Fix masking out of the most significant byte of random value used.
29010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29012 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29016 2012-03-09 David S. Miller <davem@davemloft.net>
29018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29019 variables with appropriate CPP guards.
29020 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29021 frame pointer, not the stack pointer. Correct layout comments. Fix test
29022 on resulting framesize and the management of the outregs buffer for pltexit.
29023 Preserve floating point return values across _dl_call_pltexit call.
29024 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29025 framesize and the management of the outregs buffer for pltexit.
29026 Preserve floating point return values across _dl_call_pltexit
29028 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29029 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29030 (print_exit): Fix format string for return register value.
29032 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29034 * sunrpc/Makefile (others): Add rpcgen.
29035 ($(objpfx)rpcgen): Remove special build rule and dependency on
29037 * sunrpc/rpcgen.c: New file.
29039 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29042 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29043 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29044 * sysdeps/i386/crti.S: Likewise.
29045 * sysdeps/i386/crtn.S: Likewise.
29046 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29047 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29048 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29049 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29050 * sysdeps/sh/crti.S: Likewise.
29051 * sysdeps/sh/crtn.S: Likewise.
29052 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29055 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29057 * locale/programs/locfile-kw.gperf: Likewise.
29058 * locale/programs/charmap-kw.h: Regenerated.
29059 * locale/programs/locfile-kw.h: Likewise.
29062 * intl/plural.y: Replace FSF snail mail address with URL.
29063 * intl/plural.c: Regenerated.
29065 2012-03-09 Richard Henderson <rth@twiddle.net>
29067 * include/math_private.h: Remove file.
29068 * math/math_private.h: Move file ...
29069 * sysdeps/generic/math_private.h: ... here.
29071 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29072 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29073 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29075 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29076 and <math_private.h>.
29077 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29078 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29079 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29080 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29081 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29165 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29166 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29167 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29168 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29170 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29171 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29172 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29173 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29174 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29176 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29177 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29178 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29179 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29180 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29181 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29182 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29183 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29184 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29185 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29187 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29188 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29189 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29190 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29191 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29192 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29193 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29194 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29195 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29196 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29197 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29198 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29199 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29200 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29203 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29204 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29205 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29206 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29207 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29208 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29209 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29210 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29211 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29212 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29213 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29215 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29216 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29217 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29218 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29219 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29220 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29221 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29222 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29223 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29224 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29225 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29226 * sysdeps/ieee754/k_standard.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29342 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29346 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29349 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29354 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29359 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29366 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29376 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29377 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29380 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29387 * sysdeps/ieee754/s_lib_version.c: Likewise.
29388 * sysdeps/ieee754/s_matherr.c: Likewise.
29389 * sysdeps/ieee754/s_signgam.c: Likewise.
29390 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29391 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29392 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29393 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29394 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29395 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29396 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29397 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29398 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29399 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29400 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29401 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29404 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29405 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29406 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29407 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29408 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29412 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29414 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29415 * sunrpc/rpc_main.c: Likewise.
29416 * sunrpc/rpc_svcout.c: Likewise.
29418 2012-03-09 David S. Miller <davem@davemloft.net>
29420 * include/math_private.h: New file.
29422 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29424 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29425 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29426 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29427 from <bits/socket_type.h>.
29428 (enum __socket_type): Don't define here.
29429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29431 bits/socket_type.h.
29434 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29435 checking __USE_GNU.
29437 * Makerules ($(inst_includedir)/%.h): New rule.
29438 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29439 (install-others): Remove variable setting.
29440 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29442 2012-03-08 Richard Henderson <rth@twiddle.net>
29444 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29445 from macro to inline function; merge with the
29446 !__LIBC_INTERNAL_MATH_INLINES version.
29447 (__ieee754_sqrtf): Likewise.
29449 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29450 to inline function.
29451 (__rintf, __floor, __floorf): Likewise.
29453 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29454 macro to inline function.
29455 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29458 not <math/math_private.h>.
29460 2012-03-08 David S. Miller <davem@davemloft.net>
29462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29464 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29466 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29468 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29470 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29471 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29473 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29475 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29476 be defined individually, they must be defined as a block. Define
29477 S for printing a string instead of hidint the different by using a
29478 macro for adding the 'l'.
29479 * stdio-common/tst-fphex-wide.c: Adjust.
29481 2012-03-07 Marek Polacek <polacek@redhat.com>
29483 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29485 2012-03-08 Marek Polacek <polacek@redhat.com>
29488 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29489 * stdio-common/tst-fphex.c: Define a few macros to make the
29490 test reusable. Use them.
29491 * stdio-common/tst-fphex-wide.c: New file.
29493 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29496 * manual/macros.texi (gnusystems): New macro.
29497 (nongnusystems): Likewise.
29498 (gnulinuxhurdsystems): Likewise.
29499 (gnuhurdsystems): Likewise..
29500 (gnulinuxsystems): Likewise.
29501 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29502 variants of the GNU system, not "GNU system".
29503 * manual/conf.texi: Likewise.
29504 * manual/errno.texi: Likewise. Update example of errno macro
29506 * manual/filesys.texi: Likewise.
29507 (getumask): Document as specific to GNU/Hurd.
29508 * manual/install.texi: Likewise. Reword some references to
29510 * manual/intro.texi: Likewise.
29511 * manual/io.texi: Likewise.
29512 (File Name Portability): Detail which constraints are inapplicable
29513 to all GNU systems and which are only inapplicable to GNU/Hurd.
29514 * manual/job.texi: Likewise.
29515 * manual/llio.texi: Likewise.
29516 (O_NOCTTY): Document as present on GNU/Linux.
29517 * manual/maint.texi: Likewise.
29518 * manual/memory.texi: Likewise.
29519 * manual/pattern.texi: Likewise.
29520 * manual/pipe.texi: Likewise.
29521 * manual/process.texi: Likewise.
29522 * manual/resource.texi: Likewise.
29523 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29525 * manual/setjmp.texi: Likewise.
29526 * manual/signal.texi: Likewise.
29527 * manual/startup.texi: Likewise.
29528 * manual/stdio.texi: Likewise.
29529 * manual/terminal.texi: Likewise.
29530 (ONLCR): Document as POSIX.
29531 (OXTABS): Document availability on GNU/Linux as XTABS.
29532 (ONOEOT): Document availability separately from other bits.
29533 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29534 * manual/time.texi: Likewise.
29535 * manual/users.texi: Likewise.
29536 * INSTALL: Regenerated.
29537 * sysdeps/gnu/errlist.c: Regenerated.
29539 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29540 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29541 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29543 * configure: Regenerated.
29545 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29547 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29548 default includes instead of AC_HEADER_CHECK.
29549 * sysdeps/i386/configure: Regenerated.
29552 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29553 * math/s_cacoshf.c (__cacoshf): Likewise.
29554 * math/s_cacoshl.c (__cacoshl): Likewise.
29555 * math/s_casinh.c (__casinh): Set signs of result from argument.
29556 * math/s_casinhf.c (__casinhf): Likewise.
29557 * math/s_casinhl.c (__casinhl): Likewise.
29558 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29559 (casinh_test): Add more tests.
29560 * sysdeps/i386/fpu/libm-test-ulps: Update.
29561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29563 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29565 * po/zh_TW.po: Update from translation team.
29567 * login/Makefile (distribute): Remove variable.
29568 * catgets/Makefile: Likewise.
29569 * mach/Makefile: Likewise.
29570 * malloc/Makefile: Likewise.
29571 * misc/Makefile: Likewise.
29572 * iconv/Makefile: Likewise.
29573 * nscd/Makefile: Likewise.
29574 * hurd/Makefile: Likewise.
29575 * manual/Makefile: Likewise.
29576 * locale/Makefile: Likewise.
29577 * intl/Makefile: Likewise.
29578 * conform/Makefile: Likewise.
29579 * nss/Makefile: Likewise.
29580 * time/Makefile: Likewise.
29581 * soft-fp/Makefile: Likewise.
29582 * dirent/Makefile: Likewise.
29583 * gmon/Makefile: Likewise.
29584 * po/Makefile: Likewise.
29585 * rt/Makefile: Likewise.
29586 * socket/Makefile: Likewise.
29587 * math/Makefile: Likewise.
29588 * signal/Makefile: Likewise.
29589 * debug/Makefile: Likewise.
29590 * elf/Makefile: Likewise.
29591 * timezone/Makefile: Likewise.
29592 * stdlib/Makefile: Likewise.
29593 * iconvdata/Makefile: Likewise.
29594 * sunrpc/Makefile: Likewise.
29595 * io/Makefile: Likewise.
29596 * argp/Makefile: Likewise.
29597 * inet/Makefile: Likewise.
29598 * hesiod/Makefile: Likewise.
29599 * grp/Makefile: Likewise.
29600 * csu/Makefile: Likewise.
29601 * wctype/Makefile: Likewise.
29602 * crypt/Makefile: Likewise.
29603 * libio/Makefile: Likewise.
29604 * string/Makefile: Likewise.
29605 * nis/Makefile: Likewise.
29606 * resolv/Makefile: Likewise.
29607 * stdio-common/Makefile: Likewise.
29608 * wcsmbs/Makefile: Likewise.
29609 * dlfcn/Makefile: Likewise.
29610 * posix/Makefile: Likewise.
29613 * timezone/Makefile: Don't install timezone files, just the programs
29616 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29618 * nss/databases.def: Add missing gshadow entry.
29620 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29622 2012-03-06 Marek Polacek <polacek@redhat.com>
29625 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29626 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29627 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29628 * stdio-common/tst-long-dbl-fphex.c: New file.
29630 2012-03-06 David S. Miller <davem@davemloft.net>
29632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29633 (set_obp_int): New function.
29634 (get_obp_int): New function.
29635 (__get_clockfreq_via_dev_openprom): Likewise.
29636 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29637 Avoid unused variable warnings on 'val' and use builtin_expect.
29638 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29640 (INLINE_CLONE_SYSCALL): Likewise.
29642 2012-03-05 David S. Miller <davem@davemloft.net>
29644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29646 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29650 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29651 only for |x| >= 40.
29652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29654 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29657 Replace gettimeofday with __vdso_gettimeofday.
29659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29660 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29661 __vdso_clock_gettime and __vdso_getcpu.
29663 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29664 time with __vdso_time.
29666 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29668 * manual/lang.texi (size_t): Note types to which size_t may be
29669 equivalent with the GNU C Library, but do not describe when
29670 differences between them are significant.
29672 2012-03-05 Andreas Jaeger <aj@suse.de>
29674 * sysdeps/i386/fpu/libm-test-ulps: Update.
29676 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29679 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29680 (__ieee754_pow): Save and restore rounding mode and use
29681 round-to-nearest for main computations.
29682 * math/libm-test.inc (pow_test_tonearest): New function.
29683 (pow_test_towardzero): Likewise.
29684 (pow_test_downward): Likewise.
29685 (pow_test_upward): Likewise.
29686 (main): Call the new functions.
29687 * sysdeps/i386/fpu/libm-test-ulps: Update.
29688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29691 * math/libm-test.inc (cosh_test_tonearest): New function.
29692 (cosh_test_towardzero): Likewise.
29693 (cosh_test_downward): Likewise.
29694 (cosh_test_upward): Likewise.
29695 (sinh_test_tonearest): Likewise.
29696 (sinh_test_towardzero): Likewise.
29697 (sinh_test_downward): Likewise.
29698 (sinh_test_upward): Likewise.
29699 (main): Call the new functions.
29700 * sysdeps/i386/fpu/libm-test-ulps: Update.
29701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29703 2012-03-05 Tom de Vries <tom@codesourcery.com>
29705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29706 default stack guard is set in last bytes.
29707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29709 2012-03-05 Kees Cook <keescook@chromium.org>
29711 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29714 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29715 possibly allocate from heap instead of stack.
29716 * stdio-common/bug-vfprintf-nargs.c: New file.
29717 * stdio-common/Makefile (tests): Add nargs overflow test.
29719 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29723 2012-03-03 Marek Polacek <polacek@redhat.com>
29725 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29726 * math/math_private.h: Likewise.
29727 * stdlib/tst-strtod.c: Likewise.
29728 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29729 * sysdeps/x86_64/bits/atomic.h: Likewise.
29731 2012-03-02 David S. Miller <davem@davemloft.net>
29733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29737 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29738 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29739 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29740 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29742 2012-03-02 Roland McGrath <roland@hack.frob.com>
29745 * manual/examples/README: New file, says the example source files
29746 can be used under GPL>=2.
29747 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29748 line containing just "*/".
29749 * manual/examples/add.c: Add copyright header (GPL>=2).
29750 * manual/examples/argp-ex1.c: Likewise.
29751 * manual/examples/argp-ex2.c: Likewise.
29752 * manual/examples/argp-ex3.c: Likewise.
29753 * manual/examples/argp-ex4.c: Likewise.
29754 * manual/examples/atexit.c: Likewise.
29755 * manual/examples/db.c: Likewise.
29756 * manual/examples/dir.c: Likewise.
29757 * manual/examples/dir2.c: Likewise.
29758 * manual/examples/execinfo.c: Likewise.
29759 * manual/examples/filecli.c: Likewise.
29760 * manual/examples/filesrv.c: Likewise.
29761 * manual/examples/fmtmsgexpl.c: Likewise.
29762 * manual/examples/genpass.c: Likewise.
29763 * manual/examples/inetcli.c: Likewise.
29764 * manual/examples/inetsrv.c: Likewise.
29765 * manual/examples/isockad.c: Likewise.
29766 * manual/examples/longopt.c: Likewise.
29767 * manual/examples/memopen.c: Likewise.
29768 * manual/examples/memstrm.c: Likewise.
29769 * manual/examples/mkfsock.c: Likewise.
29770 * manual/examples/mkisock.c: Likewise.
29771 * manual/examples/mygetpass.c: Likewise.
29772 * manual/examples/pipe.c: Likewise.
29773 * manual/examples/popen.c: Likewise.
29774 * manual/examples/rprintf.c: Likewise.
29775 * manual/examples/search.c: Likewise.
29776 * manual/examples/select.c: Likewise.
29777 * manual/examples/setjmp.c: Likewise.
29778 * manual/examples/sigh1.c: Likewise.
29779 * manual/examples/sigusr.c: Likewise.
29780 * manual/examples/stpcpy.c: Likewise.
29781 * manual/examples/strdupa.c: Likewise.
29782 * manual/examples/strftim.c: Likewise.
29783 * manual/examples/strncat.c: Likewise.
29784 * manual/examples/subopt.c: Likewise.
29785 * manual/examples/swapcontext.c: Likewise.
29786 * manual/examples/termios.c: Likewise.
29787 * manual/examples/testopt.c: Likewise.
29788 * manual/examples/testpass.c: Likewise.
29789 * manual/examples/timeval_subtract.c: Likewise.
29792 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29794 * manual/timeval_subtract.c.texi: ... here, new file.
29796 2012-03-02 David S. Miller <davem@davemloft.net>
29798 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29800 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29803 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29804 (__sin): Save and restore rounding mode and use round-to-nearest
29805 for all computations.
29806 (__cos): Save and restore rounding mode and use round-to-nearest
29807 for all computations.
29808 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29810 (tan): Save and restore rounding mode and use round-to-nearest for
29812 * math/libm-test.inc (cos_test_tonearest): New function.
29813 (cos_test_towardzero): Likewise.
29814 (cos_test_downward): Likewise.
29815 (cos_test_upward): Likewise.
29816 (sin_test_tonearest): Likewise.
29817 (sin_test_towardzero): Likewise.
29818 (sin_test_downward): Likewise.
29819 (sin_test_upward): Likewise.
29820 (tan_test_tonearest): Likewise.
29821 (tan_test_towardzero): Likewise.
29822 (tan_test_downward): Likewise.
29823 (tan_test_upward): Likewise.
29824 (main): Call the new functions.
29825 * sysdeps/i386/fpu/libm-test-ulps: Update.
29826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29829 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29830 small n, then large n, before computing and testing k+n.
29831 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29836 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29837 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29839 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29842 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29843 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29844 * math/libm-test.inc (scalbn_test): Add more tests.
29845 (scalbln_test): Likewise.
29847 * manual/filesys.texi (mode_t): Describe constraints on size and
29848 signedness, not exact equivalence to a particular type.
29850 (ino64_t): Likewise.
29852 (nlink_t): Likewise.
29853 (blkcnt_t): Likewise.
29854 (blkcnt64_t): Likewise.
29855 * manual/llio.texi (off_t): Likewise.
29858 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29859 (__ieee754_exp): Save and restore rounding mode and use
29860 round-to-nearest for all computations.
29861 * math/libm-test.inc (exp_test_tonearest): New function.
29862 (exp_test_towardzero): Likewise.
29863 (exp_test_downward): Likewise.
29864 (exp_test_upward): Likewise.
29865 (main): Call the new functions.
29866 * sysdeps/i386/fpu/libm-test-ulps: Update.
29867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29869 2012-03-01 Chris Demetriou <cgd@google.com>
29871 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29872 have predictable order.
29874 2012-03-01 David S. Miller <davem@davemloft.net>
29876 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29878 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29879 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29881 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29883 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29884 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29885 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29888 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29889 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29890 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29891 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29895 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29896 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29897 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29899 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29900 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29901 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29902 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29903 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29906 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29907 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29908 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29909 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29910 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29912 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29913 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29915 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29916 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29917 * sysdeps/sparc/elf/configure: Regenerated.
29919 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29921 * configure.in (AS, LD): Require binutils 2.20 or later.
29922 * configure: Regenerated.
29923 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29924 as required minimum version.
29925 * INSTALL: Regenerated.
29929 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29930 before squaring exponent.
29931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29932 bottom long double and 27 bits of top long double before squaring
29934 * math/libm-test.inc (erfc_test): Add more tests.
29935 * sysdeps/i386/fpu/libm-test-ulps: Update.
29936 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29939 2012-03-01 Kai Tietz <ktietz@redhat.com>
29941 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29942 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29943 containing bit-fields.
29944 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29945 * soft-fp/single.h (_FP_UNION_S): Likewise.
29946 * soft-fp/double.h (_FP_UNION_D): Likewise.
29948 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29952 not include ../strcmp.S.
29953 [USE_AS_STRNCASECMP_L]: Likewise.
29954 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29955 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29956 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29957 (__strncasecmp_l_ia32): Define as alias to
29958 __strncasecmp_l_nonascii.
29961 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29962 * sysdeps/i386/fpu/libm-test-ulps: Update.
29963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29965 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29968 2012-02-29 Jeff Law <law@redhat.com>
29970 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29971 out of bounds read.
29973 2012-02-29 Marek Polacek <polacek@redhat.com>
29976 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29977 * elf/Makefile: Add rules to run tst-unused-dep.out.
29979 2012-02-28 David S. Miller <davem@davemloft.net>
29981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29985 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29986 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29988 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29990 * math/libm-test.inc (llround_test): Move one test from
29991 lround_test. Use TEST_f_L in moved test.
29992 (lround_test): Move misplaced test to llround_test. Add testcase
29995 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29997 * sysdeps/x86_64/fpu/e_expf.S: New file.
29998 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30000 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30003 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30004 of remain_len that may cause incomplete multi-byte character and
30006 * posix/bug-regex33.c: New file.
30007 * posix/Makefile (tests): Add bug-regex33.
30009 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30011 * manual/macros.texi: New file.
30012 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30013 * manual/libc.texinfo: Include macros.texi.
30014 * manual/creatute.texi: Likewise.
30015 * manual/install.texi: Likewise.
30016 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30017 @glibcadj{} in references to the GNU C Library.
30018 * manual/charset.texi: Likewise.
30019 * manual/conf.texi: Likewise.
30020 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30021 when not using those macros.
30022 * manual/creature.texi: Likewise.
30023 * manual/crypt.texi: Likewise.
30024 * manual/errno.texi: Likewise.
30025 * manual/filesys.texi: Likewise.
30026 * manual/header.texi: Likewise.
30027 * manual/install.texi: Likewise.
30028 * manual/intro.texi: Likewise.
30029 * manual/io.texi: Likewise.
30030 * manual/job.texi: Likewise.
30031 * manual/lang.texi: Likewise.
30032 * manual/libc.texiinfo: Likewise.
30033 * manual/llio.texi: Likewise.
30034 * manual/locale.texi: Likewise.
30035 * manual/maint.texi: Likewise.
30036 * manual/math.texi: Likewise.
30037 * manual/memory.texi: Likewise.
30038 * manual/message.texi: Likewise.
30039 * manual/nss.texi: Likewise.
30040 * manual/pattern.texi: Likewise.
30041 * manual/process.texi: Likewise.
30042 * manual/resource.texi: Likewise.
30043 * manual/search.texi: Likewise.
30044 * manual/setjmp.texi: Likewise.
30045 * manual/signal.texi: Likewise.
30046 * manual/socket.texi: Likewise.
30047 * manual/startup.texi: Likewise.
30048 * manual/stdio.texi: Likewise.
30049 * manual/string.texi: Likewise.
30050 * manual/sysinfo.texi: Likewise.
30051 * manual/syslog.texi: Likewise.
30052 * manual/terminal.texi: Likewise.
30053 * manual/time.texi: Likewise.
30054 * manual/users.texi: Likewise.
30055 * INSTALL: Regenerated.
30056 * NOTES: Regenerated.
30057 * sysdeps/gnu/errlist.c: Regenerated.
30059 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30061 * include/dirent.h: Include <dirstream.h> before
30064 2012-02-28 David S. Miller <davem@davemloft.net>
30066 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30067 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30068 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30069 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30071 2012-02-27 David S. Miller <davem@davemloft.net>
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30075 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30076 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30079 frame pointer instead of stack pointer relative arg slot.
30080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30081 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30082 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30084 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30087 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30089 2012-02-27 David S. Miller <davem@davemloft.net>
30091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30095 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30096 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30097 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30098 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30100 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30102 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30103 later. Allow versions 5-9.
30104 * configure: Regenerated.
30105 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30106 required minimum version and 4.6 as recommended version. Do not
30107 mention bugs in GCC 2.7 and 2.8.
30108 * INSTALL: Regenerated.
30110 2012-02-27 David S. Miller <davem@davemloft.net>
30112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30116 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30117 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30118 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30119 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30122 manipulate bits before adding and subtracting TWO112[sx].
30123 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30125 2012-02-27 Roland McGrath <roland@hack.frob.com>
30128 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30129 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30130 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30131 being in POSIX, because they are in 1003.1-2008.
30133 * rt/tst-aio.c: Include <fcntl.h>.
30134 * rt/tst-aio7.c: Likewise.
30135 * rt/tst-aio64.c: Likewise.
30137 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30139 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30141 * manual/install.texi (--with-headers): Describe headers as
30142 interface headers, not private headers.
30143 (Specific advice for GNU/Linux systems): Describe use of headers
30144 from "make headers_install", not private headers from older
30146 * INSTALL: Regenerated.
30147 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30149 * sysdeps/unix/sysv/linux/configure: Regenerated.
30151 * manual/llio.texi (fclean): Remove documentation.
30153 * manual/Makefile (libc-texi-generated): New variable. Include
30155 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30156 $(libc-texi-generated), not duplicated list of files.
30157 (version.texi, stamp-version): New rules.
30158 (realclean): Remove $(libc-texi-generated), not individual files
30159 from that list. Do not remove dir-add.texinfo.
30160 * manual/libc.texinfo: Comment out uses of edition numbers and
30161 references to printed manual. Remove last-updated dates.
30162 (EDITION): Comment out.
30164 (VERSION, UPDATED): Remove.
30165 (version.texi): Include.
30167 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30169 * sysdeps/posix/spawni.c: Include <signal.h>.
30170 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30171 * sysdeps/pthread/aio_fsync.c: Likewise.
30173 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30175 * conform/Makefile (tests): Run only when not cross-compiling and
30176 when fast-check is not defined.
30178 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30179 * conform/data/limits.h-data: Fixes for POSIX2008.
30180 * conform/run-conformtest.sh: Run all tests.
30181 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30183 * include/bits/dlfcn.h: Likewise.
30184 * include/langinfo.h: Likewise.
30185 * include/monetary.h: Likewise.
30186 * include/sys/poll.h: Likewise.
30188 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30190 * posix/spawn.h: Define __need_sigset_t.
30191 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30192 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30193 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30194 to get sigevent_t only.
30195 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30196 only for __USE_GNU.
30197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30198 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30199 process_vm_writev only for __USE_GNU.
30200 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30202 * conform/Makefile: For now ignore errors from run-conformtest.
30203 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30204 POSIX to avoid namespace pollution. Don't prepend headers.
30205 * conform/data/aio.h-data: Fixes for POSIX testing.
30206 * conform/data/fcntl.h-data: Likewise.
30207 * conform/data/glob.h-data: Likewise.
30208 * conform/data/grp.h-data: Likewise.
30209 * conform/data/pthread.h-data: Likewise.
30210 * conform/data/pwd.h-data: Likewise.
30211 * conform/data/signal.h-data: Likewise.
30212 * conform/data/spawn.h-data: Likewise.
30213 * conform/data/stdio.h-data: Likewise.
30214 * conform/data/stdlib.h-data: Likewise.
30215 * conform/data/stropts.h-data: Likewise.
30216 * conform/data/sys/mman.h-data: Likewise.
30217 * conform/data/sys/stat.h-data: Likewise.
30218 * conform/data/sys/types.h-data: Likewise.
30219 * conform/data/sys/wait.h-data: Likewise.
30220 * conform/data/time.h-data: Likewise.
30221 * conform/data/unistd.h-data: Likewise.
30222 * conform/data/utime.h-data: Likewise.
30224 * io/sys/stat.h: fchmod was always in POSIX.
30225 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30226 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30227 * rt/aio.h: Define __need_timespec before including <time.h>.
30228 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30229 struct. Add forward declaration of pthread_attr_t and use it in
30231 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30233 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30234 always remove CLK_TCK definition.
30236 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30238 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30240 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30242 * conform/run-conformtest.sh: New file.
30243 * conform/Makefile: Run run-conformtest for tests.
30244 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30247 * conform/data/uchar.h-data: New file.
30248 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30249 * conform/data/arpa/inet.h-data: Likewise.
30250 * conform/data/assert.h-data: Likewise.
30251 * conform/data/complex.h-data: Likewise.
30252 * conform/data/cpio.h-data: Likewise.
30253 * conform/data/ctype.h-data: Likewise.
30254 * conform/data/dirent.h-data: Likewise.
30255 * conform/data/dlfcn.h-data: Likewise.
30256 * conform/data/errno.h-data: Likewise.
30257 * conform/data/fcntl.h-data: Likewise.
30258 * conform/data/float.h-data: Likewise.
30259 * conform/data/fmtmsg.h-data: Likewise.
30260 * conform/data/fnmatch.h-data: Likewise.
30261 * conform/data/ftw.h-data: Likewise.
30262 * conform/data/glob.h-data: Likewise.
30263 * conform/data/grp.h-data: Likewise.
30264 * conform/data/iconv.h-data: Likewise.
30265 * conform/data/inttypes.h-data: Likewise.
30266 * conform/data/langinfo.h-data: Likewise.
30267 * conform/data/libgen.h-data: Likewise.
30268 * conform/data/limits.h-data: Likewise.
30269 * conform/data/locale.h-data: Likewise.
30270 * conform/data/math.h-data: Likewise.
30271 * conform/data/monetary.h-data: Likewise.
30272 * conform/data/mqueue.h-data: Likewise.
30273 * conform/data/ndbm.h-data: Likewise.
30274 * conform/data/net/if.h-data: Likewise.
30275 * conform/data/netdb.h-data: Likewise.
30276 * conform/data/netinet/in.h-data: Likewise.
30277 * conform/data/nl_types.h-data: Likewise.
30278 * conform/data/poll.h-data: Likewise.
30279 * conform/data/pthread.h-data: Likewise.
30280 * conform/data/pwd.h-data: Likewise.
30281 * conform/data/regex.h-data: Likewise.
30282 * conform/data/sched.h-data: Likewise.
30283 * conform/data/search.h-data: Likewise.
30284 * conform/data/semaphore.h-data: Likewise.
30285 * conform/data/setjmp.h-data: Likewise.
30286 * conform/data/signal.h-data: Likewise.
30287 * conform/data/spawn.h-data: Likewise.
30288 * conform/data/stdarg.h-data: Likewise.
30289 * conform/data/stdio.h-data: Likewise.
30290 * conform/data/stdlib.h-data: Likewise.
30291 * conform/data/string.h-data: Likewise.
30292 * conform/data/strings.h-data: Likewise.
30293 * conform/data/stropts.h-data: Likewise.
30294 * conform/data/sys/ipc.h-data: Likewise.
30295 * conform/data/sys/mman.h-data: Likewise.
30296 * conform/data/sys/msg.h-data: Likewise.
30297 * conform/data/sys/resource.h-data: Likewise.
30298 * conform/data/sys/select.h-data: Likewise.
30299 * conform/data/sys/sem.h-data: Likewise.
30300 * conform/data/sys/shm.h-data: Likewise.
30301 * conform/data/sys/socket.h-data: Likewise.
30302 * conform/data/sys/stat.h-data: Likewise.
30303 * conform/data/sys/statvfs.h-data: Likewise.
30304 * conform/data/sys/time.h-data: Likewise.
30305 * conform/data/sys/timeb.h-data: Likewise.
30306 * conform/data/sys/times.h-data: Likewise.
30307 * conform/data/sys/types.h-data: Likewise.
30308 * conform/data/sys/uio.h-data: Likewise.
30309 * conform/data/sys/un.h-data: Likewise.
30310 * conform/data/sys/utsname.h-data: Likewise.
30311 * conform/data/sys/wait.h-data: Likewise.
30312 * conform/data/syslog.h-data: Likewise.
30313 * conform/data/tar.h-data: Likewise.
30314 * conform/data/termios.h-data: Likewise.
30315 * conform/data/utime.h-data: Likewise.
30316 * conform/data/utmpx.h-data: Likewise.
30317 * conform/data/varargs.h-data: Likewise.
30318 * conform/data/wchar.h-data: Likewise.
30319 * conform/data/wctype.h-data: Likewise.
30320 * conform/data/wordexp.h-data: Likewise.
30322 * include/stropts.h: New file.
30323 * include/uchar.h: New file.
30324 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30325 * include/assert.h: Likewise.
30326 * include/ctype.h: Likewise.
30327 * include/dirent.h: Likewise.
30328 * include/dlfcn.h: Likewise.
30329 * include/fcntl.h: Likewise.
30330 * include/fnmatch.h: Likewise.
30331 * include/glob.h: Likewise.
30332 * include/grp.h: Likewise.
30333 * include/libio.h: Likewise.
30334 * include/locale.h: Likewise.
30335 * include/math.h: Likewise.
30336 * include/net/if.h: Likewise.
30337 * include/netdb.h: Likewise.
30338 * include/netinet/in.h: Likewise.
30339 * include/pthread.h: Likewise.
30340 * include/pwd.h: Likewise.
30341 * include/regex.h: Likewise.
30342 * include/sched.h: Likewise.
30343 * include/search.h: Likewise.
30344 * include/setjmp.h: Likewise.
30345 * include/signal.h: Likewise.
30346 * include/stdio.h: Likewise.
30347 * include/stdlib.h: Likewise.
30348 * include/string.h: Likewise.
30349 * include/sys/cdefs.h: Likewise.
30350 * include/sys/mman.h: Likewise.
30351 * include/sys/msg.h: Likewise.
30352 * include/sys/resource.h: Likewise.
30353 * include/sys/select.h: Likewise.
30354 * include/sys/socket.h: Likewise.
30355 * include/sys/stat.h: Likewise.
30356 * include/sys/statvfs.h: Likewise.
30357 * include/sys/time.h: Likewise.
30358 * include/sys/times.h: Likewise.
30359 * include/sys/uio.h: Likewise.
30360 * include/sys/utsname.h: Likewise.
30361 * include/sys/wait.h: Likewise.
30362 * include/termios.h: Likewise.
30363 * include/time.h: Likewise.
30364 * include/ulimit.h: Likewise.
30365 * include/unistd.h: Likewise.
30366 * include/utime.h: Likewise.
30367 * include/wchar.h: Likewise.
30368 * include/wctype.h: Likewise.
30369 * include/wordexp.h: Likewise.
30371 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30373 * time/time.h: TIME_UTC must be a macro.
30374 Make timespec_get available for ISO C11 only as well.
30376 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30378 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30379 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30381 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30383 * configure.in: Use -o not -a in test for unsupported multi-arch.
30385 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30387 * manual/texinfo.tex: Update to version 2012-01-19.16.
30389 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30391 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30393 2012-02-24 Roland McGrath <roland@hack.frob.com>
30396 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30397 * manual/fdl-1.3.texi: New file.
30398 * manual/fdl-1.1.texi: File removed.
30401 * manual/libc.texinfo (FDL_VERSION): New @set.
30402 Use it for mention of FDL in cover text.
30403 (Documentation License): Use it in @include file name.
30405 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30406 Roland McGrath <roland@hack.frob.com>
30409 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30410 not LONG_LONG_MAX and LONG_LONG_MIN.
30411 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30412 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30414 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30416 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30420 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30421 manipulate bits before adding and subtracting TWO23[sx].
30422 * math/libm-test.inc (nearbyint_test): Add more tests.
30424 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30427 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30428 bits before adding and subtracting TWO23[sx].
30429 * math/libm-test.inc (rint_test): Add more tests.
30430 (rint_test_tonearest): Likewise.
30431 (rint_test_towardzero): Likewise.
30432 (rint_test_downward): Likewise.
30433 (rint_test_upward: Likewise.
30435 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30438 * include/stdc-predef.h: New file. Extracted from features.h.
30439 * include/features.h: Include stdc-predef.h.
30440 * Makefile (headers): Add stdc-predef.h.
30441 * CONFORMANCE (Compiler limitations): Update.
30443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30445 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30447 2012-02-21 David S. Miller <davem@davemloft.net>
30449 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30450 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30452 2012-02-20 David S. Miller <davem@davemloft.net>
30454 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30455 using a normal save/restore sequence, rather than allocating a
30456 dummy stack frame just to store a frame pointer and restore.
30457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30459 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30461 * manual/install.texi: Fix stray word in line-wrapped comment.
30463 2012-02-20 David S. Miller <davem@davemloft.net>
30465 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30466 both binutils and gcc support GOTDATA.
30468 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30469 "rd %pc" in the PIC register setup sequences.
30471 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30472 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30473 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30474 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30475 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30480 (SYSCALL_ERROR_HANDLER): Likewise.
30481 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30482 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30484 (SYSCALL_ERROR_HANDLER): Likewise.
30486 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30487 (HAVE_GCC_GOTDATA): New.
30488 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30489 relocation support in both binutils and gcc.
30490 * sysdeps/sparc/elf/configure: Regenerate.
30492 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30493 * sysdeps/sparc/sparc32/elf/configure: Delete.
30494 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30495 * sysdeps/sparc/sparc64/elf/configure: Delete.
30496 * sysdeps/sparc/elf/configure.in: New file.
30497 * sysdeps/sparc/elf/configure: Generate.
30499 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30500 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30501 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30502 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30503 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30505 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30507 * manual/install.texi: Do not mention specific glibc version
30509 * manual/libc.texinfo (VERSION, UPDATED): Update.
30510 (@copying): Use @copyright{} and range of years.
30512 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30515 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30516 [crti.S not in sysdirs] (generated): Do not append.
30517 [crti.S not in sysdirs] (omit-deps): Likewise.
30518 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30519 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30520 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30521 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30522 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30524 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30525 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30526 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30527 * csu/defs.awk: Remove file.
30528 * sysdeps/generic/initfini.c: Likewise.
30529 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30531 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30534 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30536 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30537 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30538 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30540 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30541 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30543 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30544 (__EPOLL_PACKED): Define to empty if not defined by
30546 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30550 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30552 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30553 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30554 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30555 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30557 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30561 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30563 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30566 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30567 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30570 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30573 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30575 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30577 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30578 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30580 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30582 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30585 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30587 * math/w_acos.c: Use non-signaling floating-point comparisons.
30588 * math/w_acosf.c: Likewise.
30589 * math/w_acosh.c: Likewise.
30590 * math/w_acoshf.c: Likewise.
30591 * math/w_acoshl.c: Likewise.
30592 * math/w_acosl.c: Likewise.
30593 * math/w_asin.c: Likewise.
30594 * math/w_asinf.c: Likewise.
30595 * math/w_asinl.c: Likewise.
30596 * math/w_atanh.c: Likewise.
30597 * math/w_atanhf.c: Likewise.
30598 * math/w_atanhl.c: Likewise.
30599 * math/w_exp2.c: Likewise.
30600 * math/w_exp2f.c: Likewise.
30601 * math/w_exp2l.c: Likewise.
30602 * math/w_j0.c: Likewise.
30603 * math/w_j0f.c: Likewise.
30604 * math/w_j0l.c: Likewise.
30605 * math/w_j1.c: Likewise.
30606 * math/w_j1f.c: Likewise.
30607 * math/w_j1l.c: Likewise.
30608 * math/w_jn.c: Likewise.
30609 * math/w_jnf.c: Likewise.
30610 * math/w_log.c: Likewise.
30611 * math/w_log10.c: Likewise.
30612 * math/w_log10f.c: Likewise.
30613 * math/w_log10l.c: Likewise.
30614 * math/w_log2.c: Likewise.
30615 * math/w_log2f.c: Likewise.
30616 * math/w_log2l.c: Likewise.
30617 * math/w_logf.c: Likewise.
30618 * math/w_logl.c: Likewise.
30619 * math/w_sqrt.c: Likewise.
30620 * math/w_sqrtf.c: Likewise.
30621 * math/w_sqrtl.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30625 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30626 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30628 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30631 * manual/string.texi (strnlen): Use correct parameter name in
30632 equivalent expression.
30634 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30637 * manual/users.texi (seteuid): Consistently use neweuid for
30640 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30643 * manual/nss.texi (Services in the NSS configuration): Correct
30644 list of services in example configuration file.
30646 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30649 * manual/arith.texi: Remove statements about negative zero
30650 behaving identically to zero.
30652 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30655 * manual/install.texi: Do not document upgrading from libc5.
30657 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30660 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30662 2012-02-18 David S. Miller <davem@davemloft.net>
30664 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30665 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30666 %o7 across the call.
30667 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30670 SETUP_PIC_REG_LEAF.
30671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30672 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30673 * sysdeps/sparc/crtn.S: Likewise.
30675 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30677 * aout/Makefile: Remove.
30679 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30682 * manual/examples/argp-ex1.c (main): Format definition in GNU
30684 * manual/examples/argp-ex2.c (main): Likewise.
30685 * manual/examples/argp-ex3.c (main): Likewise.
30686 * manual/examples/argp-ex4.c (main): Likewise.
30687 * manual/examples/longopt.c (main): Use new-style prototype
30689 * manual/examples/strncat.c (main): Specify return type and use
30690 (void) for arguments.
30691 * manual/examples/subopt.c (main): Use char **argv argument.
30693 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30696 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30699 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30702 * manual/string.texi (strchr): Change when strchrnul is
30705 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30708 * manual/locale.texi (setlocale): Document LOCPATH.
30710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30713 * manual/process.texi (execle): Move @dots{} before last argument.
30715 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30718 * manual/charset.texi (Generic Charset Conversion): Fix typo
30719 (LC_TYPE -> LC_CTYPE).
30721 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30724 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30725 (scalbnf): Likewise.
30726 (scalbnl): Likewise.
30727 (scalbln): Likewise.
30728 (scalblnf): Likewise.
30729 (scalblnl): Likewise.
30730 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30731 (vwarnx): Likewise.
30734 * manual/filesys.texi (telldir): Use braces around return type.
30735 * manual/llio.texi (mmap): Add space after comma.
30736 (mmap64): Likewise.
30737 * manual/math.texi (jn): Use @var{} on parameter names.
30743 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30745 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30747 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30748 (sched_get_priority_max): Likewise.
30749 * manual/signal.texi (sigvec): Add space after comma.
30750 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30752 (if_indextoname): Likewise.
30753 (if_freenameindex): Likewise.
30754 (sendto): Use ',' instead of '.' in prototype.
30755 * manual/startup.texi (syscall): Use @dots{} instead of literal
30757 * manual/stdio.texi (__fpending): Separate initial words of
30758 paragraph from @deftypefun line.
30759 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30761 (vsyslog): Use @var{} on parameter names.
30762 * manual/terminal.texi (stty): Use @var{} on parameter names.
30763 * manual/users.texi (getutmp): Use @var{} on parameter names.
30764 (getutmpx): Likewise.
30766 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30769 * manual/stdio.texi (fopen): Fix typos in description of
30772 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30775 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30776 get clock_id definition.
30778 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30781 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30782 (madvise): Cast every argument to void on its own.
30784 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30787 * manual/startup.texi (Exit Status): Fix typo.
30789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30792 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30793 * manual/examples/argp-ex2.c: Likewise.
30794 * manual/examples/argp-ex3.c: Likewise.
30796 2012-02-16 Richard Henderson <rth@redhat.com>
30798 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30799 * sysdeps/s390/s390-32/initfini.c: Remove.
30800 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30801 * sysdeps/s390/s390-64/initfini.c: Remove.
30803 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30805 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30806 compiler output for sysdeps/generic/initfini.c.
30807 * sysdeps/sh/elf/initfini.c: Remove file.
30809 2012-02-16 David S. Miller <davem@davemloft.net>
30812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30814 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30815 * sysdeps/sparc/crti.S: New file.
30816 * sysdeps/sparc/crtn.S: New file.
30817 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30818 * sysdeps/sparc/sparc64/Makefile: Likewise.
30820 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30823 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30825 2012-02-15 Roland McGrath <roland@hack.frob.com>
30828 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30830 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30831 (write, read, close): Likewise.
30832 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30834 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30836 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30837 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30838 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30839 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30841 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30845 2012-02-14 Marek Polacek <polacek@redhat.com>
30847 * sysdeps/x86_64/crti.S: New file.
30848 * sysdeps/x86_64/crtn.S: New file.
30849 * sysdeps/x86_64/elf/initfini.c: Remove file.
30851 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30853 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30854 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30855 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30856 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30858 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30862 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30864 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30865 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30866 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30867 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30869 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30873 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30875 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30876 __feraiseexcept instead of feraiseexcept.
30878 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30879 nanosleep invocations.
30880 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30881 strings, and add error checking for a nanosleep invocations.
30883 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30885 Replace FSF snail mail address with URLs, as per GNU coding standards.
30886 Most of the snail mail addresses were wrong anyway, and omitting
30887 them makes the source code easier to maintain. Almost all of the
30888 changes are to license notices and to locale LC_IDENTIFICATION
30889 addresses, except for this one:
30890 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30891 not its snail mail address.
30893 2012-02-09 Richard Henderson <rth@twiddle.net>
30895 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30896 of kernel-features.h.
30898 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30900 2012-02-08 Marek Polacek <polacek@redhat.com>
30902 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30903 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30904 * sysdeps/gnu/_G_config.h: Likewise.
30905 * sysdeps/generic/_G_config.h: Likewise.
30907 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30909 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30913 * sysdeps/powerpc/powerpc32/crti.S: New file.
30914 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30915 * sysdeps/powerpc/powerpc64/crti.S: New file.
30916 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30918 * Makeconfig (have-initfini): Don't set.
30919 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30920 * configure.in (nopic_initfini): Don't substitute.
30921 * config.h.in (HAVE_INITFINI): Don't #undef.
30922 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30923 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30925 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30927 Support crti.S and crtn.S provided directly by architectures.
30928 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30929 [crti.S in sysdirs] (omit-deps): Likewise.
30930 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30931 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30932 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30933 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30934 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30935 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30936 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30937 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30938 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30939 compiler output for sysdeps/generic/initfini.c.
30940 * sysdeps/i386/elf/Makefile: Remove file.
30941 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30943 2012-02-07 Marek Polacek <polacek@redhat.com>
30945 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30946 * sysdeps/gnu/_G_config.h: Likewise.
30947 * sysdeps/mach/hurd/_G_config.h: Likewise.
30949 2012-02-07 Marek Polacek <polacek@redhat.com>
30951 * math/Makefile (tests): Add tst-CMPLX2.
30952 * math/tst-CMPLX2.c: New file.
30954 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30956 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30958 * math/libm-test.inc (jn_test): Add missing L suffix.
30960 2012-02-06 Marek Polacek <polacek@redhat.com>
30962 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30963 * sysdeps/i386/fpu/e_powf.S: Likewise.
30964 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30965 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30966 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30967 * sysdeps/i386/fpu/e_pow.S: Likewise.
30968 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30969 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30970 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30971 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30972 * sysdeps/i386/fpu/e_log2.S: Likewise.
30973 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30974 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30975 * sysdeps/i386/fpu/e_powl.S: Likewise.
30976 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30977 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30978 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30979 * sysdeps/i386/fpu/e_logl.S: Likewise.
30980 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30981 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30982 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30983 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30984 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30985 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30986 * sysdeps/i386/fpu/e_log.S: Likewise.
30987 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30988 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30989 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30990 * sysdeps/i386/fpu/e_logf.S: Likewise.
30991 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30992 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30993 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30994 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30995 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30996 * sysdeps/i386/fpu/e_log10.S: Likewise.
30997 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30998 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30999 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31000 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31001 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31002 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31003 * sysdeps/i386/asm-syntax.h: Likewise.
31004 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31005 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31007 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31008 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31009 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31010 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31011 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31012 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31013 * sysdeps/powerpc/sysdep.h: Likewise.
31014 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31015 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31017 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31020 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31022 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31024 * sysdeps/i386/sysdep.h: Include <features.h>.
31025 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31028 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31030 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31032 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31035 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31037 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31038 (SETUP_PIC_REG): Use GET_PC_THUNK.
31039 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31042 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31044 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31045 for non-PIC compilation.
31046 (SETUP_PIC_REG): Add .p2align directive.
31047 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31048 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31049 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31050 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31051 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31052 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31053 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31054 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31055 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31056 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31057 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31058 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31059 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31060 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31061 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31062 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31063 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31064 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31065 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31066 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31067 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31068 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31069 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31070 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31073 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31074 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31075 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31076 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31077 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31079 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31080 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31081 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31082 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31083 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31084 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31086 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31087 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31089 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31091 * math/tst-CMPLX.c: Include <stdio.h>.
31093 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31095 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31097 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31098 * sysdeps/sparc/bits/mathdef.h: Likewise.
31100 2012-01-31 Marek Polacek <polacek@redhat.com>
31102 * libio/libio.h: Don't define _PARAMS.
31103 * locale/programs/config.h: Don't define PARAMS.
31104 * stdlib/strtol_l.c: Likewise.
31105 (__strtol_l): Remove PARAMS from the prototype.
31107 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31109 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31110 names. Just use the correct names. Remove unnecessary wrapper
31112 * malloc/arena.c: Likewise.
31113 * malloc/hooks.c: Likewise.
31115 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31116 ARENA_TEST says not to. Simplify test for creation of a new arena.
31117 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31119 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31121 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31123 (update_get_addr): New function.
31124 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31125 GET_ADDR_MODULE parameter.
31127 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31129 * crypt/cert.c: Remove __STDC__ conditionals.
31130 * crypt/crypt-entry.c: Likewise.
31131 * crypt/crypt_util.c: Likewise.
31132 * libio/filedoalloc.c: Likewise.
31133 * libio/fileops.c: Likewise.
31134 * libio/genops.c: Likewise.
31135 * libio/iofclose.c: Likewise.
31136 * libio/iofdopen.c: Likewise.
31137 * libio/iofopen.c: Likewise.
31138 * libio/iofopen64.c: Likewise.
31139 * libio/iogetdelim.c: Likewise.
31140 * libio/iopopen.c: Likewise.
31141 * libio/obprintf.c: Likewise.
31142 * libio/oldfileops.c: Likewise.
31143 * libio/oldiofclose.c: Likewise.
31144 * libio/oldiofdopen.c: Likewise.
31145 * libio/oldiofopen.c: Likewise.
31146 * libio/oldiopopen.c: Likewise.
31147 * libio/wfiledoalloc.c: Likewise.
31148 * libio/wgenops.c: Likewise.
31149 * locale/programs/xmalloc.c: Likewise.
31150 * misc/syslog.c: Likewise.
31151 * stdio-common/xbug.c: Likewise.
31152 * string/memchr.c: Likewise.
31153 * string/memcmp.c: Likewise.
31154 * string/memrchr.c: Likewise.
31155 * string/rawmemchr.c: Likewise.
31156 * sysdeps/posix/getcwd.c: Likewise.
31157 * time/strftime_l.c: Likewise.
31159 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31161 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31162 * config.make.in (config-cflags-sse2avx): Define.
31163 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31166 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31168 * scripts/config.guess: Update from upstream config git repository.
31169 * scripts/config.sub: Likewise.
31171 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31173 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31175 (R_TILEPRO_*, R_TILEGX_*): New macros.
31177 * scripts/firstversions.awk: Fix bug in version range handling.
31179 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31181 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31183 * include/sys/epoll.h: New file.
31184 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31187 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31189 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31190 Avoid unnecessary __WORDSIZE == 64 test.
31191 (fmaxf): Use VEX format if possible.
31196 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31197 * math/math_private.h: Remove libc_fegetround* and
31199 * sysdeps/i386/configure.in: Check for -msse2avx.
31200 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31201 also if SSE2AVX is defined.
31202 Remove libc_fegetround* and libc_fesetround*.
31203 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31204 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31205 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31207 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31208 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31209 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31210 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31211 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31213 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31215 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31217 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31219 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31221 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31224 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31226 * Makeconfig (libm): Define.
31227 * elf/Makefile: Add rules to build and run tst-relsort1.
31228 * elf/tst-relsort1.c: New file.
31229 * elf/tst-relsort1mod1.c: New file.
31230 * elf/tst-relsort1mod2.c: New file.
31232 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31234 * math/s_ldexp.c: Remove __STDC__ conditionals.
31235 * math/s_ldexpf.c: Likewise.
31236 * math/s_ldexpl.c: Likewise.
31237 * math/s_nextafter.c: Likewise.
31238 * math/s_nexttowardf.c: Likewise.
31239 * math/s_significand.c: Likewise.
31240 * math/s_significandf.c: Likewise.
31241 * math/s_significandl.c: Likewise.
31242 * math/w_jnl.c: Likewise.
31243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31249 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31255 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31257 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31258 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31259 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31260 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31265 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31267 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31268 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31270 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31271 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31272 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31273 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31274 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31275 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31276 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31277 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31278 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31279 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31280 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31281 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31282 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31283 * sysdeps/ieee754/k_standard.c: Likewise.
31284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31293 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31294 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31296 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31300 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31301 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31302 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31303 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31306 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31307 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31308 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31309 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31312 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31316 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31317 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31319 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31323 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31326 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31327 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31328 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31329 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31331 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31332 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31333 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31334 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31337 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31338 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31339 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31340 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31341 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31342 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31343 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31345 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31346 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31347 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31348 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31349 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31350 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31351 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31352 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31353 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31354 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31359 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31363 * sysdeps/ieee754/s_matherr.c: Likewise.
31364 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31365 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31369 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31371 * crypt/md5.h: Remove __STDC__ conditionals.
31372 * libio/libioP.h: Likewise.
31373 * locale/programs/config.h: Likewise.
31374 * sysdeps/generic/sysdep.h: Likewise.
31375 * sysdeps/i386/asm-syntax.h: Likewise.
31376 * sysdeps/s390/asm-syntax.h: Likewise.
31377 * sysdeps/unix/sysdep.h: Likewise.
31378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31381 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31383 * libio/libio.h: Remove __STDC__ conditionals.
31384 * malloc/obstack.h: Likewise.
31385 * math/complex.h: Likewise.
31386 * math/math.h: Likewise.
31387 * sysdeps/generic/_G_config.h: Likewise.
31388 * sysdeps/gnu/_G_config.h: Likewise.
31389 * sysdeps/mach/hurd/_G_config.h: Likewise.
31390 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31391 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31392 * sysdeps/sparc/bits/mathdef.h: Likewise.
31394 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31397 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31398 Clean up HAS_* macros.
31399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31400 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31405 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31406 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31408 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31410 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31412 * elf/tst-unique3.cc (gets): Remove declaration.
31413 * elf/tst-unique3lib.cc (gets): Likewise.
31414 * elf/tst-unique3lib2.cc (gets): Likewise.
31415 * elf/tst-unique4.cc (gets): Likewise.
31417 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31419 * include/stdio.h: Add C++ protection. Add gets declarations and
31421 * debug/tst-chk1.c: Don't declare gets here.
31422 * stdio-common/tst-gets.c: Likewise.
31424 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31426 * posix/glob: Remove directory.
31428 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31430 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31432 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31434 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31435 of the non-standard EPFNOSUPPORT.
31437 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31439 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31440 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31441 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31443 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31445 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31447 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31449 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31451 * nscd/grpcache.c (cache_addgr): Likewise.
31452 * nscd/hstcache.c (cache_addhst): Likewise.
31453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31454 * nscd/pwdcache.c (cache_addpw): Likewise.
31455 * nscd/servicescache.c (cache_addserv): Likewise.
31457 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31459 * malloc/malloc.c: Various cleanups.
31460 * malloc/hooks.c: Likewise.
31462 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31463 * stdlib/bug-fmtmsg1.c: New file.
31465 * stdlib/fmtmsg.c (init): Add missing unlock.
31466 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31468 2012-01-12 Marek Polacek <polacek@redhat.com>
31470 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31473 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31475 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31476 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31477 macro to ensure uniqueness of label name.
31478 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31479 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31481 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31483 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31485 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31486 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31487 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31490 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31492 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31494 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31495 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31496 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31498 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31500 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31501 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31502 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31505 * math/bits/math-finite.h: Add ldexp support.
31507 2012-01-10 Marek Polacek <polacek@redhat.com>
31509 * locale/programs/localedef.h (show_archive_content): Add noreturn
31512 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31514 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31516 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31518 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31520 * io/Makefile (headers): Add bits/poll2.h.
31522 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31525 typo #include statement.
31527 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31529 * include/sys/cdefs.h: Define __attribute_alloc_size.
31530 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31531 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31532 * elf/pldd.c: Likewise.
31533 * iconv/iconv_charmap.c: Likewise.
31534 * iconv/iconvconfig.c: Likewise.
31535 * iconv/strtab.c: Likewise.
31536 * locale/programs/locale.c: Likewise.
31537 * locale/programs/localedef.h: Likewise.
31538 * locale/programs/simple-hash.c: Likewise.
31539 * nscd/nscd.h: Likewise.
31540 * nss/makedb.c: Likewise.
31541 * sysdeps/generic/ldconfig.h: Likewise.
31542 * locale/programs/localedef.c: Remove xmalloc prototype.
31543 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31545 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31547 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31550 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31552 * math/Makefile (tests): Add tst-CMPLX.
31553 * math/tst-CMPLX.c: New file.
31555 * math/complex.h (CMPLXL): Fix typo.
31557 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31558 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31560 * debug/tst-chk1.c: Add poll and ppoll tests.
31561 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31562 * include/sys/poll.h: Add hidden proto for ppoll.
31563 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31564 * sysdeps/mach/hurd/ppoll.c: Likewise.
31565 * io/ppoll.c: Likewise.
31566 * debug/poll_chk.c: New file.
31567 * debug/ppoll_chk.c: New file.
31568 * include/bits/poll2.h: New file.
31569 * io/bits/poll2.h: New file.
31572 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31574 * configure.in: static is always set to yes. Remove.
31575 * config.make.in: Don't set build-static.
31576 * Makeconfig: Remove use of build-static.
31577 * dlfcn/Makefile: Likewise.
31578 * elf/Makefile: Likewise.
31579 * math/Makefile: Likewise.
31580 * misc/Makefile: Likewise.
31581 * nptl/Makefile: Likewise.
31582 * sysdeps/mach/hurd/Makefile: Likewise.
31584 * configure.in: PWD_P is not used anymore.
31585 * config.make.in: Remove PWD_P entry.
31587 * configure.in: Remove last remnants of RANLIB.
31588 No need to check for signed size_t anymore.
31589 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31591 Remove __builtin_expect test because we require at least gcc 3.4.
31592 * aclocal.m4: Likewise.
31594 * wcsmbs/mbrtoc16.c: Implement using towc function.
31595 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31596 * wcsmbs/wcsmbsload.c: Likewise.
31597 * iconv/gconv_simple.c: Likewise.
31598 * iconv/gconv_int.h: Likewise.
31599 * iconv/gconv_builtin.h: Likewise.
31600 * iconv/iconv_prog.c: Remove CHAR16 handling.
31602 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31604 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31606 * configure.in: Remove --with-elf and --enable-bounded options.
31607 Dont set base_machine for ia64. More non-ELF conditions removed.
31608 Remove testing and setting of leading underscore information.
31609 * config.make.in (build-bounded): Set to no.
31610 * config.h.in: Remove NO_UNDERSCORES entry.
31611 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31613 * csu/start.c: Remove !NO_UNDERSCORE code.
31614 * locale/localeinfo.h: Likewise.
31615 * sysdeps/generic/machine-gmon.h: Likewise.
31616 * sysdeps/generic/sysdep.h: Likewise.
31617 * sysdeps/i386/sysdep.h: Likewise.
31618 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31619 * sysdeps/mach/sysdep.h: Likewise.
31620 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31622 * sysdeps/sh/sysdep.h: Likewise.
31623 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31624 * sysdeps/unix/i386/sysdep.S: Likewise.
31625 * sysdeps/unix/sparc/start.c: Likewise.
31626 * sysdeps/unix/sparc/sysdep.S: Likewise.
31627 * sysdeps/unix/sparc/sysdep.h: Likewise.
31628 * sysdeps/unix/start.c: Likewise.
31629 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31630 * sysdeps/x86_64/sysdep.h: Likewise.
31632 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31635 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31637 * argp/argp-fmtstream.h: Use const instead __const.
31638 * argp/argp.h: Likewise.
31639 * assert/assert.h: Likewise.
31640 * bits/fenv.h: Likewise.
31641 * bits/sched.h: Likewise.
31642 * bits/sigset.h: Likewise.
31643 * bits/sigthread.h: Likewise.
31644 * catgets/nl_types.h: Likewise.
31645 * conform/data/pthread.h-data: Likewise.
31646 * crypt/crypt-private.h: Likewise.
31647 * crypt/crypt.h: Likewise.
31648 * crypt/crypt_util.c: Likewise.
31649 * ctype/ctype.h: Likewise.
31650 * debug/execinfo.h: Likewise.
31651 * debug/mbsnrtowcs_chk.c: Likewise.
31652 * debug/mbsrtowcs_chk.c: Likewise.
31653 * debug/wcsnrtombs_chk.c: Likewise.
31654 * debug/wcsrtombs_chk.c: Likewise.
31655 * debug/wcstombs_chk.c: Likewise.
31656 * dirent/dirent.h: Likewise.
31657 * dlfcn/dlfcn.h: Likewise.
31658 * elf/neededtest4.c: Likewise.
31659 * grp/grp.h: Likewise.
31660 * gshadow/gshadow.h: Likewise.
31661 * iconv/gconv.h: Likewise.
31662 * iconv/gconv_int.h: Likewise.
31663 * iconv/gconv_simple.c: Likewise.
31664 * iconv/iconv.h: Likewise.
31665 * iconv/loop.c: Likewise.
31666 * iconv/skeleton.c: Likewise.
31667 * include/aio.h: Likewise.
31668 * include/aliases.h: Likewise.
31669 * include/argz.h: Likewise.
31670 * include/arpa/inet.h: Likewise.
31671 * include/assert.h: Likewise.
31672 * include/dirent.h: Likewise.
31673 * include/dlfcn.h: Likewise.
31674 * include/execinfo.h: Likewise.
31675 * include/fcntl.h: Likewise.
31676 * include/fenv.h: Likewise.
31677 * include/glob.h: Likewise.
31678 * include/grp.h: Likewise.
31679 * include/libintl.h: Likewise.
31680 * include/mntent.h: Likewise.
31681 * include/netdb.h: Likewise.
31682 * include/pwd.h: Likewise.
31683 * include/rpc/netdb.h: Likewise.
31684 * include/sched.h: Likewise.
31685 * include/search.h: Likewise.
31686 * include/shadow.h: Likewise.
31687 * include/signal.h: Likewise.
31688 * include/stdio.h: Likewise.
31689 * include/stdlib.h: Likewise.
31690 * include/string.h: Likewise.
31691 * include/sys/socket.h: Likewise.
31692 * include/sys/stat.h: Likewise.
31693 * include/sys/statfs.h: Likewise.
31694 * include/sys/statvfs.h: Likewise.
31695 * include/sys/syslog.h: Likewise.
31696 * include/sys/time.h: Likewise.
31697 * include/sys/uio.h: Likewise.
31698 * include/time.h: Likewise.
31699 * include/unistd.h: Likewise.
31700 * include/utmp.h: Likewise.
31701 * include/wchar.h: Likewise.
31702 * include/wctype.h: Likewise.
31703 * inet/aliases.h: Likewise.
31704 * inet/arpa/inet.h: Likewise.
31705 * inet/netinet/ether.h: Likewise.
31706 * inet/netinet/in.h: Likewise.
31707 * intl/libintl.h: Likewise.
31708 * io/bits/fcntl2.h: Likewise.
31709 * io/fcntl.h: Likewise.
31710 * io/ftw.h: Likewise.
31711 * io/sys/poll.h: Likewise.
31712 * io/sys/stat.h: Likewise.
31713 * io/sys/statfs.h: Likewise.
31714 * io/sys/statvfs.h: Likewise.
31715 * io/utime.h: Likewise.
31716 * libio/bits/stdio.h: Likewise.
31717 * libio/bits/stdio2.h: Likewise.
31718 * libio/libio.h: Likewise.
31719 * libio/libioP.h: Likewise.
31720 * libio/stdio.h: Likewise.
31721 * locale/lc-ctype.c: Likewise.
31722 * locale/locale.h: Likewise.
31723 * login/utmp.h: Likewise.
31724 * malloc/arena.c: Likewise.
31725 * malloc/malloc.c: Likewise.
31726 * malloc/malloc.h: Likewise.
31727 * malloc/mcheck.c: Likewise.
31728 * malloc/mtrace.c: Likewise.
31729 * math/bits/mathcalls.h: Likewise.
31730 * math/fenv.h: Likewise.
31731 * math/math_private.h: Likewise.
31732 * misc/bits/error.h: Likewise.
31733 * misc/bits/syslog.h: Likewise.
31734 * misc/err.h: Likewise.
31735 * misc/error.h: Likewise.
31736 * misc/fstab.h: Likewise.
31737 * misc/mntent.h: Likewise.
31738 * misc/regexp.h: Likewise.
31739 * misc/search.h: Likewise.
31740 * misc/sgtty.h: Likewise.
31741 * misc/sys/mman.h: Likewise.
31742 * misc/sys/syslog.h: Likewise.
31743 * misc/sys/uio.h: Likewise.
31744 * misc/sys/xattr.h: Likewise.
31745 * misc/ttyent.h: Likewise.
31746 * nis/rpcsvc/ypclnt.h: Likewise.
31747 * nss/nss.h: Likewise.
31748 * posix/bits/unistd.h: Likewise.
31749 * posix/fnmatch.h: Likewise.
31750 * posix/glob.h: Likewise.
31751 * posix/sched.h: Likewise.
31752 * posix/spawn.h: Likewise.
31753 * posix/sys/wait.h: Likewise.
31754 * posix/unistd.h: Likewise.
31755 * posix/wordexp.h: Likewise.
31756 * pwd/pwd.h: Likewise.
31757 * resolv/netdb.h: Likewise.
31758 * resource/sys/resource.h: Likewise.
31759 * rt/aio.h: Likewise.
31760 * rt/bits/mqueue2.h: Likewise.
31761 * rt/mqueue.h: Likewise.
31762 * shadow/shadow.h: Likewise.
31763 * signal/signal.h: Likewise.
31764 * socket/send.c: Likewise.
31765 * socket/sendto.c: Likewise.
31766 * socket/sys/socket.h: Likewise.
31767 * stdio-common/printf.h: Likewise.
31768 * stdlib/bits/stdlib.h: Likewise.
31769 * stdlib/fmtmsg.h: Likewise.
31770 * stdlib/monetary.h: Likewise.
31771 * stdlib/stdlib.h: Likewise.
31772 * stdlib/ucontext.h: Likewise.
31773 * streams/stropts.h: Likewise.
31774 * string/argz.h: Likewise.
31775 * string/bits/string2.h: Likewise.
31776 * string/string.h: Likewise.
31777 * string/strings.h: Likewise.
31778 * sunrpc/rpc/auth.h: Likewise.
31779 * sunrpc/rpc/auth_des.h: Likewise.
31780 * sunrpc/rpc/clnt.h: Likewise.
31781 * sunrpc/rpc/netdb.h: Likewise.
31782 * sunrpc/rpc/pmap_clnt.h: Likewise.
31783 * sunrpc/rpc/xdr.h: Likewise.
31784 * sysdeps/generic/inttypes.h: Likewise.
31785 * sysdeps/generic/net/if.h: Likewise.
31786 * sysdeps/generic/sys/swap.h: Likewise.
31787 * sysdeps/gnu/net/if.h: Likewise.
31788 * sysdeps/gnu/utmpx.h: Likewise.
31789 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31790 * sysdeps/i386/i486/bits/string.h: Likewise.
31791 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31792 * sysdeps/s390/bits/string.h: Likewise.
31793 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31794 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31795 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31796 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31797 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31798 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31799 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31800 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31801 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31802 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31803 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31804 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31805 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31806 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31807 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31808 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31809 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31814 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31815 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31816 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31817 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31818 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31819 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31821 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31822 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31823 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31824 * sysvipc/sys/ipc.h: Likewise.
31825 * sysvipc/sys/msg.h: Likewise.
31826 * sysvipc/sys/sem.h: Likewise.
31827 * sysvipc/sys/shm.h: Likewise.
31828 * termios/termios.h: Likewise.
31829 * time/sys/time.h: Likewise.
31830 * time/time.h: Likewise.
31831 * wcsmbs/bits/wchar2.h: Likewise.
31832 * wcsmbs/uchar.h: Likewise.
31833 * wcsmbs/wchar.h: Likewise.
31834 * wctype/wctype.h: Likewise.
31837 * Makeconfig: Remove all but ELF support including AIX support.
31838 * Makerules: Likewise.
31839 * config.h.in: Likewise.
31840 * config.make.in: Likewise.
31841 * configure: Likewise.
31842 * configure.in: Likewise.
31843 * csu/Makefile: Likewise.
31844 * csu/version.c: Likewise.
31845 * debug/Makefile: Likewise.
31846 * dlfcn/Makefile: Likewise.
31847 * elf/Makefile: Likewise.
31848 * extra-lib.mk: Likewise.
31849 * iconv/Makefile: Likewise.
31850 * include/libc-symbols.h: Likewise.
31851 * include/shlib-compat.h: Likewise.
31852 * resolv/Makefile: Likewise.
31853 * resolv/res_libc.c: Likewise.
31854 * rt/Makefile: Likewise.
31855 * sysdeps/i386/asm-syntax.h: Likewise.
31856 * sysdeps/i386/sysdep.h: Likewise.
31857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31858 * sysdeps/mach/sysdep.h: Likewise.
31859 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31860 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31861 * sysdeps/s390/asm-syntax.h: Likewise.
31862 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31864 * sysdeps/sh/sysdep.h: Likewise.
31865 * sysdeps/unix/sparc/sysdep.h: Likewise.
31866 * sysdeps/wordsize-32/divdi3.c: Likewise.
31867 * sysdeps/x86_64/sysdep.h: Likewise.
31869 * argp/Versions: Remove _argp_unlock_xxx.
31872 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31873 * abilist/libBrokenLocale.abilist: Likewise.
31874 * abilist/libanl.abilist: Likewise.
31875 * abilist/libc.abilist: Likewise.
31876 * abilist/libcrypt.abilist: Likewise.
31877 * abilist/libdl.abilist: Likewise.
31878 * abilist/libm.abilist: Likewise.
31879 * abilist/libnsl.abilist: Likewise.
31880 * abilist/libpthread.abilist: Likewise.
31881 * abilist/libresolv.abilist: Likewise.
31882 * abilist/librt.abilist: Likewise.
31883 * abilist/libthread_db.abilist: Likewise.
31884 * abilist/libutil.abilist: Likewise.
31885 * abilist/libnss_db.abilist: New file.
31887 * scripts/abilist.awk: Add support for indirect functions.
31889 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31891 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31893 * shlib-versions: Remove entries for ports architectures.
31895 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31897 * elf/stackguard-macros.h: Remove support for IA-64.
31898 * elf/tst-auditmod1.c: Likewise.
31899 * sysdeps/generic/ldsodefs.h: Likewise.
31901 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31902 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31906 * configure.in: Remove --enable-omitfp support.
31908 * config.make.in: Likewise.
31909 * Makeconfig: Likewise.
31910 * manual/install.texi: Likewise.
31912 In case anyone cares, the IA-64 architecture could move to ports.
31913 * sysdeps/ia64/*: Removed.
31914 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31915 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31918 * configure.in: Remove entries for unsupported architectures.
31921 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31922 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31924 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31925 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31926 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31927 fall back to using wcrtomb.
31928 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31929 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31931 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31932 * wcsmbs/tst-c16c32-1.c: New file.
31934 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31937 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31939 * elf/tst-unique3.cc: Add explicit declaration of gets.
31940 * elf/tst-unique3lib.cc: Likewise.
31941 * elf/tst-unique3lib2.cc: Likewise.
31942 * elf/tst-unique4.cc: Likewise.
31944 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31946 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31949 * assert/assert.h (static_assert): Don't define for C++.
31950 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31951 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31953 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31955 * iconv/loop.c (single loop): Fix assertion in storing of
31958 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31960 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31962 * posix/getconf.c: Update copyright year.
31963 * nss/getent.c: Likewise.
31964 * nss/makedb.c: Likewise.
31965 * iconv/iconvconfig.c: Likewise.
31966 * iconv/iconv_prog.c: Likewise.
31967 * elf/ldconfig.c: Likewise.
31968 * elf/pldd.c: Likewise.
31969 * elf/sotruss.ksh: Likewise.
31970 * catgets/gencat.c: Likewise.
31971 * csu/version.c: Likewise.
31972 * elf/ldd.bash.in: Likewise.
31973 * elf/sprof.c (print_version): Likewise.
31974 * locale/programs/locale.c: Likewise.
31975 * locale/programs/localedef.c: Likewise.
31976 * login/programs/pt_chown.c: Likewise.
31977 * nscd/nscd.c (print_version): Likewise.
31978 * debug/xtrace.sh: Likewise.
31979 * malloc/memusage.sh: Likewise.
31980 * malloc/mtrace.pl: Likewise.
31981 * debug/catchsegv.sh: Likewise.
31983 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31985 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31988 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31991 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31992 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31994 * iconv/gconv_int.h: Likewise.
31995 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31996 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31997 from libc for GLIBC_2.16.
31998 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31999 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32000 * wcsmbs/uchar.h: Really define mbstate_t.
32001 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32002 * wcsmbs/c16rtomb.c: New file.
32003 * wcsmbs/mbrtoc16.c: New file.
32004 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32005 for C/POSIX locale.
32006 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32007 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32009 * wcsmbs/wchar.h: Add missing __restrict.
32011 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32014 * time/Makefile (routines): Add timespec_get.
32015 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32016 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32017 timespec for ISO C11.
32018 * time/timespec_get.c: New file.
32019 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32020 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32023 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32024 * stdlib/stdlib.h: Declare aligned_alloc.
32025 * Versions.def: Add GLIBC_2.16 for libc.
32026 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32029 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32032 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32036 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32039 * assert/assert.h (static_assert): Define.
32041 * version.h: Update for 2.16 development version.
32044 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32047 * version.h (RELEASE): Bump for 2.15 release.
32048 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32050 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32051 Patch by Marek Polacek <mpolacek@redhat.com>.
32053 * bits/byteswap.h: Protect long long constants with __extension__.
32054 * sysdeps/i386/bits/byteswap.h: Likewise.
32055 * sysdeps/ia64/bits/byteswap.h: Likewise.
32056 * sysdeps/s390/bits/byteswap.h: Likewise.
32057 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32059 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32062 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32063 destination buffer.
32064 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32066 2011-12-23 Marek Polacek <polacek@redhat.com>
32068 * elf/dl-addr.c (determine_info): Add inline keyword.
32069 * elf/tst-auditmod4b.c (check_avx): Likewise.
32070 * elf/tst-auditmod6b.c (check_avx): Likewise.
32071 * elf/tst-auditmod6c.c (check_avx): Likewise.
32072 * elf/tst-auditmod7b.c (check_avx): Likewise.
32074 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32076 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32079 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32082 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32083 processing for last bytes.
32085 2011-08-06 Bruno Haible <bruno@clisp.org>
32088 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32089 U+0385, not to U+1FEE.
32092 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32093 entry for U+00A5 U+0301.
32095 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32098 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32099 buffer for the output is too small.
32101 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32105 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32106 SSE flags if possible.
32108 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32112 processing for last bytes.
32114 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32116 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32117 (syscall-list-default-options, syscall-list-default-condition)
32118 (syscall-list-includes): Define.
32119 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32120 list of ABIs and options and #if conditions for each ABI. Do not
32121 handle common syscalls between ABIs specially.
32122 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32124 (syscall-list-variants, syscall-list-32bit-options)
32125 (syscall-list-32bit-condition, syscall-list-64bit-options)
32126 (syscall-list-64bit-condition): Define.
32127 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32128 (syscall-list-variants, syscall-list-32bit-options)
32129 (syscall-list-32bit-condition, syscall-list-64bit-options)
32130 (syscall-list-64bit-condition): Define.
32131 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32133 (syscall-list-variants, syscall-list-32bit-options)
32134 (syscall-list-32bit-condition, syscall-list-64bit-options)
32135 (syscall-list-64bit-condition): Define.
32136 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32138 (syscall-list-variants, syscall-list-32bit-options)
32139 (syscall-list-32bit-condition, syscall-list-64bit-options)
32140 (syscall-list-64bit-condition): Define.
32142 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32144 * locale/iso-639.def: Add brx entry.
32147 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32148 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32150 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32151 __feraiseexcept_renamed.
32153 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32156 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32157 EPOLLET with unsigned values.
32158 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32159 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32161 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32162 to large cancellation.
32163 * math/s_cacoshf.c: Likewise.
32164 * math/s_cacoshl.c: Likewise.
32166 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32170 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32171 * math/s_cacoshf.c: Likewise.
32172 * math/s_cacoshl.c: Likewise.
32174 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32177 * iconv/gconv.h: Define __GCONV_SWAP.
32178 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32179 * iconvdata/utf-16.c: Likewise.
32180 * iconvdata/utf-32.c: Likewise.
32182 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32185 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32186 numerator after shifting it by one limb.
32188 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32190 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32191 under [__USE_EXTERN_INLINES].
32193 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32196 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32198 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32200 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32201 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32203 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32204 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32205 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32206 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32207 for strncasecmp/strncasecmp_l compilation.
32208 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32209 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32211 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32214 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32217 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32220 * time/tzfile.c (__tzfile_read): Check values from file header.
32222 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32224 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32225 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32226 * powerpc/powerpc32/dl-start.S: Likewise.
32227 * powerpc/powerpc32/elf/start.S: Likewise.
32228 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32229 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32230 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32231 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32232 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32233 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32234 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32235 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32236 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32237 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32238 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32239 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32240 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32241 * powerpc/powerpc32/memset.S: Likewise.
32242 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32243 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32244 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32245 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32246 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32247 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32248 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32249 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32250 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32251 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32252 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32253 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32254 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32256 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32258 * math/libm-test.inc: Added more nearbyint tests.
32259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32260 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32262 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32264 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32266 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32269 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32271 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32272 Add wcscpy-ssse3 wcscpy-c.
32273 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32274 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32275 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32276 * sysdeps/x86_64/wcschr.S: New file.
32277 * sysdeps/x86_64/wcsrchr.S: New file.
32278 * string/test-strcmp.c: Remove checking of wcscmp function for
32280 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32281 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32282 wcsrchr-sse2 wcsrchr-c.
32283 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32284 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32285 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32286 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32287 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32288 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32289 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32290 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32291 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32292 * wcsmbc/wcschr.c (WCSCHR): New macro.
32294 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32296 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32297 * wcsmbs/test-wcsrchr.c: New file.
32298 * string/test-strrchr.c: Add wcsrchr support.
32300 * wcsmbs/test-wcscpy.c: New file.
32301 * string/test-strcpy.c: Add wcscpy support.
32304 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32306 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32309 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32312 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32314 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32316 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32317 Minor optimizations.
32319 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32320 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32321 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32323 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32325 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32326 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32327 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32328 for gcc to avoid warnings.
32329 * inet/Makefile (tests): Add tst-checks.
32330 * inet/tst-checks.c: New file.
32332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32335 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32338 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32339 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32341 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32343 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32345 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32348 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32350 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32352 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32353 conditional on GCC version.
32354 (__arch_compare_and_exchange_val_8_acq)
32355 (__arch_compare_and_exchange_val_16_acq)
32356 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32357 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32358 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32360 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32362 * sysdeps/sh/backtrace.c: New file.
32364 2011-12-02 Andreas Schwab <schwab@redhat.com>
32366 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32369 2011-12-01 Andreas Schwab <schwab@redhat.com>
32371 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32372 falling back to utime.
32374 2011-11-30 Andreas Schwab <schwab@redhat.com>
32376 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32377 expectations for float.
32379 2011-11-29 Andreas Schwab <schwab@redhat.com>
32381 * locale/weight.h (findidx): Add parameter len.
32382 * locale/weightwc.h (findidx): Likewise.
32383 * posix/fnmatch_loop.c (FCT): Adjust caller.
32384 * posix/regcomp.c (build_equiv_class): Likewise.
32385 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32386 * posix/regexec.c (check_node_accept_bytes): Likewise.
32387 * string/strcoll_l.c (STRCOLL): Likewise.
32388 * string/strxfrm_l.c (STRXFRM): Likewise.
32390 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32392 * Makefile.in: Remove CVSOPT handling.
32393 * configure.in: Remove use of AC_REVISION.
32394 * iconvdata/Makefile (distribute): No need to filter out CVS.
32395 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32398 2011-11-16 Andreas Schwab <schwab@redhat.com>
32400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32401 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32402 [USE_AS_STRNCASECMP_L]: Likewise.
32403 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32404 NO_TLS_DIRECT_SEG_REFS.
32405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32406 Fix argument offsets for non-PIC.
32407 [USE_AS_STRNCASECMP_L]: Likewise.
32408 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32409 NO_TLS_DIRECT_SEG_REFS.
32411 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32413 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32415 * locale/loadlocale.c (_nl_load_locale): Likewise.
32417 2011-11-15 Andreas Schwab <schwab@redhat.com>
32419 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32420 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32421 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32422 (SYSCALL_GETTIME): Set errno on error.
32424 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32425 count references to noai6ai_cached.
32427 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32429 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32431 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32432 FD_CLOEXEC for /proc/self/maps.
32434 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32435 FD_CLOEXEC for /proc/meminfo.
32437 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32440 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32441 FD_CLOEXEC for given file.
32443 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32445 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32446 FD_CLOEXEC for /etc/hosts.
32447 (_gethtent): Likewise.
32449 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32451 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32452 cancellation and set FD_CLOEXEC for /etc/netgroup.
32454 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32455 reading /etc/publickey.
32457 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32458 allow cancellation when reading /etc/group.
32460 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32462 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32464 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32465 when using data file.
32467 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32469 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32470 (write_nis_obj): Use "c" and "e" in fopen.
32472 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32474 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32476 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32478 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32480 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32483 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32485 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32487 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32489 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32490 file parsing and set FD_CLOEXEC.
32492 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32494 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32496 2011-11-14 Andreas Schwab <schwab@redhat.com>
32498 * malloc/arena.c (arena_get2): Don't call reused_arena when
32499 _int_new_arena failed.
32501 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32503 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32504 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32505 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32506 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32509 to compile strcasecmp and strncasecmp.
32510 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32511 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32515 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32517 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32518 locale-defines.sym to gen-as-const-headers.
32519 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32520 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32522 to compile strcasecmp and strncasecmp.
32523 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32524 strcasecmp_l and strncasecmp_l.
32525 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32526 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32527 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32529 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32530 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32531 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32532 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32533 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32534 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32535 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32537 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32539 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32540 result of SYSDEP_GETTIME_CPU to retval.
32541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32542 parameter list to macro. Remove trailing semicolon. Adjust users.
32544 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32547 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32549 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32551 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32552 from unused variable.
32554 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32556 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32559 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32562 * sunrpc/rpc_prot.c (rejected): Fix case value.
32564 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32565 unsigned long long int to avoid warnings in shift.
32567 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32569 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32572 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32573 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32574 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32576 * nis/nis_table.c (nis_list): Use variable of correct type for
32577 result of __follow_path call.
32579 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32581 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32582 of math functions ceil, trunc, floor, round, and sqrt, when
32583 avaliable on the platform.
32584 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32586 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32587 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32588 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32590 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32592 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32593 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32595 2011-11-11 Roland McGrath <roland@hack.frob.com>
32597 * include/unistd.h: Fix __readlink return type.
32598 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32600 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32602 * stdlib/ucontext.h: Undo last change for makecontext.
32604 2011-11-11 Andreas Schwab <schwab@redhat.com>
32606 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32608 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32609 * setjmp/setjmp.h: Mark functions as non-leaf.
32610 * setjmp/bits/setjmp2.h: Likewise.
32611 * stdlib/ucontext.h: Likewise.
32613 2011-11-10 Andreas Schwab <schwab@redhat.com>
32615 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32616 (reused_arena): Don't check arena limit.
32617 (arena_get2): Atomically check arena limit.
32619 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32621 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32622 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32627 2011-11-07 Andreas Schwab <schwab@redhat.com>
32629 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32630 handler when locking.
32632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32633 Fix size of allocated buffer.
32635 2011-11-04 Andreas Schwab <schwab@redhat.com>
32638 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32639 declarations for long double functions.
32640 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32642 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32644 2011-11-03 Andreas Schwab <schwab@redhat.com>
32646 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32649 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32652 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32654 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32656 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32658 * include/alloca.h (stackinfo_alloca_round): Define.
32659 (extend_alloca): Use it.
32660 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32661 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32664 * scripts/check-local-headers.sh: Ignore libaudit.h.
32666 * nscd/Makefile (extra-objs): Make recursively expanded.
32668 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32670 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32673 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32674 * posix/tst-rfc3484-2.c: Likewise.
32675 * posix/tst-rfc3484-3.c: Likewise.
32677 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32679 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32681 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32682 process_vm_writev from libc using GLIBC_2.15 version.
32684 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32686 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32688 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32691 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32694 * nss/getent.c (initgroups_keys): Show error message in case no group
32697 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32698 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32699 __bump_nl_timestamp.
32700 * nscd/connections (nscd_init): When host database is served open
32701 netlink socket and request notification about configuration changes.
32702 (main_loop_poll): Track netlink file descriptor and bump timestamp
32703 in case data becomes available.
32704 (main_loop_epoll): Likewise.
32705 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32706 (database_pers_head): Add extra_data fileds.
32707 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32708 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32709 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32712 in6ai data, call __free_in6ai.
32713 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32714 Add -DHAVE_NETLINK.
32715 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32716 interface information. Reuse previous data if netlink timestamp
32718 (__bump_nl_timestamp): New function.
32719 (__free_in6ai): New function.
32721 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32723 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32724 close_not_cancel_no_status here.
32725 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32727 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32730 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32733 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32734 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32735 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32737 2011-07-03 Andreas Jaeger <aj@suse.de>
32740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32741 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32742 * math/libm-test.inc (sin_test): Add test case.
32744 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32747 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32748 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32750 * elf/chroot_canon.c (chroot_canon): Cleanups.
32752 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32755 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32756 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32758 * string/test-strchr.c: Make usable for strchrnul testing.
32759 * string/test-strchrnul.c: New file.
32760 * string/Makefile (strop-tests): Add strchrnul.
32762 * po/it.po: Update from translation team.
32763 * po/es.po: Likewise.
32765 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32767 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32768 the three constants needed as parameters. Drop the others.
32769 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32770 __m128i_strloadu_tolower.
32771 Create and initialize variable zero and use it in all the places
32772 where _mm_setzero_si128 was used.
32774 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32775 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32776 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32779 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32780 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32781 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32782 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32783 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32784 __mpranred, __mptan.
32785 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32786 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32787 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32788 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32789 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32790 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32791 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32792 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32793 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32795 2011-10-28 Andreas Schwab <schwab@redhat.com>
32797 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32798 redefine if SHARED.
32799 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32802 wide char related routines to wcsmbs subdir.
32804 2011-10-27 Andreas Schwab <schwab@redhat.com>
32807 * misc/sys/cdefs.h (__THROWNL): Define.
32808 * posix/unistd.h: Use __THREADNL instead of __THREAD
32809 for memory synchronization functions.
32811 2011-10-26 Roland McGrath <roland@hack.frob.com>
32814 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32816 * manual/stdio.texi (Obstack Streams): Node removed.
32818 2011-10-26 Andreas Schwab <schwab@redhat.com>
32820 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32821 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32824 * math/math_private.h (math_force_eval): Allow non-addressable
32826 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32828 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32830 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32831 file is not needed.
32833 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32834 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32842 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32843 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32844 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32845 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32846 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32847 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32848 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32850 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32851 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32852 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32853 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32855 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32856 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32857 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32858 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32859 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32860 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32862 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32863 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32866 place. Use VEX encoding when compiling for AVX.
32868 2011-10-25 Andreas Schwab <schwab@redhat.com>
32870 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32871 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32873 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32875 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32877 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32878 useless if() expression.
32879 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32884 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32888 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32889 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32890 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32891 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32893 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32894 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32895 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32897 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32899 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32901 2011-10-25 Andreas Schwab <schwab@redhat.com>
32903 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32905 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32907 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32909 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32910 .text section. Avoid duplicate constants.
32911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32921 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32923 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32926 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32927 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32928 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32929 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32931 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32932 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32935 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32936 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32937 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32938 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32940 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32941 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32942 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32943 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32944 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32945 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32946 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32947 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32948 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32949 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32950 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32952 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32953 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32954 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32955 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32957 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32959 * sysdeps/x86_64/dla.h: Move to ...
32960 * sysdeps/x86_64/fpu/dla.h: ...here.
32961 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32962 situations. Use __builtin_fma only for gcc 4.6 and up.
32964 * config.make.in: Add have-mfma4 entry.
32965 * configure.in: Substitute libc_cv_cc_fma4.
32966 * math/Makefile (dbl-only-routines): Add sincostab.
32967 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32968 Use __sincostab not sincos.
32969 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32976 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32977 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32978 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32979 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32982 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32984 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32985 define aliases when function name is a macro.
32986 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32987 sysdeps/ieee754/dbl-64/sincos.tbl.
32988 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32989 fma4-enabled routines.
32990 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32991 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32992 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32993 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32994 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32995 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32997 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32998 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32999 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33000 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33001 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33002 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33003 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33004 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33005 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33006 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33007 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33008 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33009 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33010 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33011 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33015 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33017 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33018 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33019 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33021 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33032 2011-10-24 Andreas Schwab <schwab@redhat.com>
33034 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33036 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33040 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33042 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33044 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33045 Remove unused variable magic_bits.
33046 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33048 * string/strnlen.c: Define and use STRNLEN macro.
33049 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33050 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33052 * wcsmbs/wcslen.c: Define and use WCSLEN.
33053 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33054 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33055 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33056 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33057 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33058 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33059 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33061 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33064 strnlen-sse2-no-bsf.
33065 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33067 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33068 Add strnlen support.
33069 (USE_AS_STRNLEN): New macro.
33070 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33071 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33072 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33073 * sysdeps/x86_64/wcslen.S: New file.
33075 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33078 XMM-moves are used for copying on small sizes.
33080 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33082 * wcsmbs/Makefile (strop-tests): Add wcschr.
33083 * wcsmbs/test-wcschr.c: New file.
33084 * string/test-strchr.c: Update.
33085 Add wcschr support.
33088 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33090 * wcsmbs/Makefile (strop-tests): Add wcslen.
33091 * wcsmbs/test-wcslen.c: New file.
33092 * string/test-strlen.c: Update.
33093 Add wcslen support.
33096 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33098 * po/it.po: Update from translation team.
33100 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33102 * sysdeps/x86_64/wcscmp.S: Update.
33103 Fix wrong comparison semantics.
33104 wcscmp shall use signed comparison not unsigned.
33105 Don't use substraction to avoid overflow bug.
33106 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33107 * wcsmbc/wcscmp.c: Likewise.
33108 * string/test-strcmp.c: Likewise.
33109 Add new tests to check cases with negative values.
33111 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33113 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33114 * sysdeps/x86_64/dla.h: ...here. New file.
33115 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33125 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33128 __ynl_finite aliases.
33130 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33134 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33136 [DLA_FMA] (EMULV): Use DLA_FMA.
33137 [DLA_FMA] (MUL12): Use EMULV.
33138 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33139 that are not needed.
33140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33148 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33150 * math/s_nan.c: Undef __nan.
33151 * math/s_nanf.c: Undef __nanf.
33152 * math/s_nanl.c: Undef __nanl.
33153 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33156 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33158 * math/s_catan.c: Add branch predictions.
33159 * math/s_catanf.c: Likewise.
33160 * math/s_catanh.c: Likewise.
33161 * math/s_catanhf.c: Likewise.
33162 * math/s_catanhl.c: Likewise.
33163 * math/s_catanl.c: Likewise.
33164 * math/s_cexp.c: Likewise.
33165 * math/s_cexpf.c: Likewise.
33166 * math/s_cexpl.c: Likewise.
33167 * math/s_clog.c: Likewise.
33168 * math/s_clog10.c: Likewise.
33169 * math/s_clog10f.c: Likewise.
33170 * math/s_clog10l.c: Likewise.
33171 * math/s_clogf.c: Likewise.
33172 * math/s_clogl.c: Likewise.
33173 * math/s_csqrt.c: Likewise.
33174 * math/s_csqrtf.c: Likewise.
33175 * math/s_csqrtl.c: Likewise.
33176 * math/s_ctanf.c: Likewise.
33177 * math/s_ctanh.c: Likewise.
33178 * math/s_ctanhf.c: Likewise.
33179 * math/s_ctanhl.c: Likewise.
33180 * math/s_ctanl.c: Likewise.
33182 * math/math_private.h: Define __nan, __nanf, __nanl.
33183 * math/s_cacosh.c: Include <math_private.h>.
33184 * math/s_cacoshl.c: Likewise.
33185 * math/s_casinh.c: Likewise.
33186 * math/s_casinhf.c: Likewise.
33187 * math/s_casinhl.c: Likewise.
33188 * math/s_ccos.c: Rely entire on ccosh.
33189 * math/s_ccosf.c: Rely entire on ccoshf.
33190 * math/s_ccosl.c: Rely entirely on ccoshl.
33191 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33192 Remove tests for FE_INVALID.
33193 * math/s_ccoshf.c: Likewise.
33194 * math/s_ccoshl.c: Likewise.
33195 * math/s_csin.c: Likewise.
33196 * math/s_csinf.c: Likewise.
33197 * math/s_csinh.c Likewise.
33198 * math/s_csinhf.c: Likewise.
33199 * math/s_csinhl.c: Likewise.
33200 * math/s_csinl.c: Likewise.
33201 * math/s_ctan.c: Likewise.
33202 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33203 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33204 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33206 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33209 compilation problems.
33211 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33214 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33216 * sysdeps/i386/configure.in: Test for -mfma4 option.
33217 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33218 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33219 COMMON_CPUID_INDEX_80000001.
33220 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33221 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33222 use it if FMA3 is not supported.
33223 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33225 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33226 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33228 2011-10-20 Andreas Schwab <schwab@redhat.com>
33231 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33232 it would create a cycle with a link time dependency.
33234 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33236 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33238 * string/Makefile (strop-tests): Add rawmemchr.
33239 * string/test-rawmemchr.c: New file.
33241 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33243 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33244 when compiling str{,n}casecmp and when AVX is available. Hook up
33245 new optimized code in initializers.
33247 2011-10-19 Andreas Schwab <schwab@redhat.com>
33249 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33250 __feraiseexcept instead of feraiseexcept.
33252 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33254 * math/math_private.h: Define defaults for libc_fetestexcept and
33256 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33257 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33258 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33259 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33260 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33261 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33262 libc_fetestexcept and libc_feupdateenv.
33264 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33265 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33266 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33267 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33268 libc_feholdexcept_setround.
33270 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33271 Add s_nearbyint-c and s_nearbyintf-c.
33272 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33273 nearbyintf inlines.
33274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33275 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33277 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33279 * math/math_private.h: Define defaults for libc_fegetround,
33280 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33281 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33282 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33283 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33284 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33285 standard functions.
33286 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33287 Remove comments and hacks for old compiler versions.
33288 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33289 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33290 libc_feholdexceptl.
33292 2011-10-18 Andreas Schwab <schwab@redhat.com>
33294 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33295 (__feraiseexcept_renamed): Add __NTH.
33296 (feraiseexcept): Add __NTH. Rename local variables to fix
33297 namespace violations.
33299 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33303 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33305 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33306 recently added interfaces.
33307 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33309 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33310 about macro parameter expansion.
33312 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33313 __NO_MATH_INLINES is defined. Cleanups.
33315 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33316 and __floorf is target has SSE4.1.
33317 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33318 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33319 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33320 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33322 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33324 (floorf): Likewise.
33326 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33328 2011-10-17 Andreas Schwab <schwab@redhat.com>
33330 * misc/sys/cdefs.h: Fix last change.
33332 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33335 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33337 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33339 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33340 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33346 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33347 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33348 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33349 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33350 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33351 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33352 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33353 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33354 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33355 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33356 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33358 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33359 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33360 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33362 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33363 ceil, ceilf, floor, floorf.
33365 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33366 Perform IRELATIVE relocations last.
33368 * elf/do-rel.h: Add another parameter nrelative, replacing the
33369 local variable with the same name. Change name of the function
33370 to end in Rel or Rela (uppercase).
33371 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33372 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33373 elf_dynamic_do_##reloc function.
33375 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33377 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33378 is sufficient, at least on modern CPUs.
33380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33382 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33383 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33385 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33387 * math/bits/math-finite.h: Add entries for exp.
33388 * math/e_expl.c: Add __*_finite alias.
33389 * sysdeps/i386/fpu/e_exp.S: Likewise.
33390 * sysdeps/i386/fpu/e_expf.S: Likewise.
33391 * sysdeps/i386/fpu/e_expl.c: Likewise.
33392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33393 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33396 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33397 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33398 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33400 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33401 is sufficient, at least on modern CPUs.
33403 * ctype/ctype-info.c (__ctype_init): Define.
33404 * include/ctype.h (__ctype_init): Declare.
33405 (__ctype_b_loc): The variable is always initialized.
33406 (__ctype_toupper_loc): Likewise.
33407 (__ctype_tolower_loc): Likewise.
33408 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33409 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33411 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33413 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33415 * configure.in: Also look in $cxxmachine/include for C++ system
33418 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33420 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33421 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33422 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33423 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33424 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33425 (USE_AS_WMEMCMP): New macro.
33427 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33428 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33429 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33430 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33432 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33433 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33434 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33435 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33436 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33437 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33438 (USE_AS_WMEMCMP): New macro.
33439 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33440 * sysdeps/string/test-memcmp.c: Update.
33441 Fix simple_wmemcmp.
33443 * wcsmbs/wmemcmp.c: Update.
33444 (WMEMCMP): New macro.
33447 2011-10-12 Andreas Jaeger <aj@suse.de>
33450 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33452 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33454 * libio/iofwide.c (do_length): Avoid warning.
33456 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33458 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33460 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33462 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33463 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33464 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33465 * sysdeps/i386/i686/fpu/e_log.S: New file.
33466 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33467 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33469 * ctype/ctype.h: Add support for inlined isXXX functions when
33470 compiling C++ code.
33472 2011-10-14 Andreas Schwab <schwab@redhat.com>
33474 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33476 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33478 2011-10-13 Roland McGrath <roland@hack.frob.com>
33481 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33483 2011-10-13 Andreas Schwab <schwab@redhat.com>
33485 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33486 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33489 * sysdeps/x86_64/memrchr.S: Check for zero size.
33491 * string/stratcliff.c: Add memrchr tests.
33493 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33496 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33497 rawmemchr-sse2 rawmemchr-sse2-bsf.
33498 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33499 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33500 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33501 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33502 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33503 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33504 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33505 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33506 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33507 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33508 * string/memrchr.c (MEMRCHR): New macro.
33510 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33512 Add integration with gcc's -ffinite-math-only and optimize wrapper
33514 * Versions.def: Define GLIBC_2.15 version for libm.
33515 * math/Makefile (headers): Add bits/math-finite.h.
33516 * math/bits/math-finite.h: New file.
33517 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33518 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33519 * math/e_acoshl.c: Add __*_finite alias.
33520 * math/e_acosl.c: Likewise.
33521 * math/e_asinl.c: Likewise.
33522 * math/e_atan2l.c: Likewise.
33523 * math/e_atanhl.c: Likewise.
33524 * math/e_coshl.c: Likewise.
33525 * math/e_exp10.c: Likewise.
33526 * math/e_exp10f.c: Likewise.
33527 * math/e_exp10l.c: Likewise.
33528 * math/e_exp2l.c: Likewise.
33529 * math/e_fmodl.c: Likewise.
33530 * math/e_gammal_r.c: Likewise.
33531 * math/e_hypotl.c: Likewise.
33532 * math/e_j0l.c: Likewise.
33533 * math/e_j1l.c: Likewise.
33534 * math/e_jnl.c: Likewise.
33535 * math/e_lgammal_r.c: Likewise.
33536 * math/e_log10l.c: Likewise.
33537 * math/e_log2l.c: Likewise.
33538 * math/e_logl.c: Likewise.
33539 * math/e_powl.c: Likewise.
33540 * math/e_sinhl.c: Likewise.
33541 * math/e_sqrtl.c: Likewise.
33542 * math/e_scalb.c: Completely rewritten and optimized.
33543 * math/e_scalbf.c: Likewise.
33544 * math/e_scalbl.c: Likewise.
33545 * math/w_acos.c: Likewise.
33546 * math/w_acosf.c: Likewise.
33547 * math/w_acosl.c: Likewise.
33548 * math/w_acosh.c: Likewise.
33549 * math/w_acoshf.c: Likewise.
33550 * math/w_acoshl.c: Likewise.
33551 * math/w_asin.c: Likewise.
33552 * math/w_asinf.c: Likewise.
33553 * math/w_asinl.c: Likewise.
33554 * math/w_atan2.c: Likewise.
33555 * math/w_atan2f.c: Likewise.
33556 * math/w_atan2l.c: Likewise.
33557 * math/w_atanh.c: Likewise.
33558 * math/w_atanhf.c: Likewise.
33559 * math/w_atanhl.c: Likewise.
33560 * math/w_exp10.c: Likewise.
33561 * math/w_exp10f.c: Likewise.
33562 * math/w_exp10l.c: Likewise.
33563 * math/w_fmod.c: Likewise.
33564 * math/w_fmodf.c: Likewise.
33565 * math/w_fmodl.c: Likewise.
33566 * math/w_j0.c: Likewise.
33567 * math/w_j0f.c: Likewise.
33568 * math/w_j0l.c: Likewise.
33569 * math/w_j1.c: Likewise.
33570 * math/w_j1f.c: Likewise.
33571 * math/w_j1l.c: Likewise.
33572 * math/w_jn.c: Likewise.
33573 * math/w_jnf.c: Likewise.
33574 * math/w_log.c: Likewise.
33575 * math/w_logf.c: Likewise.
33576 * math/w_logl.c: Likewise.
33577 * math/w_log10.c: Likewise.
33578 * math/w_log10f.c: Likewise.
33579 * math/w_log10l.c: Likewise.
33580 * math/w_log2.c: Likewise.
33581 * math/w_log2f.c: Likewise.
33582 * math/w_log2l.c: Likewise.
33583 * math/w_pow.c: Likewise.
33584 * math/w_powf.c: Likewise.
33585 * math/w_powl.c: Likewise.
33586 * math/w_remainder.c: Likewise.
33587 * math/w_remainderf.c: Likewise.
33588 * math/w_remainderl.c: Likewise.
33589 * math/w_scalb.c: Likewise.
33590 * math/w_scalbf.c: Likewise.
33591 * math/w_scalbl.c: Likewise.
33592 * math/w_sqrt.c: Likewise.
33593 * math/w_sqrtf.c: Likewise.
33594 * math/w_sqrtl.c: Likewise.
33595 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33596 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33598 * math/math_private.h: Declare __kernel_standard_f.
33599 * math/w_cosh.c: Remove cruft and optimize a bit.
33600 * math/w_coshf.c: Likewise.
33601 * math/w_coshl.c: Likewise.
33602 * math/w_exp2.c: Likewise.
33603 * math/w_exp2f.c: Likewise.
33604 * math/w_exp2l.c: Likewise.
33605 * math/w_hypot.c: Likewise.
33606 * math/w_hypotf.c: Likewise.
33607 * math/w_hypotl.c: Likewise.
33608 * math/w_lgamma.c: Likewise.
33609 * math/w_lgamma_r.c: Likewise.
33610 * math/w_lgammaf.c: Likewise.
33611 * math/w_lgammaf_r.c: Likewise.
33612 * math/w_lgammal.c: Likewise.
33613 * math/w_lgammal_r.c: Likewise.
33614 * math/w_sinh.c: Likewise.
33615 * math/w_sinhf.c: Likewise.
33616 * math/w_sinhl.c: Likewise.
33617 * math/w_tgamma.c: Likewise.
33618 * math/w_tgammaf.c: Likewise.
33619 * math/w_tgammal.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33622 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33623 Minor optimizations. Pretty printing. Remove cruft.
33624 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33625 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33626 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33628 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33629 * sysdeps/i386/fpu/e_asin.S: Likewise.
33630 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33631 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33632 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33633 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33634 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33635 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33636 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33637 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33638 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33639 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33640 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33641 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33642 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33643 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33644 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33645 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33646 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33647 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33648 * sysdeps/i386/fpu/e_log.S: Likewise.
33649 * sysdeps/i386/fpu/e_log10.S: Likewise.
33650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33651 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33652 * sysdeps/i386/fpu/e_log2.S: Likewise.
33653 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33655 * sysdeps/i386/fpu/e_logf.S: Likewise.
33656 * sysdeps/i386/fpu/e_logl.S: Likewise.
33657 * sysdeps/i386/fpu/e_pow.S: Likewise.
33658 * sysdeps/i386/fpu/e_powf.S: Likewise.
33659 * sysdeps/i386/fpu/e_powl.S: Likewise.
33660 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33661 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33662 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33664 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33665 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33666 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33667 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33668 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33690 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33691 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33692 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33693 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33694 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33695 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33696 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33697 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33698 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33699 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33700 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33701 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33702 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33703 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33704 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33705 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33706 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33707 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33708 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33709 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33710 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33749 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33760 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33761 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33762 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33763 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33764 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33765 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33766 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33767 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33768 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33769 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33770 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33771 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33772 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33773 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33774 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33775 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33777 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33778 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33779 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33780 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33781 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33782 (__isnanf): Likewise.
33783 (__isinf_ns): Likewise.
33784 (__isinf_nsf): Likewise.
33785 (__finite): Likewise.
33786 (__finitef): Likewise.
33787 (__ieee754_sqrt): Define as macro.
33788 (__ieee754_sqrtf): Define as macro.
33789 (__ieee754_sqrtl): Define as macro.
33790 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33792 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33793 __FINITE_MATH_ONLY__ consistent.
33794 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33796 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33798 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33801 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33803 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33805 * po/ja.po: Update from translation team.
33807 2011-10-08 Roland McGrath <roland@hack.frob.com>
33809 * locale/programs/locarchive.c (prepare_address_space): New function.
33810 (create_archive, enlarge_archive, open_archive): Use it.
33812 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33813 inside [SHARED], where it is used.
33815 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33817 * nss/getent.c (netgroup_keys): Remove unused variable.
33818 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33820 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33822 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33823 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33825 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33826 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33828 * math/Makefile (libm-calls): Add s_isinf_ns.
33829 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33830 * math/multc3.c: Likewise.
33831 * math/s_casin.c: Likewise.
33832 * math/s_casinf.c: Likewise.
33833 * math/s_casinl.c: Likewise.
33834 * math/s_ccos.c: Likewise.
33835 * math/s_ccosf.c: Likewise.
33836 * math/s_ccosl.c: Likewise.
33837 * math/s_ctan.c: Likewise.
33838 * math/s_ctanf.c: Likewise.
33839 * math/s_ctanh.c: Likewise.
33840 * math/s_ctanhf.c: Likewise.
33841 * math/s_ctanhl.c: Likewise.
33842 * math/s_ctanl.c: Likewise.
33843 * math/w_fmod.c: Likewise.
33844 * math/w_fmodf.c: Likewise.
33845 * math/w_fmodl.c: Likewise.
33846 * math/w_remainder.c: Likewise.
33847 * math/w_remainderf.c: Likewise.
33848 * math/w_remainderl.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33850 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33853 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33854 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33855 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33856 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33858 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33860 * stdio-common/printf_fphex.c: Likewise.
33861 * stdio-common/printf_size.c: Likewise.
33863 * math/e_exp10.c: Include math_private.h using <...> not "...".
33864 * math/e_exp10f.c: Likewise.
33865 * math/e_exp10l.c: Likewise.
33866 * math/e_exp2l.c: Likewise.
33867 * math/e_j0l.c: Likewise.
33868 * math/e_j1l.c: Likewise.
33869 * math/e_jnl.c: Likewise.
33870 * math/e_lgammal_r.c: Likewise.
33871 * math/e_rem_pio2l.c: Likewise.
33872 * math/e_scalb.c: Likewise.
33873 * math/e_scalbf.c: Likewise.
33874 * math/e_scalbl.c: Likewise.
33875 * math/k_cosl.c: Likewise.
33876 * math/k_sinl.c: Likewise.
33877 * math/k_tanl.c: Likewise.
33878 * math/s_cacoshf.c: Likewise.
33879 * math/s_catan.c: Likewise.
33880 * math/s_catanf.c: Likewise.
33881 * math/s_catanh.c: Likewise.
33882 * math/s_catanhf.c: Likewise.
33883 * math/s_catanhl.c: Likewise.
33884 * math/s_catanl.c: Likewise.
33885 * math/s_ccosh.c: Likewise.
33886 * math/s_ccoshf.c: Likewise.
33887 * math/s_ccoshl.c: Likewise.
33888 * math/s_cexp.c: Likewise.
33889 * math/s_cexpf.c: Likewise.
33890 * math/s_cexpl.c: Likewise.
33891 * math/s_clog.c: Likewise.
33892 * math/s_clog10.c: Likewise.
33893 * math/s_clog10f.c: Likewise.
33894 * math/s_clog10l.c: Likewise.
33895 * math/s_clogf.c: Likewise.
33896 * math/s_clogl.c: Likewise.
33897 * math/s_csin.c: Likewise.
33898 * math/s_csinf.c: Likewise.
33899 * math/s_csinh.c: Likewise.
33900 * math/s_csinhf.c: Likewise.
33901 * math/s_csinhl.c: Likewise.
33902 * math/s_csinl.c: Likewise.
33903 * math/s_csqrt.c: Likewise.
33904 * math/s_csqrtf.c: Likewise.
33905 * math/s_csqrtl.c: Likewise.
33906 * math/s_ctan.c: Likewise.
33907 * math/s_ctanf.c: Likewise.
33908 * math/s_ctanh.c: Likewise.
33909 * math/s_ctanhf.c: Likewise.
33910 * math/s_ctanhl.c: Likewise.
33911 * math/s_ctanl.c: Likewise.
33912 * math/s_ldexp.c: Likewise.
33913 * math/s_ldexpf.c: Likewise.
33914 * math/s_ldexpl.c: Likewise.
33915 * math/s_significand.c: Likewise.
33916 * math/s_significandf.c: Likewise.
33917 * math/s_significandl.c: Likewise.
33918 * math/w_acos.c: Likewise.
33919 * math/w_acosf.c: Likewise.
33920 * math/w_acosh.c: Likewise.
33921 * math/w_acoshf.c: Likewise.
33922 * math/w_acoshl.c: Likewise.
33923 * math/w_acosl.c: Likewise.
33924 * math/w_asin.c: Likewise.
33925 * math/w_asinf.c: Likewise.
33926 * math/w_asinl.c: Likewise.
33927 * math/w_atan2.c: Likewise.
33928 * math/w_atan2f.c: Likewise.
33929 * math/w_atan2l.c: Likewise.
33930 * math/w_atanh.c: Likewise.
33931 * math/w_atanhf.c: Likewise.
33932 * math/w_atanhl.c: Likewise.
33933 * math/w_cosh.c: Likewise.
33934 * math/w_coshf.c: Likewise.
33935 * math/w_coshl.c: Likewise.
33936 * math/w_dremf.c: Likewise.
33937 * math/w_exp10.c: Likewise.
33938 * math/w_exp10f.c: Likewise.
33939 * math/w_exp10l.c: Likewise.
33940 * math/w_exp2.c: Likewise.
33941 * math/w_exp2f.c: Likewise.
33942 * math/w_fmod.c: Likewise.
33943 * math/w_fmodf.c: Likewise.
33944 * math/w_fmodl.c: Likewise.
33945 * math/w_hypot.c: Likewise.
33946 * math/w_hypotf.c: Likewise.
33947 * math/w_hypotl.c: Likewise.
33948 * math/w_j0.c: Likewise.
33949 * math/w_j0f.c: Likewise.
33950 * math/w_j0l.c: Likewise.
33951 * math/w_j1.c: Likewise.
33952 * math/w_j1f.c: Likewise.
33953 * math/w_j1l.c: Likewise.
33954 * math/w_jn.c: Likewise.
33955 * math/w_jnf.c: Likewise.
33956 * math/w_jnl.c: Likewise.
33957 * math/w_lgamma.c: Likewise.
33958 * math/w_lgamma_r.c: Likewise.
33959 * math/w_lgammaf.c: Likewise.
33960 * math/w_lgammaf_r.c: Likewise.
33961 * math/w_lgammal.c: Likewise.
33962 * math/w_lgammal_r.c: Likewise.
33963 * math/w_log.c: Likewise.
33964 * math/w_log10.c: Likewise.
33965 * math/w_log10f.c: Likewise.
33966 * math/w_log10l.c: Likewise.
33967 * math/w_log2.c: Likewise.
33968 * math/w_log2f.c: Likewise.
33969 * math/w_log2l.c: Likewise.
33970 * math/w_logf.c: Likewise.
33971 * math/w_logl.c: Likewise.
33972 * math/w_pow.c: Likewise.
33973 * math/w_powf.c: Likewise.
33974 * math/w_powl.c: Likewise.
33975 * math/w_remainder.c: Likewise.
33976 * math/w_remainderf.c: Likewise.
33977 * math/w_remainderl.c: Likewise.
33978 * math/w_scalb.c: Likewise.
33979 * math/w_scalbf.c: Likewise.
33980 * math/w_scalbl.c: Likewise.
33981 * math/w_sinh.c: Likewise.
33982 * math/w_sinhf.c: Likewise.
33983 * math/w_sinhl.c: Likewise.
33984 * math/w_sqrt.c: Likewise.
33985 * math/w_sqrtf.c: Likewise.
33986 * math/w_sqrtl.c: Likewise.
33987 * math/w_tgamma.c: Likewise.
33988 * math/w_tgammaf.c: Likewise.
33989 * math/w_tgammal.c: Likewise.
33991 * po/ja.po: Update from translation team.
33993 2011-09-29 Andreas Jaeger <aj@suse.de>
33996 * sunrpc/netname.c (netname2host): Fix logic.
34000 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34002 * math/w_remainder.c (__remainder): Likewise.
34003 * math/w_remainderf.c (__remainderf): Likewise.
34004 * math/libm-test.inc (remainder_test): Add test cases.
34006 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34008 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34011 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34013 * string/test-memcmp.c: Avoid unncessary #defines.
34014 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34016 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34018 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34019 Use new sse2 version for core i3 - i7 as it's faster
34020 than sse42 version.
34021 (bit_Prefer_PMINUB_for_stringop): New.
34022 * sysdeps/x86_64/rawmemchr.S: Update.
34023 Replace with faster SSE2 version.
34024 * sysdeps/x86_64/memrchr.S: New file.
34025 * sysdeps/x86_64/memchr.S: Update.
34026 Replace with faster SSE2 version.
34028 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34030 * elf/dl-load.c (lose): Add cast to avoid warning.
34032 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34034 * po/ca.po: Update from translation team.
34036 * inet/getnetgrent_r.c: Hook up nscd.
34037 * nscd/Makefile (routines): Add nscd_netgroup.
34038 (nscd-modules): Add netgroupcache.
34039 (CFLAGS-netgroupcache.c): Define.
34040 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34041 (cache_search): Add const to second parameter.
34042 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34044 (dbs): Add netgrdb entry.
34045 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34046 (verify_persistent_db): Handle netgrdb.
34047 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34048 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34050 (netgroup_response_header): Define.
34051 (innetgroup_response_header): Define.
34052 (datahead): Add netgroup_response_header and innetgroup_response_header
34054 * nscd/nscd.conf: Add entries for netgroup cache.
34055 * nscd/nscd.h (dbtype): Add netgrdb.
34056 (_PATH_NSCD_NETGROUP_DB): Define.
34057 (netgroup_iov_disabled): Declare.
34058 (xmalloc, xcalloc, xrealloc): Move declarations here.
34059 (cache_search): Adjust prototype.
34060 Add netgroup-related prototypes.
34061 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34062 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34063 (__nscd_innetgr): Declare.
34064 * nscd/selinux.c (perms): Use access_vector_t as element type and
34065 add netgroup-related initializers.
34066 * nscd/netgroupcache.c: New file.
34067 * nscd/nscd_netgroup.c: New file.
34068 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34069 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34070 For four parameters use innetgr.
34071 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34072 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34073 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34074 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34076 * nscd/connections.c (register_traced_file): Don't register file
34077 for disabled databases.
34079 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34081 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34083 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34084 from tree and freeing node.
34086 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34088 * nss/nsswitch.c (__nss_database_lookup): Handle
34089 nss_parse_service_list out of memory case.
34091 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34093 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34094 out of memory case.
34096 2011-10-04 Andreas Schwab <schwab@redhat.com>
34098 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34099 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34101 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34102 elf_machine_rela, elf_machine_lazy_rel.
34103 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34104 (ELF_DYNAMIC_DO_REL): Likewise.
34105 (ELF_DYNAMIC_DO_RELA): Likewise.
34106 (ELF_DYNAMIC_RELOCATE): Likewise.
34107 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34108 to ELF_DYNAMIC_DO_REL.
34109 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34110 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34111 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34114 skip_ifunc, don't call ifunc function if non-zero.
34115 (elf_machine_rela): Likewise.
34116 (elf_machine_lazy_rel): Likewise.
34117 (elf_machine_lazy_rela): Likewise.
34118 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34119 (elf_machine_lazy_rel): Likewise.
34120 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34122 (elf_machine_lazy_rel): Likewise.
34123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34125 (elf_machine_lazy_rel): Likewise.
34126 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34127 (elf_machine_lazy_rel): Likewise.
34128 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34129 (elf_machine_lazy_rel): Likewise.
34130 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34131 (elf_machine_lazy_rel): Likewise.
34132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34133 (elf_machine_lazy_rel): Likewise.
34134 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34135 (elf_machine_lazy_rel): Likewise.
34136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34137 (elf_machine_lazy_rel): Likewise.
34139 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34141 * nss/nss_files/files-init.c (_nss_files_init): Use static
34142 initialization for all the *_traced_file variables.
34144 2011-09-28 Andreas Schwab <schwab@redhat.com>
34146 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34148 2011-09-27 Roland McGrath <roland@hack.frob.com>
34151 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34153 2011-09-27 Andreas Schwab <schwab@redhat.com>
34155 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34156 Reread the line before reparsing it.
34158 2011-09-26 Andreas Schwab <schwab@redhat.com>
34160 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34162 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34163 Maxim Kuvyrkov <maxim@codesourcery.com>
34164 Joseph Myers <joseph@codesourcery.com>
34166 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34167 if needed for __stack_chk_guard.
34169 2011-09-19 Roland McGrath <roland@hack.frob.com>
34171 * sysdeps/posix/spawni.c (script_execute): Always define it.
34172 It will be optimized away if unused.
34173 (maybe_script_execute): New function.
34174 (__spawni): Call it.
34176 * Makerules: Don't include tls.make.
34177 (config-tls): Always set to thread.
34178 * tls.make.c: File removed.
34180 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34182 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34183 * config.make.in (CPPFLAGS-config): New substituted variable.
34185 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34190 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34191 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34193 2011-09-15 Roland McGrath <roland@hack.frob.com>
34195 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34196 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34198 (CALL_FAIL): Likewise.
34199 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34200 (CALL_FAIL): Macro removed.
34201 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34203 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34205 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34206 for __FINITE_MATH_ONLY__ == 1.
34208 2011-09-15 Andreas Schwab <schwab@redhat.com>
34210 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34211 __ieee754_sqrt instead of sqrt.
34212 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34213 __ieee754_sqrtf instead of sqrtf.
34214 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34215 __floorf instead of floorf.
34216 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34217 __floorf, __truncf instead of floorf, truncf.
34219 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34221 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34223 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34224 __extern_always_inline.
34225 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34228 2011-09-14 Andreas Schwab <schwab@redhat.com>
34230 * elf/rtld.c (dl_main): Also relocate in dependency order when
34231 doing symbol dependency testing.
34233 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34236 Always define `refsym'.
34238 2011-09-13 Andreas Schwab <schwab@redhat.com>
34240 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34241 (__FD_ELT): Renamed from __FDELT.
34242 * misc/bits/select2.h (__FD_ELT): Likewise.
34243 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34244 __FD_MASK instead of __FDELT, __FDMASK.
34245 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34247 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34250 * elf/Makefile (gen-ldd): Fix pattern.
34252 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34253 (init_tls): Likewise.
34255 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34259 2011-09-12 Andreas Schwab <schwab@redhat.com>
34261 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34262 `struct cmsghdr *' instead of `void *'.
34263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34266 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34268 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34270 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34271 ldd_rewrite_script.
34273 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34275 * configure.in: Remove --with-tls option.
34276 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34277 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34278 out in case it is missing.
34279 * sysdeps/ia64/elf/configure.in: Likewise.
34280 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34281 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34282 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34283 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34284 * sysdeps/sh/elf/configure.in: Likewise.
34285 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34286 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34287 * sysdeps/x86_64/elf/configure.in: Likewise.
34288 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34289 * sysdeps/mach/hurd/tls.h: Likewise.
34292 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34295 * configure.in: Fix use of AC_INIT.
34297 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34299 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34301 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34303 * malloc/hooks.c: Likewise.
34306 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34307 variables statically.
34308 (narenas): Initialize.
34309 (list_lock): Initialize.
34310 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34311 initializtion of main_arena and list_lock. Small cleanups.
34312 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34313 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34314 Add initializers to main_arena and mp_.
34315 (malloc_state): Remove pagesize member. Change all users to use
34318 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34319 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34320 is always initialized.
34322 * malloc/malloc.c: Removed unused configurations and dead code.
34323 * malloc/arena.c: Likewise.
34324 * malloc/hooks.c: Likewise.
34325 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34327 * include/tls.h: Removed. USE___THREAD must always be defined.
34328 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34329 * elf/dl-libc.c: Likewise.
34330 * elf/dl-tsd.c: Likewise.
34331 * include/errno.h: Likewise.
34332 * include/netdb.h: Likewise.
34333 * include/resolv.h: Likewise.
34334 * inet/herrno-loc.c: Likewise.
34335 * inet/herrno.c: Likewise.
34336 * malloc/arena.c: Likewise.
34337 * malloc/hooks.c: Likewise.
34338 * malloc/malloc.c: Likewise.
34339 * resolv/res-state.c: Likewise.
34340 * resolv/res_libc.c: Likewise.
34341 * sysdeps/i386/dl-machine.h: Likewise.
34342 * sysdeps/ia64/dl-machine.h: Likewise.
34343 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34344 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34345 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34346 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34347 * sysdeps/sh/dl-machine.h: Likewise.
34348 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34349 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34350 * sysdeps/unix/i386/sysdep.S: Likewise.
34351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34352 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34354 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34357 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34361 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34362 * sysdeps/x86_64/dl-machine.h: Likewise.
34363 * tls.make.c: Likewise.
34365 * configure.in: Remove --with-__thread option. Make tests for
34366 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34367 tls_model attribute fail if no support is available. Remove
34369 * Makeconfig: Adjust for dropped configure option. All features are
34371 * Makerules: Likewise.
34372 * Versions.def: Likewise.
34373 * argp/argp-fmtstream.c: Likewise.
34374 * argp/argp-fmtstream.h: Likewise.
34375 * argp/argp-help.c: Likewise.
34376 * assert/assert.c: Likewise.
34377 * config.h.in: Likewise.
34378 * config.make.in: Likewise.
34379 * configure: Likewise.
34380 * configure.in: Likewise.
34381 * csu/Versions: Likewise.
34382 * csu/init.c: Likewise.
34383 * elf/tst-audit2.c: Likewise.
34384 * elf/tst-tls10.c: Likewise.
34385 * elf/tst-tls10.h: Likewise.
34386 * elf/tst-tls11.c: Likewise.
34387 * elf/tst-tls12.c: Likewise.
34388 * elf/tst-tls14.c: Likewise.
34389 * elf/tst-tlsmod11.c: Likewise.
34390 * elf/tst-tlsmod12.c: Likewise.
34391 * elf/tst-tlsmod13.c: Likewise.
34392 * elf/tst-tlsmod13a.c: Likewise.
34393 * elf/tst-tlsmod14a.c: Likewise.
34394 * elf/tst-tlsmod15b.c: Likewise.
34395 * elf/tst-tlsmod16a.c: Likewise.
34396 * elf/tst-tlsmod16b.c: Likewise.
34397 * elf/tst-tlsmod7.c: Likewise.
34398 * elf/tst-tlsmod8.c: Likewise.
34399 * elf/tst-tlsmod9.c: Likewise.
34400 * gmon/gmon.c: Likewise.
34401 * grp/fgetgrent_r.c: Likewise.
34402 * grp/putgrent.c: Likewise.
34403 * hurd/fopenport.c: Likewise.
34404 * include/libc-symbols.h: Likewise.
34405 * include/tls.h: Likewise.
34406 * intl/gettextP.h: Likewise.
34407 * intl/loadinfo.h: Likewise.
34408 * locale/global-locale.c: Likewise.
34409 * locale/localeinfo.h: Likewise.
34410 * mach/devstream.c: Likewise.
34411 * malloc/arena.c: Likewise.
34412 * malloc/set-freeres.c: Likewise.
34413 * misc/err.c: Likewise.
34414 * misc/getttyent.c: Likewise.
34415 * misc/mntent_r.c: Likewise.
34416 * posix/getopt.c: Likewise.
34417 * posix/wordexp.c: Likewise.
34418 * pwd/fgetpwent_r.c: Likewise.
34419 * resolv/Versions: Likewise.
34420 * resolv/res_hconf.c: Likewise.
34421 * shadow/fgetspent_r.c: Likewise.
34422 * shadow/putspent.c: Likewise.
34423 * stdio-common/printf_fphex.c: Likewise.
34424 * stdio-common/tmpfile.c: Likewise.
34425 * stdlib/abort.c: Likewise.
34426 * stdlib/fmtmsg.c: Likewise.
34427 * sunrpc/auth_unix.c: Likewise.
34428 * sunrpc/clnt_perr.c: Likewise.
34429 * sunrpc/clnt_tcp.c: Likewise.
34430 * sunrpc/clnt_udp.c: Likewise.
34431 * sunrpc/clnt_unix.c: Likewise.
34432 * sunrpc/openchild.c: Likewise.
34433 * sunrpc/svc_simple.c: Likewise.
34434 * sunrpc/svc_tcp.c: Likewise.
34435 * sunrpc/svc_udp.c: Likewise.
34436 * sunrpc/svc_unix.c: Likewise.
34437 * sunrpc/xdr.c: Likewise.
34438 * sunrpc/xdr_array.c: Likewise.
34439 * sunrpc/xdr_rec.c: Likewise.
34440 * sunrpc/xdr_ref.c: Likewise.
34441 * sunrpc/xdr_stdio.c: Likewise.
34443 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34445 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34447 2011-07-03 Andreas Jaeger <aj@suse.de>
34449 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34450 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34451 regenerate with gen-libm-tests.pl.
34453 2010-05-12 Petr Baudis <pasky@suse.cz>
34456 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34457 around j0() zero points by switching to j1().
34458 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34463 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34465 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34467 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34470 Patch in part by Pavel Roskin <proski@gnu.org>.
34473 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34475 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34476 Free memory block if necessary.
34479 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34480 be NULL. Don't lock in this case.
34482 2011-09-09 Roland McGrath <roland@hack.frob.com>
34484 * elf/elf.h (ELFOSABI_GNU): New macro.
34485 (ELFOSABI_LINUX): Define to that.
34487 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34489 * string/strncat.c (strncat): Undef the symbol in case it has been
34490 defined in bits/string.h.
34492 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34494 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34496 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34499 2011-08-17 Andreas Jaeger <aj@suse.de>
34501 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34503 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34504 Ian Lance Taylor <iant@google.com>
34506 * math/libm-test.inc (lround_test): New testcase.
34507 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34509 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34511 * Makefile: Remove support for automatic cvs check-ins.
34512 * Makerules: Likewise.
34513 * config.make.in: Likewise.
34514 * configure.in: Likewise.
34515 * intl/Makefile: Likewise.
34516 * locale/Makefile: Likewise.
34517 * po/Makefile: Likewise.
34518 * posix/Makefile: Likewise.
34519 * sysdeps/gnu/Makefile: Likewise.
34520 * sysdeps/mach/hurd/Makefile: Likewise.
34521 * sysdeps/sparc/sparc32/Makefile: Likewise.
34524 * posix/Makefile (bug-regex32-ENV): Define.
34525 Patch by John Stanley <jpsinthemix@verizon.net>.
34527 * misc/Makefile (headers): Add bits/select2.h.
34528 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34529 * misc/bits/select2.h: New file.
34530 * include/bits/select2.h: New file.
34531 * debug/Makefile (routines): Add fdelt_chk.
34532 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34533 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34535 * debug/fdelt_chk.c: New file.
34537 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34538 * wcsmbs/test-wmemcmp.c: Likewise.
34539 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34540 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34542 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34544 * string/Makefile (strop-tests): Add memcmp.
34545 * string/test-wmemcmp.c: New file.
34546 * string/test-memcmp.c: Add wmemcmp support.
34548 2011-09-08 Roland McGrath <roland@hack.frob.com>
34551 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34554 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34555 garbage value in a __mach_port_mod_refs call in the cases of the
34556 task-self and thread-self ports.
34558 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34560 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34562 2011-09-08 Andreas Schwab <schwab@redhat.com>
34564 * elf/dl-load.c (lose): Check for non-null L.
34566 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34568 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34570 * elf/dl-libc.c (dlerror_run): Pass back error code from
34574 * elf/dl-load.c (lose): Free l_origin if it is valid.
34576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34578 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34581 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34582 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34583 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34585 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34587 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34588 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34589 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34590 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34591 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34592 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34593 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34594 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34595 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34596 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34598 2011-08-15 Alan Modra <amodra@gmail.com>
34601 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34602 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34603 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34604 ppc_mcount to static-only-routines.
34605 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34607 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34608 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34610 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34612 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34613 for finite and infinity parameters.
34615 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34618 and add nop instructions for throughput optimization.
34619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34621 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34623 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34624 aligned copy for power7 with vector-scalar instructions.
34625 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34627 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34632 2011-09-07 Andreas Schwab <schwab@redhat.com>
34635 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34638 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34640 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34641 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34642 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34646 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34649 Forgot to demangle the pointer.
34651 * sysdeps/i386/sysdep.h: Define atom_text_section.
34652 * sysdeps/x86_64/sysdep.h: Likewise.
34653 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34654 section with atom_text_section.
34655 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34656 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34659 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34662 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34663 already be defined. Change to take two parameters and don't assign
34664 result to variable. Adjust all users.
34665 Define INTERNAL_GETTIME if not already defined.
34666 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34669 HAVE_CLOCK_GETTIME_VSYSCALL.
34670 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34673 gettimeofday vsyscall, just use time.
34675 2011-09-06 Andreas Schwab <schwab@redhat.com>
34677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34680 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34682 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34686 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34688 syscall if possible.
34690 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34692 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34693 e_ident. Don't pass to find_mapsXX.
34694 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34696 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34699 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34700 * sysdeps/x86_64/multiarch/strchr.S: Update.
34701 Check bit_slow_BSF bit.
34702 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34703 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34704 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34706 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34709 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34711 (tryshell): Define.
34712 (__spawni): Change last parameter to be flag. Test
34713 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34714 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34715 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34716 * posix/spawni.c: Likewise.
34717 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34718 * posix/spawnp.c: Likewise. Change normal version to use
34719 SPAWN_XFLAGS_USE_PATH.
34720 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34721 SPAWN_XFLAGS_TRY_SHELL.
34724 * posix/glob.h: Remove gcc 1.x support.
34727 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34729 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34732 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34734 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34735 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34736 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34737 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34738 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34739 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34741 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34743 * sysdeps/x86_64/wcscmp.S: New file.
34745 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34746 wcscmp-c wcscmp-sse2
34747 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34748 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34749 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34750 * wcsmbs/wcscmp.c: Allow renaming.
34752 2011-09-05 David S. Miller <davem@davemloft.net>
34754 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34755 stack slot, rather than the struct return pointer slot.
34756 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34757 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34759 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34761 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34763 * po/ja.po: Update from translation team.
34766 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34767 kernel in 64-bit binaries.
34769 2011-09-01 David S. Miller <davem@davemloft.net>
34771 * elf/elf.h (HWCAP_SPARC_*): Move to..
34772 * sysdeps/sparc/sysdep.h: this new file and add new values.
34773 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34774 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34775 _DL_HWCAP_COUNT to 24.
34776 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34778 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34779 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34780 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34782 instead of magic constants.
34783 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34785 2011-08-31 David S. Miller <davem@davemloft.net>
34787 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34789 Reimplement to do errno handling inline.
34790 (SYSCALL_ERROR_HANDLER): New macro.
34791 (__SYSCALL_STRING): Do not do errno handling in asm.
34792 (__CLONE_SYSCALL_STRING): Delete.
34793 (__INTERNAL_SYSCALL_STRING): Delete.
34794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34795 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34796 (PSEUDO): Reimplement to do errno handling inline.
34797 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34798 (SYSCALL_ERROR_HANDLER): New macro.
34799 (__SYSCALL_STRING): Do not do errno handling in asm.
34800 (__CLONE_SYSCALL_STRING): Delete.
34801 (__INTERNAL_SYSCALL_STRING): Delete.
34802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34803 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34805 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34806 (inline_syscall*): Add 'err' argument.
34807 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34808 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34809 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34810 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34812 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34813 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34815 2011-08-30 Andreas Schwab <schwab@redhat.com>
34817 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34819 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34821 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34824 2011-08-24 David S. Miller <davem@davemloft.net>
34826 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34828 2011-08-24 Andreas Schwab <schwab@redhat.com>
34830 * elf/Makefile: Add rules to build and run unload8 test.
34831 * elf/unload8.c: New file.
34832 * elf/unload8mod1.c: New file.
34833 * elf/unload8mod1x.c: New file.
34834 * elf/unload8mod2.c: New file.
34835 * elf/unload8mod3.c: New file.
34837 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34840 2011-08-23 David S. Miller <davem@davemloft.net>
34842 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34843 subtract stack bias.
34844 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34845 %sp not %fp in calculations.
34846 (_JMPBUF_UNWINDS_ADJ): Likewise.
34848 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34849 (aio_suspend): Call it to force an exception region around the
34850 AIO_MISC_WAIT() invocation.
34852 2011-08-23 Andreas Schwab <schwab@redhat.com>
34854 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34857 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34859 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34861 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34862 and <dl-machine.h>.
34863 (Elf64_FuncDesc): Remove.
34865 2011-08-22 David S. Miller <davem@davemloft.net>
34867 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34868 sigaltstack check, add missing cfi directives.
34869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34870 missing cfi directives, and sigaltstack handling.
34872 2011-08-16 Andreas Schwab <schwab@redhat.com>
34875 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34876 object is seen twice.
34877 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34879 * elf/Makefile (distribute): Add tst-initorder2.c.
34880 (tests): Add tst-initorder2.
34881 (modules-names): Add tst-initorder2a tst-initorder2b
34882 tst-initorder2c tst-initorder2d. Add rules to build them.
34883 ($(objpfx)tst-initorder2.out): New rule.
34884 * elf/tst-initorder2.c: New file.
34885 * elf/tst-initorder2.exp: New file.
34887 2011-08-22 Andreas Schwab <schwab@redhat.com>
34889 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34891 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34892 dependencies back to end of function.
34894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34895 $(elfobjdir)/ld.so.
34897 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34900 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34902 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34903 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34904 of __vdso_gettimeofday.
34905 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34906 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34908 (_libc_vdso_platform_setup): Remove initialization of
34909 __vdso_gettimeofday and __vdso_time.
34911 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34913 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34914 and fgetc_unlocked.
34915 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34918 * elf/dl-open.c (add_to_global): Report additions to the global scope
34919 for LD_DEBUG=scopes.
34920 (dl_open_worker): Also print scope of newly loaded dependencies.
34921 (_dl_show_scope): Indicate if there is no scope.
34924 * stdio-common/Makefile (tests): Add bug24.
34925 * stdio-common/bug24.c: New file.
34927 2011-08-19 Andreas Jaeger <aj@suse.de>
34930 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34931 non-existant file when using close-on-exec mode.
34933 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34936 the very first instruction.
34938 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34939 the CFI state in the end.
34940 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34941 inclusion of dl-trampoline.h.
34942 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34944 2011-08-19 Andreas Schwab <schwab@redhat.com>
34946 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34947 expectations for long double.
34949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34950 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34952 2011-08-14 David S. Miller <davem@davemloft.net>
34954 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34955 artificual limit depends upon the system page size.
34957 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34959 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34960 * resolv/Makefile: Define CFLAGS-libresolv.
34962 2011-08-17 Andreas Schwab <schwab@redhat.com>
34964 * nss/makedb.c (compute_tables): Make variables used in nested
34967 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34969 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34970 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34971 if buffer was too small.
34973 * elf/pldd.c (main): Attach to all threads in the process.
34974 Rewrite /proc handling to use *at functions.
34976 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34978 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34979 specifies first scope to show.
34980 (dl_open_worker): Update callers. Move printing scope of new
34981 object to before the relocation.
34982 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34983 * sysdeps/generic/ldsodefs.h: Update declaration.
34985 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34986 string for the scope number.
34988 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34990 * nscd/servicescache.c (cache_addserv): Make sure written is always
34993 2011-08-14 Roland McGrath <roland@hack.frob.com>
34995 * sysdeps/i386/i486/bits/atomic.h
34996 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34997 statement expression, so as to suppress "set but not used" warning.
34998 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35000 * string/strncat.c (STRNCAT): Use prototype definition.
35002 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35003 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35005 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35006 (localedef-modules): Add localedef.
35007 (locale-modules): Add locale.
35009 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35010 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35011 to avoid a warning.
35013 2011-08-14 David S. Miller <davem@davemloft.net>
35015 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35016 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35018 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35020 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35021 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35022 * elf/rtld.c (dl_main): Set l_name of vDSO.
35023 Call _dl_show_scope when DL_DEBUG_SCOPES.
35024 (process_dl_debug): Recognize scopes flag and also set it for all.
35025 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35026 Declare _dl_show_scope.
35028 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35029 (do_dlopen): Pass caller_dlopen to dl_open.
35030 (__libc_dlopen_mode): Initialize caller_dlopen.
35032 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35033 of libc. Make tolower call locale-independent. Optimize a bit by
35034 using isdigit instead of isalnum.
35035 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35037 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35039 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35040 was a dependency or dynamically loaded.
35042 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35044 * intl/l10nflist.c: Allow architecture-specific pop function.
35045 * sysdeps/x86_64/l10nflist.c: New file.
35047 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35050 2011-08-10 Andreas Schwab <schwab@redhat.com>
35052 * include/dirent.h: Add libc_hidden_proto for scandirat and
35053 scandirat64. Don't declare __scandirat64.
35054 * dirent/scandirat.c: Add libc_hidden_def.
35055 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35056 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35058 2011-08-10 David S. Miller <davem@davemloft.net>
35060 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35066 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35068 * Versions.def [libc]: Add GLIBC_2.15.
35069 * dirent/Makefile (routines): Add scandirat and scandirat64.
35070 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35072 * dirent/dirent.h: Declare scandirat and scandirat64.
35073 * dirent/scandirat.c: New file.
35074 * dirent/scandirat64.c: New file.
35075 * sysdeps/wordsize-64/scandirat.c: New file.
35076 * sysdeps/wordsize-64/scandirat64.c: New file.
35077 * dirent/opendir.c: Define opendirat.
35078 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35080 * dirent/scandir64.c: Adjust for scandir.c change.
35081 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35082 __scandirat64, and __scandir_cancel_handler.
35083 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35084 additional parameter and use openat instead of open (outside of ld.so).
35085 Add new __opendir as wrapper around __opendirat.
35086 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35087 here without requiring old scandirat implementation.
35089 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35091 * dirent/scandir.c (cancel_handler): Renamed to
35092 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35093 defined. Adjust users.
35094 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35095 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35097 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35099 * string/test-string.h (IMPL): Use __STRING to expand name and then
35102 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35105 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35107 * string/Makefile: Update.
35108 (strop-tests): Append strncat.
35109 * string/test-wcscmp.c: New file.
35110 New comprehensive test for wcscmp.
35111 * string/test-strcmp.c: Update.
35112 (WIDE): New define.
35114 2011-07-22 Andreas Schwab <schwab@redhat.com>
35116 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35119 2011-07-26 Andreas Schwab <schwab@redhat.com>
35121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35122 encoding to ACE if AI_IDN.
35124 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35127 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35129 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35131 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35132 Fix overflow bug in strncat.
35133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35135 * string/test-strncat.c: Update.
35136 Add new tests for checking overflow bugs.
35138 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35141 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35142 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35143 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35144 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35145 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35146 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35147 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35148 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35151 (USE_AS_STRCAT): Define.
35152 Add strcat and strncat support.
35153 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35155 2011-07-25 Andreas Schwab <schwab@redhat.com>
35157 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35158 __n bigger than INT_MAX+1.
35159 (__strncmp_g): Likewise.
35161 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35163 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35164 * libio/stido.h: Likewise.
35166 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35171 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35175 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35178 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35183 (_dl_x86_64_save_sse): Likewise.
35185 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35189 (_dl_x86_64_save_sse): Likewise.
35191 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35193 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35195 2011-07-21 Andreas Schwab <schwab@redhat.com>
35197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35199 (_dl_x86_64_save_sse): Use correct AVX check.
35201 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35203 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35204 bug in strncpy/strncat.
35205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35207 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35209 * string/tester.c (test_strcat): Add tests for different alignments
35210 of source and destination.
35211 (test_strncat): Likewise.
35213 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35216 * posix/glob.c (glob): Check passed in values before using them in
35217 expressions to avoid some overflows.
35218 (glob_in_dir): Likewise.
35221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35222 check for AVX enablement so that we don't crash with old kernels and
35224 * elf/tst-audit4.c: Add same checks here.
35225 * elf/tst-audit6.c: Likewise.
35227 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35229 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35231 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35233 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35235 * po/cs.po: Update from translation team.
35236 * po/bg.po: Likewise.
35238 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35240 * misc/sys/cdefs.h: Add support for const attribute.
35241 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35242 to gnu_dev_{major,minor,makedev} functions.
35244 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35246 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35248 2011-07-20 Andreas Schwab <schwab@redhat.com>
35250 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35253 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35256 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35257 register in order to avoid conflicts with the soft frame pointer
35258 being held in r11 when necessary.
35259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35260 (INTERNAL_VSYSCALL_NCS): Likewise.
35262 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35264 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35265 * elf/dl-fini.c (_dl_fini): Adjust caller.
35266 * elf/dl-close.c (_dl_close_worker): Likewise.
35267 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35269 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35271 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35272 "aux_cache->nlibs < 0".
35274 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35275 in the reload-count case.
35277 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35280 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35281 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35282 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35283 * sysdeps/x86_64/multiarch/strcat.S: New file.
35284 * sysdeps/x86_64/multiarch/strncat.S: New file.
35285 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35286 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35287 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35288 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35289 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35290 (USE_AS_STRCAT): Define.
35291 Add strcat and strncat support.
35292 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35293 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35294 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35295 * string/strncat.c: Update.
35296 (USE_AS_STRNCAT): Define.
35297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35298 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35300 * sysdeps/x86_64/multiarch/init-arch.h
35301 (bit_Prefer_PMINUB_for_stringop): New.
35302 (index_Prefer_PMINUB_for_stringop): Likewise.
35303 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35304 bit_Prefer_PMINUB_for_stringop.
35306 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35308 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35310 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35311 of casting of buffer.
35312 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35313 buffer32 and buffer64.
35314 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35315 writes instead of casting of buffer.
35316 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35318 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35321 2011-07-19 Andreas Schwab <schwab@redhat.com>
35323 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35325 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35327 * nscd/nscd.c (termination_handler): Don't do anything for a database
35328 if it has not yet been initialized.
35330 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35332 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35334 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35336 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35338 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35340 * po/nl.po: Update from translation team.
35341 * po/sv.po: Likewise.
35343 2011-07-16 Roland McGrath <roland@hack.frob.com>
35345 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35346 now disallowed by GCC.
35348 * configure.in (use-default-link): Default to yes if a test -shared
35349 link meets our qualifications.
35350 * configure: Regenerated.
35352 * config.make.in (output-format): New variable.
35353 * configure.in: Check for ld --print-output-format support.
35354 * configure: Regenerated.
35355 * Makerules ($(common-objpfx)format.lds)
35356 [$(output-format) != unknown]: Just use $(output-format),
35357 instead of the linker-script munging.
35359 2011-07-14 Roland McGrath <roland@hack.frob.com>
35361 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35362 of $(common-objpfx)shlib.lds.
35363 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35365 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35366 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35368 * configure.in (-z relro check): Adjust test code to add a large
35369 writable data section after it.
35370 * configure: Regenerated.
35372 2011-07-11 Roland McGrath <roland@hack.frob.com>
35374 * configure.in (-z relro check): Fix test code to make the variable
35376 * configure: Regenerated.
35378 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35380 * nscd/nscd.h (struct traced_file): Define.
35381 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35382 elements. Add traced_files.
35383 (inotify_fd): Declare.
35384 (register_traced_file): Declare.
35385 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35386 (inotify_fd): Export.
35387 (resolv_conf_descr): Remove.
35388 (nscd_init): Move inotify descriptor creation to main.
35389 Don't register files for notification here.
35390 (register_traced_file): New function.
35391 (invalidate_cache): Don't use reset_res to determine whether to call
35392 res_init, go through the list of registered files.
35393 (main_loop_poll): The inotify descriptors are now stored in the
35394 structures for the traced files.
35395 (main_loop_epoll): Likewise
35396 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35397 to __nss_disable_nscd.
35398 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35399 for a database anymore. Check the records for all the registered
35401 * nss/Makefile (libnss_files-routines): Add files-init.
35402 (libnss_db-routines): Add db-init.
35403 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35404 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35405 * nss/nss_db/db-init.c: New file.
35406 * nss/nss_files/files-init.c: New file.
35407 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35408 __nss_lookup_function.
35409 (__nss_lookup_function): Call nss_load_library.
35410 (nss_load_all_libraries): New function.
35411 (__nss_disable_nscd): Take parameter with callback function for files
35412 to register. Set is_nscd. Load all the DSOs for the NSS modules
35413 used for the cached services.
35414 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35415 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35416 options for features to all the files in nscd.
35418 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35420 2011-07-10 Roland McGrath <roland@hack.frob.com>
35422 * csu/elf-init.c (__libc_csu_init): Comment typo.
35424 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35426 * po/pl.po: Update from translation team.
35427 * po/ja.po: Likewise.
35428 * po/ru.po: Likewise.
35429 * po/ko.po: Likewise.
35430 * po/fr.po: Likewise.
35432 2011-07-09 Roland McGrath <roland@hack.frob.com>
35434 * configure.in (.ctors/.dtors header and trailer check):
35435 Use an empirical test on a built program.
35436 * configure: Regenerated.
35438 * configure.in (-z relro check): Use an empirical test on a built DSO.
35439 Detect, but do not require, on ia64.
35440 * configure: Regenerated.
35442 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35443 Update tests that use readelf to use $READELF instead.
35444 * configure: Regenerated.
35446 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35448 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35449 if the result is not used.
35451 2011-07-05 Andreas Jaeger <aj@suse.de>
35454 * stdlib/tst-strtod.c: Add testcase.
35456 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35458 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35459 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35460 The latter has a higher limit. Take additional parameter to pass to
35462 (__pathconf): Pass file to __statfs_link_max.
35463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35465 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35469 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35473 (__statfs_filesize_max): Likewise.
35474 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35476 2011-07-05 Andreas Jaeger <aj@suse.de>
35478 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35480 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35482 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35484 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35487 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35489 * Makefile (strop-tests): Add strncat.
35490 * string/test-strncat.c: New file.
35492 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35494 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35496 2011-06-21 Andreas Jaeger <aj@suse.de>
35498 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35499 Copy rule from iconvdata/Makefile.
35501 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35504 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35505 but no long options are defined, just return 'W'.
35507 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35510 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35512 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35514 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35516 (innetgr): Likewise.
35518 2011-07-05 Roland McGrath <roland@hack.frob.com>
35520 * config.make.in (install_root): Default to $(DESTDIR).
35522 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35526 2011-07-02 Roland McGrath <roland@hack.frob.com>
35528 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35530 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35531 containing directory rather than embedding absolute directory names.
35533 * scripts/check-local-headers.sh: Rewritten using awk.
35534 Match by word, not by line. Print error messages for matches.
35535 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35537 * Makerules [shlib-lds-flags empty]:
35538 ($(common-objpfx)libc_pic.opts): New target.
35539 ($(common-objpfx)libc_pic.os.clean): New target.
35540 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35542 * config.make.in (OBJCOPY): New variable.
35543 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35544 * configure: Regenerated.
35546 * config.make.in (use-default-link): New variable.
35547 * configure.in (use_default_link): Grok --with-default-link to set it.
35548 * configure: Regenerated.
35549 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35550 (shlib-lds, shlib-lds-flags): Define to empty.
35552 * Makerules (shlib-lds): New variable.
35553 (shlib-lds-flags): New variable.
35554 (build-shlib, build-moduile, build-module-asneeded): Use it.
35555 ($(common-objpfx)libc.so): Use $(shlib-lds).
35556 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35557 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35559 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35560 DT_FLAGS/DT_FLAGS_1 with zero flags.
35562 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35563 linker script munging.
35565 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35567 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35569 * crypt/sha512.c (sha512_process_block): Perform total addition using
35570 128-bit if possible.
35571 (__sha512_finish_ctx): Likewise.
35572 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35574 * crypt/sha256.c (SWAP64): Define.
35575 (sha256_process_block): Perform total addition using 64-bit if
35577 (__sha256_finish_ctx): Likewise.
35579 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35581 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35582 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35583 * nscd/hstcache.c (cache_addhst): Likewise.
35584 * nscd/grpcache.c (cache_addgr): Likewise.
35585 * nscd/aicache.c (addhstaiX): Likewise
35586 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35588 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35590 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35592 * nscd/hstcache.c (cache_addhst): Likewise.
35593 * nscd/grpcache.c (cache_addgr): Likewise.
35594 * nscd/aicache.c (addhstaiX): Likewise
35596 2011-07-01 Andreas Schwab <schwab@redhat.com>
35598 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35599 domain only when needed.
35601 2011-06-30 Andreas Schwab <schwab@redhat.com>
35603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35604 is always restored.
35606 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35608 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35609 are re-adding the entry.
35610 * nscd/servicescache.c (cache_addserv): Likewise.
35612 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35614 * sysdeps/generic/dl-irel.h: fix protection against multiple
35616 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35618 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35621 * malloc/memusage.sh: Fix quoting in message.
35622 * debug/xtrace.sh: Likewise.
35624 * configure.in: Remove support for --experimental-malloc option, make
35626 * config.make.in: Likewise.
35627 * malloc/Makefile: Likewise.
35629 2011-06-27 Andreas Schwab <schwab@redhat.com>
35631 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35632 two-byte characters.
35634 2011-06-27 Roland McGrath <roland@hack.frob.com>
35636 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35637 AC_CACHE_CHECK invocation.
35638 * configure: Regenerated.
35640 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35642 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35645 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35646 bit from old_res_options.
35648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35650 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35651 value type for setfct.
35653 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35656 __gettimeofday instead of gettimeofday.
35658 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35660 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35662 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35669 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35672 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35673 strcpy-sse2-unaligned strncpy-sse2-unaligned
35674 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35675 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35676 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35677 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35678 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35681 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35682 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35683 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35684 (STRCPY): Support SSE2 and SSSE3 versions.
35686 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35689 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35690 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35691 kernels which artificially limit size of requests.
35693 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35696 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35697 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35698 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35699 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35700 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35701 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35702 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35705 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35706 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35707 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35708 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35709 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35711 Enable unaligned load optimization for Intel Core i3, i5 and i7
35713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35715 (index_Fast_Unaligned_Load): Define.
35716 (HAS_FAST_UNALIGNED_LOAD): Define.
35718 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35720 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35722 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35726 until it is clear that the information is realy needed.
35727 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35729 2011-06-22 Andreas Schwab <schwab@redhat.com>
35731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35733 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35736 /sys/devices/system/cpu/online if it is usable.
35738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35739 reading the information from the /proc filesystem to once a second.
35741 2011-06-21 Andreas Jaeger <aj@suse.de>
35743 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35744 NULL after inclusion of kernel headers.
35746 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35748 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35749 calls to internal_setent.
35752 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35753 addresses using gethostbyname4_r ignore IPv4 addresses.
35755 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35756 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35758 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35760 2011-06-20 David S. Miller <davem@davemloft.net>
35762 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35764 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35766 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35767 (elf_irel): Use it.
35768 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35769 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35770 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35771 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35772 * sysdeps/x86_64/dl-irel.h: Likewise.
35774 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35775 * elf/dl-sym.c: Likewise.
35777 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35779 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35780 need to dereference resplen2.
35782 2011-06-14 Andreas Schwab <schwab@redhat.com>
35784 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35786 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35788 * Makeconfig: Define vardbdir and inst_vardbdir.
35789 * nss/Makefile: Add rules to install db-Makefile.
35791 * nss/nss_db/db-XXX.c: Cleanup.
35793 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35794 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35796 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35797 * nss/makedb.c: Implement -g option to specify that value strings
35798 are generated and should not be added to table iterated over for
35800 * nss/nss_db/db-initgroups.c: New file.
35802 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35805 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35806 (internal_getgrouplist): Adjust to name change.
35807 Update use_initgroups_entry if this is not the first call.
35808 * nss/databases.def: Add initgroups entry.
35810 * nss/makedb.c (compute_tables): Check result of multiple hash table
35811 sizes to minimize maximum chain length.
35813 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35815 * Versions.def: Add entry for libnss_db.
35816 * shlib-versions: Likewise.
35817 * nss/Makefile: Add rules to build libnss_db.
35818 * nss/Versions: Add libnss_db information. Organize libnss_files
35820 * nss/db-Makefile: Add gshadow support. Change rules for the new
35821 makedb progra. Some minor improvements to generate smaller files.
35822 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35824 * nss/makedb.c: ...here.
35825 Improve database format to be smaller and require less memory at
35827 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35829 * nss/nss_db/db-netgrp.c: Likewise.
35830 * nss/nss_db/db-open.c: Likewise.
35831 * nss/nss_files/flies-XXX.x: Adjust comments.
35832 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35833 * nss/nss_files/files-grp.c: Likewise.
35834 * nss/nss_files/files-hosts.c: Likewise.
35835 * nss/nss_files/files-network.c: Likewise.
35836 * nss/nss_files/files-proto.c: Likewise.
35837 * nss/nss_files/files-pwd.c: Likewise.
35838 * nss/nss_files/files-rpc.c: Likewise.
35839 * nss/nss_files/files-service.c: Likewise.
35840 * nss/nss_files/files-sgrp.c: Likewise.
35841 * nss/nss_files/files-spwd.c: Likewise.
35842 * nss/nss_db/db-alias.c: Removed.
35843 * nss/nss_db/dummy-db.h: Removed.
35845 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35847 * nss/makedb.c: Rewritten to not use database library.
35848 * nss/Makefile: Update to build new makedb program.
35850 2011-06-14 Andreas Jaeger <aj@suse.de>
35852 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35853 memset declaration.
35855 2011-06-10 Andreas Schwab <schwab@redhat.com>
35857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35860 2011-06-10 Roland McGrath <roland@hack.frob.com>
35862 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35863 * elf/Makefile ($(objpfx)ld.so): Likewise.
35865 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35866 Don't list ld.so twice in dependencies.
35868 * posix/bug-regex31.c: Include <stdlib.h>.
35870 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35872 * nis/nss_compat/compat-spwd.c
35873 (getspent_next_nss_netgr): Remove unused variable.
35874 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35876 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35877 nonmembers" output to use the right array.
35879 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35881 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35883 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35884 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35885 * catgets/gencat.c (read_input_file): Likewise.
35886 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35888 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35889 variable definition inside #if's controlling its use.
35891 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35893 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35895 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35897 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35900 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35902 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35903 * configure: Regenerated.
35905 * Makerules: Revert last change.
35906 * elf/Makefile: Likewise.
35908 2011-06-09 Roland McGrath <roland@hack.frob.com>
35910 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35911 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35912 (reloc-link): Likewise.
35914 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35916 * elf/Makefile: Add rules to build pldd.
35917 * elf/pldd.c: New file.
35918 * elf/pldd-xx.c: New file.
35920 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35922 * version.h: Update for 2.15 development version.
35924 2011-06-07 David S. Miller <davem@davemloft.net>
35926 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35929 elf_machine_lazy_rel): Likewise.
35930 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35932 elf_machine_lazy_rel): Likewise.
35933 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35934 dl_hwcap via passed in argument.
35935 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35938 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35940 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35942 2011-06-06 Roland McGrath <roland@hack.frob.com>
35945 * manual/fdl-1.1.texi: New file, verbatim from:
35946 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35947 * manual/lgpl-2.1.texi: New file, verbatim from:
35948 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35949 * manual/Makefile (licenses): New variable, list those new file names.
35951 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35953 * manual/fdl.texi: File removed.
35954 * manual/lesser.texi: File removed.
35955 * manual/libc.texinfo (Copying, Documentation License):
35956 Use new @include file names, put @appendix directive before @include.
35958 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35961 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35962 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35963 (mq_open): Add __NTH.
35965 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35968 Assume Intel Core i3/i5/i7 processor if AVX is available.
35970 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35975 2011-05-31 Andreas Schwab <schwab@redhat.com>
35977 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35978 memory. Use alloca_account. Fix memory leak when retrying.
35980 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35982 * version.h (RELEASE): Bump for 2.14 release.
35983 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35985 * config.make.in (RANLIB): Remove entry.
35987 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35989 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35990 (libc.pot): Work around missing support for .ksh extension in xgettext.
35993 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35994 if both request failed.
35995 (send_dg): In case of server errors clear resplen or *resplen2.
35998 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35999 when there are multiple maps.
36000 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36001 (_dl_fini): Remove test here.
36003 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36005 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36008 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36009 bit from old_res_options.
36010 (gaih_inet): Likewise.
36013 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36016 * resolv/res_init.c (res_setoptions): Make the code more compact.
36019 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36023 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36025 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36028 * malloc/malloc.h: Declare malloc hook variables as volatile.
36030 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36034 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36035 raise in the comment.
36036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36038 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36040 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36043 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36044 grow the buffers more if it already has to be sufficient.
36045 (build_wcs_upper_buffer): Likewise.
36046 * posix/regexec.c (check_matching): Likewise.
36047 (clean_state_log_if_needed): Likewise.
36048 (extend_buffers): Don't enlarge buffers beyond size of the input
36050 Patches mostly by Emil Wojak <emil@wojak.eu>.
36051 * posix/bug-regex32.c: New file.
36052 * posix/Makefile (tests): Add bug-regex32.
36054 * locale/findlocale.c (_nl_find_locale): Return right away if
36055 _nl_explode_name failed.
36056 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36058 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36060 * debug/xtrace.sh: Unify messages.
36061 * malloc/memusage.sh: Likewise.
36064 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36065 time symbol from vDSO. Substitute with vsyscall if not available.
36066 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36069 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36070 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36071 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36072 Add sendmmsg and internal_sendmmsg.
36073 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36074 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36075 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36077 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36078 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36079 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36081 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36084 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36085 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36087 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36091 * iconvdata/Makefile (tests): Add bug-iconv9.
36092 * iconvdata/bug-iconv9.c: New file.
36094 2011-05-27 Andreas Schwab <schwab@redhat.com>
36097 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36099 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36102 (struct user_regs_struct): Change intcs field back to cs.
36104 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36106 * po/ja.po: Update from translation team.
36108 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36111 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36112 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36114 2011-05-20 Andreas Schwab <schwab@redhat.com>
36116 * stdlib/longlong.h: Update from GCC.
36118 2011-05-23 Andreas Schwab <schwab@redhat.com>
36120 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36122 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36123 Add parameter name.
36124 (__sysconf): Pass it down.
36126 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36129 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36132 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36133 add in in __libc_use_alloca calls. Adjust callers.
36134 (glob): Use malloc in some situations.
36136 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36137 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36140 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36142 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36143 and CLOCK_BOOTTIME_ALARM.
36146 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36149 * string/_strerror.c (__strerror_r): Print negative errors as signed
36153 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36154 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36155 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36157 * configure.in: Fix typo in redirection and correct removal of test
36158 files in two cases.
36161 * locale/setlocale.c (new_composite_name): Fix test to check for
36162 identical name of all categories.
36165 * libio/filedoalloc.c (local_isatty): New function.
36166 (_IO_file_doallocate): Use local_isatty.
36167 * stdio-common/perror.c (perror): In case a new stream is used
36168 forward the stream error.
36169 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36172 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36177 * include/alloca.h (extend_alloca_account): Define.
36180 * posix/regex.h: Fix comments with documentation of user-accessible
36181 fields after compilation and describe correct free'ing of pattern
36182 after re_compile_pattern.
36183 Patch by Reuben Thomas <rrt@sc3d.org>.
36185 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36187 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36188 and -mno-altivec to prevent the compiler from using Altivec and/or
36189 VSX instructions when the corresponding registers are not available.
36191 2011-05-19 Andreas Schwab <schwab@redhat.com>
36193 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36195 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36197 * libio/freopen.c (freopen): Use __dup2, not dup2.
36198 * libio/freopen64.c (freopen64): Likewise.
36200 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36204 * math/Makefile (tests): Add test-powl.
36205 (CFLAGS-test-powl.c): Define.
36206 * math/test-powl.c: New file.
36208 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36210 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36212 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36215 * iconvdata/gb18030.c: Update to GB18020-2005.
36217 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36219 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36220 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36221 Patch by Aharon Robbins <arnold@skeeve.com>.
36224 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36228 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36229 through underflows.
36232 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36233 point to strings before performing equality test for error_one_per_line
36237 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36241 (struct user_fpregs_struct): Avoid __uint*_t types.
36244 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36245 symbol info. Use it instead of calling _dl_addr locally.
36246 (lock_and_info): New function.
36247 (tr_freehook): Call lock_and_info and pass symbol info as additional
36248 parameter to tr_where.
36249 (tr_mallochook): Likewise.
36250 (tr_reallochook): Likewise.
36251 (tr_memalignhook): Likewise.
36253 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36254 used and couldn't be at all thread-safe.
36256 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36258 * libio/freopen.c (freopen): Don't close old file descriptor
36259 before the new one is opened. Instead dup the new file descriptor
36260 to the old one after the new stream is created.
36261 * libio/freopen64.c (freopen64): Likewise.
36262 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36263 * libio/fileops.c (_IO_new_file_close_it): Handle new
36264 _IO_FLAGS2_NOCLOSE flag.
36265 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36266 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36267 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36268 _IO_FLAGS2_NOCLOSE flag.
36269 * include/unistd.h: Add hidden_proto for dup3.
36270 Define __have_dup3.
36271 * io/dup3.c: Define hidden symbol.
36272 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36275 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36276 when an incomplete long option is used.
36277 * posix/tst-getopt_long1.c: New file.
36278 * posix/Makefile (tests): Add tst-getopt_long1.
36281 * scripts/config.guess: Update from autoconf-2.68.
36282 * scripts/config.sub: Likewise.
36285 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36287 (has_cpuclock): ...this. New function.
36288 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36289 macro here based on has_cpuclock code.
36292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36293 First byte (not low byte) is now always NUL.
36294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36297 Use non-cancelable interfaces.
36300 * locale/iso-639.def: Add entry for Sorani.
36303 * include/stdlib.h: Move include protection to the right place.
36304 Define abort_msg_s. Declare __abort_msg with it.
36305 * stdlib/abort.c (__abort_msg): Adjust type.
36306 * assert/assert.c (__assert_fail_base): New function. Majority
36307 of code from __assert_fail. Allocate memory for __abort_msg with
36309 (__assert_fail): Now call __assert_fail_base.
36310 * assert/assert-perr.c: Remove bulk of implementation. Use
36311 __assert_fail_base.
36312 * include/assert.hL Declare __assert_fail_base.
36313 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36315 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36317 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36321 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36322 until all modules are registered in the DTV.
36323 * elf/Makefile: Add rules to build and run tst-tls19.
36324 * elf/tst-tls19.c: New file.
36325 * elf/tst-tls19mod1.c: New file.
36326 * elf/tst-tls19mod2.c: New file.
36327 * elf/tst-tls19mod3.c: New file.
36328 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36331 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36335 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36336 two-byte sequence errors.
36337 * iconvdata/Makefile (tests): Add bug-iconv8.
36338 * iconvdata/bug-iconv8.c: New file.
36341 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36344 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36347 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36348 (dummy_getcfa): New function.
36349 (init): Get _Unwind_GetCFA address, use dummy if not found.
36350 (backtrace_helper): In recursion check, also check whether CFA changes.
36351 (__backtrace): Completely initialize arg.
36353 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36354 storing incomplete byte sequence in state object. Avoid testing for
36355 guaranteed too small input if we know there is enough data available.
36357 2011-05-11 Andreas Schwab <schwab@redhat.com>
36359 * Makeconfig (+link-pie): Indent.
36360 * Rules (binaries-pie): Define if $(have-fpie) and
36362 (binaries-shared): Also filter out $(binaries-pie).
36363 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36364 * nscd/Makefile (others-pie): Add nscd.
36365 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36366 ($(objpfx)nscd): Remove command override.
36367 * login/Makefile (others-pie): Add pt_chown.
36368 ($(objpfx)pt_chown): Remove command override.
36369 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36370 remove command overrides.
36372 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36374 * libio/tst_putwc.c: Fix error messages.
36377 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36378 currently writing and seek to current position when not.
36379 * libio/Makefile (tests): Add bug-fclose1.
36380 * libio/bug-fclose1.c: New file.
36382 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36385 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36386 don't set DF_1_NODELETE here.
36387 (do_lookup_x): When entering new entry test for copy relocation
36388 and if necessary set DF_1_NODELETE flag.
36389 * elf/tst-unique4.cc: New file.
36390 * elf/tst-unique4.h: New file.
36391 * elf/tst-unique4lib.cc: New file.
36392 * elf/Makefile: Add rules to build and run tst-unique4.
36393 Patch by Piotr Bury <pbury@goahead.com>.
36395 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36398 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36401 * misc/mntent_r.c (addmntent): Flush the stream after the output
36404 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36405 (is_trusted_path_normalize): Skip initial colon. Append slash
36406 to empty buffer. Duplicate is_trusted_path code but allow
36407 constructed patch to be prefix.
36408 (is_dst): Allow $ORIGIN followed by /.
36409 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36410 Correct testing of result of is_trusted_path_normalize
36411 (decompose_rpath): Fix warning.
36413 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36416 * grp/initgroups.c (internal_getgrouplist): When we found the service
36417 list through the initgroups entry in nsswitch.conf do not always
36418 continue on a successful lookup. Don't always use the
36419 __nss_group_database value if it is set.
36420 * nss/nsswitch.conf (initgroups): Change action for successful db
36421 lookup to continue for compatibility.
36423 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36426 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36428 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36430 * iconvdata/tst-tables.sh: Likewise.
36431 * iconvdata/cp770.c: New file.
36432 * iconvdata/cp771.c: New file.
36433 * iconvdata/cp772.c: New file.
36434 * iconvdata/cp773.c: New file.
36435 * iconvdata/cp774.c: New file.
36436 * iconvdata/testdata/CP770: New file.
36437 * iconvdata/testdata/CP770..UTF8: New file.
36438 * iconvdata/testdata/CP771: New file.
36439 * iconvdata/testdata/CP771..UTF8: New file.
36440 * iconvdata/testdata/CP772: New file.
36441 * iconvdata/testdata/CP772..UTF8: New file.
36442 * iconvdata/testdata/CP773: New file.
36443 * iconvdata/testdata/CP773..UTF8: New file.
36444 * iconvdata/testdata/CP774: New file.
36445 * iconvdata/testdata/CP774..UTF8: New file.
36447 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36449 * iconvdata/gen-8bit-gap.sh: Likewise.
36450 * iconvdata/gen-8bit.sh: Likewise.
36452 * locale/iso-639.def: Add ary entry.
36455 * locale/C-translit.h.in: Add U20A1 transliteration.
36458 * locale/iso-639.def: Add wae entry.
36459 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36462 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36466 * locale/C-translit.h.in: Add entry for U20B9.
36467 Patch by pravin.d.s@gmail.com.
36469 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36472 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36473 ENAMETOOLONG use generic getcwd.
36474 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36475 in rtld. Use *stat64.
36476 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36477 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36478 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36479 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36480 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36481 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36482 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36483 __fstatat64 macros.
36484 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36485 * dirent/rewinddir.c: Add libc_hidden_def.
36486 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36487 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36489 * include/dirent.h (__alloc_dir): Add flags parameter.
36490 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36491 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36493 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36494 from fdopendir if O_CLOEXEC is already set.
36496 2011-03-15 Alan Modra <amodra@gmail.com>
36498 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36499 l_tls_firstbyte_offset non-zero. Save padding offset in
36500 l_tls_firstbyte_offset for later use.
36501 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36502 freeing static tls block.
36504 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36506 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36507 where #ifdef was intended. The intent is to prevent ARG_MAX from
36508 being defined by the kernel headers.
36510 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36513 * resolv/resolv.h: Define RES_NOTLDQUERY.
36514 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36515 no-tld-query and set RES_NOTLDQUERY.
36516 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36517 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36518 modern BIND to search name as TLD unless forbidden.
36520 2011-05-07 Petr Baudis <pasky@suse.cz>
36521 Ulrich Drepper <drepper@gmail.com>
36524 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36525 (is_trusted_path): ...to here.
36526 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36527 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36528 using is_trusted_path_normalize() in setuid scripts.
36530 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36532 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36533 __BEGIN/__END_DECLS.
36535 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36538 NSS_STATUS_NOTFOUND if no record was found.
36540 2011-05-05 Andreas Schwab <schwab@redhat.com>
36542 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36543 (headers-not-in-tirpc): Remove rpc/netdb.h
36544 * resolv/netdb.h: Revert last change.
36546 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36548 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36549 circular dependency between libgcc.a and libc.a.
36551 2011-05-05 Andreas Schwab <schwab@redhat.com>
36553 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36554 * nis/Makefile: Don't install rpcsvc/*.
36555 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36556 instead of <rpc/types.h>.
36557 (MAXHOSTNAMELEN): Define.
36559 2011-05-03 Andreas Schwab <schwab@redhat.com>
36561 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36563 2011-04-28 Maciej Babinski <mbabinski@google.com>
36566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36567 gethostbyname4_r when IPv6 results are possible.
36569 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36572 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36573 _PC_PIPE_BUF handling.
36575 2011-04-30 Bruno Haible <bruno@clisp.org>
36578 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36579 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36581 * inet/getnameinfo.c (getnameinfo): Likewise.
36583 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36585 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36586 to groups setting in database lookup.
36587 * nss/nsswitch.conf: Add initgroups entry.
36589 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36592 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36594 Patch by Eric Blake <eblake@redhat.com>.
36596 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36598 * sunrpc/Makefile (need-export-routines): Add svc_run.
36599 (routines): Remove svc_run.
36600 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36601 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36602 * sunrpc/svc_run.c (svc_run): Likewise.
36603 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36605 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36608 problem in reallocation in last patch.
36610 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36612 * sunrpc/Makefile: Move inclusion of Rules.
36614 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36616 * nss/nss_files/files-initgroups.c: New file.
36617 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36618 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36619 _nss_files_initgroups_dyn.
36621 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36623 * elf/elf.h (R_ARM_IRELATIVE): Define.
36625 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36627 * po/ru.po: Update from translation team.
36629 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36631 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36634 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36637 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36638 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36643 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36645 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36647 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36648 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36651 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36654 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36656 * stdlib/bug-getcontext.c: New file.
36657 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36659 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36661 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36662 instructions into .machine "z9-109".
36663 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36664 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36666 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36668 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36669 between environment variables and auxiliary vector.
36671 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36673 * Makefile: Add rules to build linkobj/libc.so.
36674 * include/libc-symbols.h: Define libc_hidden_nolink.
36675 * include/rpc/auth.h: Mark functions which are to be hidden.
36676 * include/rpc/auth_des.h: Likewise.
36677 * include/rpc/auth_unix.h: Likewise.
36678 * include/rpc/clnt.h: Likewise.
36679 * include/rpc/des_crypt.h: Likewise.
36680 * include/rpc/key_prot.h: Likewise.
36681 * include/rpc/pmap_clnt.h: Likewise.
36682 * include/rpc/pmap_prot.h: Likewise.
36683 * include/rpc/pmap_rmt.h: Likewise.
36684 * include/rpc/rpc_msg.h: Likewise.
36685 * include/rpc/svc.h: Likewise.
36686 * include/rpc/svc_auth.h: Likewise.
36687 * include/rpc/xdr.h: Likewise.
36688 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36689 * nss/Makefile: Likewise.
36690 * sunrpc/Makefile: Don't install headers. Build library with normal
36691 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36692 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36693 for the compat linking library. Remove use of INTDEF/INTUSE.
36694 * sunrpc/auth_none.c: Likewise.
36695 * sunrpc/auth_unix.c: Likewise.
36696 * sunrpc/authdes_prot.c: Likewise.
36697 * sunrpc/authuxprot.c: Likewise.
36698 * sunrpc/clnt_gen.c: Likewise.
36699 * sunrpc/clnt_perr.c: Likewise.
36700 * sunrpc/clnt_raw.c: Likewise.
36701 * sunrpc/clnt_simp.c: Likewise.
36702 * sunrpc/clnt_tcp.c: Likewise.
36703 * sunrpc/clnt_udp.c: Likewise.
36704 * sunrpc/clnt_unix.c: Likewise.
36705 * sunrpc/des_crypt.c: Likewise.
36706 * sunrpc/des_soft.c: Likewise.
36707 * sunrpc/get_myaddr.c: Likewise.
36708 * sunrpc/key_call.c: Likewise.
36709 * sunrpc/key_prot.c: Likewise.
36710 * sunrpc/netname.c: Likewise.
36711 * sunrpc/pm_getmaps.c: Likewise.
36712 * sunrpc/pm_getport.c: Likewise.
36713 * sunrpc/pmap_clnt.c: Likewise.
36714 * sunrpc/pmap_prot.c: Likewise.
36715 * sunrpc/pmap_prot2.c: Likewise.
36716 * sunrpc/pmap_rmt.c: Likewise.
36717 * sunrpc/publickey.c: Likewise.
36718 * sunrpc/rpc_cmsg.c: Likewise.
36719 * sunrpc/rpc_common.c: Likewise.
36720 * sunrpc/rpc_dtable.c: Likewise.
36721 * sunrpc/rpc_prot.c: Likewise.
36722 * sunrpc/rpc_thread.c: Likewise.
36723 * sunrpc/rtime.c: Likewise.
36724 * sunrpc/svc.c: Likewise.
36725 * sunrpc/svc_auth.c: Likewise.
36726 * sunrpc/svc_authux.c: Likewise.
36727 * sunrpc/svc_raw.c: Likewise.
36728 * sunrpc/svc_run.c: Likewise.
36729 * sunrpc/svc_simple.c: Likewise.
36730 * sunrpc/svc_tcp.c: Likewise.
36731 * sunrpc/svc_udp.c: Likewise.
36732 * sunrpc/svc_unix.c: Likewise.
36733 * sunrpc/svcauth_des.c: Likewise.
36734 * sunrpc/xcrypt.c: Likewise.
36735 * sunrpc/xdr.c: Likewise.
36736 * sunrpc/xdr_array.c: Likewise.
36737 * sunrpc/xdr_float.c: Likewise.
36738 * sunrpc/xdr_intXX_t.c: Likewise.
36739 * sunrpc/xdr_mem.c: Likewise.
36740 * sunrpc/xdr_rec.c: Likewise.
36741 * sunrpc/xdr_ref.c: Likewise.
36742 * sunrpc/xdr_sizeof.c: Likewise.
36743 * sunrpc/xdr_stdio.c: Likewise.
36745 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36748 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36749 * sysdeps/ia64/dl-tls.h: Likewise.
36750 * sysdeps/powerpc/dl-tls.h: Likewise.
36751 * sysdeps/s390/dl-tls.h: Likewise.
36752 * sysdeps/sh/dl-tls.h: Likewise.
36753 * sysdeps/sparc/dl-tls.h: Likewise.
36754 * sysdeps/x86_64/dl-tls.h: Likewise.
36755 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36757 2011-03-14 Andreas Schwab <schwab@redhat.com>
36759 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36760 rpath element also skip the following colon.
36761 (expand_dynamic_string_token): Add is_path parameter and pass
36762 down to DL_DST_REQUIRED and _dl_dst_substitute.
36763 (decompose_rpath): Call expand_dynamic_string_token with
36764 non-zero is_path. Ignore empty rpaths.
36765 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36768 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36773 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36776 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36777 Patch by Filipe David Manana <fdmanana@apache.org>.
36779 2011-04-07 Andreas Schwab <schwab@redhat.com>
36781 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36782 Maintain aligned stack.
36783 (CHECK_RSP): Remove unused macro.
36785 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36787 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36788 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36790 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36792 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36794 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36796 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36799 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36800 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36801 * sysdeps/x86_64/memmove.c: New file.
36802 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36803 (memcpy): Renamed to ...
36804 (__new_memcpy): This.
36805 (memcpy): Provide GLIBC_2_14 memcpy.
36806 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36807 (memcpy): Provide GLIBC_2_2_5 memcpy.
36809 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36812 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36814 2011-03-30 Andreas Schwab <schwab@redhat.com>
36816 * misc/syncfs.c: New file.
36817 * misc/Makefile (routines): Add syncfs.
36818 * posix/unistd.h: Declare syncfs.
36819 * sysdeps/unix/syscalls.list: Add syncfs.
36821 2011-04-01 Andreas Schwab <schwab@redhat.com>
36823 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36825 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36830 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36831 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36833 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36835 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36837 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36839 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36841 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36843 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36844 sync_file_range.c with -fexceptions.
36845 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36846 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36847 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36848 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36849 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36850 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36852 sync_file_range as cancellation point
36853 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36854 now a wrapper around __call_sync_file_range with cancellation handling.
36855 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36856 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36857 function name to __call_sync_file_range.
36858 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36859 Add call_sync_file_range.
36861 2011-04-01 Andreas Schwab <schwab@redhat.com>
36863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36866 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36868 * iconv/iconv.h: Fix typo in comment.
36869 * io/fcntl.h: Likewise.
36870 * libio/stdio.h: Likewise.
36871 * posix/spawn.h: Likewise.
36872 * posix/unistd.h: Likewise.
36873 * stdlib/stdlib.h: Likewise.
36874 * time/time.h: Likewise.
36875 * wcsmbs/wchar.h: Likewise.
36877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36878 open_by_handle): Add.
36879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36880 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36881 Augment a few comments.
36882 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36884 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36887 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36890 * io/fcntl.h (AT_EMPTY_PATH): Define.
36892 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36894 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36895 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36896 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36898 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36899 * Versions.def: Add GLIBC_2.14.
36900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36903 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36905 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36907 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36909 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36912 * string/test-strncmp.c (do_page_test): New function.
36913 (check2): Likewise.
36914 (test_main): Call check2.
36915 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36917 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36920 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36921 Handle cache information in CPU leaf 4.
36922 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36924 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36927 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36928 character representation.
36929 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36931 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36933 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36934 END(__isnan) to END(__isnanf) to match function entry point/label
36935 EALIGN(__isnanf,...).
36937 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36939 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36941 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36944 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36945 copy from the symbol referenced in the relocation to initialize the
36947 Patch by Piotr Bury <pbury@goahead.com>.
36948 * elf/Makefile: Add rules to build and tst-unique3.
36949 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36950 * elf/tst-unique3.cc: New file.
36951 * elf/tst-unique3.h: New file.
36952 * elf/tst-unique3lib.cc: New file.
36953 * elf/tst-unique3lib2.cc: New file.
36955 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36957 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36959 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36960 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36963 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36965 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36966 to-be-loaded object along a path to loader is ld.so.
36968 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36969 Ulrich Drepper <drepper@gmail.com>
36971 * sysdeps/x86_64/memset.S: After aligning destination, code
36972 branches to different locations depending on the value of
36973 misalignment, when multiarch is enabled. Fix this.
36975 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36977 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36978 Set _x86_64_preferred_memory_instruction for AMD processsors.
36979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36980 Set bit_Prefer_SSE_for_memop for AMD processors.
36982 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36984 * libio/fmemopen.c (fmemopen): Optimize a bit.
36986 2011-03-03 Andreas Schwab <schwab@redhat.com>
36988 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36990 2011-03-03 Roland McGrath <roland@redhat.com>
36992 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36994 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36996 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36997 __bzero_ultra1 instead of __memset_ultra1.
36999 2011-02-23 Andreas Schwab <schwab@redhat.com>
37000 Ulrich Drepper <drepper@gmail.com>
37003 * include/link.h (struct link_map): Add l_orig_initfini.
37004 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37005 returning unsuccessfully.
37006 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37007 close of a file loaded at startup, restore the original l_initfini
37009 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37010 list, store the pointer.
37011 * elf/Makefile ($(objpfx)noload-mem): New rule.
37012 (noload-ENV): Define.
37013 (tests): Add $(objpfx)noload-mem.
37014 * elf/noload.c: Include <memcheck.h>.
37015 (main): Call mtrace. Close all opened handles.
37017 2011-02-17 Andreas Schwab <schwab@redhat.com>
37020 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37021 dependencies are missing.
37023 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37025 Fix __if_freereq crash: Unlike the generic version which uses free,
37027 * sysdeps/mach/hurd/ifreq.h: New file.
37029 2011-01-27 Petr Baudis <pasky@suse.cz>
37030 Ulrich Drepper <drepper@gmail.com>
37033 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37034 to extend_alloca().
37035 * stdio-common/bug23.c: New file.
37036 * stdio-common/Makefile (tests): Add bug23.
37038 2010-09-28 Andreas Schwab <schwab@redhat.com>
37039 Ulrich Drepper <drepper@gmail.com>
37042 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37043 before performing relro protection. At old place add assertion
37044 to make sure nothing changed.
37046 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37047 Glauber de Oliveira Costa <glommer@gmail.com>
37049 * elf/elf.h: Add new ARM TLS relocs.
37051 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37054 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37056 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37058 * sysdeps/wordsize-64/tst-writev.c: New file.
37060 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37062 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37063 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37064 insns in _dl_start to prevent a TOC reference before relocs are
37067 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37070 * Makeconfig: Remove RANLIB definition.
37071 * Makerules: Don't use RANLIB.
37072 * aclocal.m4: Remove ranlib test.
37073 * configure.in: No need to check for ranlib.
37074 * elf/rtld-Rules: Don't use RANLIB.
37076 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37078 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37080 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37081 inclusion protection macro.
37083 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37084 SIGRTMIN and SIGRTMAX and print information in that case only when
37085 SIGRTMIN is defined.
37087 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37089 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37090 arginfo fn returning -1.
37092 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37093 and thousands string is zero terminated.
37095 2011-02-03 Andreas Schwab <schwab@redhat.com>
37097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37098 sysdeps/unix/sysv/linux/bits/socket.h.
37100 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37102 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37103 (__CPU_COUNT): Remove old macros.
37104 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37105 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37106 (__CPU_ALLOC, __CPU_FREE): Add macros.
37107 (__sched_cpualloc, __sched_cpufree): Add declarations.
37109 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37111 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37112 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37113 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37114 (readdhstai): Return value of addhstaiX call.
37115 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37116 (addgrbyX): Return value returned by cache_addgr.
37117 (readdgrbyname): Return value returned by addgrbyX.
37118 (readdgrbygid): Likewise.
37119 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37120 (addpwbyX): Return value returned by cache_addpw.
37121 (readdpwbyname): Return value returned by addhstbyX.
37122 (readdpwbyuid): Likewise.
37123 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37124 (addservbyX): Return value returned by cache_addserv.
37125 (readdservbyname): Return value returned by addservbyX:
37126 (readdservbyport): Likewise.
37127 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37128 (addhstbyX): Return value returned by cache_addhst.
37129 (readdhstbyname): Return value returned by addhstbyX.
37130 (readdhstbyaddr): Likewise.
37131 (readdhstbynamev6): Likewise.
37132 (readdhstbyaddrv6): Likewise.
37133 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37134 (readdinitgroups): Return value returned by addinitgroupsX.
37135 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37136 (prune_cache): Keep track of timeout value of re-added entries.
37137 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37138 * nscd/nscd.h: Adjust prototypes of readd* functions.
37140 2011-02-04 Roland McGrath <roland@redhat.com>
37142 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37143 (nis_stats): Likewise.
37144 * nis/nis_modify.c (nis_modify): Likewise.
37145 * nis/nis_remove.c (nis_remove): Likewise.
37146 * nis/nis_add.c (nis_add): Likewise.
37148 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37150 * posix/fnmatch_loop.c: Add some consts.
37152 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37154 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37157 * config.make.in (config-cflags-novzeroupper): Define.
37158 * configure.in: Substitute libc_cv_cc_novzeroupper.
37159 * elf/Makefile (AVX-CFLAGS): Define.
37160 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37161 (CFLAGS-tst-auditmod4a.c): Likewise.
37162 (CFLAGS-tst-auditmod4b.c): Likewise.
37163 (CFLAGS-tst-auditmod6b.c): Likewise.
37164 (CFLAGS-tst-auditmod6c.c): Likewise.
37165 (CFLAGS-tst-auditmod7b.c): Likewise.
37166 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37168 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37170 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37171 function to the callback.
37172 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37174 2011-02-02 Andreas Schwab <schwab@redhat.com>
37176 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37179 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37182 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37184 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37186 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37189 * elf/Makefile: Add rules to build and run new test.
37190 * elf/tst-initorder.c: New file.
37191 * elf/tst-initorder.exp: New file.
37192 * elf/tst-initordera1.c: New file.
37193 * elf/tst-initordera2.c: New file.
37194 * elf/tst-initordera3.c: New file.
37195 * elf/tst-initordera4.c: New file.
37196 * elf/tst-initorderb1.c: New file.
37197 * elf/tst-initorderb2.c: New file.
37198 * elf/tst-order-a1.c: New file.
37199 * elf/tst-order-a2.c: New file.
37200 * elf/tst-order-a3.c: New file.
37201 * elf/tst-order-a4.c: New file.
37202 * elf/tst-order-b1.c: New file.
37203 * elf/tst-order-b2.c: New file.
37204 * elf/tst-order-main.c: New file.
37205 New test case by George Gensure <werkt0@gmail.com>.
37207 2010-10-01 Andreas Schwab <schwab@redhat.com>
37209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37210 decoding ACE if AI_CANONIDN.
37212 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37214 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37216 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37218 * version.h (RELEASE): Bump for 2.13 release.
37219 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37221 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37223 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37225 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37226 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37227 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37228 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37229 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37230 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37232 * posix/getconf.c: Update copyright year.
37233 * catgets/gencat.c: Likewise.
37234 * csu/version.c: Likewise.
37235 * debug/catchsegv.sh: Likewise.
37236 * debug/xtrace.sh: Likewise.
37237 * elf/ldconfig.c: Likewise.
37238 * elf/ldd.bash.in: Likewise.
37239 * elf/sprof.c (print_version): Likewise.
37240 * iconv/iconv_prog.c: Likewise.
37241 * iconv/iconvconfig.c: Likewise.
37242 * locale/programs/locale.c: Likewise.
37243 * locale/programs/localedef.c: Likewise.
37244 * malloc/memusage.sh: Likewise.
37245 * malloc/mtrace.pl: Likewise.
37246 * nscd/nscd.c (print_version): Likewise.
37247 * nss/getent.c: Likewise.
37249 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37250 PF_CAIF, and PF_ALG.
37251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37253 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37255 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37256 (modules-names): Use them.
37257 (ifunc-test-modules, ifunc-pie-tests): Define.
37258 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37259 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37260 (test-extras): Likewise.
37261 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37262 $(compile-command.c).
37263 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37264 (all-built-dso): Define.
37265 (check-textrel.out, check-execstack.out): Depend on it.
37267 * configure.in: Don't override --enable-multi-arch.
37269 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37272 * nscd/hstcache.c (tryagain): Define.
37273 (cache_addhst): Return tryagain not notfound for temporary errors.
37274 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37277 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37280 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37281 to make the syscall.
37282 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37285 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37286 and fall back to matching as normal character if the string ends before
37287 the matching ']' is found. This is what POSIX requires.
37288 * posix/testfnm.c: Adjust test result.
37289 * posix/globtest.sh: Adjust test result. Add new test.
37290 * posix/tst-fnmatch.input: Likewise.
37291 * posix/tst-fnmatch2.c: Add new test.
37293 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37295 * elf/Makefile (check-execstack): Revert last change. Depend on
37297 (check-execstack.h): New target.
37298 (generated): Add check-execstack.h.
37299 * elf/check-execstack.c: Include "check-execstack.h".
37300 (main): Revert last change.
37301 (handle_file): Return zero if GNU_STACK is absent and
37302 DEFAULT_STACK_PERMS doesn't include PF_X.
37304 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37306 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37307 in child fails because the descriptor is already closed.
37308 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37309 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37310 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37313 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37317 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37318 temporary buffer used to handle multi lookups locally.
37319 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37321 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37323 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37326 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37328 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37329 alignment for SSE2.
37331 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37334 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37335 characters. When rounding increased number of integer digits recompute
37337 * stdio-common/tst-grouping.c: New file.
37338 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37340 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37342 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37343 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37345 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37347 * bits/select.h: Likewise.
37349 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37351 * po/ja.po: Update from translation team.
37353 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37356 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37357 implementation just like for lxstat, fxstatat, et al.
37359 2010-12-27 Jim Meyering <meyering@redhat.com>
37362 * posix/regexec.c (build_trtable): Return failure indication upon
37363 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37365 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37368 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37369 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37370 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37371 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37374 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37377 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37378 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37380 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37382 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37383 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37384 script has SORT_BY_INIT_PRIORITY.
37385 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37386 NO_CTORS_DTORS_SECTIONS is defined.
37387 * elf/soinit.c: Likewise.
37388 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37389 NO_CTORS_DTORS_SECTIONS is defined.
37390 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37391 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37392 * sysdeps/sh/init-first.c: Likewise.
37393 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37395 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37397 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37398 always use the slow path.
37400 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37402 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37403 similar rule which adds the sysdep directories to the header search in
37404 order to pick up the correct platform stackinfo.h.
37405 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37406 perform test if it is, otherwise return successfully without testing.
37407 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37408 DEFAULT_STACK_PERMS define in stackinfo.h.
37409 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37410 defined in stackinfo.h.
37411 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37412 DEFAULT_STACK_PERMS defined in stackinfo.h.
37413 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37414 * sysdeps/ia64/stackinfo.h: Likewise.
37415 * sysdeps/s390/stackinfo.h: Likewise.
37416 * sysdeps/sh/stackinfo.h: Likewise.
37417 * sysdeps/sparc/stackinfo.h: Likewise.
37418 * sysdeps/x86_64/stackinfo.h: Likewise.
37419 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37420 PF_X for powerpc64. Retain PF_X for powerpc32.
37422 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37424 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37426 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37427 GETDENTS_64BIT_ALIGNED.
37429 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37431 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37433 2010-12-10 Andreas Schwab <schwab@redhat.com>
37435 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37438 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37439 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37441 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37442 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37444 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37447 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37450 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37452 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37454 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37456 * po/it.po: Update from translation team.
37458 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37463 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37465 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37467 2010-11-24 Andreas Schwab <schwab@redhat.com>
37469 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37471 (gaih_getanswer_slice): Likewise.
37473 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37477 2010-05-31 Petr Baudis <pasky@suse.cz>
37480 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37481 silently even in the chroot mode.
37483 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37485 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37486 last patch a bit. Pretty printing
37488 2010-05-31 Petr Baudis <pasky@suse.cz>
37491 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37492 initialization of skip_initgroups_dyn.
37494 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37496 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37499 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37501 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37503 2010-11-11 Andreas Schwab <schwab@redhat.com>
37505 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37506 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37507 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37508 ($(objpfx)tst-fnmatch-mem): New rule.
37509 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37510 * posix/tst-fnmatch.c (main): Call mtrace.
37512 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37515 Support Intel processor model 6 and model 0x2c.
37517 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37519 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37522 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37525 * string/test-strncasecmp.c (check_result): New function.
37526 (do_one_test): Use it.
37527 (check1): New function.
37528 (test_main): Use it.
37529 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37530 Support strcasecmp and strncasecmp.
37532 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37535 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37538 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37540 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37544 * sysdeps/x86_64/multiarch/bzero.S: New file.
37545 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37546 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37547 * sysdeps/x86_64/multiarch/memset.S: New file.
37548 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37550 Set bit_Prefer_SSE_for_memop for Intel processors.
37551 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37553 (index_Prefer_SSE_for_memop): Define.
37554 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37556 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37558 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37559 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37561 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37564 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37565 (__x86_64_raw_data_cache_size_half): Likewise.
37566 (__x86_64_raw_shared_cache_size): Likewise.
37567 (__x86_64_raw_shared_cache_size_half): Likewise.
37569 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37570 (__x86_64_raw_data_cache_size_half): Likewise.
37571 (__x86_64_raw_shared_cache_size): Likewise.
37572 (__x86_64_raw_shared_cache_size_half): Likewise.
37573 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37574 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37575 and __x86_64_raw_shared_cache_size_half. Round
37576 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37577 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37578 to multiple of 256 bytes.
37580 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37584 of inacessible symlinks. Verify result of symlink before returning it.
37585 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37586 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37588 2010-10-28 Erich Ritz <erichritz@gmail.com>
37590 * math/math.h (isinf): Fix typo in comment.
37592 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37594 * po/da.po: Update from translation team.
37596 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37598 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37599 is added to the list.
37601 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37602 Ulrich Drepper <drepper@gmail.com>
37604 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37605 the global list here. Move code to...
37606 (_dl_add_to_namespace_list): ...here. New function.
37607 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37608 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37609 * elf/dl-load.c (lose): Don't remove the element from the list.
37610 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37611 (_dl_map_object): Likewise.
37613 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37616 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37617 into all bytes of SSE register.
37618 Patch by Richard Li <richardpku@gmail.com>.
37620 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37623 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37626 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37628 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37629 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37630 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37631 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37636 2010-10-22 Andreas Schwab <schwab@redhat.com>
37638 * include/dlfcn.h (__RTLD_SECURE): Define.
37639 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37640 mode & __RTLD_SECURE instead.
37641 (open_path): Rename preloaded parameter to secure.
37642 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37643 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37644 * elf/dl-deps.c (openaux): Likewise.
37645 * elf/rtld.c (struct map_args): Remove is_preloaded.
37646 (map_doit): Don't use it.
37647 (dl_main): Likewise.
37648 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37649 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37651 2010-09-09 Andreas Schwab <schwab@redhat.com>
37653 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37654 (sysd-rules-targets): Remove duplicates.
37655 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37656 rtld-%.$o dependency.
37658 2010-10-18 Andreas Schwab <schwab@redhat.com>
37660 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37661 _dl_map_object do it.
37663 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37665 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37666 fast fma builtins, define the macros in the C99 standard.
37667 (FP_FAST_FMAF): Likewise.
37668 (FP_FAST_FMAL): Likewise.
37669 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37671 * bits/mathdef.h: Update copyright year.
37672 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37674 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37676 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37677 builtins, define the macros in the C99 standard.
37678 (FP_FAST_FMAF): Likewise.
37679 (FP_FAST_FMAL): Likewise.
37680 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37682 (FP_FAST_FMAF): Likewise.
37684 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37687 * math/libm-test.inc (fma_test): Some new testcases.
37688 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37689 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37690 y and infinite z. Do multiplication by C already in long double.
37691 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37693 y and infinite z. Do bitwise or of inexact bit into u.d.
37694 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37695 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37696 * sysdeps/i386/fpu/s_fma.S: Removed.
37697 * sysdeps/i386/fpu/s_fmal.S: Removed.
37699 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37702 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37704 computation is not scheduled after fetestexcept. Fix value
37705 of minimum denormal long double.
37707 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37710 * math/libm-test.inc (fma_test): Add some more tests.
37711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37714 2010-10-15 Andreas Schwab <schwab@redhat.com>
37716 * scripts/data/localplt-s390-linux-gnu.data: New file.
37717 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37719 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37722 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37723 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37725 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37727 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37729 if one of x and y is very large and the other is subnormal.
37730 * sysdeps/s390/fpu/s_fmaf.c: New file.
37731 * sysdeps/s390/fpu/s_fma.c: New file.
37732 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37733 * sysdeps/powerpc/fpu/s_fma.S: New file.
37734 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37735 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37736 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37738 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37741 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37743 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37744 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37745 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37746 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37747 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37748 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37751 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37754 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37755 * posix/bug-regex31.input: Add test case.
37757 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37759 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37760 * posix/bug-regex31.input: New file.
37763 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37764 (parse_sub_exp): Fix last change, use postorder.
37766 * posix/bug-regex31.c: New file.
37767 * posix/Makefile: Add rules to build and run bug-regex31.
37769 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37772 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37775 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37776 to have entries in sys_siglist.
37779 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37782 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37785 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37786 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37787 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37788 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37789 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37790 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37791 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37792 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37793 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37794 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37795 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37796 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37797 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37798 * math/ftestexcept.c (fetestexcept): Likewise.
37799 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37800 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37801 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37802 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37803 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37804 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37807 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37810 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37813 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37815 * string/bug-strstr1.c: New file.
37816 * string/Makefile: Add rules to build and run bug-strstr1.
37818 2010-10-05 Eric Blake <eblake@redhat.com>
37821 * string/str-two-way.h (two_way_long_needle): Always clear memory
37822 when skipping input due to the shift table.
37824 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37827 * malloc/mcheck.c: Handle large requests.
37830 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37831 for strncmp and strncasecmp.
37832 * string/stratcliff.c: Add tests for strcmp and strncmp.
37833 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37835 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37837 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37840 2010-09-30 Andreas Jaeger <aj@suse.de>
37842 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37843 (CGROUP_SUPER_MAGIC): Define.
37844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37845 Handle btrfs and cgroup file systems.
37846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37849 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37851 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37852 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37854 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37857 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37858 trying to locate the ELF header.
37860 2010-09-27 Andreas Schwab <schwab@redhat.com>
37863 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37864 Mask out sign-bit copies when constructing f_fsid.
37866 2010-09-24 Petr Baudis <pasky@suse.cz>
37868 * debug/stack_chk_fail_local.c: Add missing licence exception.
37869 * debug/warning-nop.c: Likewise.
37871 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37873 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37874 implementing getdents64 using getdents syscall, set d_type if
37875 __ASSUME_GETDENTS32_D_TYPE.
37877 2010-09-16 Andreas Schwab <schwab@redhat.com>
37879 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37880 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37882 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37885 * posix/unistd.h: Undo change of feature selection for ftruncate from
37888 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37890 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37893 2010-09-20 Andreas Schwab <schwab@redhat.com>
37895 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37897 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37899 2010-09-14 Andreas Schwab <schwab@redhat.com>
37901 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37902 variables after CHECK_SP call.
37903 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37905 2010-09-13 Andreas Schwab <schwab@redhat.com>
37906 Ulrich Drepper <drepper@redhat.com>
37908 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37909 re-relocationg ld.so.
37910 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37911 _dl_init_paths call.
37912 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37915 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37917 * resolv/res_init.c (__res_vinit): Count the default server we added.
37919 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37920 Ulrich Drepper <drepper@redhat.com>
37923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37924 (____longjmp_chk): Use %ebx for saving value across system call.
37927 2010-09-06 Andreas Schwab <schwab@redhat.com>
37929 * manual/Makefile: Don't mix pattern rules with normal rules.
37931 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37933 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37935 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37936 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37937 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37938 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37942 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37945 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37946 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37948 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37950 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37951 * sysdeps/x86_64/addmul_1.S: Likewise.
37952 * sysdeps/x86_64/lshift.S: Likewise.
37953 * sysdeps/x86_64/mul_1.S: Likewise.
37954 * sysdeps/x86_64/rshift.S: Likewise.
37955 * sysdeps/x86_64/sub_n.S: Likewise.
37956 * sysdeps/x86_64/submul_1.S: Likewise.
37958 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37960 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37961 Define __sched_param instead of SCHED_* and sched_param when
37962 <bits/sched.h> is included with __need_schedparam defined.
37963 * bits/sched.h [__need_schedparam]
37964 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37965 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37966 (__defined_schedparam): Define to 1.
37967 (__sched_param): New structure, identical to sched_param.
37968 (__need_schedparam): Undefine.
37970 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37973 (epoll_create1): Declare.
37975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37977 2010-08-31 Andreas Schwab <schwab@redhat.com>
37980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37981 shifting retval into place.
37983 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37985 * nis/rpcsvc/nis.h: Update copyright notice.
37986 * nis/rpcsvc/nis.x: Likewise.
37987 * nis/rpcsvc/nis_callback.h: Likewise.
37988 * nis/rpcsvc/nis_callback.x: Likewise.
37989 * nis/rpcsvc/nis_object.x: Likewise.
37990 * nis/rpcsvc/nis_tags.h: Likewise.
37991 * nis/rpcsvc/yp.h: Likewise.
37992 * nis/rpcsvc/yp.x: Likewise.
37993 * nis/rpcsvc/ypupd.h: Likewise.
37994 * nis/yp_xdr.c: Likewise.
37995 * nis/ypupdate_xdr.c: Likewise.
37997 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37998 mainly the body of pmap_getport. Add parameters to specify timeouts.
37999 (pmap_getport): Use __libc_rpc_getport.
38000 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38001 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38002 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38004 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38009 2010-08-27 Roland McGrath <roland@redhat.com>
38011 * sysdeps/i386/i686/multiarch/Makefile
38012 (CFLAGS-varshift.c): New variable.
38014 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38016 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38017 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38021 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38023 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38025 * sysdeps/x86_64/strlen.S: Unroll the loop.
38026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38027 strlen-sse2 strlen-sse2-bsf.
38028 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38029 __strlen_no_bsf if bit_Slow_BSF is set.
38030 (__strlen_sse42): Removed.
38031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38032 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38034 2010-08-25 Roland McGrath <roland@redhat.com>
38036 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38037 * sysdeps/x86_64/multiarch/varshift.c: New file.
38038 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38039 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38040 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38041 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38043 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38046 strlen-sse2 strlen-sse2-bsf.
38047 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38048 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38049 (__strlen_sse2): Removed.
38050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38053 bit_Slow_BSF for Atom.
38054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38055 (index_Slow_BSF): Define.
38056 (HAS_SLOW_BSF): Define.
38058 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38061 * resolv/res_init.c (__res_vinit): When no server address at all
38062 is given default to loopback.
38064 2010-08-24 Roland McGrath <roland@redhat.com>
38066 * configure.in: Remove config-name.h generation.
38067 * configure: Regenerated.
38068 * config-name.in: File removed.
38069 * scripts/config-uname.sh: New file.
38070 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38071 ($(objdir)config-name.h): New target.
38073 * sunrpc/rpc_parse.h: Avoid nested comment.
38075 2010-08-24 Richard Henderson <rth@redhat.com>
38076 Ulrich Drepper <drepper@redhat.com>
38077 H.J. Lu <hongjiu.lu@intel.com>
38079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38081 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38082 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38083 _mm_alignr_epi8 with _mm_loadu_si128.
38084 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38085 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38086 (__m128i_shift_right): Removed.
38087 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38088 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38089 * sysdeps/x86_64/multiarch/varshift.h: New file.
38090 * sysdeps/x86_64/multiarch/varshift.S: New file.
38092 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38094 * configure.in: Move assembler checks to before sysdep dir checking.
38096 2010-08-20 Petr Baudis <pasky@suse.cz>
38098 * LICENSES: Sync the sunrpc license.
38100 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38102 * sunrpc/auth_des.c: Update copyright notice once again.
38103 * sunrpc/auth_none.c: Likewise.
38104 * sunrpc/auth_unix.c: Likewise.
38105 * sunrpc/authdes_prot.c: Likewise.
38106 * sunrpc/authuxprot.c: Likewise.
38107 * sunrpc/bindrsvprt.c: Likewise.
38108 * sunrpc/clnt_gen.c: Likewise.
38109 * sunrpc/clnt_perr.c: Likewise.
38110 * sunrpc/clnt_raw.c: Likewise.
38111 * sunrpc/clnt_simp.c: Likewise.
38112 * sunrpc/clnt_tcp.c: Likewise.
38113 * sunrpc/clnt_udp.c: Likewise.
38114 * sunrpc/clnt_unix.c: Likewise.
38115 * sunrpc/des_crypt.c: Likewise.
38116 * sunrpc/des_soft.c: Likewise.
38117 * sunrpc/get_myaddr.c: Likewise.
38118 * sunrpc/getrpcport.c: Likewise.
38119 * sunrpc/key_call.c: Likewise.
38120 * sunrpc/key_prot.c: Likewise.
38121 * sunrpc/openchild.c: Likewise.
38122 * sunrpc/pm_getmaps.c: Likewise.
38123 * sunrpc/pm_getport.c: Likewise.
38124 * sunrpc/pmap_clnt.c: Likewise.
38125 * sunrpc/pmap_prot.c: Likewise.
38126 * sunrpc/pmap_prot2.c: Likewise.
38127 * sunrpc/pmap_rmt.c: Likewise.
38128 * sunrpc/rpc/auth.h: Likewise.
38129 * sunrpc/rpc/auth_unix.h: Likewise.
38130 * sunrpc/rpc/clnt.h: Likewise.
38131 * sunrpc/rpc/des_crypt.h: Likewise.
38132 * sunrpc/rpc/key_prot.h: Likewise.
38133 * sunrpc/rpc/netdb.h: Likewise.
38134 * sunrpc/rpc/pmap_clnt.h: Likewise.
38135 * sunrpc/rpc/pmap_prot.h: Likewise.
38136 * sunrpc/rpc/pmap_rmt.h: Likewise.
38137 * sunrpc/rpc/rpc.h: Likewise.
38138 * sunrpc/rpc/rpc_des.h: Likewise.
38139 * sunrpc/rpc/rpc_msg.h: Likewise.
38140 * sunrpc/rpc/svc.h: Likewise.
38141 * sunrpc/rpc/svc_auth.h: Likewise.
38142 * sunrpc/rpc/types.h: Likewise.
38143 * sunrpc/rpc/xdr.h: Likewise.
38144 * sunrpc/rpc_clntout.c: Likewise.
38145 * sunrpc/rpc_cmsg.c: Likewise.
38146 * sunrpc/rpc_common.c: Likewise.
38147 * sunrpc/rpc_cout.c: Likewise.
38148 * sunrpc/rpc_dtable.c: Likewise.
38149 * sunrpc/rpc_hout.c: Likewise.
38150 * sunrpc/rpc_main.c: Likewise.
38151 * sunrpc/rpc_parse.c: Likewise.
38152 * sunrpc/rpc_parse.h: Likewise.
38153 * sunrpc/rpc_prot.c: Likewise.
38154 * sunrpc/rpc_sample.c: Likewise.
38155 * sunrpc/rpc_scan.c: Likewise.
38156 * sunrpc/rpc_scan.h: Likewise.
38157 * sunrpc/rpc_svcout.c: Likewise.
38158 * sunrpc/rpc_tblout.c: Likewise.
38159 * sunrpc/rpc_util.c: Likewise.
38160 * sunrpc/rpc_util.h: Likewise.
38161 * sunrpc/rpcinfo.c: Likewise.
38162 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38163 * sunrpc/rpcsvc/key_prot.x: Likewise.
38164 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38165 * sunrpc/rpcsvc/mount.x: Likewise.
38166 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38167 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38168 * sunrpc/rpcsvc/rex.x: Likewise.
38169 * sunrpc/rpcsvc/rstat.x: Likewise.
38170 * sunrpc/rpcsvc/rusers.x: Likewise.
38171 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38172 * sunrpc/rpcsvc/spray.x: Likewise.
38173 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38174 * sunrpc/rtime.c: Likewise.
38175 * sunrpc/svc.c: Likewise.
38176 * sunrpc/svc_auth.c: Likewise.
38177 * sunrpc/svc_authux.c: Likewise.
38178 * sunrpc/svc_raw.c: Likewise.
38179 * sunrpc/svc_run.c: Likewise.
38180 * sunrpc/svc_simple.c: Likewise.
38181 * sunrpc/svc_tcp.c: Likewise.
38182 * sunrpc/svc_udp.c: Likewise.
38183 * sunrpc/svc_unix.c: Likewise.
38184 * sunrpc/svcauth_des.c: Likewise.
38185 * sunrpc/xcrypt.c: Likewise.
38186 * sunrpc/xdr.c: Likewise.
38187 * sunrpc/xdr_array.c: Likewise.
38188 * sunrpc/xdr_float.c: Likewise.
38189 * sunrpc/xdr_mem.c: Likewise.
38190 * sunrpc/xdr_rec.c: Likewise.
38191 * sunrpc/xdr_ref.c: Likewise.
38192 * sunrpc/xdr_sizeof.c: Likewise.
38193 * sunrpc/xdr_stdio.c: Likewise.
38195 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38198 2010-08-19 Andreas Schwab <schwab@redhat.com>
38200 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38202 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38204 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38205 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38206 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38207 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38208 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38209 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38210 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38211 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38212 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38213 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38214 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38215 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38216 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38217 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38219 2010-07-26 Anton Blanchard <anton@samba.org>
38221 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38222 * malloc/arena.c (heap_trim): Likewise.
38224 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38226 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38229 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38231 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38233 * sysdeps/i386/elf/Makefile: New file.
38235 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38237 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38238 from fanotify_init.
38239 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38242 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38244 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38246 * sysdeps/multiarch/strcmp.S: Likewise.
38248 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38250 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38251 strncase_l-nonascii.
38252 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38253 Add strncase_l-ssse3.
38254 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38255 * sysdeps/x86_64/strcmp.S: Likewise.
38256 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38257 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38258 * sysdeps/x86_64/strncase.S: New file.
38259 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38260 * sysdeps/x86_64/strncase_l.S: New file.
38261 * string/Makefile (strop-tests): Add strncasecmp.
38262 * string/test-strncasecmp.c: New file.
38264 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38267 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38268 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38270 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38272 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38274 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38276 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38277 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38278 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38280 2010-05-01 Alan Modra <amodra@gmail.com>
38282 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38283 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38284 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38285 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38286 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38287 tidying. Don't tail-call __sigjmp_save for static lib.
38288 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38290 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38291 (CALL_MCOUNT): Add eh info, and nop after bl.
38292 (TAIL_CALL_SYSCALL_ERROR): New macro.
38293 (PSEUDO_RET): Use it.
38294 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38295 Correct save location of integer regs and cr.
38296 (_dl_profile_resolve): Correct cr save location. Delete nops
38297 after bl when SHARED. Reduce cfi size a little by better
38298 placement of cfi directives.
38299 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38300 make a stack frame. Instead use parm save area as a temp.
38301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38302 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38304 Don't make a stack frame for parent, use parm save area.
38305 Increase child stack frame to 112 bytes. Don't save unused reg,
38306 and adjust reg usage. Set up cfi on error recovery and
38307 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38309 (__makecontext): Add dummy nop after jump to exit.
38310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38311 Use correct parm save area and cr save, reduce stack frame.
38312 Correct cfi for possible PSEUDO_RET frame setup.
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38314 Branch to local label emitted by PSEUDO_RET rather than
38317 2010-08-12 Andreas Schwab <schwab@redhat.com>
38320 * locale/programs/locale.c (print_assignment): New function.
38321 (show_locale_vars): Use it.
38323 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38325 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38327 (struct statfs64): Likewise.
38328 (_STATFS_F_FLAGS): Define.
38329 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38330 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38331 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38332 (ST_VALID): Define locally.
38333 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38334 __statvfs_getflags, use the provided value.
38335 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38336 __ASSUME_STATFS_F_FLAGS.
38338 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38340 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38341 Add sys/fanotify.h.
38342 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38343 fanotify_mask for GLIBC_2.13.
38344 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38345 fanotify_init and fanotify_mark.
38346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38347 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38349 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38351 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38352 prlimit64 for GLIBC_2.13.
38353 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38359 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38360 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38363 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38366 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38367 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38369 * nss/Makefile: Add rules to build and run tst-nss-test1.
38370 * shlib-versions: Add entry for libnss_test1.
38371 * nss/nss_test1.c: New file.
38372 * nss/tst-nss-test1.c: New file.
38374 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38375 (__nss_configure_lookup): Set appropriate entry in
38376 __nss_configure_lookup to true.
38377 * nss/nsswitch.h: Define enum with indeces of databases in
38378 databases and __nss_database_custom arrays. Declare
38379 __nss_database_custom.
38380 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38381 to avoid using nscd when custom rules are installed.
38382 * nss/getXXbyYY_r.c: Likewise.
38383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38385 * nss/nss_files/files-parse.c: Whitespace fixes.
38387 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38390 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38391 * posix/fnmatch_loop.c: Likewise.
38393 2010-07-17 Andi Kleen <ak@linux.intel.com>
38395 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38396 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38397 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38398 * Versions.def [GLIBC_2.13]: Add.
38400 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38403 Also fail if tpwd after pwuid call is NULL.
38405 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38407 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38408 when converting to ms.
38410 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38412 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38413 EOPNOTSUPP errors with ENOTTY.
38414 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38415 EOPNOTSUPP errors with ENOTTY.
38417 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38419 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38420 Add strcasecmp_l-ssse3.
38421 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38423 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38424 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38425 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38427 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38429 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38431 * string/Makefile (strop-tests): Add strcasecmp.
38432 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38433 strcasecmp_l-nonascii.
38434 (gen-as-const-headers): Add locale-defines.sym.
38435 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38436 * sysdeps/x86_64/strcasecmp.S: New file.
38437 * sysdeps/x86_64/strcasecmp_l.S: New file.
38438 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38439 * sysdeps/x86_64/locale-defines.sym: New file.
38440 * string/test-strcasecmp.c: New file.
38442 * string/test-strcasestr.c: Test both ends of the range of characters.
38443 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38445 2010-07-29 Roland McGrath <roland@redhat.com>
38448 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38450 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38452 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38455 2010-07-27 Andreas Schwab <schwab@redhat.com>
38457 * manual/memory.texi (Malloc Tunable Parameters): Document
38460 2010-07-26 Roland McGrath <roland@redhat.com>
38463 * configure.in (-fgnu89-inline check): Set and substitute
38464 gnu89_inline, not libc_cv_gnu89_inline.
38465 * configure: Regenerated.
38466 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38468 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38470 * string/test-strnlen.c: New file.
38471 * string/Makefile (strop-tests): Add strnlen.
38472 * string/tester.c (test_strnlen): Add a few more test cases.
38473 * string/tst-strlen.c: Better error reporting.
38475 * sysdeps/x86_64/strnlen.S: New file.
38477 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38479 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38480 lower-latency instructions.
38482 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38484 * string/test-strcasestr.c: New file.
38485 * string/test-strstr.c: New file.
38486 * string/Makefile (strop-tests): Add strstr and strcasestr.
38487 * string/str-two-way.h: Don't undefine MAX.
38488 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38490 2010-07-21 Andreas Schwab <schwab@redhat.com>
38492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38493 strcasestr-nonascii.
38494 (CFLAGS-strcasestr-nonascii.c): Define.
38495 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38496 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38497 Remove unused attribute.
38499 2010-07-20 Roland McGrath <roland@redhat.com>
38501 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38502 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38503 ld.so.cache was broken. With it, there is no way to disable dsocaps
38504 like LD_HWCAP_MASK can disable hwcaps.
38506 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38508 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38510 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38512 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38513 call in strcasestr.
38514 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38515 __strcasestr_sse42_nonascii.
38516 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38517 strcasestr-nonascii.c.
38518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38520 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38522 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38523 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38524 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38525 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38527 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38532 2010-07-06 Andreas Schwab <schwab@redhat.com>
38535 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38538 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38540 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38541 _PC_PIPE_BUF using F_GETPIPE_SZ.
38543 2010-07-05 Roland McGrath <roland@redhat.com>
38545 * manual/arith.texi (Rounding Functions): Fix rint description
38546 implicit in round description.
38548 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38550 * elf/Makefile: Fix linking for a few tests to make recent linker
38553 2010-06-30 Andreas Schwab <schwab@redhat.com>
38555 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38556 $(common-objpfx)libc_nonshared.a.
38558 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38560 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38561 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38562 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38563 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38564 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38565 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38566 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38567 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38582 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38583 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38584 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38585 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38586 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38587 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38588 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38589 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38590 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38591 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38592 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38593 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38609 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38611 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38612 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38613 * string/memmove.c (memmove): Renamed to ...
38614 (MEMMOVE): ...this. Default to memmove.
38615 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38616 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38619 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38620 mempcpy-ssse3-back memmove-ssse3-back.
38621 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38624 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38625 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38626 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38627 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38628 * sysdeps/x86_64/multiarch/memmove.c: New file.
38629 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38630 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38631 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38632 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38633 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38636 (index_Fast_Copy_Backward): Define.
38637 (HAS_ARCH_FEATURE): Define.
38638 (HAS_FAST_REP_STRING): Define.
38639 (HAS_FAST_COPY_BACKWARD): Define.
38641 2010-06-21 Andreas Schwab <schwab@redhat.com>
38643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38644 Restore proper fallback handling.
38646 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38649 * posix/group_member.c (__group_member): Correct checking loop.
38651 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38652 OOM in getpwuid_r correctly. Return error number when the caller
38653 should return, otherwise -1.
38654 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38655 call returning > 0 value.
38656 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38658 2010-06-07 Andreas Schwab <schwab@redhat.com>
38660 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38661 libc_nonshared.a from targets in modules-names.
38663 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38665 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38668 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38670 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38671 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38675 2010-06-02 Andreas Schwab <schwab@redhat.com>
38677 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38679 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38688 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38690 2010-06-14 Roland McGrath <roland@redhat.com>
38692 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38694 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38696 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38697 __REDIRECT followed by __THROW.
38698 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38699 * posix/getopt.h (getopt): Likewise.
38701 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38703 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38704 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38705 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38707 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38708 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38710 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38712 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38714 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38718 Properly check family and model.
38720 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38722 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38724 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38726 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38728 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38730 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38733 2010-05-19 Andreas Schwab <schwab@redhat.com>
38735 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38738 2010-05-21 Andreas Schwab <schwab@redhat.com>
38740 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38741 and internal_recvmmsg.
38742 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38743 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38744 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38745 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38747 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38748 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38749 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38751 2010-05-20 Andreas Schwab <schwab@redhat.com>
38753 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38755 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38757 POWER7 optimizations.
38758 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38759 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38761 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38763 * version.h: Update for 2.13 development version.
38765 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38767 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38768 exceptions. Return 0.
38770 2010-05-07 Roland McGrath <roland@redhat.com>
38772 * elf/ldconfig.c (main): Add a const.
38774 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38776 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38777 (args_options): Add no-idn option.
38778 (ahosts_keys_int): Add idn_flags to ai_flags.
38779 (parse_option): Handle 'i' option to clear idn_flags.
38781 * malloc/malloc.c (_int_free): Possible race in the most recently
38782 added check. Only act on the data if no current modification
38785 See ChangeLog.17 for earlier changes.