1 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3 * manual/macros.texi: Add comments before MTASC-safety macros.
5 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7 * manual/users.texi: Document MTASC-safety properties.
9 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11 * manual/threads.texi (pthread_key_create, pthread_key_delete,
12 pthread_getspecific, pthread_setspecific): Format with
13 @deftypefun, and add @safety note.
14 * manual/signal.texi: Move comments that analyze the above
15 functions to their home place.
17 2014-02-03 Allan McRae <allan@archlinux.org>
19 * po/sl.po: Update Slovenian translation from translation project.
21 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23 * manual/time.texi (timegm): Add missing blank after @c.
24 Reported by Joseph Myers <joseph@codesourcery.com>.
26 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
28 * manual/check-safety.sh: New.
29 * manual/Makefile ($(objpfx)stamp-summary): Run it.
31 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
33 * manual/terminal.texi: Document MTASC-safety properties.
35 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
37 * manual/filesys.texi: Document MTASC-safety properties.
39 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
41 * manual/errno.texi: Document MTASC-safety properties.
43 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
45 * manual/intro.texi: Document safety identifiers and
48 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
50 * manual/string.texi (wcstok): Fix prototype.
51 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
53 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
55 * manual/time.texi: Document MTASC-safety properties.
57 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
59 * manual/string.texi: Document MTASC-safety properties.
61 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
63 * manual/threads.texi: Document MTASC-safety properties.
65 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
67 * manual/stdio.texi: Document MTASC-safety properties.
69 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
71 * manual/syslog.texi: Document MTASC-safety properties.
73 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
75 * manual/sysinfo.texi: Document MTASC-safety properties.
77 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
79 * manual/startup.texi: Document MTASC-safety properties.
81 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
83 * manual/socket.texi: Document MTASC-safety properties.
85 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
87 * manual/signal.texi: Document MTASC-safety properties.
89 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
91 * manual/setjmp.texi: Document MTASC-safety properties.
93 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
95 * manual/search.texi: Document MTASC-safety properties.
97 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
99 * manual/resource.texi: Document MTASC-safety properties.
101 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
103 * manual/process.texi: Document MTASC-safety properties.
105 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
107 * manual/platform.texi: Document MTASC-safety properties.
109 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
111 * manual/pipe.texi: Document MTASC-safety properties.
113 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
115 * manual/pattern.texi: Document MTASC-safety properties.
117 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
119 * manual/message.texi: Document MTASC-safety properties.
121 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
124 * manual/memory.texi: Document MTASC-safety properties.
126 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
128 * manual/math.texi: Document MTASC-safety properties.
130 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
132 * manual/locale.texi: Document MTASC-safety properties.
134 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
136 * manual/llio.texi: Document MTASC-safety properties.
138 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
140 * manual/libdl.texi: New.
142 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
144 * manual/lang.texi: Document MTASC-safety properties.
146 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
148 * manual/job.texi: Document MTASC-safety properties.
150 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
152 * manual/getopt.texi: Document MTASC-safety properties.
154 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
156 * manual/ctype.texi: Document MTASC-safety properties.
158 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
161 * csu/libc-tls.c (static_map): Remove variable.
162 (__libc_setup_tls): Use main executable's link map for TLS data.
163 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
164 casing for LM_ID_BASE and GL(dl_nns).
165 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
166 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
167 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
168 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
169 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
171 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
174 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
176 * manual/debug.texi: Document MTASC-safety properties.
178 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
181 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
182 of __x86_64__ when disabling x87 inline functions.
184 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
186 * manual/charset.texi: Document MTASC-safety properties.
188 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
190 * manual/crypt.texi: Document MTASC-safety properties.
192 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
194 * manual/conf.texi: Document MTASC-safety properties.
196 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
198 * manual/arith.texi: Document MTASC-safety properties.
200 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
202 * manual/argp.texi: Document MTASC-safety properties.
204 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
206 * manual/macros.texi: Introduce macros to document multi
207 thread, asynchronous signal and asynchronous cancellation
209 * manual/intro.texi: Introduce the properties themselves.
211 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
213 * sysdeps/sh/sh4/Makefile: New file.
215 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
217 * math/gen-libm-test.pl ($srcdir): New variable.
218 ($auto_input): Use it.
220 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
223 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
224 access beyond array bounds when parsing netgroups file.
226 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
227 the old buffer before realloc.
229 2014-01-27 Allan McRae <allan@archlinux.org>
231 * po/fr.po: Update French translation from translation project.
233 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
235 * sysdeps/sh/libm-test-ulps: Regenerate.
237 2014-01-24 David S. Miller <davem@davemloft.net>
239 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
241 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
243 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
244 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
246 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
249 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
250 string pointers after reallocation.
252 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
254 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
255 __SH4A__ instead of __SH_FPU_ANY__.
257 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
259 * sysdeps/sh/fpu_control.h: New file.
260 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
261 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
262 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
263 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
264 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
265 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
266 * sysdeps/sh/sys/ucontext.h: Remove.
267 * sysdeps/sh/sys: Remove directory.
269 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
271 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
273 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
276 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
279 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
281 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
285 Adjust the vDSO correctly for internal calls.
286 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
288 2014-01-20 Allan McRae <allan@archlinux.org>
290 * po/ca.po: Update Catalan translation from translation project.
292 2014-01-16 Mike Frysinger <vapier@gentoo.org>
294 * sysdeps/s390/sotruss-lib.c: New file.
296 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
300 (__GI___gettimeofday): Alias for a different internal symbol to avoid
301 local calls issues by not having a PLT stub required for IFUNC calls.
302 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
304 2014-01-16 Joseph Myers <joseph@codesourcery.com>
306 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
307 * math/test-fpucw-static.c: Likewise.
309 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
312 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
314 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
316 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
317 implementation for powerpc.
319 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
322 * sysdeps/posix/system.c (__libc_system): Do not enable
323 asynchronous cancellation.
325 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
328 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
329 handling only for numbers special also in the IEEE case.
331 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
333 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
335 2014-01-11 Allan McRae <allan@archlinux.org>
337 * po/bg.po: Update Bulgarian translation from translation project.
339 * po/de.po: Update German translation from translation project.
341 2014-01-10 Roland McGrath <roland@hack.frob.com>
343 * sysdeps/generic/gcc-compat.h: New file.
345 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
347 * benchtests/asin-inputs: Correct slow inputs.
348 * benchtests/acos-inputs: Likewise.
350 2014-01-10 Allan McRae <allan@archlinux.org>
352 * po:sv.po: Update Swedish translation from translation project.
354 * po/vi.po: Update Vietnamese translation from translation project.
356 * po/eo.po: Update Esperanto translation from translation project.
358 * po/cs.po: Update Czech translation from translation project.
360 * po/nl.po: Update Dutch translation from translation project.
362 * po/pl.po: Update Polish translation from translation project.
364 * po/ru.po: Update Russian translation from translation project.
366 * po/uk.po: Update Ukrainian translation from translation project.
368 2014-01-08 Brooks Moses <bmoses@google.com>
370 * elf/dl-load.c: Fix comment typo.
372 2014-01-08 Carlos O'Donell <carlos@redhat.com>
374 * po/header.pot: Rename to...
375 * po/pot.header: ... this.
376 * po/Makefile: Use pot.header.
378 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
379 Maxim Kuvyrkov <maxim@kugelworks.com>
382 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
383 SRC and DEST against LEN.
385 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
390 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
392 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
396 2014-01-08 Joseph Myers <joseph@codesourcery.com>
399 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
400 for large positive arguments.
402 2014-01-07 Joseph Myers <joseph@codesourcery.com>
404 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
406 * math/auto-libm-test-in: Mark various tests with
407 xfail-rounding:ldbl-128ibm.
408 * math/auto-libm-test-out: Regenerated.
411 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
412 Increase overflow threshold.
414 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
417 * stdio-common/vfprintf.c: Check for integer overflow.
419 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
421 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
422 the first argument and return value of __tls_get_addr_internal.
424 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
426 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
427 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
429 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
431 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
432 * sysdeps/s390/rtld-global-offsets.sym: New file.
433 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
435 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
437 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
439 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
440 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
446 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
447 halfs of GPRs for high_gprs contexts.
448 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
449 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
451 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
453 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
455 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
456 for high GPRs (uc_high_gprs) and for future extensions
458 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
459 for future extensions (__reserved).
460 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
462 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
463 SC_HIGHGPRS offset definition.
464 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
465 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
467 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
469 * Versions.def: Add GLIBC_2.19 for libpthread.
470 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
471 siglongjmp for libpthread with GLIBC_2.19 symver.
472 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
473 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
474 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
475 * sysdeps/s390/__longjmp.c: New file.
476 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
477 * sysdeps/s390/longjmp.c: New file.
478 * sysdeps/s390/setjmp.S: New file.
479 * sysdeps/s390/sigjmp.S: New file.
480 * sysdeps/s390/v1-longjmp.c: New file.
481 * sysdeps/s390/v1-setjmp.h: New file.
482 * sysdeps/s390/v1-sigjmp.c: New file.
483 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
484 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
486 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
487 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
488 versioned symbols for ____longjmp_chk.
489 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
499 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
500 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
501 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
502 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
503 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
504 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
505 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
506 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
507 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
508 * sysdeps/s390/rtld-__longjmp.c: New file.
509 * sysdeps/s390/rtld-setjmp.S: New file.
511 2014-01-06 Joseph Myers <joseph@codesourcery.com>
514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
515 Return -__logl (x) for small positive arguments without evaluating
518 2014-01-06 Mike Frysinger <vapier@gentoo.org>
520 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
522 (__ptrace_peeksiginfo_args): ... this.
523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
527 2014-01-06 Allan McRae <allan@archlinux.org>
529 * inet/netinet/in.h: Fix typo in comment.
531 2014-01-05 Andreas Jaeger <aj@suse.de>
533 * sysdeps/i386/fpu/libm-test-ulps: Update.
535 2014-01-05 Allan McRae <allan@archlinux.org>
537 * po/libc.pot: Regenerated.
539 * malloc/memusagestat.c: Fix gettext call formatting.
541 2014-01-04 Sami Kerola <kerolasa@iki.fi>
543 * nscd/nscd.c: Improve usage() output.
545 2014-01-04 Mike Frysinger <vapier@gentoo.org>
547 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
548 * sysdeps/unix/sysv/linux/configure: Regenerated.
549 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
550 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
552 2014-01-03 Joseph Myers <joseph@codesourcery.com>
555 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
556 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
558 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
561 extra tokens at end of #undef directive.
562 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
563 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
564 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
566 2014-01-03 Andrew Hunter <ahh@google.com>
568 * elf/dl-open.c (dl_open_worker): New comment.
569 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
570 atomic_compare_and_exchange_bool_acq
571 (_dl_allocate_static_tls): Block signals.
572 * elf/dl-tls.c (allocate_and_init): Return void.
573 (_dl_update_slotinfo): Block signals, use atomic update.
575 2014-01-03 Joseph Myers <joseph@codesourcery.com>
577 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
579 * math/auto-libm-test-in: Mark various tests with
580 xfail-rounding:ldbl-128ibm.
581 * math/auto-libm-test-out: Regenerated.
583 2014-01-02 Joseph Myers <joseph@codesourcery.com>
586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
587 numbers with subnormal high part when calculating exponent.
590 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
594 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
596 (__ieee754_acoshl): Use __log1pl not __log1p.
598 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
600 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
601 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
602 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
603 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
604 Convert to GNU style.
605 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
606 mem2mem_check, mem2chunk_check, top_check, realloc_check,
607 memalign_check, __malloc_set_state): Likewise.
608 * malloc/mallocbug.c (main): Likewise.
609 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
610 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
611 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
612 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
613 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
614 * malloc/malloc.h: Likewise.
615 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
616 memalignhook, reallochook, mabort): Likewise.
617 * malloc/mcheck.h: Likewise.
618 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
619 mmap64, mremap, munmap, dest): Likewise.
620 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
621 * malloc/morecore.c (__default_morecore): Likewise.
622 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
623 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
624 _obstack_allocated_p, obstack_free, _obstack_memory_used,
625 print_and_abort): Likewise.
626 * malloc/obstack.h: Likewise.
627 * malloc/set-freeres.c (__libc_freeres): Likewise.
628 * malloc/tst-mallocstate.c (main): Likewise.
629 * malloc/tst-mtrace.c (main): Likewise.
630 * malloc/tst-realloc.c (do_test): Likewise.
632 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
635 * nscd/netgroupcache.c (do_notfound): New function.
636 (addgetnetgrentX): Use it.
639 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
642 2014-01-01 Joseph Myers <joseph@codesourcery.com>
644 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
647 2014-01-01 Allan McRae <allan@archlinux.org>
649 * scripts/update-copyrights: Update configure input file suffix.
651 * NEWS: Update copyright year.
652 * catgets/gencat.c: Likewise.
653 * csu/version.c: Likewise.
654 * debug/catchsegv.sh: Likewise.
655 * debug/pcprofiledump.c: Likewise.
656 * debug/xtrace.sh: Likewise.
657 * elf/ldconfig.c: Likewise.
658 * elf/ldd.bash.in: Likewise.
659 * elf/pldd.c: Likewise.
660 * elf/sotruss.ksh: Likewise.
661 * elf/sprof.c: Likewise.
662 * iconv/iconv_prog.c: Likewise.
663 * iconv/iconvconfig.c: Likewise.
664 * locale/programs/locale.c: Likewise.
665 * locale/programs/localedef.c: Likewise.
666 * login/programs/pt_chown.c: Likewise.
667 * malloc/memusage.sh: Likewise.
668 * malloc/memusagestat.c: Likewise.
669 * malloc/mtrace.pl: Likewise.
670 * manual/libc.texinfo: Likewise.
671 * nscd/nscd.c: Likewise.
672 * nss/getent.c: Likewise.
673 * nss/makedb.c: Likewise.
674 * posix/getconf.c: Likewise.
675 * scripts/test-installation.pl: Likewise.
677 * All files with FSF copyright notices: Update copyright dates
678 using scripts/update-copyrights.
679 * intl/plural.c: Regenerated.
680 * locale/programs/charmap-kw.h: Likewise.
681 * locale/programs/locfile-kw.h: Likewise.
683 2013-12-31 Mike Frysinger <vapier@gentoo.org>
685 * sysdeps/unix/sysv/linux/configure: Regenerated.
686 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
687 the linux/fanotify.h header.
688 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
689 HAVE_LINUX_FANOTIFY_H is defined.
691 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
693 * benchtests/cos-inputs: New inputs.
694 * benchtests/sin-inputs: Likewise.
696 * benchtests/atan-inputs: New inputs. Fix name of multiple
697 precision fallback inputs.
699 * benchtests/atanh-inputs: New inputs.
700 * benchtests/tanh-inputs: Likewise.
702 * benchtests/acosh-inputs: New inputs.
703 * benchtests/asinh-inputs: Likewise.
705 * benchtests/cosh-inputs: New inputs.
706 * benchtests/sinh-inputs: Likewise.
708 * benchtests/acos-inputs: Add more inputs.
709 * benchtests/asin-inputs: Likewise.
711 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
714 * manual/arith.texi: Fix spelling.
715 * manual/charset.texi: Likewise.
716 * manual/errno.texi: Likewise.
717 * manual/filesys.texi: Likewise.
718 * manual/lang.texi: Likewise.
719 * manual/llio.texi: Likewise.
720 * manual/locale.texi: Likewise.
721 * manual/message.texi: Likewise.
722 * manual/resource.texi: Likewise.
723 * manual/search.texi: Likewise.
724 * manual/setjmp.texi: Likewise.
725 * manual/stdio.texi: Likewise.
726 * manual/string.texi: Likewise.
727 * manual/sysinfo.texi: Likewise.
728 * manual/time.texi: Likewise.
730 2013-12-27 Carlos O'Donell <carlos@redhat.com>
732 * po/sl.po: New file.
734 2013-12-27 Mike Frysinger <vapier@gentoo.org>
736 * .gitignore: Add core/.gdbinit/.gdb_history.
738 2013-12-27 Allan McRae <allan@archlinux.org>
741 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
742 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
744 2013-12-24 Brooks Moses <bmoses@google.com>
746 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
747 all compilers that claim C++98 compliance, not just GCC.
748 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
751 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
753 * NEWS: Restore accidentally deleted bug-fix entries.
755 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
756 Ondřej Bílka <neleai@seznam.cz>
759 * malloc/malloc.c (_int_free): Perform sanity check only if we
762 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
765 * manual/stdio.texi (String Input Conversions): Clarify that character
766 classes are not supported.
768 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
772 2013-12-22 Joseph Myers <joseph@codesourcery.com>
775 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
776 Calculate results for small negative arguments directly rather
777 than using reflection formula with special underflow handling.
779 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
780 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
781 sysdeps/unix/bsd/bsd4.4/syscalls.list.
782 (fchflags): Likewise.
784 (setlogin): Likewise.
785 (sigaltstack): Likewise.
788 (sigsetmask): Likewise.
791 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
792 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
794 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
795 * sysdeps/unix/bsd/Makefile: ... here.
796 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
797 * sysdeps/unix/bsd/Versions: ... here.
798 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
799 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
800 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
801 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
802 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
803 * sysdeps/unix/bsd/sigblock.c: ... here.
804 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
805 * sysdeps/unix/bsd/sigsetmask.c: ... here.
806 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
807 * sysdeps/unix/bsd/sigvec.c: ... here.
808 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
809 * sysdeps/unix/bsd/tcdrain.c: ... here.
810 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
811 * sysdeps/unix/bsd/tcgetattr.c: ... here.
812 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
813 * sysdeps/unix/bsd/tcsetattr.c: ... here.
814 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
815 * sysdeps/unix/bsd/wait.c: ... here.
816 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
817 * sysdeps/unix/bsd/wait3.c: ... here.
818 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
819 * sysdeps/unix/bsd/waitpid.c: ... here.
821 2013-12-21 Joseph Myers <joseph@codesourcery.com>
824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
825 round-to-nearest for [!USE_AS_EXPM1L].
826 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
827 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
828 more tests of exp and exp10. Expect some exp10 tests to miss
829 exceptions or fail in directed rounding modes.
830 * math/auto-libm-test-out: Regenerated.
831 * math/libm-test.inc (exp10_tonearest_test_data): New array.
832 (exp10_test_tonearest): New function.
833 (exp10_towardzero_test_data): New array.
834 (exp10_test_towardzero): New function.
835 (exp10_downward_test_data): New array.
836 (exp10_test_downward): New function.
837 (exp10_upward_test_data): New array.
838 (exp10_test_upward): New function.
839 (main): Call the new functions.
840 * sysdeps/i386/fpu/libm-test-ulps: Update.
841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
843 2013-12-20 Joseph Myers <joseph@codesourcery.com>
845 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
846 asinh, atan, atan2, atanh, cbrt, cos and cosh.
847 * math/auto-libm-test-out: Regenerated.
848 * math/libm-test.inc (acosh_test_data): Add more tests.
849 (atanh_test_data): Likewise.
850 (ceil_test_data): Likewise.
851 (copysign_test_data): Likewise.
852 * sysdeps/i386/fpu/libm-test-ulps: Update.
853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
855 * timezone/checktab.awk: Update from tzcode 2013i.
856 * timezone/private.h: Likewise.
857 * timezone/scheck.c: Likewise.
858 * timezone/tzfile.h: Likewise.
859 * timezone/tzselect.ksh: Likewise.
860 * timezone/zdump.c: Likewise.
861 * timezone/zic.c: Likewise.
863 * math/auto-libm-test-in: Add tests of cpow.
864 * math/auto-libm-test-out: Regenerated.
865 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
866 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
868 (func_calc_desc): Add mpc_cc_c union field.
869 (test_functions): Add cpow.
870 (special_fill_2pi): New function.
871 (special_real_inputs): Add 2pi.
872 (calc_generic_results): Handle mpc_cc_c.
873 * sysdeps/i386/fpu/libm-test-ulps: Update.
874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
876 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
877 csqrt, ctan and ctanh.
878 * math/auto-libm-test-out: Regenerated.
879 * math/libm-test.inc (TEST_COND_x86_64): New macro.
880 (TEST_COND_x86): Likewise.
881 (ccos_test_data): Use AUTO_TESTS_c_c.
882 (ccosh_test_data): Likewise.
883 (cexp_test_data): Likewise.
884 (clog_test_data): Likewise.
885 (csqrt_test_data): Likewise.
886 (ctan_test_data): Likewise.
887 (ctan_tonearest_test_data): Likewise.
888 (ctan_towardzero_test_data): Likewise.
889 (ctan_downward_test_data): Likewise.
890 (ctan_upward_test_data): Likewise.
891 (ctanh_test_data): Likewise.
892 (ctanh_tonearest_test_data): Likewise.
893 (ctanh_towardzero_test_data): Likewise.
894 (ctanh_downward_test_data): Likewise.
895 (ctanh_upward_test_data): Likewise.
896 * math/gen-auto-libm-tests.c (func_calc_method): Add value
898 (func_calc_desc): Add mpc_c_c union field.
899 (FUNC_mpc_c_c): New macro.
900 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
901 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
903 (special_fill_min_subnorm_p120): New function.
904 (special_real_inputs): Add min_subnorm_p120.
905 (calc_generic_results): Handle mpc_c_c.
906 * sysdeps/i386/fpu/libm-test-ulps: Update.
907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
909 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
911 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
912 do_sin_slow): New functions.
913 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
914 cslow2, csloww1, csloww2): Use the new functions.
916 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
917 Use M to change sign of result instead of X. Assume X is
923 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
930 (sloww1): Don't adjust sign of DX.
932 (sloww2): Use X directly and don't adjust sign of DX.
935 2013-12-19 Joseph Myers <joseph@codesourcery.com>
937 * math/auto-libm-test-in: Add tests of cabs and carg.
938 * math/auto-libm-test-out: Regenerated.
939 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
940 (carg_test_data): Likewise.
941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
943 (func_calc_desc): Add mpc_c_f union field.
944 (test_functions): Add cabs and carg.
945 (calc_generic_results): Handle mpc_c_f.
947 * sysdeps/powerpc/powerpc32/libgcc-compat.S
948 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
949 as a macro and a compat symbol.
950 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
951 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
952 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
953 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
954 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
955 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
967 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
968 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
971 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
975 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
977 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
978 (__signal_safe_memalign, __signal_safe_free): Use it.
979 (__signal_safe_realloc): Likewise.
981 2013-12-19 Joseph Myers <joseph@codesourcery.com>
983 * manual/texinfo.tex: Update to version 2013-11-26.10 with
984 trailing whitespace removed.
985 * scripts/config.guess: Update to version 2013-11-29.
986 * scripts/config.sub: Update to version 2013-10-01.
988 * math/auto-libm-test-in: Add tests of sincos.
989 * math/auto-libm-test-out: Regenerated.
990 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
991 * math/gen-auto-libm-tests.c (func_calc_method): Add value
993 (func_calc_desc): Add mpfr_f_11 union field.
994 (test_functions): Add sincos.
995 (calc_generic_results): Handle mpfr_f_11.
996 * sysdeps/i386/fpu/libm-test-ulps: Update.
997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
999 2013-12-19 Andreas Schwab <schwab@suse.de>
1001 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1003 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1004 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1005 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1007 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1009 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1015 round-to-nearest mode when using frndint.
1016 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1017 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1018 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1020 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1022 * math/auto-libm-test-out: Regenerated.
1023 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1024 (TEST_COND_x86): Likewise.
1025 (expm1_tonearest_test_data): New array.
1026 (expm1_test_tonearest): New function.
1027 (expm1_towardzero_test_data): New array.
1028 (expm1_test_towardzero): New function.
1029 (expm1_downward_test_data): New array.
1030 (expm1_test_downward): New function.
1031 (expm1_upward_test_data): New array.
1032 (expm1_test_upward): New function.
1033 (main): Run the new test functions.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1037 * include/features.h: Update comment documenting feature test
1038 macros. Mention _DEFAULT_SOURCE in comment.
1039 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1040 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1041 _BSD_SOURCE and _SVID_SOURCE.
1042 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1043 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1044 !_SVID_SOURCE]: Likewise.
1045 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1046 (__USE_POSIX_IMPLICITLY): Define.
1047 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1048 (_POSIX_SOURCE): Undefine and redefine.
1049 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1050 (_POSIX_C_SOURCE): Likewise.
1051 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1052 (Feature Test Macros): Update documentation of default features.
1054 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1056 * benchtests/Makefile: Add bench-strtok.
1057 * benchtests/bench-strtok.c: New file: strtok benchtest.
1059 2013-12-19 Allan McRae <allan@archlinux.org>
1061 * manual/install.texi: Suppress menu for plain text output.
1062 * INSTALL: Regenerated.
1064 2013-12-18 Andrew Hunter <ahh@google.com>
1066 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
1067 (__signal_safe_malloc, __signal_safe_free): Likewise.
1068 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
1069 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
1070 (__signal_safe_memalign, __signal_safe_malloc): New function.
1071 (__signal_safe_free, __signal_safe_realloc): Likewise.
1072 (__signal_safe_calloc): Likewise.
1073 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1075 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1077 2013-12-18 Andrew Hunter <ahh@google.com>
1079 * elf/Versions (ld): Add _dl_clear_dtv.
1080 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1081 * elf/dl-tls.c (_dl_clear_dtv): New function.
1082 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1084 2013-12-18 Andrew Hunter <ahh@google.com>
1086 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1087 (_dl_unmask_signals): Likewise.
1088 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1089 (_dl_unmask_all_signals): Likewise.
1090 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1091 (_dl_unmask_all_signals): Likewise.
1092 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1093 (_dl_unmask_signals): Likewise.
1095 2013-12-18 Brooks Moses <bmoses@google.com>
1098 * misc/getauxval.c: Include errno.h.
1099 (__getauxval): Set errno to ENOENT if the requested type is not
1101 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1102 don't declare with __attribute_const__.
1103 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1104 * manual/startup.texi: Document that getauxval sets errno.
1106 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1108 * math/auto-libm-test-in: Add tests of jn and yn.
1109 * math/auto-libm-test-out: Regenerated.
1110 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1111 (yn_test_data): Likewise.
1112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1114 (func_calc_desc): Add mpfr_if_f union field.
1115 (FUNC_mpfr_if_f): New macro.
1116 (test_functions): Add jn and yn.
1117 (calc_generic_results): Assert type of second input for
1118 mpfr_ff_f. Handle mpfr_if_f.
1119 (output_for_one_input_case): Disable all checking for arguments
1120 fitting floating-point types in case of an integer argument.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1125 Don't expect fegetround reference in libm.so.
1127 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1129 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1130 $(config-cflags-nofma).
1132 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1134 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1135 * math/auto-libm-test-out: Regenerated.
1138 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1139 to determine exponent and adjust argument to have exponent of -1.
1140 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1142 * math/auto-libm-test-out: Regenerated.
1143 * sysdeps/i386/fpu/libm-test-ulps: Update.
1144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1146 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1148 * manual/probes.texi: Remove cases when per-thread arenas are
1151 2013-12-18 Andreas Schwab <schwab@suse.de>
1153 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1154 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1155 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1156 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1157 * sysdeps/i386/i686/multiarch/Makefile: Update.
1158 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1160 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1162 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1163 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1165 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1167 Support TZ transition times < 00:00:00.
1168 This is needed for version-3 tz-format files; it supports time
1169 stamps past 2037 for America/Godthab (the only entry in the tz
1170 database for which this change is relevant).
1171 * manual/time.texi (TZ Variable): Document transition times
1172 from -167:59:59 through -00:00:01.
1173 * time/tzset.c (tz_rule): Time of day is now signed.
1174 (__tzset_parse_tz): Parse negative time of day.
1176 Document TZ transition times >= 25:00:00.
1177 * manual/time.texi (TZ Variable): Document transition times from
1178 25:00:00 through 167:59:59. These are already supported, and this
1179 support will help with version-3 tz-format files.
1181 * manual/time.texi (TZ Variable): Modernize North America example
1182 to reflect current (i.e., 2007-and-later) daylight saving rules.
1184 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1186 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1188 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1189 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1192 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1193 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1194 * sysdeps/unix/bsd/clock.c: Likewise.
1195 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1196 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1197 * sysdeps/unix/bsd/init-posix.c: Likewise.
1198 * sysdeps/unix/bsd/poll.c: Likewise.
1199 * sysdeps/unix/bsd/ptsname.c: Likewise.
1200 * sysdeps/unix/bsd/seekdir.c: Likewise.
1201 * sysdeps/unix/bsd/setegid.c: Likewise.
1202 * sysdeps/unix/bsd/seteuid.c: Likewise.
1203 * sysdeps/unix/bsd/setgid.c: Likewise.
1204 * sysdeps/unix/bsd/setrgid.c: Likewise.
1205 * sysdeps/unix/bsd/setruid.c: Likewise.
1206 * sysdeps/unix/bsd/setsid.c: Likewise.
1207 * sysdeps/unix/bsd/setuid.c: Likewise.
1208 * sysdeps/unix/bsd/sigaction.c: Likewise.
1209 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1210 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1211 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1212 * sysdeps/unix/bsd/telldir.c: Likewise.
1213 * sysdeps/unix/bsd/times.c: Likewise.
1214 * sysdeps/unix/bsd/usleep.c: Likewise.
1216 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1217 ($(objpfx)libbsd-compat.a): Remove rule.
1219 * include/features.h (__FAVOR_BSD): Do not define.
1220 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1221 features conflicting with POSIX.
1222 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1223 (_BSD_SOURCE): Remove description of not being a subset of other
1224 feature test macros.
1225 * manual/job.texi (getpgrp): Do not document BSD version.
1226 (getpgid): Do not document by reference to BSD getpgrp.
1227 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1228 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1229 * signal/signal.h [__FAVOR_BSD]: Likewise.
1230 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1231 instead of making contents conditional on [__FAVOR_BSD].
1232 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1234 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1238 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1241 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1242 values below 2**-450, not 2**-500.
1243 * math/auto-libm-test-in: Don't allow spurious underflow from
1245 * math/auto-libm-test-out: Regenerated.
1249 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1250 values of ha and hb and sort them after adjusting subnormal
1252 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1254 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1255 values of ea and eb and sort them after adjusting subnormal
1257 * math/auto-libm-test-in: Do not expect some hypot tests of
1258 subnormals to fail. Add more hypot tests.
1259 * math/auto-libm-test-out: Regenerated.
1261 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1264 * sysdeps/sh/s_fma.c: New file.
1265 * sysdeps/sh/s_fmaf.c: New file.
1266 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1268 * sysdeps/sh/Implies: Add sh/soft-fp.
1270 2013-12-16 Roland McGrath <roland@hack.frob.com>
1272 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1273 level of indirection to members `objname', `errstring', `malloced'.
1274 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1275 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1276 it as the __longjmp argument (just pass 1 instead).
1277 (_dl_catch_error): Initialize C with argument pointers and address of
1278 volatile local ERRCODE rather than copying values out of C at return.
1280 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1282 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1283 * math/auto-libm-test-out: Regenerated.
1284 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1285 (hypot_test_data): Likewise.
1286 (pow_test_data): Likewise.
1287 (pow_tonearest_test_data): Likewise.
1288 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1290 (func_calc_desc): Add mpfr_ff_f union field.
1291 (FUNC_mpfr_ff_f): New macro.
1292 (test_functions): Add atan2, hypot and pow.
1293 (special_fill_min): New function.
1294 (special_fill_minus_min): Likewise.
1295 (special_fill_min_subnorm): Likewise.
1296 (special_fill_minus_min_subnorm): Likewise.
1297 (special_real_inputs): Add min, -min, min_subnorm and
1299 (calc_generic_results): Handle mpfr_ff_f.
1300 * sysdeps/i386/fpu/libm-test-ulps: Update.
1301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303 2013-12-16 Will Newton <will.newton@linaro.org>
1305 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1306 (Aligned Memory Blocks): Add documentation for aligned_alloc
1307 and suggest it as an alternative to posix_memalign.
1308 (Hooks for Malloc): Document __memalign_hook is also called
1309 for aligned_alloc. (Summary of Malloc): Add summary for
1310 aligned alloc. Document __memalign_hook is also called
1313 2013-12-16 Will Newton <will.newton@linaro.org>
1315 * manual/memory.texi (Malloc Examples): Clarify default
1316 alignment documentation. Suggest posix_memalign rather
1317 than memalign or valloc.
1318 (Aligned Memory Blocks): Remove suggestion to use memalign
1319 or valloc. Remove obsolete comment about BSD.
1320 Document memalign errno values and mark the function obsolete.
1321 Document posix_memalign returned error codes. Mark valloc
1322 as obsolete. (Hooks for Malloc): __memalign_hook is also
1323 called for posix_memalign and valloc.
1324 (Summary of Malloc): Add posix_memalign to function summary.
1325 __memalign_hook is also called for posix_memalign and valloc.
1327 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1329 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1333 (sloww): Use mynumber union. Expand ternary operator into
1335 (cslow): use mynumber union.
1337 2013-12-16 Allan McRae <allan@archlinux.org>
1339 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1340 * configure: Regenerated.
1342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1345 * configure.ac: Added --enable-maintainer-mode. Check for
1346 autoconf when enabled.
1347 * configure: Regenerated.
1349 * nscd/nscd.service: New file.
1350 * nscd/nscd.tmpfiles: New file.
1352 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1355 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1356 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1357 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1358 (strstr): Add __strstr_sse2_unaligned ifunc.
1359 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1360 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1361 (strcasestr): Remove __strcasestr_sse42 ifunc.
1362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1366 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1368 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1369 * sysdeps/sh/bits/fenv.h: ... here.
1370 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1372 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1376 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1379 hypotf multiarch implementations.
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1383 multiarch hypot for PPC64.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1387 multiarch hypotf for PPC64.
1389 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1392 modff multiarch implementations.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1396 multiarch modf for PPC64.
1397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1400 multiarch modff for PPC64.
1402 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1405 and logl multiarch implementations.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1409 multiarch logb for PPC64.
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1413 multiarch logb for PPC64.
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1417 multiarch logb for PPC64.
1419 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1422 isinff multiarch implementation.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1427 multiarch isinf for PPC64.
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1431 multiarch isinff for PPC64.
1433 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1436 finitef multiarch implementation.
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1441 multiarch finite for PPC64.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1445 multiarch finitef for PPC64.
1447 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1450 lrint multiarch implementation.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1455 multiarch llrint for PPC64.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1457 multiarch lrint for PPC64.
1459 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1462 copysignf multiarch implementation.
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1468 multiarch copysign for PPC64.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1470 multiarch copysignf for PPC64.
1472 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1475 multiarch implementation.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1484 multiarch llround for PPC64.
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1486 multiarch trunc for PPC64.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1488 multiarch truncf for PPC64.
1490 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1493 multiarch implementation.
1494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1502 multiarch llround for PPC64.
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1504 multiarch round for PPC64.
1505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1506 multiarch roundf for PPC64.
1508 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1511 multiarch implementation.
1512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1520 multiarch llround for PPC64.
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1522 multiarch floor for PPC64.
1523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1524 multiarch floorf for PPC64.
1526 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1529 multiarch implementation.
1530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1538 multiarch llround for PPC64.
1539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1540 multiarch ceil for PPC64.
1541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1542 multiarch ceilf for PPC64.
1544 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1547 multiarch implementation.
1548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1555 multiarch llround for PPC64.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1557 multiarch lround for PPC64.
1559 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1562 multiarch implementation.
1563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1570 multiarch isnan for PPC64.
1571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1572 multiarch isnanf for PPC64.
1574 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1577 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1578 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1579 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1580 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1583 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1586 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1590 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1593 multiarch implementations.
1594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1595 (__libc_ifunc_impl_list): Likewise.
1596 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1597 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1598 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1599 multiarch stpcpy for PPC64.
1601 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1604 multiarch implementations.
1605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1606 (__libc_ifunc_impl_list): Likewise.
1607 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1608 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1609 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1610 multiarch strcpy for PPC64.
1612 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1615 redefine function name.
1616 (_wordcopy_fwd_dest_aligned): Likewise.
1617 (_wordcopy_bwd_aligned): Likewise.
1618 (_wordcopy_bwd_dest_aligned): Likewise.
1619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1620 multiarch implementations.
1621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1622 (__libc_ifunc_impl_list): Likewise.
1623 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1624 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1625 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1626 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1627 multiarch wcscpy for PPC64.
1629 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1632 multiarch implementations.
1633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1634 (__libc_ifunc_impl_list): Likewise.
1635 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1636 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1637 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1638 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1639 multiarch wcscpy for PPC64.
1641 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1644 multiarch implementations.
1645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1646 (__libc_ifunc_impl_list): Likewise.
1647 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1648 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1649 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1650 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1651 multiarch wcsrchr for PPC64.
1653 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1656 multiarch implementations.
1657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1658 (__libc_ifunc_impl_list): Likewise.
1659 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1660 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1661 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1662 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1663 multiarch wcschr for PPC64.
1665 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1668 multiarch implementations.
1669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1670 (__libc_ifunc_impl_list): Likewise.
1671 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1672 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1674 multiarch strchrnul for PPC64.
1676 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1681 (__libc_ifunc_impl_list): Likewise.
1682 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1683 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1684 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1685 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1688 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1693 (__libc_ifunc_impl_list): Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1695 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1696 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1697 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1700 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1703 multiarch implementations.
1704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1705 (__libc_ifunc_impl_list): Likewise.
1706 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1707 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1708 strncasecmp for PPC64.
1709 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1710 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1711 multiarch strncasecmp_l for PPC64.
1713 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1716 multiarch implementations.
1717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1718 (__libc_ifunc_impl_list): Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1720 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1721 multiarch strcasecmp for PPC64.
1722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1725 multiarch strcasecmp_l for PPC64.
1727 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1732 (__libc_ifunc_impl_list): Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1734 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1735 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1738 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1743 (__libc_ifunc_impl_list): Likewise.
1744 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1745 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1746 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1749 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1754 (__libc_ifunc_impl_list): Likewise.
1755 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1756 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1757 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1758 rawmemrchr for PPC64.
1760 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1765 (__libc_ifunc_impl_list): Likewise.
1766 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1767 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1768 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1771 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1776 (__libc_ifunc_impl_list): Likewise.
1777 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1778 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1779 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1782 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1787 (__libc_ifunc_impl_list): Likewise.
1788 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1789 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1790 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1793 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1796 avoid cretion of __bzero symbol.
1797 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1799 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1801 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1804 multiarch implementations.
1805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1806 (__libc_ifunc_impl_list): Likewise.
1807 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1808 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1809 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1810 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1812 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1813 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1814 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1815 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1816 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1818 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1820 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1826 (__libc_ifunc_impl_list): Likewise.
1827 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1828 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1829 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1830 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1833 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1836 multiarch for POWER/PPC64.
1837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1838 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1840 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1841 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1842 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1843 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1845 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1848 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1850 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1851 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1852 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1853 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1854 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1855 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1856 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1857 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1858 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1859 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1860 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1861 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1862 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1863 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1864 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1873 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1875 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1877 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1879 * benchtests/Makefile (bench): Add exp2 and log2.
1880 (LDLIBS-bench-exp2): Add -lm.
1881 (LDLIBS-bench-log2): Likewise.
1882 * benchtests/exp2-inputs: New inputs file.
1883 * benchtests/log2-inputs: New inputs file.
1884 * benchtests/log-inputs: Add new inputs.
1885 * benchtests/tan-inputs: Likewise.
1887 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1889 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1891 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1892 csloww1, csloww2): ... from here.
1894 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1895 instead of structures.
1896 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1897 (POLYNOMIAL): Likewise.
1898 (TAYLOR_SLOW): Likewise.
1906 (bsloww1): Likewise.
1907 (bsloww2): Likewise.
1910 (csloww1): Likewise.
1911 (csloww2): Likewise.
1913 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1915 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1916 (__malloc_assert, __libc_realloc, __libc_calloc,
1917 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1919 * malloc/hooks.c (realloc_check): Likewise.
1921 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1923 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1924 * malloc/arena.c: Remove PER_THREAD conditional.
1925 [!PER_THREAD]: Remove code.
1926 (ptmalloc_unlock_all2): Likewise.
1927 (ptmalloc_init): Likewise.
1928 (_int_new_arena): Likewise.
1929 (arena_get2): Likewise.
1930 * malloc/hooks.c (__malloc_get_state): Likewise.
1931 (__malloc_set_state): Likewise.
1932 * malloc/malloc.c: Likewise.
1933 (struct malloc_state): Likewise.
1934 (struct malloc_par): Likewise.
1935 (__libc_realloc): Likewise.
1936 (__libc_mallopt): Likewise.
1938 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1942 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1944 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1945 macro to a function. Check for zero perturb_byte.
1946 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1948 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1950 * malloc/malloc.c: (force_reg): Remove.
1951 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1952 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1953 force_reg by atomic_forced_read.
1954 * malloc/arena.c (ptmalloc_init): Likewise.
1955 * malloc/hooks.c (top_check): Likewise.
1957 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1961 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1965 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1967 * math/auto-libm-test-in: Add tests of lgamma.
1968 * math/auto-libm-test-out: Regenerated.
1969 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1970 (M_LOG_2_SQRT_PIl): Likewise.
1971 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1974 (func_calc_desc): Add mpfr_f_f1 union field.
1983 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1984 (test_functions): Add lgamma.
1985 (calc_generic_results): Handle mpfr_f_f1.
1986 * sysdeps/i386/fpu/libm-test-ulps: Update.
1987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1992 __mpn_add_n for PowerPC64/POWER7.
1993 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1994 __mpn_sub_n for PowerPC64/POWER7.
1996 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1999 __mpn_addmul_1 for PowerPC64.
2000 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2001 __mpn_submul_1 for PowerPC64.
2002 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2004 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2007 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2010 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2012 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2014 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2016 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2019 add multiarch folders.
2020 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2021 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2022 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2023 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2024 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2025 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2026 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2027 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2028 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2029 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2030 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2038 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2041 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2047 multiarch __ieee754_hypot for PowerPC32.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2053 multiarch __ieee754_hypotf for PowerPC32.
2055 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2058 long_double_symbol only if __logbl is defined.
2059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2060 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2062 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2063 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2064 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2065 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2066 path for implementation.
2067 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2070 logb, and logbl multiarch implementations for PowerPC32.
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2076 multiarch logb for PowerPC32.
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2082 multiarch logbf for PowerPC32.
2083 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2087 multiarch logbl implementation for PowerPC32.
2089 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2092 and modff multiarch implementations.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2098 multiarch modf for PowerPC32.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2104 multiarch modff for PowerPC32.
2106 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2109 and lrintf multiarch implementations.
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2115 multiarch lrint for PowerPC32.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2117 file: multiarch lrintf for PowerPC32.
2119 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2122 and lroundf multiarch implementations.
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2130 multiarch lround for PowerPC32.
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2132 file: multiarch lroundf for PowerPC32.
2134 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2137 copysign and copysignf multiarch implementations.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2143 file: multiarch copysign for PowerPC32.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2145 file: multiarch copysignf for PowerPC32.
2147 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2150 and truncf multiarch implementations.
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2156 multiarch trunc for PowerPC32.
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2162 multiarch truncf for PowerPC32.
2164 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2167 and roundf multiarch implementations.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2173 multiarch round for PowerPC32.
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2179 multiarch roundf for PowerPC32.
2181 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2184 and floorf multiarch implementations.
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2190 multiarch floor for PowerPC32.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2196 multiarch floorf for PowerPC32.
2198 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2201 and ceilf multiarch implementations.
2202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2207 multiarch ceil for PowerPC32.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2213 multiarch ceilf for PowerPC32.
2215 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2217 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2219 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2222 and finitef multiarch implementations.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2228 multiarch finite for PowerPC32.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2232 file: multiarch finitef for PowerPC32.
2234 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2237 and isinff multiarch implementations.
2238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2243 multiarch isinf for PowerPC32.
2244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2247 multiarch isinff for PowerPC32.
2249 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2251 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2252 alias when __isnan is defined.
2253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2254 and isnanf multiarch implementations.
2255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2264 multiarch isnan for PowerPC32.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2270 multiarch isnanf for PowerPC32.
2272 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2275 and sqrtf multiarch implementations.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2281 multiarch sqrt for PowerPC32.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2287 multiarch sqrtf for PowerPC32.
2289 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2292 and llroundf multiarch implementations.
2293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2300 file: multiarch llround for PowerPC32.
2301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2302 file: multiarch llroundf for PowerPC32.
2304 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2307 multiarch PowerPC32 fpu implementations.
2308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2313 multiarch llrint for PowerPC32.
2314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2321 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2325 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2334 multiarch wordcopy for PPC32.
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2338 (__libc_ifunc_impl_list): Likewise.
2339 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2340 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2341 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2342 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2344 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2346 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2348 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2356 multiarch wcscpy for PPC32.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2360 (__libc_ifunc_impl_list): Likewise.
2361 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2362 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2363 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2364 sysdeps/powerpc/power6/wcscpy.c.
2366 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2376 multiarch wcsrchr for PPC32.
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2380 (__libc_ifunc_impl_list): Likewise.
2381 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2382 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2383 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2384 sysdeps/powerpc/power6/wcsrchr.c.
2386 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2394 multiarch wcschr for PPc32.
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2398 (__libc_ifunc_impl_list): Likewise.
2399 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2400 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2401 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2402 sysdeps/powerpc/power6/wcschr.c.
2404 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2406 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2410 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2411 file: multiarch strchr for PPC32.
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
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 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2421 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2423 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2426 multiarch strchrnul for PPC32.
2427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
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/strncase-power7.c: New
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2437 multiarch strncasecmp for PPC32.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2441 multiarch strncasecmp_l for PPC32.
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2443 strncasecmp multiarch objects.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2445 (__libc_ifunc_impl_list): Likewise.
2447 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2452 multiarch strncasecmp for PPC32.
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2456 multiarch strcasecmp_l for PPC32.
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2460 (__libc_ifunc_impl_list): Likewise.
2462 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2469 multiarch strncmp for PPC32.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2473 (__libc_ifunc_impl_list): Likewise.
2475 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2478 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2485 (__libc_ifunc_impl_list): Likewise.
2487 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2493 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2497 (__libc_ifunc_impl_list): Likewise.
2499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2501 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2506 multiarch rawmemchr for PPC32.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2510 (__libc_ifunc_impl_list): Likewise.
2512 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2519 file: memrchr multiarch for PPC32.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2523 (__libc_ifunc_impl_list): Likewise.
2525 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2532 multiarch memchr for PPC32.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2536 (__libc_ifunc_impl_list): Likewise.
2538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2540 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2541 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2543 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2545 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2546 file: multiarch mempcpy for PPC32.
2547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2550 (__libc_ifunc_impl_list): Likewise.
2552 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2556 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2558 multiarch bzero for PPC32.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2564 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2565 file: multiarch memset for PPC32.
2566 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2568 memset multiarch objects.
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/memcmp-power7.S: New
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2579 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2583 (__libc_ifunc_impl_list): Likewise.
2585 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2596 multiarch memcpy for PPC32.
2597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2600 (__libc_ifunc_impl_list): Likewise.
2602 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2605 support multiarch for POWER/PPC32.
2606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2610 Implies file to make multiarch folder appers before the fpu and
2611 default folder for power4 configuration.
2613 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2615 * scripts/bench.pl: Append volatile keyword to type.
2617 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2619 * sysdeps/sh/sotruss-lib.c: New file.
2620 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2622 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2626 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2629 * math/w_tgamma.c: Include <errno.h>.
2630 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2631 * math/w_tgammaf.c: Include <errno.h>.
2632 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2633 * math/w_tgammal.c: Include <errno.h>.
2634 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2635 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2636 underflow. Add more tgamma tests.
2637 * math/auto-libm-test-out: Regenerated.
2638 * sysdeps/i386/fpu/libm-test-ulps: Update.
2639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2641 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2642 sin, sinh, tan, tanh, tgamma, y0 and y1.
2643 * math/auto-libm-test-out: Regenerated.
2644 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2645 (TEST_COND_x86): Likewise.
2646 (M_E2l): Remove macro.
2648 (M_2_SQRT_PIl): Likewise.
2649 (M_SQRT_PIl): Likewise.
2650 (M_1_DIV_El): Likewise.
2651 (log_test_data): Use AUTO_TESTS_f_f.
2652 (log10_test_data): Likewise.
2653 (log1p_test_data): Likewise.
2654 (log2_test_data): Likewise.
2655 (sin_test_data): Likewise.
2656 (sin_tonearest_test_data): Likewise.
2657 (sin_towardzero_test_data): Likewise.
2658 (sin_downward_test_data): Likewise.
2659 (sin_upward_test_data): Likewise.
2660 (sinh_test_data): Likewise.
2661 (sinh_tonearest_test_data): Likewise.
2662 (sinh_towardzero_test_data): Likewise.
2663 (sinh_downward_test_data): Likewise.
2664 (sinh_upward_test_data): Likewise.
2665 (tan_test_data): Likewise.
2666 (tan_tonearest_test_data): Likewise.
2667 (tan_towardzero_test_data): Likewise.
2668 (tan_downward_test_data): Likewise.
2669 (tan_upward_test_data): Likewise.
2670 (tanh_test_data): Likewise.
2671 (tgamma_test_data): Likewise.
2672 (y0_test_data): Likewise.
2673 (y1_test_data): Likewise.
2674 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2675 (special_real_inputs): Add pi/4.
2676 * sysdeps/i386/fpu/libm-test-ulps: Update.
2677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2679 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2682 "longjmp_target" static probes.
2683 (__longjmp): Rename to __longjmp_symbol.
2684 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2685 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2686 on which longjmp to generate.
2687 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2688 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2690 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2691 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2692 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2693 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2694 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2695 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2697 __longjmp_symbol based on which __longjmp to generate.
2698 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2700 (setjmp): Rename to setjmp_symbol.
2701 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2702 (_setjmp): Rename to _setjmp_symbol.
2703 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2704 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2705 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2706 which setjmp to generate.
2707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2708 "longjmp_target" static probes.
2710 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2712 * benchtests/README: Add note about output arguments.
2713 * benchtests/bench-sincos.c: Remove file.
2714 * benchtests/sincos-inputs: New file.
2715 * scripts/bench.pl: Identify output arguments and define
2716 static variables for them.
2718 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2721 * Makefile (INSTALL): Add install-plain.texi as the primary
2723 * manual/install-plain.texi: New file.
2724 * manual/install.texi: Include node directive only for
2725 non-plaintext output.
2727 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2729 * stdlib/longlong.h: Update from GCC.
2733 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2734 * math/w_j0f.c (y0f): Likewise.
2735 * math/w_j0l.c (__y0l): Likewise.
2736 * math/w_j1.c (y1): Likewise.
2737 * math/w_j1f.c (y1f): Likewise.
2738 * math/w_j1l.c (__y1l): Likewise
2739 * math/w_jn.c (yn): Likewise.
2740 * math/w_jnf.c (ynf): Likewise.
2741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2742 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2743 value for Bessel function domain errors outside _SVID_ mode.
2744 Adjust sign of return value for yn (negative integer, 0).
2745 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2746 by zero in return for negative x and set sign appropriately for
2748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2750 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2751 expectations in error cases.
2752 (y1_test_data): Likewise.
2753 (yn_test_data): Likewise.
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2757 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2759 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2760 "64" to "64-v1". Add "64-v2".
2761 (abi-64-options): Rename to ...
2762 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2763 (abi-64-condition): Rename to ...
2764 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2765 (abi-64-ld-soname): Rename to ...
2766 (abi-64-v1-ld-soname): ... this.
2767 (abi-64-v2-options): Define.
2768 (abi-64-v2-condition): Likewise.
2769 (abi-64-v2-ld-soname): Likewise.
2770 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2771 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2776 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2777 Alan Modra <amodra@gmail.com>
2779 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2780 New versions for use with the ELFv2 ABI.
2781 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2782 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2784 (struct La_ppc64v2_retval): Likewise.
2785 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2786 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2787 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2788 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2789 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2790 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2791 Do not save or restore CR.
2792 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2793 (_dl_profile_resolve): Do no save or restore CR. Support extended
2794 return values for ELFv2 ABI. Fix location of FPR return registers.
2795 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2796 updated values for _CALL_ELF == 2.
2797 (La_regs, La_retval, int_retval): Likewise.
2799 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2801 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2802 (FRAME_MIN_SIZE_PARM): Likewise.
2803 (FRAME_BACKCHAIN): Likewise.
2804 (FRAME_CR_SAVE): Likewise.
2805 (FRAME_LR_SAVE): Likewise.
2806 (FRAME_TOC_SAVE): Likewise.
2807 (FRAME_PARM_SAVE): Likewise.
2808 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2809 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2810 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2811 (call_mcount_parm_offset): New macro.
2812 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2813 (PROF): Use symbolic stack frame offsets.
2814 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2816 Redefine in terms of FRAME_MIN_SIZE.
2817 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2818 (_dl_profile_resolve): Likewise. Update comment.
2819 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2820 symbols stack frame offsets.
2821 (__sigsetjmp): Likewise.
2822 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2823 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2824 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2825 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2828 (FRAME_BACKCHAIN): Remove.
2829 (FRAME_CR_SAVE): Likewise.
2830 (FRAME_LR_SAVE): Likewise.
2831 (FRAME_COMPILER_DW): Likewise.
2832 (FRAME_LINKER_DW): Likewise.
2833 (FRAME_TOC_SAVE): Likewise.
2834 (FRAME_PARM_SAVE): Likewise.
2835 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2836 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2837 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2839 (CHECK_SP): Use symbolic stack frame offsets.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2841 zone" instead of caller's parameter save area for temp storage.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2843 Likewise. Also, use symbolic stack frame offsets.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2845 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2846 our own stack frame instead of the caller's.
2847 (__socket): Use symbolic stack frame offsets.
2849 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2850 Alan Modra <amodra@gmail.com>
2852 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2854 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2855 PPC64_LOCAL_ENTRY_OFFSET): Define.
2856 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2858 (elf_machine_fixup_plt): Call it.
2859 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2861 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2862 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2863 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2864 r2 before calling target.
2866 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2867 Alan Modra <amodra@gmail.com>
2869 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2870 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2871 versions of macros to support ELFv2 ABI.
2872 (LOCALENTRY): New macro.
2873 (ENTRY, EALIGN): Use it.
2874 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2875 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2876 fall through into ENTRY entry point.
2877 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2878 Only define if _CALL_ELF != 2.
2880 (elf_machine_matches_host): Verify ABI version matches.
2881 (RTLD_START): Use LOCALENTRY.
2882 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2883 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2884 (PLT_ENTRY_WORDS): New macro.
2885 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2886 (elf_machine_runtime_setup): Support ELFv2 ABI.
2887 (elf_machine_fixup_plt): Likewise.
2888 (elf_machine_plt_conflict): Likewise.
2889 (resolve_ifunc): Likewise.
2890 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2894 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2896 (makecontext): Support ELFv2 ABI.
2897 * elf/elf.h (EF_PPC64_ABI): Define.
2899 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2901 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2902 New assembler macro.
2903 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2904 [ASSEMBLER] (ENTRY): ... but instead here ...
2905 [ASSEMBLER] (EALIGN): ... and here.
2906 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2907 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2908 [!ASSEMBLER] (ENTRY_2): Use it.
2909 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2910 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2911 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2912 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2913 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2915 Use PPC64_LOAD_FUNCPTR.
2917 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2919 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2921 2013-12-04 Alan Modra <amodra@gmail.com>
2923 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2924 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2925 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2926 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2929 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2930 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2931 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2932 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2933 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2935 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2938 (__makecontext): Fix incorrect CFI when backtracing out of
2939 context created via makecontext.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2941 (__setcontext): Fix incorrect CFI during switch to new context.
2942 (__novec_setcontext): Likewise.
2944 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2947 * time/strptime_l.c (__strptime_internal): Allow modifiers
2949 * time/tst-strptime.c (day_tests): Add testcase.
2952 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2954 * scripts/bench.pl: Skip over blank lines.
2956 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2959 * manual/time.texi (Calendar Time): Clarify what timezone functions
2962 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2966 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2968 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2970 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2971 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2972 * debug/memset_chk.c (__memset_chk): Likewise.
2973 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2974 * debug/strncpy_chk.c: Likewise.
2976 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2980 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2981 (__ieee754_exp): For possibly underflowing results, check size of
2982 result and force underflow exception if required.
2983 * math/auto-libm-test-in: Add more tests of exp.
2984 * math/auto-libm-test-out: Regenerated.
2985 * sysdeps/i386/fpu/libm-test-ulps: Update.
2986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2989 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2990 * math/w_exp2f.c (__exp2f): Likewise.
2991 * math/w_exp2l.c (__exp2l): Likewise.
2992 * math/auto-libm-test-in: Do not allow missing errno on exp2
2994 * math/auto-libm-test-out: Regenerated.
2996 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2999 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3000 handle filename validation.
3001 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3004 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3007 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3008 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3009 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3011 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3013 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3015 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3016 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3017 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3018 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3019 Add more erfc tests.
3020 * math/auto-libm-test-out: Regenerated.
3021 * sysdeps/i386/fpu/libm-test-ulps: Update.
3022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3024 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3025 exp2, expm1, j0 and j1.
3026 * math/auto-libm-test-out: Regenerated.
3027 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3028 (erfc_test_data): Likewise.
3029 (exp_test_data): Likewise.
3030 (exp_tonearest_test_data): Likewise.
3031 (exp_towardzero_test_data): Likewise.
3032 (exp_downward_test_data): Likewise.
3033 (exp_upward_test_data): Likewise.
3034 (exp10_test_data): Likewise.
3035 (exp2_test_data): Likewise.
3036 (expm1_test_data): Likewise.
3037 (j0_test_data): Likewise.
3038 (j1_test_data): Likewise.
3039 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3040 (input_flag_type): Add flag_xfail_rounding.
3041 (input_flags): Add xfail-rounding.
3042 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3043 (output_for_one_input_case): Handle flag_xfail_rounding.
3044 * sysdeps/i386/fpu/libm-test-ulps: Update.
3045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3047 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3050 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3053 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3056 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3057 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3058 (STAP_PROBE0): New macro.
3059 (STAP_PROBE1): Likewise.
3060 (STAP_PROBE2): Likewise.
3061 (STAP_PROBE3): Likewise.
3062 (STAP_PROBE4): Likewise.
3064 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3066 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3068 2013-12-02 Steve Ellcey <sellcey@mips.com>
3070 * benchtests/Makefile (bench): Add sqrt.
3071 (LDLIBS-bench-sqrt): New.
3072 * benchtests/sqrt-input: New.
3074 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3076 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3077 (GAIH_EAI): Likewise.
3078 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3079 (gaih_inet): Likewise.
3080 (getaddrinfo): Don't use GAIH_EAI.
3082 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3083 (struct gaih): Remove definition.
3085 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3087 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3088 Use HERRNOP directly.
3090 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3094 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3096 * math/gen-auto-libm-tests.c (test_functions): Add more
3097 single-argument functions.
3098 (special_fill_pi_2): New function.
3099 (special_fill_minus_pi_2): Likewise.
3100 (special_fill_pi_6): Likewise.
3101 (special_fill_minus_pi_6): Likewise.
3102 (special_fill_pi_3): Likewise.
3103 (special_fill_2pi_3): Likewise.
3104 (special_fill_e): Likewise.
3105 (special_fill_1_e): Likewise.
3106 (special_fill_e_minus_1): Likewise.
3107 (special_real_inputs): Add more special inputs.
3108 (output_for_one_input_case): Do not require ERANGE on underflow to
3109 zero if round-to-nearest result does not underflow to zero, unless
3110 exact results required.
3111 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3112 atan, atanh, cbrt, cos and cosh.
3113 * math/auto-libm-test-out: Regenerated.
3114 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3115 (acos_tonearest_test_data): Likewise.
3116 (acos_towardzero_test_data): Likewise.
3117 (acos_downward_test_data): Likewise.
3118 (acos_upward_test_data): Likewise.
3119 (acosh_test_data): Likewise.
3120 (asin_test_data): Likewise.
3121 (asin_tonearest_test_data): Likewise.
3122 (asin_towardzero_test_data): Likewise.
3123 (asin_upward_test_data): Likewise.
3124 (asinh_test_data): Likewise.
3125 (atan_test_data): Likewise.
3126 (atanh_test_data): Likewise.
3127 (cbrt_test_data): Likewise.
3128 (cos_test_data): Likewise.
3129 (cos_tonearest_test_data): Likewise.
3130 (cos_towardzero_test_data): Likewise.
3131 (cos_downward_test_data): Likewise.
3132 (cos_upward_test_data): Likewise.
3133 (cosh_test_data): Likewise.
3134 (cosh_tonearest_test_data): Likewise.
3135 (cosh_towardzero_test_data): Likewise.
3136 (cosh_downward_test_data): Likewise.
3137 (cosh_upward_test_data): Likewise.
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3141 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3144 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3145 * math/w_exp10f.c (__exp10f): Likewise.
3146 * math/w_exp10l.c (__exp10l): Likewise.
3147 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3148 errno settings in existing tests.
3151 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3152 precision control set to double precision.
3153 * sysdeps/i386/fpu/w_sqrt.c: New file.
3154 * math/auto-libm-test-in: Add more tests.
3155 * math/auto-libm-test-out: Update.
3157 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3158 (sqrt_test_tonearest): New function.
3159 (sqrt_towardzero_test_data): New variable.
3160 (sqrt_test_towardzero): New function.
3161 (sqrt_downward_test_data): New variable.
3162 (sqrt_test_downward): New function.
3163 (sqrt_upward_test_data): New variable.
3164 (sqrt_test_upward): New function.
3165 (main): Call the new functions.
3167 * math/gen-auto-libm-tests.c: New file.
3168 * math/auto-libm-test-in: Likewise.
3169 * math/auto-libm-test-out: New generated file.
3170 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3172 (%beautify): Add generated representations of zero.
3173 (top level): Set $auto_input and call parse_auto_input.
3174 (beautify): Remove trailing "f" from hex float constants.
3175 (parse_args): Handle XFAIL_TEST.
3176 (convert_condition): New function.
3177 (or_value): Likewise.
3178 (or_cond_value): Likewise.
3179 (generate_testfile): Handle AUTO_TESTS_* lines.
3180 (parse_auto_input): New function.
3181 * math/libm-test.inc (XFAIL_TEST): New macro.
3182 (ERRNO_UNCHANGED): Update value.
3183 (ERRNO_EDOM): Likewise.
3184 (ERRNO_ERANGE): Likewise.
3185 (IGNORE_RESULT): Likewise.
3186 (TEST_COND_flt_32): New macro.
3187 (TEST_COND_dbl_64): Likewise.
3188 (TEST_COND_ldbl_96_intel): Likewise.
3189 (TEST_COND_ldbl_96_m68k): Likewise.
3190 (TEST_COND_ldbl_128): Likewise.
3191 (TEST_COND_ldbl_128ibm): Likewise.
3192 (TEST_COND_long32): Likewise.
3193 (TEST_COND_long64): Likewise.
3194 (TEST_COND_before_rounding): Likewise.
3195 (TEST_COND_after_rounding): Likewise.
3196 (enable_test): Handle XFAIL_TEST flag.
3197 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3198 with finite results.
3199 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3202 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3203 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3206 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3207 __tls_get_addr_internal instead of __tls_get_offset in order to
3208 avoid GOT pointer dependency. Make rtld export
3209 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3210 __tls_get_addr since we are a __tls_get_offset platform.
3211 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3212 GOT pointer being set up before.
3213 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3215 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3217 * manual/math.texi (Errors in Math Functions): Document accuracy
3221 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3222 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3224 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3225 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3238 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3239 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3240 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3241 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3242 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3244 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3246 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3248 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3249 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3250 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3251 atomic-feupdateenv and flt-rounds.
3252 * sysdeps/powerpc/nofpu/Versions (libc): Add
3253 __atomic_feholdexcept, __atomic_feclearexcept,
3254 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3256 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3257 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3258 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3263 * manual/arith.texi (FP Exceptions): Document that exceptions may
3264 not be raised when matherr is used.
3265 (Math Error Reporting): Document overflow in directed rounding
3266 modes. Document that errno may not be set when finite values are
3267 returned on overflow. Document intent to set errno on underflow
3268 only for underflow to zero.
3271 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3272 round-to-nearest then adjust result for other rounding modes.
3273 * include/fenv.h (fegetround): Use libm_hidden_proto.
3274 * math/fegetround.c (fegetround): Use libm_hidden_def.
3275 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3276 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3277 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3278 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3280 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3281 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3282 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3283 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3285 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3288 * nss/Versions (libnss_files): Add
3289 _nss_files_gethostbyname3_r.
3290 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3292 (HOST_DB_LOOKUP): Remove macro.
3293 (_nss_files_gethostbyname_r): Implement function without the
3294 HOST_DB_LOOKUP macro.
3295 (_nss_files_gethostbyname2_r): Likewise.
3297 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3299 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3301 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3303 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3304 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3307 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3309 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3310 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3311 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3312 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3313 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3314 __fe_nomask_env_priv and attribute_hidden.
3315 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3316 (libc_feupdateenv_test_ppc): Likewise.
3317 (libc_feresetround_ppc): Likewise.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3319 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3320 compat_symbol macro.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3322 (__fe_nomask_env): Likewise.
3323 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3325 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3327 * string/Makefile: Remove ifunc tests.
3328 * string/test-string.h: Define TEST_IFUNC.
3329 * string/test-bcopy-ifunc.c: Remove.
3330 * string/test-bzero-ifunc.c: Likewise.
3331 * string/test-memccpy-ifunc.c: Likewise.
3332 * string/test-memchr-ifunc.c: Likewise.
3333 * string/test-memcmp-ifunc.c: Likewise.
3334 * string/test-memcpy-ifunc.c: Likewise.
3335 * string/test-memmem-ifunc.c: Likewise.
3336 * string/test-memmove-ifunc.c: Likewise.
3337 * string/test-mempcpy-ifunc.c: Likewise.
3338 * string/test-memrchr-ifunc.c: Likewise.
3339 * string/test-memset-ifunc.c: Likewise.
3340 * string/test-rawmemchr-ifunc.c: Likewise.
3341 * string/test-stpcpy-ifunc.c: Likewise.
3342 * string/test-stpncpy-ifunc.c: Likewise.
3343 * string/test-strcasecmp-ifunc.c: Likewise.
3344 * string/test-strcasestr-ifunc.c: Likewise.
3345 * string/test-strcat-ifunc.c: Likewise.
3346 * string/test-strchr-ifunc.c: Likewise.
3347 * string/test-strchrnul-ifunc.c: Likewise.
3348 * string/test-strcmp-ifunc.c: Likewise.
3349 * string/test-strcpy-ifunc.c: Likewise.
3350 * string/test-strcspn-ifunc.c: Likewise.
3351 * string/test-strlen-ifunc.c: Likewise.
3352 * string/test-strncasecmp-ifunc.c: Likewise.
3353 * string/test-strncat-ifunc.c: Likewise.
3354 * string/test-strncmp-ifunc.c: Likewise.
3355 * string/test-strncpy-ifunc.c: Likewise.
3356 * string/test-strnlen-ifunc.c: Likewise.
3357 * string/test-strpbrk-ifunc.c: Likewise.
3358 * string/test-strrchr-ifunc.c: Likewise.
3359 * string/test-strspn-ifunc.c: Likewise.
3360 * string/test-strstr-ifunc.c: Likewise.
3362 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3364 * benchtests/Makefile: Remove ifunc tests.
3365 * benchtests/bench-string.h: Define TEST_IFUNC.
3366 * benchtests/bench-bcopy-ifunc.c: Remove.
3367 * benchtests/bench-bzero-ifunc.c: Likewise.
3368 * benchtests/bench-memccpy-ifunc.c: Likewise.
3369 * benchtests/bench-memchr-ifunc.c: Likewise.
3370 * benchtests/bench-memcmp-ifunc.c: Likewise.
3371 * benchtests/bench-memcpy-ifunc.c: Likewise.
3372 * benchtests/bench-memmem-ifunc.c: Likewise.
3373 * benchtests/bench-memmove-ifunc.c: Likewise.
3374 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3375 * benchtests/bench-memrchr-ifunc.c: Likewise.
3376 * benchtests/bench-memset-ifunc.c: Likewise.
3377 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3378 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3379 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3380 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3381 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3382 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3383 * benchtests/bench-strcat-ifunc.c: Likewise.
3384 * benchtests/bench-strchr-ifunc.c: Likewise.
3385 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3386 * benchtests/bench-strcmp-ifunc.c: Likewise.
3387 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3388 * benchtests/bench-strcpy-ifunc.c: Likewise.
3389 * benchtests/bench-strcspn-ifunc.c: Likewise.
3390 * benchtests/bench-strlen-ifunc.c: Likewise.
3391 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3392 * benchtests/bench-strncat-ifunc.c: Likewise.
3393 * benchtests/bench-strncmp-ifunc.c: Likewise.
3394 * benchtests/bench-strncpy-ifunc.c: Likewise.
3395 * benchtests/bench-strnlen-ifunc.c: Likewise.
3396 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3397 * benchtests/bench-strrchr-ifunc.c: Likewise.
3398 * benchtests/bench-strsep-ifunc.c: Likewise.
3399 * benchtests/bench-strspn-ifunc.c: Likewise.
3400 * benchtests/bench-strstr-ifunc.c: Likewise.
3402 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3404 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3406 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3408 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3409 * rt/aio.h: Likewise.
3410 * sysdeps/gnu/bits/utmp.h: Likewise.
3411 * sysdeps/gnu/bits/utmpx.h: Likewise.
3412 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3413 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3414 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3415 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3416 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3417 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3418 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3419 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3420 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3423 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3424 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3426 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3427 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3428 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3429 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3430 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3431 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3432 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3433 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3436 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3439 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3440 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3443 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3444 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3445 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3446 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3447 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3448 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3449 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3450 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3451 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3452 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3453 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3455 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3458 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3459 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3461 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3463 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3464 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3467 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3470 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3471 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3472 (__fesetround): Remove define.
3473 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3474 rounding and exceptions handling.
3475 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3476 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3477 (__fe_nomask_env): Likewise.
3478 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3479 __fegetround instead of fegetround.
3480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3483 2013-11-21 Roland McGrath <roland@hack.frob.com>
3485 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3488 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3490 2013-11-21 Meador Inge <meadori@codesourcery.com>
3493 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3494 (encrypt_r): Likewise.
3495 * malloc/obstack.h (obstack_free): Likewise.
3496 * posix/unistd.h (encrypt): Likewise.
3498 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3500 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3501 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3502 DL_CALL_DT_FINI() that call the functions directly.
3503 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3504 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3505 * elf/dl-fini.c: Likewise.
3507 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3509 * malloc/hooks.c (memalign_check): Add alignment rounding.
3510 * malloc/malloc.c (_mid_memalign): New function.
3511 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3512 Implement by calling _mid_memalign.
3513 * manual/probes.texi (Memory Allocation Probes): Remove
3514 memory_valloc_retry and memory_pvalloc_retry.
3516 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3518 * locale/programs/locarchive.c (open_archive): Add const
3519 qualifier to ARCHIVEFNAME and copy default fname to
3523 * libio/tst-widetext.input: Rename Oriya to Odia.
3524 * locale/iso-639.def: Likewise.
3526 * manual/probes.texi (Mathematical Function Probes): Add
3527 documentation for sin, cos, asin and acos probes.
3528 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3529 (__sin32): Add slowasin probe.
3530 (__cos32): Add slowacos probe.
3531 (__mpsin): Add slowsin probe.
3532 (__mpcos): Add slowcos probe.
3534 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3537 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3538 thread-local __sim_exceptions_thread and global
3539 __sim_exceptions_global.
3540 (__sim_disabled_exceptions): Change to thread-local
3541 __sim_disabled_exceptions_thread and global
3542 __sim_disabled_exceptions_global.
3543 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3544 and global __sim_round_mode_global.
3545 (__simulate_exceptions): Use thread-local floating-point state and
3546 set global state from it as needed.
3547 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3548 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3549 __sim_round_mode_thread.
3550 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3551 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3552 and global __sim_exceptions_global.
3553 (__sim_disabled_exceptions): Change to thread-local
3554 __sim_disabled_exceptions_thread and global
3555 __sim_disabled_exceptions_global.
3556 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3557 and global __sim_round_mode_global.
3558 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3559 (SIM_SET_GLOBAL): Likewise.
3560 * sysdeps/powerpc/soft-fp/sfp-machine.h
3561 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3562 __sim_round_mode_thread.
3563 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3564 __sim_disabled_exceptions_thread.
3565 (__sim_exceptions): Change to __sim_exceptions_thread.
3566 (__sim_disabled_exceptions): Change to
3567 __sim_disabled_exceptions_thread.
3568 (__sim_round_mode): Change to __sim_round_mode_thread.
3569 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3570 thread-local floating-point state and set global state from it as
3572 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3573 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3574 (__sim_disabled_exceptions): Remove extern declaration.
3575 (feenableexcept): Use thread-local floating-point state and set
3576 global state from it as needed.
3577 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3579 (__sim_disabled_exceptions): Likewise.
3580 (__sim_round_mode): Likewise.
3581 (__fegetenv): Use thread-local floating-point state.
3582 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3583 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3584 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3585 floating-point state and set global state from it as needed.
3586 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3587 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3588 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3590 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3591 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3593 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3594 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3595 Use __sim_round_mode_thread.
3596 * math/test-fenv-tls.c: New file.
3597 * math/Makefile (tests): Add test-fenv-tls.
3598 ($(objpfx)test-fenv-tls): Depend on
3599 $(common-objpfx)nptl/libpthread.so.
3601 2013-11-19 Andreas Schwab <schwab@suse.de>
3603 * locale/programs/locale.c (show_info): Decode wordarray elements.
3604 * locale/categories.def (LC_MONETARY): Add element for
3605 _NL_MONETARY_CRNCYSTR.
3606 * locale/C-monetary.c (conversion_rate): New variable.
3607 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3610 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3612 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3613 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3615 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3617 * elf/Makefile (tst-auxv): New test.
3618 * elf/tst-auxv.c: New
3619 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3621 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3623 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3624 (hidden_proto): Caller changed.
3625 (hidden_tls_proto): New macro.
3626 (libc_hidden_tls_proto): Likewise.
3627 (rtld_hidden_tls_proto): Likewise.
3628 (libm_hidden_tls_proto): Likewise.
3629 (libresolv_hidden_tls_proto): Likewise.
3630 (librt_hidden_tls_proto): Likewise.
3631 (libdl_hidden_tls_proto): Likewise.
3632 (libnss_files_hidden_tls_proto): Likewise.
3633 (libnsl_hidden_tls_proto): Likewise.
3634 (libnss_nisplus_hidden_tls_proto): Likewise.
3635 (libutil_hidden_tls_proto): Likewise.
3637 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3640 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3641 (decompose_rpath): Defer expansion to fillin_rpath.
3642 (_dl_init_paths): Pass linkmap to fillin_rpath.
3644 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3646 * benchtests/Makefile: Add strsep.
3647 * benchtests/bench-strsep.c: New file: strsep benchtest.
3648 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3650 2013-11-18 Andreas Schwab <schwab@suse.de>
3652 * locale/programs/locale.c (show_info) [case byte]: Check for
3653 '\377' instead of '\177'.
3654 * locale/C-monetary.c (not_available): Always use "\377".
3655 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3656 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3657 detect unavailable sign_posn locale elements.
3658 * locale/localeconv.c (__localeconv): For grouping and
3659 mon_grouping handle "\177" and "\377" like no grouping.
3660 (INT_ELEM): New macro. Use it to set all numeric members.
3661 * locale/programs/ld-monetary.c (monetary_read)
3662 <tok_mon_grouping>: Normalize single -1 to the empty string.
3663 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3666 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3669 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3670 when we match (nil).
3671 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3673 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3675 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3676 (NO_TEST_INLINE): Update value.
3677 (ERRNO_UNCHANGED): Likewise.
3678 (ERRNO_EDOM): Likewise.
3679 (ERRNO_ERANGE): Likewise.
3680 (IGNORE_RESULT): Likewise.
3681 (check_float_internal): Check signs of NaN results if
3683 (check_complex): Pass TEST_NAN_SIGN flag through to second
3684 check_float_internal call.
3685 (copysign_test_data): Add tests with quiet NaNs as second
3686 argument. Use TEST_NAN_SIGN.
3687 (fabs_test_data): Add test of negative quiet NaN argument. Use
3689 (signbit_test_data): Add tests of quiet NaN argument.
3690 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3692 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3694 (parse_args): Handle function results specified as IGNORE.
3695 * math/libm-test.inc (IGNORE_RESULT): New macro.
3696 (check_float_internal): Do not check numerical result if flag
3698 (check_complex): Pass through IGNORE_RESULT to second
3699 check_float_internal call.
3700 (check_int): Do not check numerical result if flag IGNORE_RESULT
3702 (check_long): Likewise.
3703 (check_bool): Likewise.
3704 (check_longlong): Likewise.
3705 (lrint_test_data): Add tests of infinite and NaN arguments.
3706 (lrint_tonearest_test_data): Likewise.
3707 (lrint_towardzero_test_data): Likewise.
3708 (lrint_downward_test_data): Likewise.
3709 (lrint_upward_test_data): Likewise.
3710 (llrint_test_data): Likewise.
3711 (llrint_tonearest_test_data): Likewise.
3712 (llrint_towardzero_test_data): Likewise.
3713 (llrint_downward_test_data): Likewise.
3714 (llrint_upward_test_data): Likewise.
3715 (lround_test_data): Likewise.
3716 (llround_test_data): Likewise.
3718 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3719 (ERRNO_UNCHANGED): Update value.
3720 (ERRNO_EDOM): Likewise.
3721 (ERRNO_ERANGE): Likewise.
3722 (NO_TEST_INLINE_FLOAT): New macro.
3723 (NO_TEST_INLINE_DOUBLE): Likewise.
3724 (enable_test): New function.
3725 (RUN_TEST_f_f): Check enable_test before running test.
3726 (RUN_TEST_2_f): Likewise.
3727 (RUN_TEST_fff_f): Likewise.
3728 (RUN_TEST_c_f): Likewise.
3729 (RUN_TEST_f_f1): Likewise.
3730 (RUN_TEST_fF_f1): Likewise.
3731 (RUN_TEST_fI_f1): Likewise.
3732 (RUN_TEST_ffI_f1): Likewise.
3733 (RUN_TEST_c_c): Likewise.
3734 (RUN_TEST_cc_c): Likewise.
3735 (RUN_TEST_f_i): Likewise.
3736 (RUN_TEST_f_i_tg): Likewise.
3737 (RUN_TEST_ff_i_tg): Likewise.
3738 (RUN_TEST_f_b): Likewise.
3739 (RUN_TEST_f_b_tg): Likewise.
3740 (RUN_TEST_f_l): Likewise.
3741 (RUN_TEST_f_L): Likewise.
3742 (RUN_TEST_fFF_11): Likewise.
3743 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3745 (cosh_test_data): Likewise.
3746 (exp_test_data): Likewise.
3747 (expm1_test_data): Likewise.
3748 (hypot_test_data): Likewise.
3749 (pow_test_data): Likewise.
3750 (sinh_test_data): Likewise.
3751 (tanh_test_data): Likewise.
3752 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3755 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3756 tests with quiet NaN input and output.
3757 (acosh_test_data): Likewise.
3758 (asin_test_data): Likewise.
3759 (asinh_test_data): Likewise.
3760 (atan_test_data): Likewise.
3761 (atanh_test_data): Likewise.
3762 (atan2_test_data): Likewise.
3763 (cbrt_test_data): Likewise.
3764 (cos_test_data): Likewise.
3765 (cosh_test_data): Likewise.
3766 (erf_test_data): Likewise.
3767 (erfc_test_data): Likewise.
3768 (exp_test_data): Likewise.
3769 (exp10_test_data): Likewise.
3770 (exp2_test_data): Likewise.
3771 (expm1_test_data): Likewise.
3772 (hypot_test_data): Likewise.
3773 (j0_test_data): Likewise.
3774 (j1_test_data): Likewise.
3775 (jn_test_data): Likewise.
3776 (lgamma_test_data): Likewise.
3777 (log_test_data): Likewise.
3778 (log10_test_data): Likewise.
3779 (log1p_test_data): Likewise.
3780 (log2_test_data): Likewise.
3781 (pow_test_data): Likewise.
3782 (scalb_test_data): Likewise.
3783 (sin_test_data): Likewise.
3784 (sincos_test_data): Likewise.
3785 (sinh_test_data): Likewise.
3786 (tan_test_data): Likewise.
3787 (tanh_test_data): Likewise.
3788 (tgamma_test_data): Likewise.
3789 (y0_test_data): Likewise.
3790 (y1_test_data): Likewise.
3791 (yn_test_data): Likewise.
3794 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3795 argument being NaN and avoid computations with second argument in
3797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3798 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3799 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3801 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3803 * locale/iso-639.def: Add Chitwani Tharu (the).
3805 2013-11-14 Andreas Schwab <schwab@suse.de>
3807 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3808 word instead of empty string.
3810 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3813 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3815 (__fe_nomask_env): Likewise.
3817 2013-11-13 Steve Ellcey <sellcey@mips.com>
3819 * benchtests/bench-timing.h: Include time.h.
3821 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3824 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3826 * sysdeps/unix/sysv/linux/configure: Regenerated.
3828 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3831 * stdlib/strtod_l.c (round_and_return): Do not consider
3832 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3833 exponent one less than half the least subnormal exponent.
3834 * stdlib/test-strtod-round-data: Add more tests.
3835 * stdlib/tst-strtod-round.c (tests): Regenerated.
3837 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3840 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3841 (__fe_mask_env): Likewise.
3842 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3843 libm_hidden_proto and add function prototype.
3844 (__fe_mask_env): Add function prototype.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3846 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3848 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3850 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3852 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3854 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3855 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3857 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3859 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3860 of htab_find_slot().
3862 2013-11-11 David S. Miller <davem@davemloft.net>
3865 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3866 symbol in the non-vis3 case in static builds.
3867 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3868 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3869 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3870 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3872 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3875 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3878 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3880 * benchtests/Makefile: Add bench-strtod.
3881 * benchtests/bench-strtod.c: New file: strtod benchtest
3883 2013-11-11 Andreas Schwab <schwab@suse.de>
3886 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3887 terminating NUL in key length.
3889 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3892 Add artificial ODP entry for vDSO symbol for PPC64.
3893 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3894 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3896 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3899 * nss/getent.c (services_keys): Recognize services starting with digit.
3901 2013-11-06 David S. Miller <davem@davemloft.net>
3904 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3905 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3907 2013-11-06 Will Newton <will.newton@linaro.org>
3909 * manual/memory.texi (Malloc Examples): Remove register
3910 keyword from examples.
3912 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3914 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3916 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3918 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3919 depending on [__GCC_IEC_559 > 0].
3920 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3921 depending on [__GCC_IEC_559_COMPLEX > 0].
3923 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3925 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3928 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3930 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3932 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3935 * malloc/malloc (malloc_info): Do not handle first bin as
3938 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3940 * locale/iso-639.def: Add Central Nahuatl (nhn).
3942 2013-11-01 Bruno Haible <bruno@clisp.org>
3945 * manual/math.texi (BSD Random): Specify range upper bound as
3948 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3950 * locale/iso-639.def: Add Meadow Mari (mhr).
3952 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3954 [BZ #14752], [BZ #15763]
3955 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3957 * rt/tst_shm.c: Add test for escaping directory.
3959 2013-10-31 Andreas Schwab <schwab@suse.de>
3962 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3963 followed by 'x' as part of digit sequence.
3964 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3966 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3969 * configure.ac: allow GNU Make 4.0 and greater.
3970 * configure: Regenerated.
3972 2013-10-30 Will Newton <will.newton@linaro.org>
3975 * malloc/hooks.c (memalign_check): Limit alignment to the
3976 maximum representable power of two.
3977 * malloc/malloc.c (__libc_memalign): Likewise.
3978 * malloc/tst-memalign.c (do_test): Add test for very
3979 large alignment values.
3980 * malloc/tst-posix_memalign.c (do_test): Likewise.
3982 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3985 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3986 (munmap_chunk): Likewise.
3987 (mremap_chunk): Likewise.
3989 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3992 * stdlib/div.c (div): Remove obsolete code.
3993 * stdlib/ldiv.c (ldiv): Likewise.
3994 * stdlib/lldiv.c (lldiv): Likewise.
3996 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3999 * nss/nss_files/files-XXX.c (get_contents_ret): New
4001 (get_contents): New function.
4002 (internal_getent): Use it. Expand size of LINEBUFLEN.
4004 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4006 * configure.in: Moved to ...
4007 * configure.ac: ... here. Change reference to configure.in
4009 * sysdeps/arm/preconfigure.ac: ... here.
4010 configure.in to configure.ac.
4011 * sysdeps/gnu/configure.in: Moved to ...
4012 * sysdeps/gnu/configure.ac: ... here.
4013 * sysdeps/i386/configure.in: Moved to ...
4014 * sysdeps/i386/configure.ac: ... here.
4015 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4016 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4017 * sysdeps/mach/configure.in: Moved to ...
4018 * sysdeps/mach/configure.ac: ... here.
4019 * sysdeps/mach/hurd/configure.in: Moved to ...
4020 * sysdeps/mach/hurd/configure.ac: ... here.
4021 * sysdeps/powerpc/configure.in: Moved to ...
4022 * sysdeps/powerpc/configure.ac: ... here.
4023 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4024 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4025 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4026 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4027 * sysdeps/s390/s390-32/configure.in: Moved to ...
4028 * sysdeps/s390/s390-32/configure.ac: ... here.
4029 * sysdeps/s390/s390-64/configure.in: Moved to ...
4030 * sysdeps/s390/s390-64/configure.ac: ... here.
4031 * sysdeps/sh/configure.in: Moved to ...
4032 * sysdeps/sh/configure.ac: ... here.
4033 * sysdeps/sparc/configure.in: Moved to ...
4034 * sysdeps/sparc/configure.ac: ... here.
4035 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4036 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4037 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4038 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4039 * sysdeps/x86_64/configure.in: Moved to ...
4040 * sysdeps/x86_64/configure.ac: ... here.
4041 * sysdeps/x86_64/preconfigure.in: Moved to ...
4042 * sysdeps/x86_64/preconfigure.ac: ... here.
4043 * aclocal.m4: Change reference to configure.in to configure.ac.
4044 * config.h.in: Likewise.
4045 * manual/install.texi: Likewise.
4046 * manual/maint.texi: Likewise.
4047 * Makefile: Likewise.
4048 * malloc/Makefile: Likewise.
4049 * nscd/Makefile: Likewise.
4050 * Makeconfig: Change reference to configure.in and
4051 preconfigure.in to configure.ac and preconfigure.ac
4053 * INSTALL: Regenerated.
4054 * configure: Likewise.
4055 * sysdeps/gnu/configure: Likewise.
4056 * sysdeps/i386/configure: Likewise.
4057 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4058 * sysdeps/mach/configure: Likewise.
4059 * sysdeps/mach/hurd/configure: Likewise.
4060 * sysdeps/powerpc/configure: Likewise.
4061 * sysdeps/powerpc/powerpc32/configure: Likewise.
4062 * sysdeps/powerpc/powerpc64/configure: Likewise.
4063 * sysdeps/s390/s390-32/configure: Likewise.
4064 * sysdeps/s390/s390-64/configure: Likewise.
4065 * sysdeps/sh/configure: Likewise.
4066 * sysdeps/sparc/configure: Likewise.
4067 * sysdeps/unix/sysv/linux/configure: Likewise.
4068 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4069 * sysdeps/x86_64/configure: Likewise.
4070 * sysdeps/x86_64/preconfigure: Likewise.
4072 2013-10-29 Andreas Schwab <schwab@suse.de>
4074 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4076 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4078 * benchtests/pow-inputs: Add new inputs.
4080 * benchtests/exp-inputs: Add new inputs.
4082 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4083 conditional check for return value.
4084 (__cos32): Likewise.
4086 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4088 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4089 to provide a boost for large inputs with word alignment.
4090 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4091 implementation based on optimized PPC64 strcpy.
4092 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4093 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4094 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4095 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4097 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4100 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4102 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4105 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4106 * time/tst-strptime.c (day_tests): Add testcase.
4108 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4111 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4113 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4116 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4117 MAP_FAILED on error.
4119 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4122 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4123 heap for large requests.
4125 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4128 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4129 result if the result has no associated interface.
4130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4131 interface for all 127.X.Y.Z addresses.
4133 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4135 * locale/iso-639.def: Add Ligurian (lij)
4137 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4140 * sunrpc/rpc_main.c: Document rpcgen -5.
4142 2013-10-19 Michael Stahl <mstahl@redhat.com>
4144 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4146 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4149 * posix/glob.c: Match only directories when trailing slash is present.
4150 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4151 (main): Add testcase.
4153 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4156 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4158 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4160 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4161 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4162 AUTH_DES and cindex for FIPS 140-2.
4163 (DES Encryption): Add cindex FIPS 46-3.
4165 * locale/locarchive.h (struct locarhandle): Add fname.
4166 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4167 if an optional argument was specified to --list-archive,
4169 * locale/programs/locarchive.c (show_archive_content): Take new
4170 argument fname and pass it via ah.fname to open_archive.
4171 * locale/programs/localedef.h: Update decl.
4172 (open_archive): If AH->fname is non-null, open that file
4173 rather than the default file name, and don't ignore ENOENT.
4174 (create_archive): Set AH.fname to NULL.
4175 (delete_locales_from_archive): Likewise.
4176 (add_locales_to_archive): Likewise.
4177 * locale/programs/locfile.c (write_all_categories): Likewise.
4179 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4180 Aldy Hernandez <aldyh@redhat.com>
4182 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4183 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4184 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4185 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4186 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4187 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4188 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4190 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4191 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4192 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4193 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4194 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4195 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4198 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4200 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4202 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4204 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4205 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4207 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4208 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4209 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4210 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4212 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4213 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4214 * sysdeps/powerpc/preconfigure: Likewise.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4217 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4218 Replace contents of file by #include of <fenv_libc.h>.
4219 * sysdeps/powerpc/soft-fp/sfp-machine.h
4220 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4222 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4233 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4235 Allow copysignl PLT reference to be missing.
4237 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4238 Joseph Myers <joseph@codesourcery.com
4241 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4243 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4245 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4247 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4248 * elf/tst-tls1.c: Likewise.
4249 * elf/tst-tls10.h: Likewise.
4250 * elf/tst-tls14.c: Likewise.
4251 * elf/tst-tls2.c: Likewise.
4252 * elf/tst-tls3.c: Likewise.
4253 * elf/tst-tls4.c: Likewise.
4254 * elf/tst-tls5.c: Likewise.
4255 * elf/tst-tls6.c: Likewise.
4256 * elf/tst-tls7.c: Likewise.
4257 * elf/tst-tls8.c: Likewise.
4258 * elf/tst-tls9.c: Likewise.
4259 * elf/tst-tlsmod1.c: Likewise.
4260 * elf/tst-tlsmod13.c: Likewise.
4261 * elf/tst-tlsmod13a.c: Likewise.
4262 * elf/tst-tlsmod14a.c: Likewise.
4263 * elf/tst-tlsmod16a.c: Likewise.
4264 * elf/tst-tlsmod16b.c: Likewise.
4265 * elf/tst-tlsmod2.c: Likewise.
4266 * elf/tst-tlsmod3.c: Likewise.
4267 * elf/tst-tlsmod4.c: Likewise.
4268 * elf/tst-tlsmod5.c: Likewise.
4269 * elf/tst-tlsmod6.c: Likewise.
4271 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4274 * malloc/malloc.c: remove checks for statistics.
4276 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4279 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4280 * inet/tst-network.c: Add testcase.
4282 2013-10-17 Andreas Schwab <schwab@suse.de>
4285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4286 to determine canonical name.
4288 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4290 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4291 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4314 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4315 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4320 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4322 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4323 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4327 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4328 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4330 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4331 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4332 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4333 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4335 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4349 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4352 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4353 make result into a quiet NaN.
4355 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4357 * soft-fp/adddf3.c: Fix horizontal whitespace.
4358 * soft-fp/addsf3.c: Likewise.
4359 * soft-fp/addtf3.c: Likewise.
4360 * soft-fp/divdf3.c: Likewise.
4361 * soft-fp/divsf3.c: Likewise.
4362 * soft-fp/divtf3.c: Likewise.
4363 * soft-fp/double.h: Likewise.
4364 * soft-fp/eqdf2.c: Likewise.
4365 * soft-fp/eqsf2.c: Likewise.
4366 * soft-fp/eqtf2.c: Likewise.
4367 * soft-fp/extenddftf2.c: Likewise.
4368 * soft-fp/extended.h: Likewise.
4369 * soft-fp/extendsfdf2.c: Likewise.
4370 * soft-fp/extendsftf2.c: Likewise.
4371 * soft-fp/extendxftf2.c: Likewise.
4372 * soft-fp/fixdfdi.c: Likewise.
4373 * soft-fp/fixdfsi.c: Likewise.
4374 * soft-fp/fixdfti.c: Likewise.
4375 * soft-fp/fixsfdi.c: Likewise.
4376 * soft-fp/fixsfsi.c: Likewise.
4377 * soft-fp/fixsfti.c: Likewise.
4378 * soft-fp/fixtfdi.c: Likewise.
4379 * soft-fp/fixtfsi.c: Likewise.
4380 * soft-fp/fixtfti.c: Likewise.
4381 * soft-fp/fixunsdfdi.c: Likewise.
4382 * soft-fp/fixunsdfsi.c: Likewise.
4383 * soft-fp/fixunsdfti.c: Likewise.
4384 * soft-fp/fixunssfdi.c: Likewise.
4385 * soft-fp/fixunssfsi.c: Likewise.
4386 * soft-fp/fixunssfti.c: Likewise.
4387 * soft-fp/fixunstfdi.c: Likewise.
4388 * soft-fp/fixunstfsi.c: Likewise.
4389 * soft-fp/fixunstfti.c: Likewise.
4390 * soft-fp/floatdidf.c: Likewise.
4391 * soft-fp/floatdisf.c: Likewise.
4392 * soft-fp/floatditf.c: Likewise.
4393 * soft-fp/floatsidf.c: Likewise.
4394 * soft-fp/floatsisf.c: Likewise.
4395 * soft-fp/floatsitf.c: Likewise.
4396 * soft-fp/floattidf.c: Likewise.
4397 * soft-fp/floattisf.c: Likewise.
4398 * soft-fp/floattitf.c: Likewise.
4399 * soft-fp/floatundidf.c: Likewise.
4400 * soft-fp/floatundisf.c: Likewise.
4401 * soft-fp/floatunditf.c: Likewise.
4402 * soft-fp/floatunsidf.c: Likewise.
4403 * soft-fp/floatunsisf.c: Likewise.
4404 * soft-fp/floatunsitf.c: Likewise.
4405 * soft-fp/floatuntidf.c: Likewise.
4406 * soft-fp/floatuntisf.c: Likewise.
4407 * soft-fp/floatuntitf.c: Likewise.
4408 * soft-fp/fmadf4.c: Likewise.
4409 * soft-fp/fmasf4.c: Likewise.
4410 * soft-fp/fmatf4.c: Likewise.
4411 * soft-fp/gedf2.c: Likewise.
4412 * soft-fp/gesf2.c: Likewise.
4413 * soft-fp/getf2.c: Likewise.
4414 * soft-fp/ledf2.c: Likewise.
4415 * soft-fp/lesf2.c: Likewise.
4416 * soft-fp/letf2.c: Likewise.
4417 * soft-fp/muldf3.c: Likewise.
4418 * soft-fp/mulsf3.c: Likewise.
4419 * soft-fp/multf3.c: Likewise.
4420 * soft-fp/negdf2.c: Likewise.
4421 * soft-fp/negsf2.c: Likewise.
4422 * soft-fp/negtf2.c: Likewise.
4423 * soft-fp/op-1.h: Likewise.
4424 * soft-fp/op-2.h: Likewise.
4425 * soft-fp/op-4.h: Likewise.
4426 * soft-fp/op-8.h: Likewise.
4427 * soft-fp/op-common.h: Likewise.
4428 * soft-fp/quad.h: Likewise.
4429 * soft-fp/single.h: Likewise.
4430 * soft-fp/soft-fp.h: Likewise.
4431 * soft-fp/sqrtdf2.c: Likewise.
4432 * soft-fp/sqrtsf2.c: Likewise.
4433 * soft-fp/sqrttf2.c: Likewise.
4434 * soft-fp/subdf3.c: Likewise.
4435 * soft-fp/subsf3.c: Likewise.
4436 * soft-fp/subtf3.c: Likewise.
4437 * soft-fp/truncdfsf2.c: Likewise.
4438 * soft-fp/trunctfdf2.c: Likewise.
4439 * soft-fp/trunctfsf2.c: Likewise.
4440 * soft-fp/trunctfxf2.c: Likewise.
4441 * soft-fp/unorddf2.c: Likewise.
4442 * soft-fp/unordsf2.c: Likewise.
4443 * soft-fp/unordtf2.c: Likewise.
4445 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4447 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4448 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4450 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4452 * elf/dl-libc.c: Clear initfini list after freeing.
4454 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4456 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4457 * soft-fp/addsf3.c: Likewise.
4458 * soft-fp/addtf3.c: Likewise.
4459 * soft-fp/divdf3.c: Likewise.
4460 * soft-fp/divsf3.c: Likewise.
4461 * soft-fp/divtf3.c: Likewise.
4462 * soft-fp/double.h: Likewise.
4463 * soft-fp/eqdf2.c: Likewise.
4464 * soft-fp/eqsf2.c: Likewise.
4465 * soft-fp/eqtf2.c: Likewise.
4466 * soft-fp/extenddftf2.c: Likewise.
4467 * soft-fp/extended.h: Likewise.
4468 * soft-fp/extendsfdf2.c: Likewise.
4469 * soft-fp/extendsftf2.c: Likewise.
4470 * soft-fp/extendxftf2.c: Likewise.
4471 * soft-fp/fixdfdi.c: Likewise.
4472 * soft-fp/fixdfsi.c: Likewise.
4473 * soft-fp/fixdfti.c: Likewise.
4474 * soft-fp/fixsfdi.c: Likewise.
4475 * soft-fp/fixsfsi.c: Likewise.
4476 * soft-fp/fixsfti.c: Likewise.
4477 * soft-fp/fixtfdi.c: Likewise.
4478 * soft-fp/fixtfsi.c: Likewise.
4479 * soft-fp/fixtfti.c: Likewise.
4480 * soft-fp/fixunsdfdi.c: Likewise.
4481 * soft-fp/fixunsdfsi.c: Likewise.
4482 * soft-fp/fixunsdfti.c: Likewise.
4483 * soft-fp/fixunssfdi.c: Likewise.
4484 * soft-fp/fixunssfsi.c: Likewise.
4485 * soft-fp/fixunssfti.c: Likewise.
4486 * soft-fp/fixunstfdi.c: Likewise.
4487 * soft-fp/fixunstfsi.c: Likewise.
4488 * soft-fp/fixunstfti.c: Likewise.
4489 * soft-fp/floatdidf.c: Likewise.
4490 * soft-fp/floatdisf.c: Likewise.
4491 * soft-fp/floatditf.c: Likewise.
4492 * soft-fp/floatsidf.c: Likewise.
4493 * soft-fp/floatsisf.c: Likewise.
4494 * soft-fp/floatsitf.c: Likewise.
4495 * soft-fp/floattidf.c: Likewise.
4496 * soft-fp/floattisf.c: Likewise.
4497 * soft-fp/floattitf.c: Likewise.
4498 * soft-fp/floatundidf.c: Likewise.
4499 * soft-fp/floatundisf.c: Likewise.
4500 * soft-fp/floatunsidf.c: Likewise.
4501 * soft-fp/floatunsisf.c: Likewise.
4502 * soft-fp/floatuntidf.c: Likewise.
4503 * soft-fp/floatuntisf.c: Likewise.
4504 * soft-fp/floatuntitf.c: Likewise.
4505 * soft-fp/fmadf4.c: Likewise.
4506 * soft-fp/fmasf4.c: Likewise.
4507 * soft-fp/fmatf4.c: Likewise.
4508 * soft-fp/gedf2.c: Likewise.
4509 * soft-fp/gesf2.c: Likewise.
4510 * soft-fp/getf2.c: Likewise.
4511 * soft-fp/ledf2.c: Likewise.
4512 * soft-fp/lesf2.c: Likewise.
4513 * soft-fp/letf2.c: Likewise.
4514 * soft-fp/muldf3.c: Likewise.
4515 * soft-fp/mulsf3.c: Likewise.
4516 * soft-fp/multf3.c: Likewise.
4517 * soft-fp/negdf2.c: Likewise.
4518 * soft-fp/negsf2.c: Likewise.
4519 * soft-fp/negtf2.c: Likewise.
4520 * soft-fp/op-1.h: Likewise.
4521 * soft-fp/op-2.h: Likewise.
4522 * soft-fp/op-4.h: Likewise.
4523 * soft-fp/op-8.h: Likewise.
4524 * soft-fp/op-common.h: Likewise.
4525 * soft-fp/quad.h: Likewise.
4526 * soft-fp/single.h: Likewise.
4527 * soft-fp/soft-fp.h: Likewise.
4528 * soft-fp/sqrtdf2.c: Likewise.
4529 * soft-fp/sqrtsf2.c: Likewise.
4530 * soft-fp/sqrttf2.c: Likewise.
4531 * soft-fp/subdf3.c: Likewise.
4532 * soft-fp/subsf3.c: Likewise.
4533 * soft-fp/subtf3.c: Likewise.
4534 * soft-fp/truncdfsf2.c: Likewise.
4535 * soft-fp/trunctfdf2.c: Likewise.
4536 * soft-fp/trunctfsf2.c: Likewise.
4537 * soft-fp/trunctfxf2.c: Likewise.
4538 * soft-fp/unorddf2.c: Likewise.
4539 * soft-fp/unordsf2.c: Likewise.
4540 * soft-fp/unordtf2.c: Likewise.
4542 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4545 * misc/error.c (error_tail): Fix possible buffer overflow.
4547 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4550 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4553 2013-10-14 P. J. McDermott <pj@pehjota.net>
4556 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4557 testing pipefail option.
4559 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4561 * soft-fp/double.h: Indent preprocessor directives inside #if.
4562 * soft-fp/extended.h: Likewise.
4563 * soft-fp/op-2.h: Likewise.
4564 * soft-fp/op-4.h: Likewise.
4565 * soft-fp/op-common.h: Likewise.
4566 * soft-fp/quad.h: Likewise.
4567 * soft-fp/single.h: Likewise.
4568 * soft-fp/soft-fp.h: Likewise.
4570 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4572 * iconv/iconv_prog.c: Fix typos.
4573 * stdio-common/psiginfo-data.h: Likewise.
4575 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4578 * locale/setlocale.c: Fix typo.
4580 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4583 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4584 signaling NaN arguments.
4585 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4586 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4589 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4591 * soft-fp/gesf2.c (__gesf2): Likewise.
4592 * soft-fp/getf2.c (__getf2): Likewise.
4593 * soft-fp/ledf2.c (__ledf2): Likewise.
4594 * soft-fp/lesf2.c (__lesf2): Likewise.
4595 * soft-fp/letf2.c (__letf2): Likewise.
4597 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4598 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4599 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4600 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4601 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4602 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4603 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4604 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4605 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4606 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4607 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4608 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4609 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4610 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4611 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4612 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4613 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4614 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4615 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4616 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4617 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4618 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4619 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4620 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4621 * soft-fp/floattidf.c (__floattidf): Likewise.
4622 * soft-fp/floattisf.c (__floattisf): Likewise.
4623 * soft-fp/floattitf.c (__floattitf): Likewise.
4624 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4625 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4626 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4627 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4628 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4629 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4630 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4631 * soft-fp/gesf2.c (__gesf2): Likewise.
4632 * soft-fp/getf2.c (__getf2): Likewise.
4633 * soft-fp/ledf2.c (__ledf2): Likewise.
4634 * soft-fp/lesf2.c (__lesf2): Likewise.
4635 * soft-fp/letf2.c (__letf2): Likewise.
4637 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4638 Undefine and redefine.
4639 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4640 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4641 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4642 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4643 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4644 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4645 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4646 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4647 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4648 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4649 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4650 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4651 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4652 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4653 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4656 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4657 without decrementing exponent if mantissa >= that for the
4659 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4660 denominator, not >. Decrement exponent in < case instead of
4661 incrementing in >= case.
4662 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4663 without decrementing exponent if mantissa >= that for the
4666 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4667 computing saturated result for unsigned overflow.
4669 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4670 Jeff Law <law@redhat.com>
4672 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4673 (atan2Mp): Add systemtap probe marker.
4674 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4675 (__ieee754_log): Add systemtap probe marker.
4676 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4677 (atanMp): Add systemtap probe marker.
4678 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4679 (tanMp): Add systemtap probe marker.
4680 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4681 (__slowexp): Add systemtap probe marker.
4682 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4683 (__slowpow): Add systemtap probe marker.
4684 * manual/probes.texi: Document probes.
4686 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4689 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4691 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4693 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4694 written to buffer but not flushed.
4695 * libio/iofwrite_u.c: Likewise.
4696 * libio/iopadn.c: Return bytes returned even if EOF was
4698 * libio/iowpadn.c: Likewise.
4699 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4700 if _IO_padn does not write the whole buffer.
4701 [!COMPILE_WPRINTF] (PAD): Likewise.
4703 2013-10-10 David S. Miller <davem@davemloft.net>
4705 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4708 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4710 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4711 instead of FSF address.
4712 * soft-fp/fixdfti.c: Likewise.
4713 * soft-fp/fixsfti.c: Likewise.
4714 * soft-fp/fixtfti.c: Likewise.
4715 * soft-fp/fixunsdfti.c: Likewise.
4716 * soft-fp/fixunssfti.c: Likewise.
4717 * soft-fp/fixunstfti.c: Likewise.
4718 * soft-fp/floattidf.c: Likewise.
4719 * soft-fp/floattisf.c: Likewise.
4720 * soft-fp/floattitf.c: Likewise.
4721 * soft-fp/floatuntidf.c: Likewise.
4722 * soft-fp/floatuntisf.c: Likewise.
4723 * soft-fp/floatuntitf.c: Likewise.
4724 * soft-fp/trunctfxf2.c: Likewise.
4726 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4727 * soft-fp/fixdfti.c: Likewise.
4728 * soft-fp/fixsfti.c: Likewise.
4729 * soft-fp/fixtfti.c: Likewise.
4730 * soft-fp/fixunsdfti.c: Likewise.
4731 * soft-fp/fixunssfti.c: Likewise.
4732 * soft-fp/fixunstfti.c: Likewise.
4733 * soft-fp/floattidf.c: Likewise.
4734 * soft-fp/floattisf.c: Likewise.
4735 * soft-fp/floattitf.c: Likewise.
4736 * soft-fp/floatuntidf.c: Likewise.
4737 * soft-fp/floatuntisf.c: Likewise.
4738 * soft-fp/floatuntitf.c: Likewise.
4739 * soft-fp/trunctfxf2.c: Likewise.
4741 2013-10-10 David S. Miller <davem@davemloft.net>
4743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4745 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4747 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4748 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4749 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4750 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4751 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4752 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4753 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4756 for NaNs before doing comparisons on argument.
4757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4760 2013-10-10 Will Newton <will.newton@linaro.org>
4762 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4763 passed to _int_memalign does not overflow.
4765 2013-10-10 Torvald Riegel <triegel@redhat.com>
4767 * scripts/bench.pl: Add include-sources directive.
4768 * benchtests/README: Update documentation.
4770 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4772 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4773 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4774 instead of FP_INIT_ROUNDMODE.
4775 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4776 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4779 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4780 copy class of input value.
4781 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4782 not handle exceptions.
4783 * soft-fp/negsf2.c (__negsf2): Likewise.
4784 * soft-fp/negtf2.c (__negtf2): Likewise.
4785 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4787 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4789 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4790 semicolon. From Linux kernel.
4792 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4794 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4796 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4799 * manual/socket.texi: Added statement about buffer
4800 for gethostbyname2_r.
4802 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4804 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4805 Use .p2align directive instead, throughout.
4806 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4807 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4808 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4810 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4811 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4812 * sysdeps/x86_64/strchr.S: Likewise.
4813 * sysdeps/x86_64/strrchr.S: Likewise.
4815 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4817 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4819 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4821 * sysdeps/generic/math_private.h (__mpsin1): Remove
4823 (__mpcos1): Likewise.
4824 (__mpsin): New argument __range_reduce.
4825 (__mpcos): Likewise.
4826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4827 (slow): Use __mpsin and __mpcos.
4834 (bsloww1): Likewise.
4835 (bsloww2): Likewise.
4838 (csloww1): Likewise.
4839 (csloww2): Likewise.
4840 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4841 range_reduce. Merge in __mpsin1.
4842 (__mpcos): Likewise.
4844 (__mpcos1): Likewise.
4846 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4848 * locale/loadlocale.c (_nl_intern_locale_data): Use
4850 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4851 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4852 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4853 obstack data is appropriately aligned.
4854 (obstack_int32_grow_fast): Likewise.
4855 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4856 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4857 (add_locale_uint32_array): Likewise.
4859 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4861 * benchtests/Makefile: Remove ARGLIST and RET variables.
4862 ($(objpfx)bench-%.c): Pass only function name to the script.
4863 * benchtests/README: Update documentation.
4864 * benchtests/acos-inputs: Add new directives.
4865 * benchtests/acosh-inputs: Likewise.
4866 * benchtests/asin-inputs: Likewise.
4867 * benchtests/asinh-inputs: Likewise.
4868 * benchtests/atan-inputs: Likewise.
4869 * benchtests/atanh-inputs: Likewise.
4870 * benchtests/cos-inputs: Likewise.
4871 * benchtests/cosh-inputs: Likewise.
4872 * benchtests/exp-inputs: Likewise.
4873 * benchtests/log-inputs: Likewise.
4874 * benchtests/pow-inputs: Likewise.
4875 * benchtests/rint-inputs: Likewise.
4876 * benchtests/sin-inputs: Likewise.
4877 * benchtests/sinh-inputs: Likewise.
4878 * benchtests/tan-inputs: Likewise.
4879 * benchtests/tanh-inputs: Likewise.
4880 * scripts/bench.pl: Add support for new directives.
4882 2013-10-07 Alan Modra <amodra@gmail.com>
4884 * README: Fix careless merge.
4886 2013-10-05 Alan Modra <amodra@gmail.com>
4888 * NEWS: Mention powerpc64le support and bugs fixed.
4889 * README: Both big-endian and little-endian powerpc64 supported.
4891 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4893 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4894 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4895 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4896 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4898 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4900 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4903 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4905 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4906 Move -mhard-float appending from
4907 ports/sysdeps/powerpc/powerpc32/Makefile.
4908 [$(with-fp) = yes] (ASFLAGS): Likewise.
4909 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4910 * sysdeps/powerpc/nofpu: Move directory from
4911 ports/sysdeps/powerpc/nofpu.
4912 * sysdeps/powerpc/soft-fp: Move directory from
4913 ports/sysdeps/powerpc/soft-fp.
4914 * sysdeps/powerpc/powerpc32/405: Move directory from
4915 ports/sysdeps/powerpc/powerpc32/405.
4916 * sysdeps/powerpc/powerpc32/440: Move directory from
4917 ports/sysdeps/powerpc/powerpc32/440.
4918 * sysdeps/powerpc/powerpc32/464: Move directory from
4919 ports/sysdeps/powerpc/powerpc32/464.
4920 * sysdeps/powerpc/powerpc32/476: Move directory from
4921 ports/sysdeps/powerpc/powerpc32/476.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4927 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4929 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4931 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4932 * README: Update for powerpc-*-linux-gnu software floating point
4935 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4936 case to powerpc/powerpc32*.
4937 * sysdeps/unix/sysv/linux/configure: Regenerated.
4939 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4940 (_FPU_MASK_OM): Define as 0x04.
4941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4949 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4952 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4955 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4956 and setcontext_e500.
4958 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4960 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4962 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4964 * manual/threads.texi (Default Thread Attributes): Fix typo.
4966 2013-10-04 Will Newton <will.newton@linaro.org>
4968 * malloc/Makefile: Add tst-memalign.
4969 * malloc/tst-memalign.c: New file.
4971 * malloc/tst-posix_memalign.c: Add comments.
4972 (do_test): Add comments and call free on all potentially
4973 allocated pointers. Add space after cast.
4975 * malloc/tst-pvalloc.c: Add comments.
4976 (do_test): Add comments and call free on all potentially
4977 allocated pointers. Remove duplicate check for NULL pointer.
4978 Add space after cast.
4980 * malloc/tst-valloc.c: Add comments.
4981 (do_test): Add comments and call free on all potentially
4982 allocated pointers. Remove duplicate check for NULL pointer.
4983 Add space after cast.
4985 2013-10-04 Alan Modra <amodra@gmail.com>
4987 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4988 Use stdint types in rather than __attribute__((mode())).
4989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4991 2013-10-04 Alan Modra <amodra@gmail.com>
4993 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4994 Correct handling of unaligned relocs for little-endian.
4995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4997 2013-10-04 Alan Modra <amodra@gmail.com>
4999 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5000 * configure: Regenerate.
5001 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5002 * shlib-versions: Likewise.
5004 2013-10-04 Alan Modra <amodra@gmail.com>
5006 * string/tester.c (test_memrchr): Increment reported test cycle.
5008 2013-10-04 Alan Modra <amodra@gmail.com>
5010 * string/test-memcpy.c (do_one_test): When reporting errors, print
5011 string address and don't overrun end of string.
5013 2013-10-04 Alan Modra <amodra@gmail.com>
5015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5016 insrdi. Make better use of reg selection to speed exit slightly.
5017 Schedule entry path a little better. Remove useless "are we done"
5018 checks on entry to main loop. Handle wrapping around zero address.
5019 Correct main loop count. Handle single left-over word from main
5020 loop inline rather than by using loop_small. Remove extra word
5021 case in loop_small caused by wrong loop count. Add little-endian
5023 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5024 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5026 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5027 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5028 support. Avoid rlwimi.
5029 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5031 2013-10-04 Alan Modra <amodra@gmail.com>
5033 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5035 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5037 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5039 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5040 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5042 2013-10-04 Alan Modra <amodra@gmail.com>
5044 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5046 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5047 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5048 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5049 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5051 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5052 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5053 use of regs. Use power7 mtocrf. Tidy function tails.
5055 2013-10-04 Alan Modra <amodra@gmail.com>
5057 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5058 Formatting. Consistently use rXXX register defines or rN defines.
5059 Use early exit labels that avoid restoring unused non-volatile regs.
5060 Make cr field use more consistent with rWORDn compares. Rename
5061 regs used as shift registers for unaligned loop, using rN defines
5062 for short lifetime/multiple use regs.
5063 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5064 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5065 addi 1,1,64 to pop stack frame. Simplify return value code.
5066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5068 2013-10-04 Alan Modra <amodra@gmail.com>
5070 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5071 support. Correct typos, formatting. Optimize tail. Use insrdi
5073 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5074 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5075 little-endian support. Correct typos.
5076 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5078 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5079 in loop and entry code to keep "and." results.
5080 (strchr): Add little-endian support. Comment. Move cntlzd
5082 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5084 2013-10-04 Alan Modra <amodra@gmail.com>
5086 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5087 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5088 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5089 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5091 2013-10-04 Alan Modra <amodra@gmail.com>
5093 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5094 (rTMP): Define as r11.
5095 (strcmp): Add little-endian support. Optimise tail.
5096 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5097 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5099 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5104 2013-10-04 Alan Modra <amodra@gmail.com>
5106 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5107 little-endian support. Remove unnecessary "are we done" tests.
5108 Handle "s" wrapping around zero and extremely large "size".
5109 Correct main loop count. Handle single left-over word from main
5110 loop inline rather than by using small_loop. Correct comments.
5111 Delete "zero" tail, use "end_max" instead.
5112 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5114 2013-10-04 Alan Modra <amodra@gmail.com>
5116 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5117 support. Don't branch over align.
5118 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5120 support. Rearrange tmp reg use to suit. Comment.
5121 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5123 2013-10-04 Alan Modra <amodra@gmail.com>
5125 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5127 2013-10-04 Alan Modra <amodra@gmail.com>
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5130 conditional form of branch and link when obtaining pc.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5133 2013-10-04 Alan Modra <amodra@gmail.com>
5135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5140 2013-10-04 Alan Modra <amodra@gmail.com>
5142 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5143 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5144 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5145 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5146 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5147 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5148 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5149 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5151 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5153 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5154 Alistair Popple <alistair@ozlabs.au.ibm.com>
5155 Alan Modra <amodra@gmail.com>
5158 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5159 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5160 _dl_hwcap access for little-endian.
5161 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5162 destroy vmx regs when saving unaligned.
5163 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5164 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5165 destroy vmx regs when saving unaligned.
5167 2013-10-04 Alan Modra <amodra@gmail.com>
5169 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5170 Don't use a union to pack hi/low value.
5172 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5174 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5176 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5178 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5179 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5180 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5182 2013-10-04 Alan Modra <amodra@gmail.com>
5184 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5185 constants to usual value for .cst8 section, and remove redundant
5187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5188 constant for 0x1p52. Load little-endian words of double from
5189 correct stack offsets.
5191 2013-10-04 Alan Modra <amodra@gmail.com>
5193 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5194 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5195 words of double from correct stack offsets.
5196 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5197 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5198 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5199 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5200 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5202 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5203 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5204 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5205 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5206 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5207 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5208 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5209 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5210 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5211 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5212 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5214 2013-10-04 Alan Modra <amodra@gmail.com>
5216 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5217 64-bit int/double union.
5218 (_FPU_SETCW): Likewise.
5219 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5220 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5222 2013-10-04 Alan Modra <amodra@gmail.com>
5224 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5225 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5227 2013-10-04 Alan Modra <amodra@gmail.com>
5229 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5230 use vector int constants.
5231 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5233 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5235 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5236 array with long long.
5237 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5238 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5239 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5240 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5241 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5242 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5243 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5244 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5245 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5246 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5247 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5248 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5249 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5251 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5253 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5254 (__signbit): Likewise. Correct for little-endian.
5255 (__signbitl): Call __signbit.
5256 (lrint): Correct for little-endian.
5257 (lrintf): Call lrint.
5259 2013-10-04 Alan Modra <amodra@gmail.com>
5261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5262 union 32-bit int array member with 64-bit int array.
5263 (t515, tm256): Double rather than long double.
5264 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5266 2013-10-04 Alan Modra <amodra@gmail.com>
5268 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5270 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5272 version of math_ldbl.h.
5274 2013-10-04 Alan Modra <amodra@gmail.com>
5276 [BZ #15734], [BZ #15735]
5277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5278 all uses of ieee875 long double macros and unions. Simplify test
5279 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5280 ldbl_extract_mantissa value for ix,iy exponents. Properly
5281 normalize after ldbl_extract_mantissa, and don't add hidden bit
5282 already handled. Don't treat low word of ieee854 mantissa like
5283 low word of IBM long double and mask off bit when testing for
5285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5286 all uses of ieee875 long double macros and unions. Simplify tests
5287 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5288 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5289 two1022, instead use their values. Recognise that tests for large
5290 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5291 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5292 Rewrite all uses of ieee875 long double macros and unions. Simplify
5293 test for 0.0L and nan. Correct negation.
5294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5295 ieee875 long double macros and unions. Correct output for large
5296 magnitude x. Correct absolute value calculation.
5297 (__erfcl): Likewise.
5298 * math/libm-test.inc: Add tests for errors discovered in IBM long
5299 double versions of fmodl, remainderl, erfl and erfcl.
5301 2013-10-04 Alan Modra <amodra@gmail.com>
5303 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5304 all uses of ieee854 long double macros and unions. Simplify tests
5305 for long doubles that are fully specified by the high double.
5306 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5308 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5309 Remove dead code too.
5310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5311 (__ieee754_ynl): Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5315 Remove dead code too.
5316 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5317 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5318 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5323 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5326 Comment on variable precision.
5327 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5330 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5334 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5336 2013-10-04 Alan Modra <amodra@gmail.com>
5338 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5340 all uses of ieee854 long double macros and unions.
5341 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5342 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5349 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5350 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5351 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5353 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5354 Simplify sign and nan test too.
5355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5360 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5361 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5365 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5370 2013-10-04 Alan Modra <amodra@gmail.com>
5372 * stdio-common/printf_size.c (__printf_size): Don't use
5373 union ieee854_long_double in fpnum union.
5374 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5375 signbit macro to retrieve sign from long double.
5376 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5377 retrieve sign from long double.
5378 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5379 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5380 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5381 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5382 * math/test-misc.c (main): Don't use union ieee854_long_double.
5384 2013-10-04 Alan Modra <amodra@gmail.com>
5387 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5388 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5389 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5390 calculation. Remove unnecessary test for denormal exponent.
5391 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5392 Correct handling of denormals. Avoid undefined shift behaviour.
5393 Correct normalisation of low mantissa when low double is denormal.
5394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5395 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5396 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5397 Correct normalisation of low mantissa. Test for overflow of high
5398 mantissa and normalise.
5399 (ldbl_nearbyint): Use more readable constant for two52.
5400 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5401 (__mpn_construct_long_double): Fix test for overflow of high
5402 mantissa and correct normalisation. Avoid undefined shift.
5404 2013-10-04 Alan Modra <amodra@gmail.com>
5406 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5407 (union ibm_extended_long_double): Define as an array of ieee754_double.
5408 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5409 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5410 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5411 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5420 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5422 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5423 page size instead of calling getpagesize.
5425 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5426 (LOCFILE_ALIGN_MASK): Likewise.
5427 (LOCFILE_ALIGN_UP): Likewise.
5428 (LOCFILE_ALIGNED_P): Likewise.
5429 * locale/programs/ld-collate.c (collate_output): Use the new
5430 macros instead of __alignof__ (int32_t).
5431 * locale/weight.h (findidx): Likewise.
5433 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5436 * manual/string.texi: Fix strncat and wcsncat.
5438 2013-10-03 Brooks Moses <bmoses@google.com>
5441 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5442 * Makerules: ...here, and adjust associated comments.
5444 2013-10-02 Will Newton <will.newton@linaro.org>
5446 * malloc/Makefile: Add tst-pvalloc.
5447 * malloc/tst-pvalloc.c: New file.
5449 2013-10-02 Will Newton <will.newton@linaro.org>
5451 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5452 improve test coverage.
5454 2013-10-02 Will Newton <will.newton@linaro.org>
5456 * malloc/Makefile: Add tst-posix_memalign.
5457 * malloc/tst-posix_memalign.c: New file.
5459 2013-10-01 Eric Blake <eblake@redhat.com>
5461 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5462 Use __THROWNL rather than __THROW on static functions.
5464 2013-09-30 Petr Machata <pmachata@redhat.com>
5466 * elf/elf.h (R_AARCH64_ABS16): New macro.
5467 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5468 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5469 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5470 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5471 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5472 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5473 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5474 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5475 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5476 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5477 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5478 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5479 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5480 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5481 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5482 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5483 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5484 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5485 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5486 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5487 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5488 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5489 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5490 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5491 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5492 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5493 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5494 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5495 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5496 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5497 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5498 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5499 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5500 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5501 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5502 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5503 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5504 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5505 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5506 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5507 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5508 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5509 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5510 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5511 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5512 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5513 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5514 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5515 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5516 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5517 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5518 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5519 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5520 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5521 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5522 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5523 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5524 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5525 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5526 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5527 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5528 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5529 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5530 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5531 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5532 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5533 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5534 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5535 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5536 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5537 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5538 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5539 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5540 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5541 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5542 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5543 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5544 (R_AARCH64_TLSDESC_LDR): Likewise.
5545 (R_AARCH64_TLSDESC_ADD): Likewise.
5546 (R_AARCH64_TLSDESC_CALL): Likewise.
5548 2013-09-30 Andreas Schwab <schwab@suse.de>
5551 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5552 the nss database lookup.
5553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5556 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5558 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5560 2013-09-28 P. J. McDermott <pj@pehjota.net>
5562 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5563 ${Bash-specific parameter/pattern/string} parameter expansion.
5564 * sysdeps/unix/make-syscalls.sh: Likewise.
5566 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5568 * sysdeps/sh/stackguard-macros.h: New file.
5570 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5574 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5575 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5576 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5577 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5579 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5582 Fix thread ID register.
5584 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5586 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5587 [POSIX || UNIX98]: Require rather than permitting all symbols from
5589 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5590 element of struct sched_param.
5591 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5592 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5593 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5594 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5597 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5599 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5600 argument calculation.
5602 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5604 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5606 [POSIX] (pthread_attr_t): Do not require type.
5607 [POSIX] (pthread_cond_t): Likewise.
5608 [POSIX] (pthread_condattr_t): Likewise.
5609 [POSIX] (pthread_key_t): Likewise.
5610 [POSIX] (pthread_mutex_t): Likewise.
5611 [POSIX] (pthread_mutexattr_t): Likewise.
5612 [POSIX] (pthread_once_t): Likewise.
5613 [POSIX] (pthread_t): Likewise.
5614 [POSIX-based standards] (pthread_atfork): Expect function.
5616 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5617 Richard Sandiford <richard@codesourcery.com>
5619 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5620 (swap_endianness_p): New extern variable.
5621 (set_big_endian): New inline function.
5622 (maybe_swap_uint32): Likewise.
5623 (maybe_swap_uint32_array): Likewise.
5624 (maybe_swap_uint32_obstack): Likewise.
5625 * locale/programs/locfile.c: Include <stdbool.h>.
5626 (swap_endianness_p): New variable.
5627 (add_locale_uint32): Call maybe_swap_uint32.
5628 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5629 (write_locale_data): Call maybe_swap_uint32_array.
5630 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5632 (obstack_int32_grow_fast): Likewise.
5633 (output_weightwc): Call maybe_swap_uint32_obstack.
5634 (collate_output): Likewise.
5635 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5636 (OPT_LITTLE_ENDIAN): Likewise.
5637 (options): Add --little-endian and --big-endian options.
5638 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5639 * locale/programs/locarchive.c: Include "locfile.h".
5643 (create_archive): Use the new macros to access fields of
5644 structures directly mapped from or written to locale archives.
5645 (oldlocrecentcmp): Likewise.
5646 (enlarge_archive): Likewise.
5647 (insert_name): Likewise.
5648 (add_alias): Likewise.
5649 (add_locale): Likewise.
5650 (delete_locales_from_archive): Likewise.
5651 (show_archive_content): Likewise.
5652 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5655 2013-09-24 Roland McGrath <roland@hack.frob.com>
5657 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5658 http://www.gnu.org/doc/freemanuals.texi.
5659 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5661 2013-09-24 Will Newton <will.newton@linaro.org>
5663 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5666 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5668 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5671 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5673 * manual/threads.texi (POSIX Threads): Fix a typo.
5675 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5678 * string/tst-strcoll-overflow.c: New test case.
5679 * string/Makefile (xtests): Add tst-strcoll-overflow.
5680 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5681 cache if string sizes may cause integer overflow.
5684 * string/strcoll_l.c (coll_seq): New members rule, idx,
5685 save_idx and back_us.
5686 (get_next_seq_nocache): New function.
5687 (do_compare_nocache): New function.
5688 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5691 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5694 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5695 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5696 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5699 * elf/Makefile (tests): Add tst-ptrguard1.
5700 (tests-static): Add tst-ptrguard1-static.
5701 (tst-ptrguard1-ARGS): Define.
5702 (tst-ptrguard1-static-ARGS): Define.
5703 * elf/tst-ptrguard1.c: New file.
5704 * elf/tst-ptrguard1-static.c: New file.
5705 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5706 * sysdeps/i386/stackguard-macros.h: Likewise.
5707 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5708 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5709 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5710 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5711 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5712 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5714 2013-09-23 Hector Marco <hecmargi@upv.es>
5715 Ismael Ripoll <iripoll@disca.upv.es>
5716 Carlos O'Donell <carlos@redhat.com>
5719 * sysdeps/generic/stackguard-macros.h: Define
5720 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5721 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5722 Define __pointer_chk_guard_local.
5723 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5724 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5726 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5729 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5731 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5733 * include/string.h (__ffs): Declare as hidden.
5734 * string/ffs.c (__ffs): Define as hidden.
5735 * sysdeps/i386/ffs.c (__ffs): Likewise.
5736 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5737 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5738 * sysdeps/s390/ffs.c (__ffs): Likewise.
5739 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5741 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5743 * NEWS: Mention malloc probes.
5745 * malloc/arena.c (new_heap): New memory_heap_new probe.
5746 (grow_heap): New memory_heap_more probe.
5747 (shrink_heap): New memory_heap_less probe.
5748 (heap_trim): New memory_heap_free probe.
5749 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5750 (systrim): New memory_sbrk_less probe.
5751 * manual/probes.texi: Document them.
5753 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5754 * manual/probes.texi: Document it.
5756 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5757 (__libc_realloc): Add memory_realloc_retry probe.
5758 (__libc_memalign): Add memory_memalign_retry probe.
5759 (__libc_valloc): Add memory_valloc_retry probe.
5760 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5761 (__libc_calloc): Add memory_calloc_retry probe.
5762 * manual/probes.texi: Document them.
5764 * malloc/arena.c (get_free_list): Add probe
5765 memory_arena_reuse_free_list.
5766 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5767 and memory_arena_reuse.
5768 (arena_get2) [!PER_THREAD]: Likewise.
5769 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5770 memory_arena_reuse_realloc.
5771 * manual/probes.texi: Document them.
5773 * malloc/malloc.c (__libc_free): Add
5774 memory_mallopt_free_dyn_thresholds probe.
5775 (__libc_mallopt): Add multiple memory_mallopt probes.
5776 * manual/probes.texi: Document them.
5778 * malloc/malloc.c: Include stap-probe.h.
5779 (__libc_mallopt): Add memory_mallopt probe.
5780 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5781 * manual/probes.texi: New.
5782 * manual/Makefile (chapters): Add probes.
5783 * manual/threads.texi: Set next node.
5785 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5788 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5789 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5790 Add `Chinese' to `nan' entry name.
5792 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5794 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5795 (POLYNOMIAL): Likewise.
5796 (TAYLOR_SINCOS): Likewise.
5797 (TAYLOR_SLOW): Likewise.
5798 (__sin): Use TAYLOR_SINCOS.
5800 (slow): Use TAYLOR_SLOW.
5805 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5807 * stdlib/strtod_l.c: Fix buffer overrun.
5809 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5811 * benchtests/Makefile (bench): Add sincos.
5812 * benchtests/bench-sincos.c: New file.
5814 * math/libm-test.inc (cos_test_data): New test inputs.
5815 (sin_test_data): Likewise.
5817 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5825 (bsloww1): Likewise.
5826 (bsloww2): Likewise.
5828 (csloww1): Likewise.
5829 (csloww2): Likewise.
5831 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5840 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5842 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5843 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5844 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5845 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5846 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5847 * elf/cache.c (print_entry): Handle the new cache flags.
5849 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5850 Aldy Hernandez <aldyh@redhat.com>
5852 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5853 Change condition to [_SOFT_FLOAT].
5854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5866 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5869 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5872 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5874 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5875 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5876 (__longjmp): Use LOAD_GP to load saved GPRs.
5877 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5878 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5879 (__sigsetjmp): Use SAVE_GP to save GPRs.
5881 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5882 Do not append -msoft-float.
5883 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5885 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5887 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5889 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5892 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5893 (_FPU_GETCW): Use initial "__" on variable and field names but not
5894 on macro parameter name.
5895 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5896 parentheses around reference to macro parameter.
5898 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5900 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5902 (ctype_startup): Use uint32_t in cast and sizeof for
5905 2013-09-11 Jia Liu <proljc@gmail.com>
5907 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5909 [__FreeBSD__]: Likewise.
5911 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5914 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5915 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5916 (strchr): Remove __strchr_sse42 ifunc selection.
5917 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5918 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5920 2013-09-11 Will Newton <will.newton@linaro.org>
5922 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5923 parameter to RES. Remove hardcoded 1000 value.
5924 * benchtests/bench-skeleton.c (main): Pass RES parameter
5925 to TIMING_INIT and multiply result by 1000.
5927 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5931 2013-09-11 Andreas Schwab <schwab@suse.de>
5933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5935 (O_TMPFILE) [__USE_GNU]: Define.
5936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5939 2013-09-11 Will Newton <will.newton@linaro.org>
5942 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5945 2013-09-11 Will Newton <will.newton@linaro.org>
5948 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5951 2013-09-11 Will Newton <will.newton@linaro.org>
5954 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5957 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5959 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5960 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5965 2013-09-10 Allan McRae <allan@archlinux.org>
5968 * manual/arith.texi (Parsing of Floats): Clarify
5972 * manual/install.texi (Running make install): Mention
5974 * INSTALL: Regenerated.
5976 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5978 * csu/init-first.c (_init): Remove the !SHARED condition around
5979 FPU control word initialization.
5980 * elf/dl-support.c (_dl_fpu_control): New variable.
5981 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5982 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5983 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5984 * math/test-fpucw-static.c: New file.
5985 * math/test-fpucw-ieee.c: New file.
5986 * math/test-fpucw-ieee-static.c: New file.
5987 * math/Makefile (tests): Add `test-fpucw-ieee' and
5989 (tests-static): New variable.
5990 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5992 [($(build-shared),yes)]
5993 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5995 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5998 2013-09-09 Allan McRae <allan@archlinux.org>
6001 * manual/string.texi (Collation Functions): Fix typo in
6003 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6006 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6009 * libio/memstream.c (open_memstream): Fix memory leak.
6010 * libio/wmemstream.c (open_wmemstream): Likewise.
6013 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6015 2013-09-09 Will Newton <will.newton@linaro.org>
6017 * malloc/Makefile: Add tst-realloc to tests.
6018 * malloc/tst-realloc.c: New file.
6020 2013-09-09 Allan McRae <allan@archlinux.org>
6023 * COPYING: Update from GNU website to fix FSF address.
6024 * COPYING.LIB: Likewise.
6026 2013-09-06 David S. Miller <davem@davemloft.net>
6028 * po/zh_TW.po: Update Chinese (traditional) translation from
6029 translation project.
6031 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6032 Joseph Myers <joseph@codesourcery.com>
6034 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6036 (obstack_chunk_alloc): New macro.
6037 (obstack_chunk_free): Likewise.
6038 (record_offset): New function.
6039 (init_locale_data): Likewise.
6040 (align_locale_data): Likewise.
6041 (add_locale_empty): Likewise.
6042 (add_locale_raw_data): Likewise.
6043 (add_locale_raw_obstack): Likewise.
6044 (add_locale_string): Likewise.
6045 (add_locale_wstring): Likewise.
6046 (add_locale_uint32): Likewise.
6047 (add_locale_uint32_array): Likewise.
6048 (add_locale_char): Likewise.
6049 (start_locale_structure): Likewise.
6050 (end_locale_structure): Likewise.
6051 (start_locale_prelude): Likewise.
6052 (end_locale_prelude): Likewise.
6053 (write_locale_data): Take locale_file structure rather than an
6055 * locale/programs/locfile.h: Include "obstack.h".
6056 (struct locale_file): Change to store locale file contents instead
6058 (init_locale_data): New prototype.
6059 (align_locale_data): Likewise.
6060 (add_locale_empty): Likewise.
6061 (add_locale_raw_data): Likewise.
6062 (add_locale_raw_obstack): Likewise.
6063 (add_locale_string): Likewise.
6064 (add_locale_wstring): Likewise.
6065 (add_locale_uint32): Likewise.
6066 (add_locale_uint32_array): Likewise.
6067 (add_locale_char): Likewise.
6068 (start_locale_structure): Likewise.
6069 (end_locale_structure): Likewise.
6070 (start_locale_prelude): Likewise.
6071 (end_locale_prelude): Likewise.
6072 (write_locale_data): Update prototype.
6073 * locale/programs/3level.h (struct TABLE): Remove result field.
6074 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6075 Use new locale_file interface.
6076 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6077 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6078 * locale/programs/ld-address.c (address_output): Use new
6079 locale_file interface.
6080 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6082 (collate_finish): Don't call collseq_table_finalize.
6083 (collate_output): Use new locale_file interface.
6084 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6086 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6087 (TABLE): Move defines earlier in file.
6088 (ELEMENT): Likewise.
6089 (DEFAULT): Likewise.
6090 (wctrans_table_add): Move macro and inline function earlier in
6092 (struct wctype_table): Move type earlier in file.
6093 (add_locale_wctype_table): New static prototype.
6094 (struct locale_ctype_t): Use logical types instead of struct iovec
6095 pointers for members.
6096 (ctype_output): Use new locale_file interface.
6097 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6098 new locale_file interface.
6099 (allocate_arrays): Update for use of new locale_file interface.
6100 * locale/programs/ld-identification.c (identification_output): Use
6101 new locale_file interface.
6102 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6103 * locale/programs/ld-messages.c (messages_output): Likewise.
6104 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6105 * locale/programs/ld-name.c (name_output): Likewise.
6106 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6107 * locale/programs/ld-paper.c (paper_output): Likewise.
6108 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6109 * locale/programs/ld-time.c (time_output): Likewise.
6111 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113 * benchtests/Makefile: Add memrchr benchmark.
6114 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6115 benchmark as memrchr.
6116 * benchtests/bench-memrchr-ifunc.c: New file.
6117 * benchtests/bench-memrchr.c: New file.
6119 2013-09-06 Will Newton <will.newton@linaro.org>
6121 * benchtests/Makefile (string-bench): Add memcpy.
6123 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6124 Cong Wang <amwang@redhat.com>
6127 * sysdeps/unix/sysv/linux/bits/in.h
6128 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6129 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6130 before __USE_KERNEL_IPV6_DEFS uses.
6131 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6133 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6134 sockaddr_in6, or ipv6_mreq.
6136 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6138 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6139 memory access for final bytes in some large inputs.
6140 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6142 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6144 * string/test-memrchr.c: New file.
6145 * string/test-memrchr-ifunc.c: New file.
6146 * string/Makefile: Add new memrchr testcase.
6148 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6150 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6151 fanotify_init returns EPERM.
6153 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6155 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6157 (top level): Treat second token from macro or constant entries for
6158 allowed headers as allowed.
6159 * include/complex.h: Condition internal declarations on
6161 * include/fenv.h: Condition include of <stdbool.h> and internal
6162 declarations on [!_ISOMAC].
6164 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6167 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6169 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6171 * configure.in (--enable-versioning): Remove configure option.
6172 (libc_cv_asm_symver_directive): Remove configure test.
6173 (libc_cv_ld_version_script_option): Likewise.
6174 (VERSIONING): Remove variable and AC_SUBST.
6175 (DO_VERSIONING): Remove AC_DEFINE.
6176 * configure: Regenerated.
6177 * config.h.in (DO_VERSIONING): Remove macro.
6178 * Makerules [$(versioning) = yes]: Change conditionals to
6179 [$(build-shared) = yes].
6180 * config.make.in (versioning): Remove variable.
6181 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6182 [$(build-shared) = yes].
6183 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6184 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6185 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6186 [$(build-shared) = yes].
6187 * extra-lib.mk [$(versioning) = yes]: Likewise.
6188 * hurd/Makefile [$(versioning) = yes]: Likewise.
6189 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6191 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6193 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6194 [SHARED && !NO_HIDDEN].
6195 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6197 [SHARED && DO_VERSIONING]: Likewise..
6198 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6199 [$(build-shared) = yes].
6200 * manual/install.texi (--disable-versioning): Remove
6202 * INSTALL: Regenerated.
6203 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6205 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6206 [$(build-shared) = yes].
6207 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6208 * sysdeps/i386/i686/multiarch/strstr-c.c
6209 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6210 [SHARED && !NO_HIDDEN].
6211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6212 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6213 * sysdeps/powerpc/powerpc32/dl-machine.c
6214 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6215 * sysdeps/powerpc/powerpc32/sysdep.h
6216 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6217 to [SHARED && PIC && !NO_HIDDEN].
6218 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6219 conditional to [SHARED].
6221 2013-09-04 Will Newton <will.newton@linaro.org>
6223 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6224 * benchtests/bench-string.h: Include bench-timing.h instead
6225 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6226 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6227 call to HP_TIMING_DIFF_INIT.
6228 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6229 instead of hp-timing.h macros.
6230 * benchtests/bench-memchr.c: Likewise.
6231 * benchtests/bench-memcmp.c: Likewise.
6232 * benchtests/bench-memcpy.c: Likewise.
6233 * benchtests/bench-memmem.c: Likewise.
6234 * benchtests/bench-memmove.c: Likewise.
6235 * benchtests/bench-memset.c: Likewise.
6236 * benchtests/bench-rawmemchr.c: Likewise.
6237 * benchtests/bench-strcasecmp.c: Likewise.
6238 * benchtests/bench-strcasestr.c: Likewise.
6239 * benchtests/bench-strcat.c: Likewise.
6240 * benchtests/bench-strchr.c: Likewise.
6241 * benchtests/bench-strcmp.c: Likewise.
6242 * benchtests/bench-strcpy.c: Likewise.
6243 * benchtests/bench-strcpy_chk.c: Likewise.
6244 * benchtests/bench-strlen.c: Likewise.
6245 * benchtests/bench-strncasecmp.c: Likewise.
6246 * benchtests/bench-strncat.c: Likewise.
6247 * benchtests/bench-strncmp.c: Likewise.
6248 * benchtests/bench-strncpy.c: Likewise.
6249 * benchtests/bench-strnlen.c: Likewise.
6250 * benchtests/bench-strpbrk.c: Likewise.
6251 * benchtests/bench-strrchr.c: Likewise.
6252 * benchtests/bench-strspn.c: Likewise.
6253 * benchtests/bench-strstr.c: Likewise.
6255 2013-09-04 Will Newton <will.newton@linaro.org>
6257 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6259 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6262 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6263 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6264 * math/libm-test.inc (lgamma_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-03 Ondřej Bílka <neleai@seznam.cz>
6270 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6274 Add strcmp-sse2-unaligned
6275 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6277 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6279 * Versions.def (libc): Add GLIBC_2.19.
6281 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6283 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6284 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6286 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6289 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6290 intermediate calculations in recurrence.
6291 (__ieee754_ynf): Likewise.
6292 * math/libm-test.inc (jn_test_data): Do not allow spurious
6293 underflow exception. Add more tests.
6294 (yn_test_data): Add more tests.
6295 * sysdeps/i386/fpu/libm-test-ulps: Update.
6296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6298 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6300 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6302 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6304 * csu/init-first.c: Fix then/than typos.
6305 * locale/programs/ld-collate.c: Likewise.
6306 * locale/programs/linereader.h: Likewise.
6307 * manual/charset.texi: Likewise.
6308 * manual/filesys.texi: Likewise.
6309 * manual/stdio.texi: Likewise.
6310 * manual/string.texi: Likewise.
6311 * stdlib/fmtmsg.c: Likewise.
6312 * sysdeps/i386/stpncpy.S: Likewise.
6313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6314 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6315 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6316 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6318 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6320 * elf/dl-open.c: Fix typos.
6321 * iconvdata/gbbig5.c: Likewise.
6322 * iconvdata/iso-2022-jp.c: Likewise.
6323 * iconv/gconv_int.h: Likewise.
6324 * iconv/loop.c: Likewise.
6325 * nis/rpcsvc/nis.h: Likewise.
6326 * resolv/ns_name.c: Likewise.
6327 * stdio-common/vfscanf.c: Likewise.
6328 * streams/stropts.h: Likewise.
6329 * sunrpc/rpc_thread.c: Likewise.
6330 * sysdeps/i386/strpbrk.S: Likewise.
6331 * sysdeps/ieee754/k_standard.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6334 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6335 * sysdeps/mach/hurd/profil.c: Likewise.
6336 * sysdeps/s390/dl-procinfo.h: Likewise.
6337 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6338 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6340 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6341 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6343 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6345 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6348 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6352 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6355 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6356 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6357 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6359 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6361 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6362 Roland McGrath <roland@hack.frob.com>
6364 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6365 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6367 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6369 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6370 __executable_start symbol instead of _start.
6372 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6374 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6375 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6377 * sysdeps/gnu/ldsodefs.h: ... this new file.
6379 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6380 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6381 instead of ELFOSABI_LINUX.
6383 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6384 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6385 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6386 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6388 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6389 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6392 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6393 (ibm_extended_long_double): Add ieee_nan member.
6394 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6395 (do_test): New function.
6397 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6399 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6400 functions, renamed from truncdfsf_test, trunctfsf_test,
6402 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6404 (do_test): Run all these.
6406 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6408 * argp/argp-help.c: Fix typos.
6409 * argp/argp-parse.c: Likewise.
6410 * debug/backtracesyms.c: Likewise.
6411 * elf/elf.h: Likewise.
6412 * malloc/malloc.c: Likewise.
6413 * nis/nis_print.c: Likewise.
6414 * resolv/res_comp.c: Likewise.
6415 * stdlib/stdlib.h: Likewise.
6416 * sunrpc/clnt_tcp.c: Likewise.
6417 * sunrpc/clnt_udp.c: Likewise.
6418 * sunrpc/clnt_unix.c: Likewise.
6419 * sysdeps/unix/bsd/ptsname.c: Likewise.
6420 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6421 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6428 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6430 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6432 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6435 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6438 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6439 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6440 ($(objpfx)bug-dl-leaf): New rule.
6441 ($(objpfx)bug-dl-leaf.so): Likewise.
6442 ($(objpfx)bug-dl-leaf.out): Likewise.
6443 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6444 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6445 * dlfcn/bug-dl-leaf.c: New test.
6446 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6447 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6448 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6449 (dlclose): Likewise.
6450 (dlmopen): Likewise.
6452 2013-08-27 Roland McGrath <roland@hack.frob.com>
6454 * include/netdb.h [!_ISOMAC]:
6455 Don't include <tls.h>.
6456 (h_errno, __libc_h_errno): Move declaration and macros out of
6459 * include/resolv.h [_RESOLV_H_]:
6460 Don't include <tls.h>.
6461 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6462 * resolv/res_libc.c: Don't include <tls.h>.
6463 (_res): Use __attribute__ ((nocommon)) in place of
6464 __attribute__ ((section (".bss"))).
6466 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6467 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6469 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6471 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6472 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6474 * resolv/res_mkquery.c: Include <sys/time.h>.
6476 * inet/ifreq.c: Moved to ...
6477 * sysdeps/unix/ifreq.c: ... here.
6478 * inet/ifreq.c: New file, true stub version.
6480 * socket/sa_len.c: New file.
6481 * socket/Makefile (aux): Add it.
6482 * sysdeps/unix/sysv/linux/Makefile
6483 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6484 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6485 and #include <socket/sa_len.c>.
6486 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6487 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6489 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6490 * bits/socket.h: ... here.
6492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6493 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6494 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6496 2013-08-27 Andreas Schwab <schwab@suse.de>
6499 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6500 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6501 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6502 * string/test-strcasecmp.c (test_main): Run tests in several
6504 * string/test-strncasecmp.c (test_main): Likewise.
6506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6507 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6508 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6510 (__strncasecmp_ssse3) [PIC]: Likewise.
6512 2013-08-26 Roland McGrath <roland@hack.frob.com>
6514 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6516 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6517 instead of explicitly declaring xdecrypt.
6518 * nis/nss_nis/nis-publickey.c: Likewise.
6520 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6523 * nscd/aicache.c: Include res_hconf.h.
6524 (addhstaiX): Initialize res_hconf.
6526 2013-08-26 Andreas Schwab <schwab@suse.de>
6528 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6529 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6531 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6533 * nscd/aicache.c (addhstaiX): Fix indentation.
6535 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6537 * configure.ac: Quote $build_pt_chown test.
6538 * configure: Regenerated.
6540 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6543 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6544 * math/s_cexpf.c (__cexpf): Likewise.
6545 * math/s_cexpl.c (__cexpl): Likewise.
6546 * math/libm-test.inc (cexp_test_data): Correct expected return
6547 value for NaN + i0. Add another test.
6549 2013-08-22 David S. Miller <davem@davemloft.net>
6551 * po/ca.po: Update Catalan translation from translation project.
6552 * po/uk.po: Add Ukrainian translations from translation project.
6554 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6557 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6558 is infinite, not alongside NaN test.
6559 * math/s_fdimf.c (__fdimf): Likewise.
6560 * math/s_fdiml.c (__fdiml): Likewise.
6561 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6564 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6566 * argp/argp-help.c: Fix typos.
6567 * crypt/speeds.c: Likewise.
6568 * csu/check_fds.c: Likewise.
6569 * elf/dl-load.c: Likewise.
6570 * elf/dl-open.c: Likewise.
6571 * elf/reldep3.c: Likewise.
6572 * elf/reldep.c: Likewise.
6573 * elf/sprof.c: Likewise.
6574 * iconv/iconv_charmap.c: Likewise.
6575 * iconv/skeleton.c: Likewise.
6576 * iconv/strtab.c: Likewise.
6577 * io/lockf64.c: Likewise.
6578 * libio/libioP.h: Likewise.
6579 * resolv/gai_notify.c: Likewise.
6580 * resolv/ns_name.c: Likewise.
6581 * resolv/ns_samedomain.c: Likewise.
6582 * resolv/res_send.c: Likewise.
6583 * stdlib/random.c: Likewise.
6584 * sunrpc/rpc/xdr.h: Likewise.
6585 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6586 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6587 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6588 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6590 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6593 * sysdeps/mach/hurd/check_fds.c: Likewise.
6594 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6595 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6597 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6599 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6600 * sysdeps/pthread/aio_notify.c: Likewise.
6601 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6602 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6604 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6605 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6607 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6609 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6610 version if bit_Slow_SSE4_2 is set.
6611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6612 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6614 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6618 trampoline stack frame information.
6619 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6621 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6622 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6623 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6624 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6625 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6626 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6628 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6629 interrupting a syscall and set with option SA_SIGINFO.
6631 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6634 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6635 argument is infinite.
6636 * math/s_cprojf.c (__cprojf): Likewise.
6637 * math/s_cprojl.c (__cprojl): Likewise.
6638 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6639 * math/libm-test.inc (cproj_test_data): Add more tests.
6641 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6643 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6644 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6645 size. Use __ffs to determine corresponding shift.
6647 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6648 Roland McGrath <roland@hack.frob.com>
6650 * Makefile (INSTALL): Remove trailing blank lines from output of
6653 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6655 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6656 Align 32 bit compat elf_greg to 8 bytes.
6658 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6660 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6662 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6664 * string/strcoll_l.c (coll_seq): New structure.
6665 (get_next_seq_cached): New function.
6666 (get_next_seq): New function.
6667 (do_compare): New function.
6668 (STRCOLL): Use GNU style definition. Simplify implementation
6669 by using get_next_seq, get_next_seq_cached and do_compare.
6671 2013-08-16 Florian Weimer <fweimer@redhat.com>
6675 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6677 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6679 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6680 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6681 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6683 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6684 GETDENTS_64BIT_ALIGNED.
6685 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6686 * manual/filesys.texi (Reading/Closing Directory): Document
6687 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6689 * manual/conf.texi (Limits for Files): Add portability note to
6691 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6693 2013-08-13 Andreas Schwab <schwab@suse.de>
6696 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6698 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6699 LDBL_MAX_EXP >= 16384]: Add tests for it.
6701 2013-08-12 David S. Miller <davem@davemloft.net>
6703 * version.h (RELEASE): Set to "development".
6704 (VERSION): Set to "2.18.90".
6705 * NEWS: Add 2.19 section.
6707 2013-08-03 David S. Miller <davem@davemloft.net>
6709 * po/ko.po: Update Korean translation from translation project.
6711 2013-08-01 David S. Miller <davem@davemloft.net>
6713 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6714 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6717 2013-07-30 David S. Miller <davem@davemloft.net>
6719 * po/fr.po: Update French translation from translation project.
6721 2013-07-28 David S. Miller <davem@davemloft.net>
6723 * po/cs.po: Update Czech translation from translation project.
6725 * po/sv.po: Update Swedish translation from translation project.
6727 2013-07-27 David S. Miller <davem@davemloft.net>
6729 * po/eo.po: Update Esperanto translation from translation project.
6731 * po/vi.po: Update Vietnamese translation from translation project.
6733 * po/de.po: Update German translation from translation project.
6735 2013-07-26 David S. Miller <davem@davemloft.net>
6737 * po/bg.po: Update Bulgarian translation from translation project.
6739 * po/nl.po: Update Dutch translation from translation project.
6740 * po/pl.po: Update Polish translation from translation project.
6741 * po/ru.po: Update Russian translation from translation project.
6743 2013-07-24 David S. Miller <davem@davemloft.net>
6745 * po/libc.pot: Update.
6747 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6751 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6752 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6753 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6755 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6757 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6759 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6760 Andreas Schwab <schwab@suse.de>
6761 Roland McGrath <roland@hack.frob.com>
6762 Joseph Myers <joseph@codesourcery.com>
6763 Carlos O'Donell <carlos@redhat.com>
6766 * config.h.in: Define HAVE_PT_CHOWN.
6767 * config.make.in (build-pt-chown): New variable.
6768 * configure.in (--enable-pt_chown): New configure option.
6769 * configure: Regenerate.
6770 * login/Makefile: Include Makeconfig. Build pt_chown only if
6771 build-pt-chown is enabled.
6772 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6773 pt_chown to fix pty ownership.
6774 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6776 * manual/install.texi (Configuring and compiling): Mention
6777 --enable-pt_chown. Add @findex for grantpt.
6778 * INSTALL: Regenerate.
6780 2013-07-20 David S. Miller <davem@davemloft.net>
6782 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6783 difference between 32-bit and 64-bit.
6785 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6788 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6789 Avoid system header dependency with -ffreestanding.
6790 ($(objpfx)bits/syscall%d): Likewise.
6792 2013-07-13 David S. Miller <davem@davemloft.net>
6794 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6795 underflows from atanl/atan2l due to bug 15319.
6796 (casinh_test_data): Likewise.
6798 2013-07-07 David S. Miller <davem@davemloft.net>
6800 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6802 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6804 * sysdeps/i386/fpu/libm-test-ulps: Update.
6805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6807 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6809 * configure.in (--enable-lock-elision): Fix message text.
6810 * INSTALL: Regenerate.
6811 * configure: Regenerate.
6813 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6817 2013-07-03 Andreas Jaeger <aj@suse.de>
6819 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6821 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6822 (ptrace_peeksiginfo_args): Add.
6823 (__ptrace_peeksiginfo_flags): Add.
6824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6828 2013-07-03 Allan McRae <allan@archlinux.org>
6830 * sysdeps/i386/fpu/libm-test-ulps: Update.
6832 2013-07-02 David S. Miller <davem@davemloft.net>
6834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6836 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6840 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6842 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6845 2013-07-02 Andi Kleen <ak@linux.intel.com>
6847 * config.h.in (ENABLE_LOCK_ELISION): Add.
6848 * configure.in (--enable-lock-elision): Add option.
6849 * manual/install.texi: Document --enable lock elision.
6850 * configure: Regenerate
6851 * INSTALL: Regenerate.
6853 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6855 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6856 SSE4.2 strcasecmp for libc.a.
6857 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6859 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6862 * soft-fp/op-common.h (_FP_FMA): New macro.
6863 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6864 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6865 (_FP_MUL_MEAT_1_imm): ... here.
6866 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6867 (_FP_MUL_MEAT_1_wide): ... here.
6868 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6869 (_FP_MUL_MEAT_1_hard): ... here.
6870 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6871 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6872 (_FP_MUL_MEAT_2_wide): ... here.
6873 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6874 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6875 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6876 (_FP_MUL_MEAT_2_gmp): ... here.
6877 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6878 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6879 (_FP_MUL_MEAT_4_wide): ... here.
6880 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6881 (_FP_MUL_MEAT_4_gmp): ... here.
6882 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6883 (_FP_WFRACBITS_DW_S): Likewise.
6884 (_FP_WFRACXBITS_DW_S): Likewise.
6885 (_FP_HIGHBIT_DW_S): Likewise.
6886 (FP_FMA_S): Likewise.
6887 (_FP_FRAC_HIGH_DW_S): Likewise.
6888 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6889 (_FP_WFRACBITS_DW_D): Likewise.
6890 (_FP_WFRACXBITS_DW_D): Likewise.
6891 (_FP_HIGHBIT_DW_D): Likewise.
6892 (FP_FMA_D): Likewise.
6893 (_FP_FRAC_HIGH_DW_D): Likewise.
6894 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6895 (_FP_WFRACBITS_DW_E): Likewise.
6896 (_FP_WFRACXBITS_DW_E): Likewise.
6897 (_FP_HIGHBIT_DW_E): Likewise.
6898 (FP_FMA_E): Likewise.
6899 (_FP_FRAC_HIGH_DW_E): Likewise.
6900 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6901 (_FP_WFRACBITS_DW_Q): Likewise.
6902 (_FP_WFRACXBITS_DW_Q): Likewise.
6903 (_FP_HIGHBIT_DW_Q): Likewise.
6904 (FP_FMA_Q): Likewise.
6905 (_FP_FRAC_HIGH_DW_Q): Likewise.
6906 * soft-fp/fmasf4.c: New file.
6907 * soft-fp/fmadf4.c: Likewise.
6908 * soft-fp/fmatf4.c: Likewise.
6910 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6913 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6915 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6917 (index_Slow_SSE4_2): Likewise.
6918 (index_Prefer_PMINUB_for_stringop): Likewise.
6919 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6920 bit_Slow_SSE4_2 is set.
6921 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6922 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6924 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6926 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6927 rtld_global._dl_hwcap2.
6928 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6930 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6931 POWER8 feature descriptions defined in _dl_hwcap2.
6932 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6933 string handling for POWER8 feature bits.
6934 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6935 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6936 _dl_powerpc_cap_flags.
6937 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6938 * sysdeps/powerpc/rtld-global-offsets.sym
6939 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6940 _dl_hwcap2 in the rtld_global_ro structure.
6942 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6944 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6945 hardware capabilities in support of AT_HWCAP2.
6946 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6947 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6949 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6950 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6951 explicitly the unknown a_type display mechanism is used.
6952 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6953 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6955 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6956 to macro prototype for AT_HWCAP2 support.
6957 * sysdeps/i386/dl-procinfo.h: Likewise.
6958 * sysdeps/s390/dl-procinfo.h: Likewise.
6959 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6960 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6961 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6962 return -1 for unknown a_type display fallback.
6963 * sysdeps/sparc/dl-procinfo.h: Likewise.
6964 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6965 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6967 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6969 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6970 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6972 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6975 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6976 mprotect making __stack_prot writable.
6978 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6979 Joseph Myers <joseph@codesourcery.com>
6981 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6982 as being properly aligned.
6984 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6986 * dlfcn/modstatic5.c: New file.
6987 * dlfcn/tststatic5.c: New file.
6988 * dlfcn/Makefile (tests): Add tststatic5.
6989 (tests-static): Likewise.
6990 (modules-names): Add modstatic5.
6991 (tststatic5-ENV): New variable.
6992 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6995 * elf/dl-support.c (_dl_main_map): New variable.
6996 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6997 (_dl_nns, _dl_load_adds): Set to 1.
6998 (_dl_initial_searchlist): Refer to _dl_main_map.
6999 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7000 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7001 call to _dl_get_origin.
7002 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7004 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7005 * dlfcn/modstatic3.c: New file.
7006 * dlfcn/tststatic3.c: New file.
7007 * dlfcn/tststatic4.c: New file.
7008 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7009 (tests-static): Likewise.
7010 (modules-names): Add modstatic3.
7011 (tststatic3-ENV, tststatic4-ENV): New variables.
7012 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7013 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7015 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7017 * configure.in (CC): Require GCC version 4.4 or later.
7018 * configure: Regenerated.
7019 * manual/install.texi (Tools for Compilation): Update GCC version
7021 * INSTALL: Regenerated.
7023 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7026 * string/test-memcmp.c (check2): New.
7027 (main): Call check2.
7029 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7031 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7034 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7036 (dl_open_worker) [!SHARED]: ... here.
7038 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7040 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7042 2013-06-25 Richard Henderson <rth@redhat.com>
7044 * locale/programs/locarchive.c: Include <libc-internal.h>
7046 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7048 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7049 trailing whitespace removed.
7051 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7054 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7055 * locale/programs/locarchive.c: Include libc-mmap.h.
7056 (prepare_address_space): Take two new outputs (the mmap base and len).
7057 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7059 (create_archive): Declare new mmap base and len values for
7060 prepare_address_space, and store the result in ah.
7061 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7062 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7063 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7064 Declare new mmap base and len values for
7065 prepare_address_space, and store the result in new_ah.
7066 (open_archive): Declare new mmap base and len values for
7067 prepare_address_space, and store the result in ah.
7068 (close_archive): If ah->mmap_base is not NULL, use that and
7069 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7070 * sysdeps/generic/libc-mmap.h: New file.
7072 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7074 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7075 (ALIGN_UP): Likewise.
7076 (PTR_ALIGN_DOWN): Likewise.
7077 (PTR_ALIGN_UP): Likewise.
7079 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7081 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7082 entry mapped to PPC_PLATFORM_POWER8.
7083 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7085 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7086 (_dl_string_platform): Add case for exporting platform position for
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7089 search path to sysdeps/powerpc/powerpc32/power8 directory.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7091 search path to sysdeps/powerpc/powerpc64/power8 directory.
7092 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7094 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7097 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7099 * INSTALL: Regenerate.
7101 * nscd/connections.c (nscd_init): Fix comment.
7103 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7105 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7108 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7109 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7111 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7113 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7115 (DL_DST_REQ_STATIC): Remove macro.
7117 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7120 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7121 with a shift of 0 bits.
7123 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7125 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7128 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7131 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7133 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7136 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7137 accepts -fno-tree-loop-distribute-patterns.
7138 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7139 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7141 * string/memset.c (memset): Likewise.
7142 * string/test-memmove.c (simple_memmove): Disable loop transformation
7144 * string/test-memset.c (simple_memset): Likewise.
7145 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7146 * benchtests/bench-memset.c (simple_memset): Likewise.
7147 * configure: Regenerated.
7149 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7151 * math/test-misc.c (main): Ignore fesetround failure when failures
7152 of subsequent rounding tests would be ignored.
7155 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7156 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7157 * math/fegetenv.c (__fegetenv): Return 0.
7158 * math/fegetexcept.c (fegetexcept): Return 0.
7159 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7161 * math/feholdexcpt.c (feholdexcept): Return 0.
7162 * math/fesetenv.c (__fesetenv): Return 0.
7163 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7164 argument FE_TONEAREST.
7165 * math/feupdateenv.c (__feupdateenv): Return 0.
7166 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7168 2013-06-18 Roland McGrath <roland@hack.frob.com>
7170 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7171 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7172 ($(objpfx)rtld-%.os rules): Use them.
7174 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7179 2013-06-17 Roland McGrath <roland@hack.frob.com>
7181 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7182 length of target pattern, then descending length of dependency pattern.
7183 * configure.in (AWK): Require gawk 3.1.2 or newer.
7184 * manual/install.texi (Tools for Compilation): Say that we do.
7185 * configure: Regenerated.
7187 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7188 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7189 * scripts/sysd-rules.awk: ... this new script.
7190 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7191 than a glob-style pattern.
7193 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7195 * math/test-misc.c (main): Do not treat incorrectly rounded
7196 conversions as failure unless ROUNDING_TESTS passes.
7198 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7201 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7202 restore exception state around main square root computation, then
7203 check for inexactness explicitly.
7205 * math/libm-test.inc (fma_test_data): Add another test.
7207 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7209 * manual/threads.texi (Non-POSIX Extensions): New document
7210 node. Document pthread_getattr_default_np and
7211 pthread_setattr_default_np.
7213 * Versions.def (libpthread): Add GLIBC_2.18.
7214 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7223 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7234 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7237 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7239 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7240 H.J. Lu <hjl.tools@gmail.com>
7243 * sysdeps/x86_64/rtld-memset.c: Remove file.
7244 * sysdeps/x86_64/rtld-memset.S: New file.
7246 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7248 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7249 (test_in_one_mode): Take arguments for whether the rounding mode
7250 is supported for each floating-point type.
7251 (do_test): Pass new arguments to test_in_one_mode using
7254 2013-06-13 Roland McGrath <roland@hack.frob.com>
7256 * posix/tst-waitid.c (do_test): Distinguish different instances of
7257 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7258 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7259 before entering the kernel for waitpid.
7261 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7263 * NEWS: Fix note on clock function precision. Text by Roland
7266 2013-06-13 Roland McGrath <roland@hack.frob.com>
7268 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7269 it into place only when and if the sanity check passes.
7271 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7273 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7274 output for whether conversion result is exact. Take argument
7275 indicating whether type is IBM long double.
7276 (round_for_all): Change need_exact field to ibm_ld.
7277 * stdlib/tst-strtod-round.c (struct exactness): New type.
7278 (struct test): Change bool ld_ok field to struct exactness exact.
7279 (TEST): Update all definitions for change to field.
7280 (tests): Regenerate array contents.
7281 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7282 field value. Check for IBM long double here.
7283 (do_test): Update calls to test_in_one_mode.
7285 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7288 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7289 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7291 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7294 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7295 generated by the compiler on loop optimizations.
7296 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7297 general definitions.
7299 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7301 * math/bug-nextafter.c: Include <math-tests.h>.
7302 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7304 * math/bug-nexttoward.c: Include <math-tests.h>.
7305 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7307 * math/test-misc.c: Include <math-tests.h>.
7308 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7311 2013-06-12 Andreas Jaeger <aj@suse.de>
7313 * po/ia.po: Update Interlingua translation from translation
7316 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7318 * include/fenv.h: Include stdbool.h.
7319 (struct rm_ctx): New structure.
7320 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7322 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7323 (SET_RESTORE_ROUNDF): Likewise.
7324 (SET_RESTORE_ROUNDL): Likewise.
7325 (SET_RESTORE_ROUND_NOEX): Likewise.
7326 (SET_RESTORE_ROUND_NOEXF): Likewise.
7327 (SET_RESTORE_ROUND_NOEXL): Likewise.
7328 (SET_RESTORE_ROUND_53BIT): Likewise.
7329 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7330 (libc_feresetround_noexf_ctx): Likewise.
7331 (libc_feresetround_noexl_ctx): Likewise.
7332 (libc_feholdsetround_53bit_ctx): Likewise.
7333 (libc_feresetround_53bit_ctx): Likewise.
7334 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7335 (libc_feholdexcept_setround_sse_ctx): New function.
7336 (libc_fesetenv_sse_ctx): Likewise.
7337 (libc_feupdateenv_sse_ctx): Likewise.
7338 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7339 (libc_feholdexcept_setround_387_ctx): Likewise.
7340 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7341 (libc_feholdsetround_387_prec_ctx): Likewise.
7342 (libc_feholdsetround_387_ctx): Likewise.
7343 (libc_feholdsetround_387_53bit_ctx): Likewise.
7344 (libc_feholdsetround_sse_ctx): Likewise.
7345 (libc_feresetround_sse_ctx): Likewise.
7346 (libc_feresetround_387_ctx): Likewise.
7347 (libc_feupdateenv_387_ctx): Likewise.
7348 (libc_feholdexcept_setroundf_ctx): Define macro.
7349 (libc_fesetenvf_ctx): Likewise.
7350 (libc_feupdateenvf_ctx): Likewise.
7351 (libc_feholdsetroundf_ctx): Likewise.
7352 (libc_feresetroundf_ctx): Likewise.
7353 (libc_feholdexcept_setround_ctx): Likewise.
7354 (libc_fesetenv_ctx): Likewise.
7355 (libc_feupdateenv_ctx): Likewise.
7356 (libc_feholdsetround_ctx): Likewise.
7357 (libc_feresetround_ctx): Likewise.
7358 (libc_feholdexcept_setroundl_ctx): Likewise.
7359 (libc_feupdateenvl_ctx): Likewise.
7360 (libc_feholdsetroundl_ctx): Likewise.
7361 (libc_feresetroundl_ctx): Likewise.
7362 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7363 (libc_feresetround_53bit_ctx): Likewise.
7365 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7367 * locale/iso-639.def: Convert to UTF-8.
7369 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7371 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7372 (EXCEPTION_TESTS_double): Likewise.
7373 (EXCEPTION_TESTS_long_double): Likewise.
7374 (EXCEPTION_TESTS): Likewise.
7375 * math/libm-test.inc (test_exceptions): Only test exceptions if
7376 EXCEPTION_TESTS (FLOAT).
7378 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7380 * benchtests/Makefile (string-bench): Add strcpy_chk and
7382 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7383 * benchtests/bench-stpcpy_chk.c: New file.
7384 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7385 * benchtests/bench-strcpy_chk.c: New file.
7386 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7388 (do_test): Likewise.
7390 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7392 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7393 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7394 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7395 with tabs where appropriate.
7396 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7398 [PPC_PLATFORM_PPC440]: Likewise.
7399 [PPC_PLATFORM_PPC464]: Likewise.
7400 [PPC_PLATFORM_PPC476]: Likewise.
7401 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7402 ppc464, and ppc476 platform strings merging from ports/
7405 2013-06-11 Andreas Schwab <schwab@suse.de>
7408 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7409 (from_ucs4_idx): Regenerate.
7410 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7411 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7412 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7413 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7414 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7415 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7416 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7417 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7418 from FROM_LOOP and TO_LOOP specific macros.
7419 (BODY): Handle combining characters.
7420 * iconvdata/BIG5HKSCS.irreversible: Update.
7421 * iconvdata/BIG5HKSCS.precomposed: New file.
7422 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7424 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7426 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7428 * include/sys/time.h: Fix indentation and add copyright header.
7430 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7431 (do_test): Likewise.
7432 * string/test-memchr.c (do_one_test): Likewise.
7433 (do_test): Likewise.
7434 * string/test-memcmp.c (do_one_test): Likewise.
7435 (do_test): Likewise.
7436 * string/test-memcpy.c (do_one_test): Likewise.
7437 (do_test): Likewise.
7438 * string/test-memmem.c (do_one_test): Likewise.
7439 (do_test): Likewise.
7440 (do_random_tests): Likewise.
7441 * string/test-memmove.c (do_one_test): Likewise.
7442 (do_test): Likewise.
7443 * string/test-memset.c (do_one_test): Likewise.
7444 (do_test): Likewise.
7445 * string/test-rawmemchr.c (do_one_test): Likewise.
7446 (do_test): Likewise.
7447 * string/test-strcasecmp.c (do_one_test): Likewise.
7448 (do_test): Likewise.
7449 * string/test-strcasestr.c (do_one_test): Likewise.
7450 (do_test): Likewise.
7451 * string/test-strcat.c (do_one_test): Likewise.
7452 (do_test): Likewise.
7453 * string/test-strchr.c (do_one_test): Likewise.
7454 (do_test): Likewise.
7455 * string/test-strcmp.c (do_one_test): Likewise.
7456 (do_test): Likewise.
7457 * string/test-strcpy.c (do_one_test): Likewise.
7458 (do_test): Likewise.
7459 * string/test-string.h: Likewise.
7460 (test_init): Likewise.
7461 * string/test-strlen.c (do_one_test): Likewise.
7462 (do_test): Likewise.
7463 * string/test-strncasecmp.c (do_one_test): Likewise.
7464 (do_test): Likewise.
7465 * string/test-strncat.c (do_one_test): Likewise.
7466 (do_test): Likewise.
7467 * string/test-strncmp.c (do_one_test): Likewise.
7468 (do_test_limit): Likewise.
7469 (do_test): Likewise.
7470 * string/test-strncpy.c (do_one_test): Likewise.
7471 (do_test): Likewise.
7472 * string/test-strnlen.c (do_one_test): Likewise.
7473 (do_test): Likewise.
7474 * string/test-strpbrk.c (do_one_test): Likewise.
7475 (do_test): Likewise.
7476 * string/test-strrchr.c (do_one_test): Likewise.
7477 (do_test): Likewise.
7478 * string/test-strspn.c (do_one_test): Likewise.
7479 (do_test): Likewise.
7480 * string/test-strstr.c (do_one_test): Likewise.
7481 (do_test): Likewise.
7483 * benchtests/Makefile (string-bench): Add string benchmarks.
7484 * benchtests/bench-bcopy-ifunc.c: New file.
7485 * benchtests/bench-bcopy.c: New file.
7486 * benchtests/bench-bzero-ifunc.c: New file.
7487 * benchtests/bench-bzero.c: New file.
7488 * benchtests/bench-memccpy-ifunc.c: New file.
7489 * benchtests/bench-memccpy.c: New file.
7490 * benchtests/bench-memchr-ifunc.c: New file.
7491 * benchtests/bench-memchr.c: New file.
7492 * benchtests/bench-memcmp-ifunc.c: New file.
7493 * benchtests/bench-memcmp.c: New file.
7494 * benchtests/bench-memmem-ifunc.c: New file.
7495 * benchtests/bench-memmem.c: New file.
7496 * benchtests/bench-memmove-ifunc.c: New file.
7497 * benchtests/bench-memmove.c: New file.
7498 * benchtests/bench-mempcpy-ifunc.c: New file.
7499 * benchtests/bench-mempcpy.c: New file.
7500 * benchtests/bench-memset-ifunc.c: New file.
7501 * benchtests/bench-memset.c: New file.
7502 * benchtests/bench-rawmemchr-ifunc.c: New file.
7503 * benchtests/bench-rawmemchr.c: New file.
7504 * benchtests/bench-stpcpy-ifunc.c: New file.
7505 * benchtests/bench-stpcpy.c: New file.
7506 * benchtests/bench-stpncpy-ifunc.c: New file.
7507 * benchtests/bench-stpncpy.c: New file.
7508 * benchtests/bench-strcasecmp-ifunc.c: New file.
7509 * benchtests/bench-strcasecmp.c: New file.
7510 * benchtests/bench-strcasestr-ifunc.c: New file.
7511 * benchtests/bench-strcasestr.c: New file.
7512 * benchtests/bench-strcat-ifunc.c: New file.
7513 * benchtests/bench-strcat.c: New file.
7514 * benchtests/bench-strchr-ifunc.c: New file.
7515 * benchtests/bench-strchr.c: New file.
7516 * benchtests/bench-strchrnul-ifunc.c: New file.
7517 * benchtests/bench-strchrnul.c: New file.
7518 * benchtests/bench-strcmp-ifunc.c: New file.
7519 * benchtests/bench-strcmp.c: New file.
7520 * benchtests/bench-strcpy-ifunc.c: New file.
7521 * benchtests/bench-strcpy.c: New file.
7522 * benchtests/bench-strcspn-ifunc.c: New file.
7523 * benchtests/bench-strcspn.c: New file.
7524 * benchtests/bench-strlen-ifunc.c: New file.
7525 * benchtests/bench-strlen.c: New file.
7526 * benchtests/bench-strncasecmp-ifunc.c: New file.
7527 * benchtests/bench-strncasecmp.c: New file.
7528 * benchtests/bench-strncat-ifunc.c: New file.
7529 * benchtests/bench-strncat.c: New file.
7530 * benchtests/bench-strncmp-ifunc.c: New file.
7531 * benchtests/bench-strncmp.c: New file.
7532 * benchtests/bench-strncpy-ifunc.c: New file.
7533 * benchtests/bench-strncpy.c: New file.
7534 * benchtests/bench-strnlen-ifunc.c: New file.
7535 * benchtests/bench-strnlen.c: New file.
7536 * benchtests/bench-strpbrk-ifunc.c: New file.
7537 * benchtests/bench-strpbrk.c: New file.
7538 * benchtests/bench-strrchr-ifunc.c: New file.
7539 * benchtests/bench-strrchr.c: New file.
7540 * benchtests/bench-strspn-ifunc.c: New file.
7541 * benchtests/bench-strspn.c: New file.
7542 * benchtests/bench-strstr-ifunc.c: New file.
7543 * benchtests/bench-strstr.c: New file.
7545 * benchtests/Makefile: Disable parallel execution of targets.
7546 (string-bench): Add memcpy.
7547 (benchset): New variable to store a list of benchmark sets.
7548 (bench-func): Renamed from bench.
7549 (bench-set): New target.
7550 (bench): Depend on bench-func and bench-set.
7551 * benchtests/README: Add section on benchmark sets.
7552 * benchtests/bench-memcpy-ifunc.c: New file.
7553 * benchtests/bench-memcpy.c: New file.
7554 * benchtests/bench-string.h: New file.
7556 2013-06-11 Andreas Schwab <schwab@suse.de>
7559 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7560 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7561 values in the triple.
7562 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7563 terminator in the group key.
7565 2013-06-11 Andreas Jaeger <aj@suse.de>
7567 * po/zh_TW.po: Update Chinese (traditional) translation from
7568 translation project.
7570 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7572 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7573 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7574 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7575 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7576 (clock_getcpuclockid): Likewise.
7577 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7578 Add weak_alias and libc_hidden_def.
7579 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7580 * rt/clock_gettime.c (clock_gettime): Rename to
7581 __clock_gettime. Add weak_alias and libc_hidden_def.
7582 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7583 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7584 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7585 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7586 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7588 * rt/clock_settime.c (clock_settime): Rename to
7589 __clock_settime. Add weak_alias and libc_hidden_def.
7590 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7592 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7594 * mach/err_boot.sub: Remove trailing whitespace.
7595 * mach/err_ipc.sub: Likewise.
7596 * mach/err_mach.sub: Likewise.
7598 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7599 (ROUNDING_TESTS_double): Likewise.
7600 (ROUNDING_TESTS_long_double): Likewise.
7601 (ROUNDING_TESTS): Likewise.
7602 * math/libm-test.inc: Include <math-tests.h>.
7603 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7604 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7605 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7606 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7608 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7610 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7613 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7615 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7616 otherwise empty TRANS lines.
7617 * sysdeps/gnu/errlist.c: Regenerated.
7619 * catgets/gencat.c (error_print): Use (void) in function
7621 * crypt/crypt_util.c (__init_des): Likewise.
7622 * crypt/speeds.c (Stop): Likewise.
7624 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7625 * inet/ruserpass.c (token): Likewise.
7626 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7627 * intl/localealias.c (extend_alias_table): Likewise.
7628 * intl/plural-exp.c (init_germanic_plural): Likewise.
7629 * libio/fcloseall.c (__fcloseall): Likewise.
7630 * libio/genops.c (_IO_flush_all): Likewise.
7631 (_IO_flush_all_linebuffered): Likewise.
7632 (_IO_cleanup): Likewise.
7633 (_IO_iter_begin): Likewise.
7634 (_IO_iter_end): Likewise.
7635 (_IO_list_lock): Likewise.
7636 (_IO_list_unlock): Likewise.
7637 (_IO_list_resetlock): Likewise.
7638 * libio/getchar.c (getchar): Likewise.
7639 * libio/getchar_u.c (getchar_unlocked): Likewise.
7640 * libio/getwchar.c (getwchar): Likewise.
7641 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7642 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7643 * login/getpt.c (__getpt): Likewise.
7644 * login/tst-utmp.c (main): Likewise.
7645 * malloc/hooks.c (__malloc_check_init): Likewise.
7646 * malloc/malloc.c (__malloc_stats): Likewise.
7647 * malloc/mtrace.c (tr_break): Likewise.
7649 (muntrace): Likewise.
7650 * misc/fstab.c (endfsent): Likewise.
7651 * misc/getclktck.c (__getclktck): Likewise.
7652 * misc/getdtsz.c (__getdtablesize): Likewise.
7653 * misc/gethostid.c (gethostid): Likewise.
7654 * misc/getpagesize.c (__getpagesize): Likewise.
7655 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7656 (__get_nprocs): Likewise.
7657 (__get_phys_pages): Likewise.
7658 (__get_avphys_pages): Likewise.
7659 * misc/getttyent.c (getttyent): Likewise.
7660 (setttyent): Likewise.
7661 (endttyent): Likewise.
7662 * misc/getusershell.c (getusershell): Likewise.
7663 (endusershell): Likewise.
7664 (setusershell): Likewise.
7665 (initshells): Likewise.
7666 * misc/hsearch.c (__hdestroy): Likewise.
7667 * misc/sync.c (sync): Likewise.
7668 * misc/syslog.c (closelog_internal): Likewise.
7669 (closelog): Likewise.
7670 * misc/ttyslot.c (ttyslot): Likewise.
7671 * misc/vhangup.c (vhangup): Likewise.
7672 * posix/fork.c (__fork): Likewise.
7673 * posix/getegid.c (__getegid): Likewise.
7674 * posix/geteuid.c (__geteuid): Likewise.
7675 * posix/getgid.c (__getgid): Likewise.
7676 * posix/getpid.c (__getpid): Likewise.
7677 * posix/getppid.c (__getppid): Likewise.
7678 * posix/getuid.c (__getuid): Likewise.
7679 * posix/pause.c (pause): Likewise.
7680 * posix/setpgrp.c (setpgrp): Likewise.
7681 * posix/setsid.c (__setsid): Likewise.
7682 * posix/test-vfork.c (noop): Likewise.
7683 * resolv/gethnamaddr.c (_endhtent): Likewise.
7684 (_gethtent): Likewise.
7685 (ht_endhostent): Likewise.
7686 (gethostent): Likewise.
7687 (dns_service): Likewise.
7688 * stdlib/drand48.c (drand48): Likewise.
7689 * stdlib/lrand48.c (lrand48): Likewise.
7690 * stdlib/mrand48.c (mrand48): Likewise.
7691 * stdlib/rand.c (rand): Likewise.
7692 * stdlib/random.c (__random): Likewise.
7693 * stdlib/setenv.c (clearenv): Likewise.
7694 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7695 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7696 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7697 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7698 (__get_nprocs): Likewise.
7699 (__get_phys_pages): Likewise.
7700 (__get_avphys_pages): Likewise.
7701 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7702 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7703 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7704 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7705 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7706 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7707 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7708 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7709 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7710 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7711 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7712 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7713 * sysdeps/posix/clock.c (clock): Likewise.
7714 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7715 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7716 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7717 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7718 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7720 (__get_nprocs_conf): Likewise.
7721 (__get_phys_pages): Likewise.
7722 (__get_avphys_pages): Likewise.
7723 * time/clock.c (clock): Likewise.
7724 * time/tzset.c (__tzname_max): Likewise.
7726 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7728 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7729 (__bswap_32): Do not use "register".
7730 * crypt/crypt.c (_ufc_doit_r): Likewise.
7731 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7732 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7733 * gmon/gmon.c (__monstartup): Likewise.
7734 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7735 * hurd/hurdmalloc.c (more_memory): Likewise.
7738 (realloc): Likewise.
7739 (malloc_fork_prepare): Likewise.
7740 (malloc_fork_parent): Likewise.
7741 (malloc_fork_child): Likewise.
7742 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7743 (_svcauth_des): Likewise.
7744 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7745 * inet/inet_net.c (inet_network): Likewise.
7746 * inet/inet_netof.c (inet_netof): Likewise.
7747 * inet/rcmd.c (__validuser2_sa): Likewise.
7748 * io/fts.c (fts_open): Likewise.
7749 (fts_load): Likewise.
7750 (fts_close): Likewise.
7751 (fts_read): Likewise.
7752 (fts_children): Likewise.
7753 (fts_build): Likewise.
7754 (fts_stat): Likewise.
7755 (fts_sort): Likewise.
7756 (fts_alloc): Likewise.
7757 (fts_lfree): Likewise.
7758 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7759 (_IO_file_xsgetn): Likewise.
7760 (_IO_file_xsgetn_mmap): Likewise.
7761 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7762 (_IO_cookie_write): Likewise.
7763 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7764 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7765 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7766 * malloc/obstack.c (_obstack_begin): Likewise.
7767 (_obstack_begin_1): Likewise.
7768 (_obstack_newchunk): Likewise.
7769 (_obstack_allocated_p): Likewise.
7770 (obstack_free): Likewise.
7771 (_obstack_memory_used): Likewise.
7772 * misc/getttyent.c (getttynam): Likewise.
7773 (getttyent): Likewise.
7776 * misc/getusershell.c (initshells): Likewise.
7777 * misc/syslog.c (__vsyslog_chk): Likewise.
7778 * misc/ttyslot.c (ttyslot): Likewise.
7779 * nis/nis_hash.c (__nis_hash): Likewise.
7780 * posix/fnmatch_loop.c (FCT): Likewise.
7781 * posix/getconf.c (print_all): Likewise.
7783 * posix/getopt.c (exchange): Likewise.
7784 * posix/glob.c (globfree): Likewise.
7785 (prefix_array): Likewise.
7786 (__glob_pattern_type): Likewise.
7787 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7788 (NS_GET32): Likewise.
7789 (NS_PUT16): Likewise.
7790 (NS_PUT32): Likewise.
7791 * resolv/gethnamaddr.c (getanswer): Likewise.
7792 (gethostbyname2): Likewise.
7793 (gethostbyaddr): Likewise.
7794 (_gethtent): Likewise.
7795 (_gethtbyname2): Likewise.
7796 (_gethtbyaddr): Likewise.
7797 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7798 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7799 * resolv/res_init.c (__res_vinit): Likewise.
7800 (net_mask): Likewise.
7801 * resolv/res_mkquery.c (outchar): Likewise.
7803 * stdio-common/printf_fp.c (outchar): Likewise.
7805 * stdio-common/printf_fphex.c (outchar): Likewise.
7807 * stdio-common/printf_size.c (outchar): Likewise.
7809 * stdio-common/test_rdwr.c (main): Likewise.
7810 * stdio-common/tfformat.c (matches): Likewise.
7811 * stdio-common/vfprintf.c (outchar): Likewise.
7812 (printf_unknown): Likewise.
7813 (buffered_vfprintf): Likewise.
7814 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7815 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7816 (ReadFile): Likewise.
7817 * stdlib/qsort.c (SWAP): Likewise.
7818 (_quicksort): Likewise.
7819 * stdlib/setenv.c (__add_to_environ): Likewise.
7820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7821 * stdlib/strtol_l.c (__strtol_l): Likewise.
7822 * stdlib/tst-strtod.c (main): Likewise.
7823 * stdlib/tst-strtol.c (main): Likewise.
7824 * stdlib/tst-strtoll.c (main): Likewise.
7825 * string/bits/string2.h (__strcmp_cc): Likewise.
7826 (__strcmp_cg): Likewise.
7827 (__strcspn_c1): Likewise.
7828 (__strcspn_c2): Likewise.
7829 (__strcspn_c3): Likewise.
7830 (__strspn_c1): Likewise.
7831 (__strspn_c2): Likewise.
7832 (__strspn_c3): Likewise.
7833 (__strsep_1c): Likewise.
7834 (__strsep_2c): Likewise.
7835 (__strsep_3c): Likewise.
7836 * string/memccpy.c (__memccpy): Likewise.
7837 * string/stpcpy.c (__stpcpy): Likewise.
7838 * string/strcmp.c (strcmp): Likewise.
7839 * string/strrchr.c (strrchr): Likewise.
7840 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7842 * sysdeps/mach/hurd/getcwd.c
7843 (_hurd_canonicalize_directory_name_internal): Likewise.
7844 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7845 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7846 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7847 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7848 Likewise, in both definitions.
7849 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7851 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7852 64] (__bswap_64): Likewise.
7853 * time/test_time.c (main): Likewise.
7854 * time/tzfile.c (__tzfile_read): Likewise.
7855 (__tzfile_compute): Likewise.
7856 * time/tzset.c (__tzset_parse_tz): Likewise.
7857 (tzset_internal): Likewise.
7858 (compute_change): Likewise.
7859 * wcsmbs/wcscat.c (__wcscat): Likewise.
7860 * wcsmbs/wcschr.c (wcschr): Likewise.
7861 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7862 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7863 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7864 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7865 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7866 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7867 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7868 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7869 * wcsmbs/wmemset.c (wmemset): Likewise.
7871 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7873 * scripts/config.guess: Update to version 2013-05-16.
7874 * scripts/config.sub: Update to version 2013-04-24.
7875 * scripts/install-sh: Update to version 2011-11-20.07.
7876 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7877 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7879 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7881 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7882 * elf/sln.c: Likewise.
7883 * hurd/hurd/ioctl.h: Likewise.
7884 * hurd/hurdmalloc.c: Likewise.
7885 * hurd/xattr.c: Likewise.
7886 * include/shlib-compat.h: Likewise.
7887 * inet/ruserpass.c: Likewise.
7888 * libio/iofgets_u.c: Likewise.
7889 * libio/iofgetws_u.c: Likewise.
7890 * locale/programs/ld-identification.c: Likewise.
7891 * locale/programs/ld-time.c: Likewise.
7892 * mach/msg-destroy.c: Likewise.
7893 * nss/nss_files/files-netgrp.c: Likewise.
7894 * resolv/res_data.c: Likewise.
7895 * soft-fp/op-1.h: Likewise.
7896 * soft-fp/op-2.h: Likewise.
7897 * soft-fp/op-4.h: Likewise.
7898 * soft-fp/op-common.h: Likewise.
7899 * stdio-common/printf_fphex.c: Likewise.
7900 * stdlib/strtod_l.c: Likewise.
7901 * sunrpc/rpc/clnt.h: Likewise.
7902 * sysdeps/generic/framestate.c: Likewise.
7903 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7904 * sysdeps/i386/bsd-setjmp.S: Likewise.
7905 * sysdeps/i386/__longjmp.S: Likewise.
7906 * sysdeps/i386/setjmp.S: Likewise.
7907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7908 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7909 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7910 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7917 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7921 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7923 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7925 * sysdeps/ieee754/support.c: Likewise.
7926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7927 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7928 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7929 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7930 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7931 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7932 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7933 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7934 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7935 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7936 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7937 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7938 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7939 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7940 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7941 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7942 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7945 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7947 * posix/transbug.c: Remove executable mode.
7949 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7951 * crypt/speeds.c: Remove trailing whitespace.
7952 * dlfcn/default.c: Likewise.
7953 * elf/ifuncdep2.c: Likewise.
7954 * elf/ifuncmain1.c: Likewise.
7955 * elf/ifuncmain1vis.c: Likewise.
7956 * elf/testobj.h: Likewise.
7957 * elf/tst-stackguard1.c: Likewise.
7958 * gmon/sys/gmon.h: Likewise.
7959 * hurd/hurdmsg.c: Likewise.
7960 * hurd/new-fd.c: Likewise.
7961 * hurd/ports-get.c: Likewise.
7962 * iconvdata/ibm1008_420.c: Likewise.
7963 * inet/tst-getni1.c: Likewise.
7964 * inet/tst-getni2.c: Likewise.
7965 * libio/ioungetc.c: Likewise.
7966 * libio/wfiledoalloc.c: Likewise.
7967 * manual/libm-err-tab.pl: Likewise.
7968 * math/w_dremf.c: Likewise.
7969 * misc/ftruncate.c: Likewise.
7970 * posix/bug-glob2.c: Likewise.
7971 * posix/tst-pcre.c: Likewise.
7972 * posix/wait4.c: Likewise.
7973 * resolv/README: Likewise.
7974 * resolv/res_debug.h: Likewise.
7975 * resolv/tst-inet_ntop.c: Likewise.
7976 * setjmp/bug269-setjmp.c: Likewise.
7977 * soft-fp/extended.h: Likewise.
7978 * soft-fp/op-1.h: Likewise.
7979 * soft-fp/op-2.h: Likewise.
7980 * soft-fp/op-4.h: Likewise.
7981 * soft-fp/op-8.h: Likewise.
7982 * soft-fp/testit.c: Likewise.
7983 * stdio-common/bug16.c: Likewise.
7984 * stdlib/random.c: Likewise.
7985 * sunrpc/rpcsvc/rquota.x: Likewise.
7986 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7987 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7989 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7990 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7992 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7993 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7994 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7995 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7996 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8012 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8015 * sysdeps/ieee754/s_lib_version.c: Likewise.
8016 * sysdeps/mach/hurd/check_fds.c: Likewise.
8017 * sysdeps/mach/hurd/getsockname.c: Likewise.
8018 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8019 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8020 * sysdeps/powerpc/bits/link.h: Likewise.
8021 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8022 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8023 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8024 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8025 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8027 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8028 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8029 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8030 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8031 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8032 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8033 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8034 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8035 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8036 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8039 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8040 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8041 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8042 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8043 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8044 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8046 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8047 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8048 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8049 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8051 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8053 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8055 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8056 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8057 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8058 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8059 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8060 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8061 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8062 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8063 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8064 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8065 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8066 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8067 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8068 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8069 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8070 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8071 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8072 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8073 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8074 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8076 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8077 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8078 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8079 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8080 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8081 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8082 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8083 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8084 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8085 * sysdeps/powerpc/sysdep.h: Likewise.
8086 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8087 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8088 * sysdeps/sh/dl-trampoline.S: Likewise.
8089 * sysdeps/sh/memset.S: Likewise.
8090 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8091 * sysdeps/sh/strlen.S: Likewise.
8092 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8093 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8094 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8095 * sysdeps/sparc/sparc32/rem.S: Likewise.
8096 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8097 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8098 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8099 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8100 * sysdeps/sparc/sparc32/urem.S: Likewise.
8101 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8102 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8103 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8104 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8105 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8106 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8107 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8108 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8109 * sysdeps/unix/bsd/times.c: Likewise.
8110 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8111 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8115 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8116 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8118 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8119 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8121 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8123 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8124 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8125 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8126 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8127 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8128 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8130 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8131 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8132 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8133 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8134 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8135 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8136 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8138 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8139 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8140 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8141 * sysdeps/x86_64/strcspn.S: Likewise.
8143 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8145 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8146 generated file. Regenerate properly from gen-translit.pl.
8147 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8148 locale/C-translit.h.
8150 2013-06-05 Andreas Schwab <schwab@suse.de>
8153 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8154 week as 6 instead of -1.
8155 * time/tst-strptime.c (day_tests): Add test case.
8157 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8159 * sysdeps/generic/math_private.h
8160 (libc_feholdexcept_setround_53bit): Replace with
8161 libc_feholdsetround_53bit.
8162 (libc_feupdateenv_53bit): Replace with
8163 libc_feresetround_53bit.
8164 (SET_RESTORE_ROUND_53BIT): Adjust.
8166 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8168 * string/test-strchrnul.c: Add copyright header.
8170 * posix/tst-getaddrinfo4.c: Increase test timeout.
8172 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8175 * math/libm-test.inc (MAX_EXP): Remove
8177 (ulp): Use MIN_EXP - MANT_DIG.
8178 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8180 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8182 * po/be.po: Revert last change.
8183 * po/zh_CN.po: Likewise.
8184 * po/header.pot: Likewise.
8186 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8188 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8189 link-libc-deps to empty as target-specific variable.
8190 * Makerules (link-libc-args): New variable.
8191 (libc-for-link): Likewise.
8192 (link-libc-deps): Likewise.
8193 (lib%.so): Depend on $(link-libc-deps). Link with
8195 (build-module): Link with $(link-libc-args).
8196 (build-module-asneeded): Likewise.
8197 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8199 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8200 target-specific variable.
8201 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8202 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8203 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8205 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8207 ($(objpfx)libpcprofile.so): Likewise.
8208 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8210 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8211 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8212 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8214 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8215 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8216 * login/Makefile ($(objpfx)libutil.so): Likewise.
8217 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8218 * math/Makefile ($(objpfx)libm.so): Likewise.
8219 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8220 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8221 variable instead of depending directly on libc.
8222 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8223 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8225 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8227 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8228 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8229 ($(objpfx)libanl.so): Likewise.
8230 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8232 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8234 * sysdeps/i386/fpu/Makefile: Remove file.
8235 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8236 ($(objpfx)libm.so): Remove dependency on ld.so.
8238 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8241 * nis/yp_xdr.c (XDRMAXNAME): Define.
8242 (XDRMAXRECORD): Define.
8243 (xdr_domainname): Use XDRMAXNAME.
8244 (xdr_mapname): Likewise.
8245 (xdr_peername): Likewise.
8246 (xdr_keydat): Use XDRMAXRECORD.
8247 (xdr_valdat): Likewise.
8249 2013-05-30 Jeff Law <law@redhat.com>
8252 * manual/errno.texi (ESTALE): Update to account for more than
8253 just NFS file systems.
8254 * sysdeps/gnu/errlist.c: Regenerated.
8256 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8259 * elf/Makefile (tests): Add tst-null-argv.
8260 (modules-names): Add tst-null-argv-lib.
8261 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8262 (tst-null-argv-ENV): Set environment for tst-null-argv.
8263 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8264 (RTLD_PROGNAME): New macro.
8265 * elf/tst-null-argv.c: New test case.
8266 * elf/tst-null-argv-lib.c: Library for test case.
8267 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8268 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8269 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8270 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8271 * elf/dl-init.c (call_init): Likewise.
8272 (_dl_init): Likewise.
8273 * elf/dl-load.c (print_search_path): Likewise.
8274 (_dl_map_object): Likewise.
8275 * elf/dl-lookup.c (do_lookup_x): Likewise.
8276 (add_dependency): Likewise.
8277 (_dl_lookup_symbol_x): Likewise.
8278 (_dl_debug_bindings): Likewise.
8279 * elf/dl-open.c (_dl_show_scope): Likewise.
8280 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8281 * elf/dl-version.c (match_symbol): Likewise.
8282 (_dl_check_map_versions): Likewise.
8283 * elf/rtld.c (dl_main): Likewise.
8284 (print_unresolved): Use RTLD_PROGNAME.
8285 (print_missing_version): Likewise.
8286 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8287 (elf_machine_rela): Likewise.
8288 * sysdeps/powerpc/powerpc32/dl-machine.c
8289 (__process_machine_rela): Likewise.
8290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8296 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8303 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8305 * po/be.po: Add descriptive title.
8306 * po/zh_CN.po: Likewise.
8307 * po/header.pot: Likewise.
8309 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8311 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8313 (enlarge_archive): Likewise.
8315 2013-05-28 Ben North <ben@redfrontdoor.org>
8317 * manual/arith.texi (frexp): It is the magnitude of the return
8318 value which lies in [0.5, 1), not the return value itself.
8320 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8324 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8326 * stdio-common/bug26.c (main): Correct fscanf template.
8328 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8329 declare _dl_skip_args.
8331 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8334 * manual/platform.texi: Add missing @end deftypefun.
8336 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8339 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8340 bit of mantissa of 2^16382.
8341 * math/libm-test.inc (hypot_test_data): Add more tests.
8343 * math/libm-test.inc: Add drem and pow10 to list of tested
8345 (pow10_test): New function.
8346 (drem_test): Likewise.
8347 (drem_test_tonearest): Likewise.
8348 (drem_test_towardzero): Likewise.
8349 (drem_test_downward): Likewise.
8350 (drem_test_upward): Likewise.
8351 (main): Call the new functions.
8353 * math/libm-test.inc (finite_test_data): Remove.
8354 (finite_test): Run tests from isfinite_test_data.
8355 (gamma_test_data): Remove.
8356 (gamma_test): Run tests from lgamma_test_data.
8357 * sysdeps/i386/fpu/libm-test-ulps: Update.
8358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8360 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8362 * manual/platform.texi: Add PowerPC PPR function set documentation.
8363 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8366 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8368 * math/libm-test.inc (MAX_EXP): Define.
8370 (ulp): New function.
8371 (check_float_internal): Use ULPDIFF.
8372 (cpow_test): Disable failing test.
8373 (check_ulp): Test ulp() implemetnation.
8374 (main): Call check_ulp before starting tests.
8376 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8378 * math/gen-libm-test.pl (generate_testfile): Do not handle
8379 START_DATA and END_DATA.
8380 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8382 (acos_tonearest_test_data): Likewise.
8383 (acos_towardzero_test_data): Likewise.
8384 (acos_downward_test_data): Likewise.
8385 (acos_upward_test_data): Likewise.
8386 (acosh_test_data): Likewise.
8387 (asin_test_data): Likewise.
8388 (asin_tonearest_test_data): Likewise.
8389 (asin_towardzero_test_data): Likewise.
8390 (asin_downward_test_data): Likewise.
8391 (asin_upward_test_data): Likewise.
8392 (asinh_test_data): Likewise.
8393 (atan_test_data): Likewise.
8394 (atanh_test_data): Likewise.
8395 (atan2_test_data): Likewise.
8396 (cabs_test_data): Likewise.
8397 (cacos_test_data): Likewise.
8398 (cacosh_test_data): Likewise.
8399 (carg_test_data): Likewise.
8400 (casin_test_data): Likewise.
8401 (casinh_test_data): Likewise.
8402 (catan_test_data): Likewise.
8403 (catanh_test_data): Likewise.
8404 (cbrt_test_data): Likewise.
8405 (ccos_test_data): Likewise.
8406 (ccosh_test_data): Likewise.
8407 (ceil_test_data): Likewise.
8408 (cexp_test_data): Likewise.
8409 (cimag_test_data): Likewise.
8410 (clog_test_data): Likewise.
8411 (clog10_test_data): Likewise.
8412 (conj_test_data): Likewise.
8413 (copysign_test_data): Likewise.
8414 (cos_test_data): Likewise.
8415 (cos_tonearest_test_data): Likewise.
8416 (cos_towardzero_test_data): Likewise.
8417 (cos_downward_test_data): Likewise.
8418 (cos_upward_test_data): Likewise.
8419 (cosh_test_data): Likewise.
8420 (cosh_tonearest_test_data): Likewise.
8421 (cosh_towardzero_test_data): Likewise.
8422 (cosh_downward_test_data): Likewise.
8423 (cosh_upward_test_data): Likewise.
8424 (cpow_test_data): Likewise.
8425 (cproj_test_data): Likewise.
8426 (creal_test_data): Likewise.
8427 (csin_test_data): Likewise.
8428 (csinh_test_data): Likewise.
8429 (csqrt_test_data): Likewise.
8430 (ctan_test_data): Likewise.
8431 (ctan_tonearest_test_data): Likewise.
8432 (ctan_towardzero_test_data): Likewise.
8433 (ctan_downward_test_data): Likewise.
8434 (ctan_upward_test_data): Likewise.
8435 (ctanh_test_data): Likewise.
8436 (ctanh_tonearest_test_data): Likewise.
8437 (ctanh_towardzero_test_data): Likewise.
8438 (ctanh_downward_test_data): Likewise.
8439 (ctanh_upward_test_data): Likewise.
8440 (erf_test_data): Likewise.
8441 (erfc_test_data): Likewise.
8442 (exp_test_data): Likewise.
8443 (exp_tonearest_test_data): Likewise.
8444 (exp_towardzero_test_data): Likewise.
8445 (exp_downward_test_data): Likewise.
8446 (exp_upward_test_data): Likewise.
8447 (exp10_test_data): Likewise.
8448 (exp2_test_data): Likewise.
8449 (expm1_test_data): Likewise.
8450 (fabs_test_data): Likewise.
8451 (fdim_test_data): Likewise.
8452 (finite_test_data): Likewise.
8453 (floor_test_data): Likewise.
8454 (fma_test_data): Likewise.
8455 (fma_towardzero_test_data): Likewise.
8456 (fma_downward_test_data): Likewise.
8457 (fma_upward_test_data): Likewise.
8458 (fmax_test_data): Likewise.
8459 (fmin_test_data): Likewise.
8460 (fmod_test_data): Likewise.
8461 (fpclassify_test_data): Likewise.
8462 (frexp_test_data): Likewise.
8463 (gamma_test_data): Likewise.
8464 (hypot_test_data): Likewise.
8465 (ilogb_test_data): Likewise.
8466 (isfinite_test_data): Likewise.
8467 (isgreater_test_data): Likewise.
8468 (isgreaterequal_test_data): Likewise.
8469 (isinf_test_data): Likewise.
8470 (isless_test_data): Likewise.
8471 (islessequal_test_data): Likewise.
8472 (islessgreater_test_data): Likewise.
8473 (isnan_test_data): Likewise.
8474 (isnormal_test_data): Likewise.
8475 (issignaling_test_data): Likewise.
8476 (isunordered_test_data): Likewise.
8477 (j0_test_data): Likewise.
8478 (j1_test_data): Likewise.
8479 (jn_test_data): Likewise.
8480 (ldexp_test_data): Likewise.
8481 (lgamma_test_data): Likewise.
8482 (lrint_test_data): Likewise.
8483 (lrint_tonearest_test_data): Likewise.
8484 (lrint_towardzero_test_data): Likewise.
8485 (lrint_downward_test_data): Likewise.
8486 (lrint_upward_test_data): Likewise.
8487 (llrint_test_data): Likewise.
8488 (llrint_tonearest_test_data): Likewise.
8489 (llrint_towardzero_test_data): Likewise.
8490 (llrint_downward_test_data): Likewise.
8491 (llrint_upward_test_data): Likewise.
8492 (log_test_data): Likewise.
8493 (log10_test_data): Likewise.
8494 (log1p_test_data): Likewise.
8495 (log2_test_data): Likewise.
8496 (logb_test_data): Likewise.
8497 (logb_downward_test_data): Likewise.
8498 (lround_test_data): Likewise.
8499 (llround_test_data): Likewise.
8500 (modf_test_data): Likewise.
8501 (nearbyint_test_data): Likewise.
8502 (nextafter_test_data): Likewise.
8503 (nexttoward_test_data): Likewise.
8504 (pow_test_data): Likewise.
8505 (pow_tonearest_test_data): Likewise.
8506 (pow_towardzero_test_data): Likewise.
8507 (pow_downward_test_data): Likewise.
8508 (pow_upward_test_data): Likewise.
8509 (remainder_test_data): Likewise.
8510 (remainder_tonearest_test_data): Likewise.
8511 (remainder_towardzero_test_data): Likewise.
8512 (remainder_downward_test_data): Likewise.
8513 (remainder_upward_test_data): Likewise.
8514 (remquo_test_data): Likewise.
8515 (rint_test_data): Likewise.
8516 (rint_tonearest_test_data): Likewise.
8517 (rint_towardzero_test_data): Likewise.
8518 (rint_downward_test_data): Likewise.
8519 (rint_upward_test_data): Likewise.
8520 (round_test_data): Likewise.
8521 (scalb_test_data): Likewise.
8522 (scalbn_test_data): Likewise.
8523 (scalbln_test_data): Likewise.
8524 (signbit_test_data): Likewise.
8525 (sin_test_data): Likewise.
8526 (sin_tonearest_test_data): Likewise.
8527 (sin_towardzero_test_data): Likewise.
8528 (sin_downward_test_data): Likewise.
8529 (sin_upward_test_data): Likewise.
8530 (sincos_test_data): Likewise.
8531 (sinh_test_data): Likewise.
8532 (sinh_tonearest_test_data): Likewise.
8533 (sinh_towardzero_test_data): Likewise.
8534 (sinh_downward_test_data): Likewise.
8535 (sinh_upward_test_data): Likewise.
8536 (sqrt_test_data): Likewise.
8537 (tan_test_data): Likewise.
8538 (tan_tonearest_test_data): Likewise.
8539 (tan_towardzero_test_data): Likewise.
8540 (tan_downward_test_data): Likewise.
8541 (tan_upward_test_data): Likewise.
8542 (tanh_test_data): Likewise.
8543 (tgamma_test_data): Likewise.
8544 (trunc_test_data): Likewise.
8545 (y0_test_data): Likewise.
8546 (y1_test_data): Likewise.
8547 (yn_test_data): Likewise.
8548 (significand_test_data): Likewise.
8550 * math/gen-libm-test.pl (@functions): Remove variable.
8551 (generate_testfile): Don't handle START and END lines.
8552 * math/libm-test.inc (START): New macro.
8554 (END_COMPLEX): Likewise.
8555 (acos_test): Use END macro without arguments.
8556 (acos_test_tonearest): Likewise.
8557 (acos_test_towardzero): Likewise.
8558 (acos_test_downward): Likewise.
8559 (acos_test_upward): Likewise.
8560 (acosh_test): Likewise.
8561 (asin_test): Likewise.
8562 (asin_test_tonearest): Likewise.
8563 (asin_test_towardzero): Likewise.
8564 (asin_test_downward): Likewise.
8565 (asin_test_upward): Likewise.
8566 (asinh_test): Likewise.
8567 (atan_test): Likewise.
8568 (atanh_test): Likewise.
8569 (atan2_test): Likewise.
8570 (cabs_test): Likewise.
8571 (cacos_test): Use END_COMPLEX macro without arguments.
8572 (cacosh_test): Likewise.
8573 (carg_test): Use END macro without arguments.
8574 (casin_test): Use END_COMPLEX macro without arguments.
8575 (casinh_test): Likewise.
8576 (catan_test): Likewise.
8577 (catanh_test): Likewise.
8578 (cbrt_test): Use END macro without arguments.
8579 (ccos_test): Use END_COMPLEX macro without arguments.
8580 (ccosh_test): Likewise.
8581 (ceil_test): Use END macro without arguments.
8582 (cexp_test): Use END_COMPLEX macro without arguments.
8583 (cimag_test): Use END macro without arguments.
8584 (clog_test): Use END_COMPLEX macro without arguments.
8585 (clog10_test): Likewise.
8586 (conj_test): Likewise.
8587 (copysign_test): Use END macro without arguments.
8588 (cos_test): Likewise.
8589 (cos_test_tonearest): Likewise.
8590 (cos_test_towardzero): Likewise.
8591 (cos_test_downward): Likewise.
8592 (cos_test_upward): Likewise.
8593 (cosh_test): Likewise.
8594 (cosh_test_tonearest): Likewise.
8595 (cosh_test_towardzero): Likewise.
8596 (cosh_test_downward): Likewise.
8597 (cosh_test_upward): Likewise.
8598 (cpow_test): Use END_COMPLEX macro without arguments.
8599 (cproj_test): Likewise.
8600 (creal_test): Use END macro without arguments.
8601 (csin_test): Use END_COMPLEX macro without arguments.
8602 (csinh_test): Likewise.
8603 (csqrt_test): Likewise.
8604 (ctan_test): Likewise.
8605 (ctan_test_tonearest): Likewise.
8606 (ctan_test_towardzero): Likewise.
8607 (ctan_test_downward): Likewise.
8608 (ctan_test_upward): Likewise.
8609 (ctanh_test): Likewise.
8610 (ctanh_test_tonearest): Likewise.
8611 (ctanh_test_towardzero): Likewise.
8612 (ctanh_test_downward): Likewise.
8613 (ctanh_test_upward): Likewise.
8614 (erf_test): Use END macro without arguments.
8615 (erfc_test): Likewise.
8616 (exp_test): Likewise.
8617 (exp_test_tonearest): Likewise.
8618 (exp_test_towardzero): Likewise.
8619 (exp_test_downward): Likewise.
8620 (exp_test_upward): Likewise.
8621 (exp10_test): Likewise.
8622 (exp2_test): Likewise.
8623 (expm1_test): Likewise.
8624 (fabs_test): Likewise.
8625 (fdim_test): Likewise.
8626 (finite_test): Likewise.
8627 (floor_test): Likewise.
8628 (fma_test): Likewise.
8629 (fma_test_towardzero): Likewise.
8630 (fma_test_downward): Likewise.
8631 (fma_test_upward): Likewise.
8632 (fmax_test): Likewise.
8633 (fmin_test): Likewise.
8634 (fmod_test): Likewise.
8635 (fpclassify_test): Likewise.
8636 (frexp_test): Likewise.
8637 (gamma_test): Likewise.
8638 (hypot_test): Likewise.
8639 (ilogb_test): Likewise.
8640 (isfinite_test): Likewise.
8641 (isgreater_test): Likewise.
8642 (isgreaterequal_test): Likewise.
8643 (isinf_test): Likewise.
8644 (isless_test): Likewise.
8645 (islessequal_test): Likewise.
8646 (islessgreater_test): Likewise.
8647 (isnan_test): Likewise.
8648 (isnormal_test): Likewise.
8649 (issignaling_test): Likewise.
8650 (isunordered_test): Likewise.
8651 (j0_test): Likewise.
8652 (j1_test): Likewise.
8653 (jn_test): Likewise.
8654 (ldexp_test): Likewise.
8655 (lgamma_test): Likewise.
8656 (lrint_test): Likewise.
8657 (lrint_test_tonearest): Likewise.
8658 (lrint_test_towardzero): Likewise.
8659 (lrint_test_downward): Likewise.
8660 (lrint_test_upward): Likewise.
8661 (llrint_test): Likewise.
8662 (llrint_test_tonearest): Likewise.
8663 (llrint_test_towardzero): Likewise.
8664 (llrint_test_downward): Likewise.
8665 (llrint_test_upward): Likewise.
8666 (log_test): Likewise.
8667 (log10_test): Likewise.
8668 (log1p_test): Likewise.
8669 (log2_test): Likewise.
8670 (logb_test): Likewise.
8671 (logb_test_downward): Likewise.
8672 (lround_test): Likewise.
8673 (llround_test): Likewise.
8674 (modf_test): Likewise.
8675 (nearbyint_test): Likewise.
8676 (nextafter_test): Likewise.
8677 (nexttoward_test): Likewise.
8678 (pow_test): Likewise.
8679 (pow_test_tonearest): Likewise.
8680 (pow_test_towardzero): Likewise.
8681 (pow_test_downward): Likewise.
8682 (pow_test_upward): Likewise.
8683 (remainder_test): Likewise.
8684 (remainder_test_tonearest): Likewise.
8685 (remainder_test_towardzero): Likewise.
8686 (remainder_test_downward): Likewise.
8687 (remainder_test_upward): Likewise.
8688 (remquo_test): Likewise.
8689 (rint_test): Likewise.
8690 (rint_test_tonearest): Likewise.
8691 (rint_test_towardzero): Likewise.
8692 (rint_test_downward): Likewise.
8693 (rint_test_upward): Likewise.
8694 (round_test): Likewise.
8695 (scalb_test): Likewise.
8696 (scalbn_test): Likewise.
8697 (scalbln_test): Likewise.
8698 (signbit_test): Likewise.
8699 (sin_test): Likewise.
8700 (sin_test_tonearest): Likewise.
8701 (sin_test_towardzero): Likewise.
8702 (sin_test_downward): Likewise.
8703 (sin_test_upward): Likewise.
8704 (sincos_test): Likewise.
8705 (sinh_test): Likewise.
8706 (sinh_test_tonearest): Likewise.
8707 (sinh_test_towardzero): Likewise.
8708 (sinh_test_downward): Likewise.
8709 (sinh_test_upward): Likewise.
8710 (sqrt_test): Likewise.
8711 (tan_test): Likewise.
8712 (tan_test_tonearest): Likewise.
8713 (tan_test_towardzero): Likewise.
8714 (tan_test_downward): Likewise.
8715 (tan_test_upward): Likewise.
8716 (tanh_test): Likewise.
8717 (tgamma_test): Likewise.
8718 (trunc_test): Likewise.
8719 (y0_test): Likewise.
8720 (y1_test): Likewise.
8721 (yn_test): Likewise.
8722 (significand_test): Likewise.
8724 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8727 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8729 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8732 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8733 __ppc_mdoio and __ppc_mdoom.
8734 * manual/platform.texi: Document new functions __ppc_yield,
8735 __ppc_mdoio and __ppc_mdoom.
8737 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8739 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8740 (main): Mention "tls" pseudo-hwcap is legacy.
8741 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8743 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8745 * math/gen-libm-test.pl (parse_args): Output only string of
8746 arguments as text for test name, not full call or descriptions of
8747 tests for extra outputs.
8748 (generate_testfile): Do not pass function name to parse_args.
8749 Generate this_func variable from START.
8750 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8752 (struct test_ff_f_data): Likewise.
8753 (test_ff_f_data_nexttoward): Likewise.
8754 (struct test_fi_f_data): Likewise.
8755 (struct test_fl_f_data): Likewise.
8756 (struct test_if_f_data): Likewise.
8757 (struct test_fff_f_data): Likewise.
8758 (struct test_c_f_data): Likewise.
8759 (struct test_f_f1_data): Likewise. Remove field extra_name.
8760 (struct test_fF_f1_data): Likewise.
8761 (struct test_ffI_f1_data): Likewise.
8762 (struct test_c_c_data): Rename test_name field to arg_str.
8763 (struct test_cc_c_data): Likewise.
8764 (struct test_f_i_data): Likewise.
8765 (struct test_ff_i_data): Likewise.
8766 (struct test_f_l_data): Likewise.
8767 (struct test_f_L_data): Likewise.
8768 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8770 (COMMON_TEST_SETUP): New macro.
8771 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8772 (COMMON_TEST_CLEANUP): Likewise.
8773 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8774 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8776 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8777 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8779 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8780 (RUN_TEST_fff_f): Take argument string. Call new setup and
8782 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8783 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8785 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8786 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8788 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8789 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8791 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8792 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8794 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8795 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8797 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8798 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8800 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8801 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8803 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8804 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8806 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8807 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8809 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8810 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8812 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8813 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8815 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8816 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8818 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8819 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8821 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8822 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8824 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8825 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8827 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8829 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8831 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8832 to _sifields.sigfault.
8833 (si_addr_lsb): Define new macro.
8834 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8836 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8838 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8841 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8843 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8845 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8848 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8850 * math/gen-libm-test.pl (parse_args): Do not include expected
8851 result in test name.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8854 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8855 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8856 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8859 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8861 * benchtests/Makefile: Sort function entries.
8863 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8864 tanh, asinh, acosh, atanh.
8865 * benchtests/acos-inputs: New file.
8866 * benchtests/acosh-inputs: New file.
8867 * benchtests/asin-inputs: New file.
8868 * benchtests/asinh-inputs: New file.
8869 * benchtests/atanh-inputs: New file.
8870 * benchtests/cosh-inputs: New file.
8871 * benchtests/log-inputs: New file.
8872 * benchtests/sinh-inputs: New file.
8873 * benchtests/tanh-inputs: New file.
8875 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8878 * posix/tst-getaddrinfo4.c: New test.
8879 * posix/Makefile (tests): Add it.
8881 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8884 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8885 when no services were used.
8886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8887 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8889 2013-05-21 Andreas Schwab <schwab@suse.de>
8892 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8893 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8895 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8896 redundant variable declarations and reallocation of buffer when
8897 parsing as IPv6 address. Always set NSS status when called from
8898 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8899 buffer too small. Correct computation of needed size.
8900 * nss/Makefile (tests): Add test-digits-dots.
8901 * nss/test-digits-dots.c: New test.
8903 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8905 * benchtests/Makefile: Remove instructions for adding
8907 * benchtests/README: New file to explain how to execute and
8908 enhance the benchmark tests.
8910 2013-05-21 Andreas Schwab <schwab@suse.de>
8913 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8914 * setjmp/tst-sigsetjmp.c: New test.
8916 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8918 * sysdeps/x86_64/memset.S (memset): New implementation.
8919 (__bzero): Likewise.
8920 (__memset_tail): New function.
8922 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8924 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8925 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8926 __memcpy_sse2_unaligned ifunc selection.
8927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8928 Add memcpy-sse2-unaligned.S.
8929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8930 Add: __memcpy_sse2_unaligned.
8932 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8935 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8936 math_force_eval before restoring floating-point envrionment.
8937 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8940 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8942 (__nearbyintl): Use math_force_eval before restoring
8943 floating-point environment.
8944 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8946 * math/gen-libm-test.pl (special_functions): Remove.
8947 (parse_args): Don't handle TEST_extra. Handle functions with no
8949 * math/libm-test.inc (struct test_sincos_data): Replace with
8950 struct test_fFF_11_data.
8951 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8952 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8953 (sincos_test_data): Change element type to struct
8954 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8955 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8956 RUN_TEST_LOOP_sincos.
8957 * math/README.libm-test: Don't mention special handling of
8958 individual functions.
8959 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8962 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8963 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966 * math/gen-libm-test.pl (get_variable): Remove function.
8967 (parse_args): Don't show pointer parameters to call in test
8968 names. Use "extra output N" in test names for extra outputs
8969 rather than naming variables.
8971 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8974 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8975 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8976 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8978 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8980 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8983 * math/gen-libm-test.pl (@tests): Remove variable.
8985 (new_test): Remove function.
8986 (show_exceptions): New function.
8987 (special_functions): Use show_exceptions instead of new_test.
8988 (parse_args): Likewise.
8989 (generate_testfile): Pass only function name in generated call to
8990 print_max_error or print_complex_max_error.
8991 (get_ulps): Do not handle complex tests specially.
8992 (output_test): Rename to ...
8993 (get_all_ulps_for_test): ... this. Return a string rather than
8994 printing to a file. Require ulps to be present.
8995 (output_ulps): Generate arrays rather than #defines.
8996 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8997 (struct ulp_data): New type.
8998 (BUILD_COMPLEX_ULP): Remove macro.
8999 (compare_ulp_data): New function.
9000 (find_ulps): Likewise.
9001 (find_test_ulps): Likewise.
9002 (find_function_ulps): Likewise.
9003 (find_complex_function_ulps): Likewise.
9004 (print_max_error): Determine allowed ulps using
9006 (print_complex_max_error): Determine allowed ulps using
9007 find_complex_function_ulps.
9008 (check_float_internal): Determine max ulps using find_test_ulps.
9009 (check_float): Do not take max_ulp parameter. Update call to
9010 check_float_internal.
9011 (check_complex): Likewise.
9012 (check_int): Do not take max_ulp parameter.
9013 (check_long): Likewise.
9014 (check_bool): Likewise.
9015 (check_longlong): Likewise.
9016 (struct test_f_f_data): Remove max_ulp field.
9017 (struct test_ff_f_data): Likewise.
9018 (struct test_ff_f_data_nexttoward): Likewise.
9019 (struct test_fi_f_data): Likewise.
9020 (struct test_fl_f_data): Likewise.
9021 (struct test_if_f_data): Likewise.
9022 (struct test_fff_f_data): Likewise.
9023 (struct test_c_f_data): Likewise.
9024 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9025 (struct test_fF_f1_data): Likewise.
9026 (struct test_ffI_f1_data): Likewise.
9027 (struct test_c_c_data): Remove max_ulp field.
9028 (struct test_cc_c_data): Likewise.
9029 (struct test_f_i_data): Likewise.
9030 (struct test_ff_i_data): Likewise.
9031 (struct test_f_l_data): Likewise.
9032 (struct test_f_L_data): Likewise.
9033 (struct test_sincos_data): Likewise.
9034 (RUN_TEST_f_f): Do not handle ulps.
9035 (RUN_TEST_LOOP_f_f): Likewise.
9036 (RUN_TEST_2_f): Likewise.
9037 (RUN_TEST_LOOP_2_f): Likewise.
9038 (RUN_TEST_fff_f): Likewise.
9039 (RUN_TEST_LOOP_fff_f): Likewise.
9040 (RUN_TEST_c_f): Likewise.
9041 (RUN_TEST_LOOP_c_f): Likewise.
9042 (RUN_TEST_f_f1): Likewise.
9043 (RUN_TEST_LOOP_f_f1): Likewise.
9044 (RUN_TEST_fF_f1): Likewise.
9045 (RUN_TEST_LOOP_fF_f1): Likewise.
9046 (RUN_TEST_fI_f1): Likewise.
9047 (RUN_TEST_LOOP_fI_f1): Likewise.
9048 (RUN_TEST_ffI_f1): Likewise.
9049 (RUN_TEST_LOOP_ffI_f1): Likewise.
9050 (RUN_TEST_c_c): Likewise.
9051 (RUN_TEST_LOOP_c_c): Likewise.
9052 (RUN_TEST_cc_c): Likewise.
9053 (RUN_TEST_LOOP_cc_c): Likewise.
9054 (RUN_TEST_f_i): Likewise.
9055 (RUN_TEST_LOOP_f_i): Likewise.
9056 (RUN_TEST_f_i_tg): Likewise.
9057 (RUN_TEST_LOOP_f_i_tg): Likewise.
9058 (RUN_TEST_ff_i_tg): Likewise.
9059 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9060 (RUN_TEST_f_b): Likewise.
9061 (RUN_TEST_LOOP_f_b): Likewise.
9062 (RUN_TEST_f_b_tg): Likewise.
9063 (RUN_TEST_LOOP_f_b_tg): Likewise.
9064 (RUN_TEST_f_l): Likewise.
9065 (RUN_TEST_LOOP_f_l): Likewise.
9066 (RUN_TEST_f_L): Likewise.
9067 (RUN_TEST_LOOP_f_L): Likewise.
9068 (RUN_TEST_sincos): Likewise.
9069 (RUN_TEST_LOOP_sincos): Likewise.
9071 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9075 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9076 main case of finite arguments, set rounding mode to FE_TONEAREST
9077 and discard exceptions.
9078 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9080 (remainder_tonearest_test_data): New variable.
9081 (remainder_test_tonearest): New function.
9082 (remainder_towardzero_test_data): New variable.
9083 (remainder_test_towardzero): New function.
9084 (remainder_downward_test_data): New variable.
9085 (remainder_test_downward): New function.
9086 (remainder_upward_test_data): New variable.
9087 (remainder_test_upward): New function.
9088 (main): Call the new test functions.
9090 * math/libm-test.inc (struct test_f_f1_data): Remove field
9092 (struct test_fF_f1_data): Likewise.
9093 (struct test_ffI_f1_data): Likewise.
9094 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9095 based on value of EXTRA_EXPECTED.
9096 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9097 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9098 EXTRA_VAR based on value of EXTRA_EXPECTED.
9099 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9100 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9101 EXTRA_VAR based on value of EXTRA_EXPECTED.
9102 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9103 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9104 EXTRA_VAR based on value of EXTRA_EXPECTED.
9105 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9106 * math/gen-libm-test.pl (parse_args): Don't output initializers
9107 for extra output values.
9109 * math/libm-test.inc (check_int): Expect result to be exactly
9110 equal to expected value and do not handle ulps.
9111 (check_long): Likewise.
9112 (check_longlong): Likewise.
9114 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9116 (cimag_test_data): Likewise.
9117 (conj_test_data): Likewise.
9118 (copysign_test_data): Likewise.
9119 (cproj_test_data): Likewise.
9120 (creal_test_data): Likewise.
9121 (fabs_test_data): Likewise.
9122 (fdim_test_data): Likewise.
9123 (finite_test_data): Likewise.
9124 (floor_test_data): Likewise.
9125 (fmax_test_data): Likewise.
9126 (fmin_test_data): Likewise.
9127 (fmod_test_data): Likewise.
9128 (fpclassify_test_data): Likewise.
9129 (frexp_test_data): Likewise.
9130 (ilogb_test_data): Likewise.
9131 (isfinite_test_data): Likewise.
9132 (isgreater_test_data): Likewise.
9133 (isgreaterequal_test_data): Likewise.
9134 (isinf_test_data): Likewise.
9135 (isless_test_data): Likewise.
9136 (islessequal_test_data): Likewise.
9137 (islessgreater_test_data): Likewise.
9138 (isnan_test_data): Likewise.
9139 (isnormal_test_data): Likewise.
9140 (issignaling_test_data): Likewise.
9141 (isunordered_test_data): Likewise.
9142 (ldexp_test_data): Likewise.
9143 (lrint_test_data): Likewise.
9144 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9145 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9146 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9147 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9148 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9149 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9151 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9152 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9153 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9154 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9156 (lrint_downward_test_data): Test for "inexact" exceptions.
9157 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9158 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9159 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9161 (lrint_upward_test_data): Test for "inexact" exceptions.
9162 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9164 (llrint_test_data): Test for "inexact" exceptions.
9165 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9166 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9167 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9168 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9169 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9170 (llrint_downward_test_data): Test for "inexact" exceptions.
9171 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9172 (llrint_upward_test_data): Test for "inexact" exceptions.
9173 (logb_test_data): Likewise.
9174 (logb_downward_test_data): Likewise.
9175 (nextafter_test_data): Likewise.
9176 (nexttoward_test_data): Likewise.
9177 (remainder_test_data): Likewise.
9178 (remquo_test_data): Likewise.
9179 (scalbn_test_data): Likewise.
9180 (scalbln_test_data): Likewise.
9181 (signbit_test_data): Likewise.
9182 (sqrt_test_data): Likewise.
9183 (significand_test_data): Likewise.
9185 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9188 * benchtests/bench-modf.c (struct args): Mark arg0 as
9190 * scripts/bench.pl: Mark members of struct args as volatile.
9192 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9195 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9196 negative infinity on POWER6 or lower.
9197 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9199 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9202 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9203 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9204 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9205 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9206 (_FP_SETQNAN): New macro.
9207 (_FP_SETQNAN_SEMIRAW): Likewise.
9208 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9209 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9210 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9211 (FP_EXTEND): Use _FP_FRAC_SNANP.
9212 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9213 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9215 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9217 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9220 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9222 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9223 with DIVIDE_BY_ZERO_EXCEPTION.
9224 (gamma_test_data): Likewise.
9225 (lgamma_test_data): Likewise.
9226 (log_test_data): Likewise.
9227 (log10_test_data): Likewise.
9228 (log2_test_data): Likewise.
9229 (tgamma_test_data): Likewise.
9231 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9232 (acos_test_tonearest): Likewise.
9233 (acos_test_towardzero): Likewise.
9234 (acos_test_downward): Likewise.
9235 (acos_test_upward): Likewise.
9236 (acosh_test): Likewise.
9237 (asin_test): Likewise.
9238 (asin_test_tonearest): Likewise.
9239 (asin_test_towardzero): Likewise.
9240 (asin_test_downward): Likewise.
9241 (asin_test_upward): Likewise.
9242 (asinh_test): Likewise.
9243 (atan_test): Likewise.
9244 (atanh_test): Likewise.
9245 (atan2_test): Likewise.
9246 (cabs_test): Likewise.
9247 (cacos_test): Likewise.
9248 (cacosh_test): Likewise.
9249 (casin_test): Likewise.
9250 (casinh_test): Likewise.
9251 (catan_test): Likewise.
9252 (catanh_test): Likewise.
9253 (cbrt_test): Likewise.
9254 (ccos_test): Likewise.
9255 (ccosh_test): Likewise.
9256 (cexp_test): Likewise.
9257 (clog_test): Likewise.
9258 (clog10_test): Likewise.
9259 (cos_test): Likewise.
9260 (cos_test_tonearest): Likewise.
9261 (cos_test_towardzero): Likewise.
9262 (cos_test_downward): Likewise.
9263 (cos_test_upward): Likewise.
9264 (cosh_test): Likewise.
9265 (cosh_test_tonearest): Likewise.
9266 (cosh_test_towardzero): Likewise.
9267 (cosh_test_downward): Likewise.
9268 (cosh_test_upward): Likewise.
9269 (cpow_test): Likewise.
9270 (csin_test): Likewise.
9271 (csinh_test): Likewise.
9272 (csqrt_test): Likewise.
9273 (ctan_test): Likewise.
9274 (ctan_test_tonearest): Likewise.
9275 (ctan_test_towardzero): Likewise.
9276 (ctan_test_downward): Likewise.
9277 (ctan_test_upward): Likewise.
9278 (ctanh_test): Likewise.
9279 (ctanh_test_tonearest): Likewise.
9280 (ctanh_test_towardzero): Likewise.
9281 (ctanh_test_downward): Likewise.
9282 (ctanh_test_upward): Likewise.
9283 (erf_test): Likewise.
9284 (erfc_test): Likewise.
9285 (exp_test): Likewise.
9286 (exp_test_tonearest): Likewise.
9287 (exp_test_towardzero): Likewise.
9288 (exp_test_downward): Likewise.
9289 (exp_test_upward): Likewise.
9290 (exp10_test): Likewise.
9291 (exp2_test): Likewise.
9292 (expm1_test): Likewise.
9293 (fmod_test): Likewise.
9294 (gamma_test): Likewise.
9295 (hypot_test): Likewise.
9296 (j0_test): Likewise.
9297 (j1_test): Likewise.
9298 (jn_test): Likewise.
9299 (lgamma_test): Likewise.
9300 (log_test): Likewise.
9301 (log10_test): Likewise.
9302 (log1p_test): Likewise.
9303 (log2_test): Likewise.
9304 (logb_test_downward): Likewise.
9305 (pow_test): Likewise.
9306 (pow_test_tonearest): Likewise.
9307 (pow_test_towardzero): Likewise.
9308 (pow_test_downward): Likewise.
9309 (pow_test_upward): Likewise.
9310 (remainder_test): Likewise.
9311 (remquo_test): Likewise.
9312 (sin_test): Likewise.
9313 (sin_test_tonearest): Likewise.
9314 (sin_test_towardzero): Likewise.
9315 (sin_test_downward): Likewise.
9316 (sin_test_upward): Likewise.
9317 (sincos_test): Likewise.
9318 (sinh_test): Likewise.
9319 (sinh_test_tonearest): Likewise.
9320 (sinh_test_towardzero): Likewise.
9321 (sinh_test_downward): Likewise.
9322 (sinh_test_upward): Likewise.
9323 (sqrt_test): Likewise.
9324 (tan_test): Likewise.
9325 (tan_test_tonearest): Likewise.
9326 (tan_test_towardzero): Likewise.
9327 (tan_test_downward): Likewise.
9328 (tan_test_upward): Likewise.
9329 (tanh_test): Likewise.
9330 (tgamma_test): Likewise.
9331 (y0_test): Likewise.
9332 (y1_test): Likewise.
9333 (yn_test): Likewise.
9335 * math/gen-libm-test.pl (adjust_arg): Remove function.
9336 (special_function): Remove argument $in_func. Only handle
9337 generating output for tables of tests, not inside functions.
9338 (parse_args): Likewise.
9339 (generate_testfile): Remove variable $in_func. Update call to
9341 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9342 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9343 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9344 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9345 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9346 (MAX_VALUE_INIT): Rename macro to max_value.
9347 (MIN_VALUE_INIT): Rename macro to min_value.
9348 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9349 (plus_zero): Remove variable.
9350 (minus_zero): Likewise.
9351 (plus_infty): Likewise.
9352 (minus_infty): Likewise.
9353 (qnan_value): Likewise.
9354 (max_value): Likewise.
9355 (min_value): Likewise.
9356 (min_subnorm_value): Likewise.
9358 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9360 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9361 uint64_t or uint32_t usage.
9362 * crypt/sha256-block.c: Likewise.
9363 * crypt/sha256-crypt.c: Likewise.
9364 * crypt/sha256.c: Likewise.
9365 * crypt/sha512-block.c: Likewise.
9366 * crypt/sha512-crypt.c: Likewise.
9367 * crypt/sha512.c: Likewise.
9368 * debug/backtrace-tst.c: Likewise.
9369 * debug/pcprofiledump.c: Likewise.
9370 * elf/cache.c: Likewise.
9371 * elf/dl-cache.c: Likewise.
9372 * elf/dl-misc.c: Likewise.
9373 * elf/dl-profile.c: Likewise.
9374 * elf/dl-support.c: Likewise.
9375 * elf/ldconfig.c: Likewise.
9376 * elf/sprof.c: Likewise.
9377 * iconv/dummy-repertoire.c: Likewise.
9378 * iconv/iconv_charmap.c: Likewise.
9379 * iconv/skeleton.c: Likewise.
9380 * iconvdata/8bit-generic.c: Likewise.
9381 * iconvdata/cp737.h: Likewise.
9382 * iconvdata/cp775.h: Likewise.
9383 * iconvdata/ibm1008.h: Likewise.
9384 * iconvdata/ibm1025.h: Likewise.
9385 * iconvdata/ibm1046.h: Likewise.
9386 * iconvdata/ibm1097.h: Likewise.
9387 * iconvdata/ibm1112.h: Likewise.
9388 * iconvdata/ibm1122.h: Likewise.
9389 * iconvdata/ibm1123.h: Likewise.
9390 * iconvdata/ibm1124.h: Likewise.
9391 * iconvdata/ibm1129.h: Likewise.
9392 * iconvdata/ibm1130.h: Likewise.
9393 * iconvdata/ibm1132.h: Likewise.
9394 * iconvdata/ibm1133.h: Likewise.
9395 * iconvdata/ibm1137.h: Likewise.
9396 * iconvdata/ibm1140.h: Likewise.
9397 * iconvdata/ibm1141.h: Likewise.
9398 * iconvdata/ibm1142.h: Likewise.
9399 * iconvdata/ibm1143.h: Likewise.
9400 * iconvdata/ibm1144.h: Likewise.
9401 * iconvdata/ibm1145.h: Likewise.
9402 * iconvdata/ibm1146.h: Likewise.
9403 * iconvdata/ibm1147.h: Likewise.
9404 * iconvdata/ibm1148.h: Likewise.
9405 * iconvdata/ibm1149.h: Likewise.
9406 * iconvdata/ibm1153.h: Likewise.
9407 * iconvdata/ibm1154.h: Likewise.
9408 * iconvdata/ibm1155.h: Likewise.
9409 * iconvdata/ibm1156.h: Likewise.
9410 * iconvdata/ibm1157.h: Likewise.
9411 * iconvdata/ibm1158.h: Likewise.
9412 * iconvdata/ibm1160.h: Likewise.
9413 * iconvdata/ibm1161.h: Likewise.
9414 * iconvdata/ibm1162.h: Likewise.
9415 * iconvdata/ibm1163.h: Likewise.
9416 * iconvdata/ibm1164.h: Likewise.
9417 * iconvdata/ibm1166.h: Likewise.
9418 * iconvdata/ibm1167.h: Likewise.
9419 * iconvdata/ibm12712.h: Likewise.
9420 * iconvdata/ibm1390.h: Likewise.
9421 * iconvdata/ibm1399.h: Likewise.
9422 * iconvdata/ibm16804.h: Likewise.
9423 * iconvdata/ibm4517.h: Likewise.
9424 * iconvdata/ibm4899.h: Likewise.
9425 * iconvdata/ibm4909.h: Likewise.
9426 * iconvdata/ibm4971.h: Likewise.
9427 * iconvdata/ibm5347.h: Likewise.
9428 * iconvdata/ibm803.h: Likewise.
9429 * iconvdata/ibm856.h: Likewise.
9430 * iconvdata/ibm901.h: Likewise.
9431 * iconvdata/ibm902.h: Likewise.
9432 * iconvdata/ibm9030.h: Likewise.
9433 * iconvdata/ibm9066.h: Likewise.
9434 * iconvdata/ibm921.h: Likewise.
9435 * iconvdata/ibm922.h: Likewise.
9436 * iconvdata/ibm9448.h: Likewise.
9437 * iconvdata/isiri-3342.h: Likewise.
9438 * iconvdata/jis0201.h: Likewise.
9439 * include/link.h: Likewise.
9440 * include/netdb.h: Likewise.
9441 * inet/check_native.c: Likewise.
9442 * inet/check_pf.c: Likewise.
9443 * inet/getipv4sourcefilter.c: Likewise.
9444 * inet/getnameinfo.c: Likewise.
9445 * inet/getsourcefilter.c: Likewise.
9446 * inet/htonl.c: Likewise.
9447 * inet/setipv4sourcefilter.c: Likewise.
9448 * inet/setsourcefilter.c: Likewise.
9449 * inet/test-inet6_opt.c: Likewise.
9450 * inet/tst-network.c: Likewise.
9451 * locale/C-collate.c: Likewise.
9452 * locale/C-ctype.c: Likewise.
9453 * locale/C-time.c: Likewise.
9454 * locale/C-translit.h: Likewise.
9455 * locale/loadarchive.c: Likewise.
9456 * locale/programs/3level.h: Likewise.
9457 * locale/programs/charmap.c: Likewise.
9458 * locale/programs/charmap.h: Likewise.
9459 * locale/programs/ld-address.c: Likewise.
9460 * locale/programs/ld-collate.c: Likewise.
9461 * locale/programs/ld-ctype.c: Likewise.
9462 * locale/programs/ld-identification.c: Likewise.
9463 * locale/programs/ld-measurement.c: Likewise.
9464 * locale/programs/ld-messages.c: Likewise.
9465 * locale/programs/ld-monetary.c: Likewise.
9466 * locale/programs/ld-name.c: Likewise.
9467 * locale/programs/ld-numeric.c: Likewise.
9468 * locale/programs/ld-paper.c: Likewise.
9469 * locale/programs/ld-telephone.c: Likewise.
9470 * locale/programs/ld-time.c: Likewise.
9471 * locale/programs/linereader.c: Likewise.
9472 * locale/programs/locale.c: Likewise.
9473 * locale/programs/locarchive.c: Likewise.
9474 * locale/programs/locfile.h: Likewise.
9475 * locale/programs/repertoire.c: Likewise.
9476 * locale/programs/simple-hash.c: Likewise.
9477 * locale/programs/simple-hash.h: Likewise.
9478 * malloc/memusage.c: Likewise.
9479 * malloc/memusagestat.c: Likewise.
9480 * nis/nis_defaults.c: Likewise.
9481 * nis/nis_hash.c: Likewise.
9482 * nis/nis_print.c: Likewise.
9483 * nis/nis_xdr.c: Likewise.
9484 * nscd/connections.c: Likewise.
9485 * nscd/hstcache.c: Likewise.
9486 * nscd/nscd_gethst_r.c: Likewise.
9487 * nscd/nscd_getserv_r.c: Likewise.
9488 * nscd/nscd_helper.c: Likewise.
9489 * nscd/servicescache.c: Likewise.
9490 * nss/makedb.c: Likewise.
9491 * nss/nss_db/db-XXX.c: Likewise.
9492 * nss/nss_db/db-initgroups.c: Likewise.
9493 * nss/nss_db/db-netgrp.c: Likewise.
9494 * nss/nss_files/files-network.c: Likewise.
9495 * nss/nss_files/files-parse.c: Likewise.
9496 * posix/bug-regex5.c: Likewise.
9497 * posix/fnmatch_loop.c: Likewise.
9498 * posix/regcomp.c: Likewise.
9499 * posix/regexec.c: Likewise.
9500 * posix/tst-rfc3484-2.c: Likewise.
9501 * posix/tst-rfc3484-3.c: Likewise.
9502 * posix/tst-rfc3484.c: Likewise.
9503 * resolv/nss_dns/dns-canon.c: Likewise.
9504 * resolv/nss_dns/dns-network.c: Likewise.
9505 * resolv/res_init.c: Likewise.
9506 * resolv/res_mkquery.c: Likewise.
9507 * resolv/tst-aton.c: Likewise.
9508 * stdlib/cxa_atexit.c: Likewise.
9509 * stdlib/cxa_finalize.c: Likewise.
9510 * stdlib/gen-fpioconst.c: Likewise.
9511 * stdlib/strtol_l.c: Likewise.
9512 * string/tst-endian.c: Likewise.
9513 * sunrpc/auth_des.c: Likewise.
9514 * sunrpc/clnt_udp.c: Likewise.
9515 * sunrpc/rtime.c: Likewise.
9516 * sunrpc/svcauth_des.c: Likewise.
9517 * sunrpc/xdr.c: Likewise.
9518 * sunrpc/xdr_intXX_t.c: Likewise.
9519 * sunrpc/xdr_rec.c: Likewise.
9520 * sysdeps/generic/ldconfig.h: Likewise.
9521 * sysdeps/generic/ldsodefs.h: Likewise.
9522 * sysdeps/generic/memusage.h: Likewise.
9523 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9533 * sysdeps/posix/getaddrinfo.c: Likewise.
9534 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9535 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9536 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9537 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9538 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9539 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9540 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9541 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9542 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9543 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9544 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9545 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9546 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9547 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9548 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9549 * sysdeps/x86_64/dl-tls.h: Likewise.
9550 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9551 * time/alt_digit.c: Likewise.
9552 * time/era.c: Likewise.
9553 * wcsmbs/tst-c16c32-1.c: Likewise.
9555 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9557 * math/libm-test.inc (struct test_sincos_data): New type.
9558 (RUN_TEST_LOOP_sincos): New macro.
9559 (sincos_test_data): New variable.
9560 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9562 2013-05-16 Richard Henderson <rth@redhat.com>
9564 * math/atest-exp2.c (LIMB64): New macro.
9565 (CONSTSZ): New macro.
9566 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9568 (print_mpn_fp): ... to function scope.
9569 (read_mpn_hex): Remove.
9571 (exp2_mpn): Use mp_log2.
9572 (main): Use mp_exp1.
9574 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9576 * math/libm-test.inc: Remove comment about not testing "inexact"
9578 (INEXACT_EXCEPTION): New macro.
9579 (NO_INEXACT_EXCEPTION): Likewise.
9580 (INVALID_EXCEPTION_OK): Update value.
9581 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9582 (OVERFLOW_EXCEPTION_OK): Likewise.
9583 (UNDERFLOW_EXCEPTION_OK): Likewise.
9584 (IGNORE_ZERO_INF_SIGN): Likewise.
9585 (ERRNO_UNCHANGED): Likewise.
9586 (ERRNO_EDOM): Likewise.
9587 (ERRNO_ERANGE): Likewise.
9588 (test_exceptions): Handle testing "inexact" exceptions.
9589 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9590 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9591 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9592 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9594 (rint_towardzero_test_data): Likewise.
9595 (rint_downward_test_data): Likewise.
9596 (rint_upward_test_data): Likewise.
9598 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9599 with OVERFLOW_EXCEPTION.
9600 (exp10_test_data): Likewise.
9601 (exp2_test_data): Likewise.
9602 (expm1_test_data): Likewise.
9603 (lgamma_test_data): Likewise.
9604 (pow_test_data): Likewise.
9605 (tgamma_test_data): Likewise.
9606 (yn_test_data): Remove duplicate test of overflow.
9608 * math/libm-test.inc (struct test_cc_c_data): New type.
9609 (RUN_TEST_LOOP_cc_c): New macro.
9610 (cpow_test_data): New variable.
9611 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9613 * math/libm-test.inc (struct test_f_L_data): New type.
9614 (RUN_TEST_LOOP_f_L): New macro.
9615 (llrint_test_data): New variable.
9616 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9617 (llrint_tonearest_test_data): New variable.
9618 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9619 (llrint_towardzero_test_data): New variable.
9620 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9621 (llrint_downward_test_data): New variable.
9622 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9623 (llrint_upward_test_data): New variable.
9624 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9625 (llround_test_data): New variable.
9626 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9628 2013-05-13 Peter Collingbourne <pcc@google.com>
9630 * math/atest-exp2.c (get_log2): Remove const attribute.
9632 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9634 * math/libm-test.inc (struct test_f_l_data): New type.
9635 (RUN_TEST_LOOP_f_l): New macro.
9636 (lrint_test_data): New variable.
9637 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9638 (lrint_tonearest_test_data): New variable.
9639 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9640 (lrint_towardzero_test_data): New variable.
9641 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9642 (lrint_downward_test_data): New variable.
9643 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9644 (lrint_upward_test_data): New variable.
9645 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9646 (lround_test_data): New variable.
9647 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9649 2013-05-15 Peter Collingbourne <pcc@google.com>
9651 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9652 (EXTRACT_WORDS64) Use where appropriate.
9653 (INSERT_WORDS64) Likewise.
9655 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9656 constraints with x constraints.
9657 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9659 * malloc/obstack.c (_obstack_compat): Add initializer.
9661 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9663 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9664 si_trapno and add si_addr_lsb to _sifields.sigfault.
9665 (si_trapno): Remove macro.
9666 (si_addr_lsb): Define new macro.
9667 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9669 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9671 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9672 instead of TEST_f_l.
9673 (llrint_test_tonearest): Likewise.
9674 (llrint_test_towardzero): Likewise.
9675 (llrint_test_downward): Likewise.
9676 (llrint_test_upward): Likewise.
9677 (llround_test): Likewise.
9679 * math/libm-test.inc (struct test_f_i_data): Add comment.
9680 (RUN_TEST_LOOP_f_b): New macro.
9681 (RUN_TEST_LOOP_f_b_tg): Likewise.
9682 (finite_test_data): New variable.
9683 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9684 (isfinite_test_data): New variable.
9685 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9686 (isinf_test_data): New variable.
9687 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9688 (isnan_test_data): New variable.
9689 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9690 (isnormal_test_data): New variable.
9691 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9692 (issignaling_test_data): New variable.
9693 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9694 (signbit_test_data): New variable.
9695 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9697 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9698 with INVALID_EXCEPTION.
9699 (acosh_test_data): Likewise.
9700 (asin_test_data): Likewise.
9701 (atanh_test_data): Likewise.
9702 (fmod_test_data): Likewise.
9703 (log_test_data): Likewise.
9704 (log10_test_data): Likewise.
9705 (log2_test_data): Likewise.
9706 (pow_test_data): Likewise.
9707 (sqrt_test_data): Likewise.
9708 (y0_test_data): Likewise.
9709 (y1_test_data): Likewise.
9710 (yn_test_data): Likewise.
9712 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9715 * math/libm-test.inc (struct test_ff_i_data): New type.
9716 (RUN_TEST_LOOP_ff_i_tg): New macro.
9717 (isgreater_test_data): New variable.
9718 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9719 (isgreaterequal_test_data): New variable.
9720 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9721 (isless_test_data): New variable.
9722 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9723 (islessequal_test_data): New variable.
9724 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9725 (islessgreater_test_data): New variable.
9726 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9727 (isunordered_test_data): New variable.
9728 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9730 2013-05-14 David S. Miller <davem@davemloft.net>
9732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9734 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9736 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9738 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9740 (struct test_f_i_data): Change type of max_ulp to int.
9742 * math/libm-test.inc (test_ffI_f1_data): New type.
9743 (RUN_TEST_LOOP_ffI_f1): New macro.
9744 (remquo_test_data): New variable.
9745 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9747 * setjmp/tst-setjmp-fp.c: New file.
9748 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9749 (link-libm): New variable.
9750 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9752 * math/libm-test.inc (struct test_f_i_data): New type.
9753 (RUN_TEST_LOOP_f_i): New macro.
9754 (RUN_TEST_LOOP_f_i_tg): Likewise.
9755 (fpclassify_test_data): New variable.
9756 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9757 (ilogb_test_data): New variable.
9758 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9760 * math/libm-test.inc (scalbln_test): Correct function name in END
9763 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9764 (RUN_TEST_LOOP_fI_f1): New macro.
9765 (frexp_test_data): New variable.
9766 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9768 * math/libm-test.inc (struct test_fF_f1_data): New type.
9769 (RUN_TEST_LOOP_fF_f1): New macro.
9770 (modf_test_data): New variable.
9771 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9773 * math/libm-test.inc (struct test_f_f1_data): New type.
9774 (RUN_TEST_LOOP_f_f1): New macro.
9775 (gamma_test_data): New variable.
9776 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9777 (lgamma_test_data): New variable.
9778 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9780 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9782 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9783 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9784 (main): Comment "tls" pseudo-hwcap.
9786 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9788 * math/libm-test.inc (struct test_fl_f_data): New type.
9789 (RUN_TEST_LOOP_fl_f): New variable.
9790 (scalbln_test_data): New variable.
9791 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9793 * math/libm-test.inc (struct test_fi_f_data): New type.
9794 (RUN_TEST_LOOP_fi_f): New macro.
9795 (ldexp_test_data): New variable.
9796 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9797 (scalbn_test_data): New variable.
9798 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9800 * math/libm-test.inc (struct test_c_f_data): New type.
9801 (RUN_TEST_LOOP_c_f): New macro.
9802 (cabs_test_data): New variable.
9803 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9804 (carg_test_data): New variable.
9805 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9806 (cimag_test_data): New variable.
9807 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9808 (creal_test_data): New variable.
9809 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9811 * math/libm-test.inc (struct test_if_f_data): New type.
9812 (RUN_TEST_LOOP_if_f): New macro.
9813 (jn_test_data): New variable.
9814 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9815 (yn_test_data): New variable.
9816 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9818 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9820 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9822 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9823 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9825 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9827 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9828 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9829 (bench-deps): Add bench-timing.h.
9830 * benchtests-bench-skeleton.c: Include bench-timing.h.
9831 (main): Use TIMING_* macros instead of clock_gettime.
9832 * benchtests/bench-timing.h: New file.
9835 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9836 Renamed from _LIB_VERSION.
9837 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9839 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9841 * math/libm-test.inc (struct test_fff_f_data): New type.
9842 (RUN_TEST_LOOP_fff_f): New macro.
9843 (fma_test_data): New variable.
9844 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9845 (fma_towardzero_test_data): New variable.
9846 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9847 (fma_downward_test_data): New variable.
9848 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9849 (fma_upward_test_data): New variable.
9850 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9852 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9853 (struct test_c_c_data): New type.
9854 (RUN_TEST_LOOP_c_c): New macro.
9855 (cacos_test_data): New variable.
9856 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9857 (cacosh_test_data): New variable.
9858 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9859 (casin_test_data): New variable.
9860 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9861 (casinh_test_data): New variable.
9862 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9863 (catan_test_data): New variable.
9864 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9865 (catanh_test_data): New variable.
9866 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9867 (ccos_test_data): New variable.
9868 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9869 (ccosh_test_data): New variable.
9870 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9871 (cexp_test_data): New variable.
9872 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9873 (clog_test_data): New variable.
9874 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9875 (clog10_test_data): New variable.
9876 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9877 (conj_test_data): New variable.
9878 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9879 (cproj_test_data): New variable.
9880 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9881 (csin_test_data): New variable.
9882 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9883 (csinh_test_data): New variable.
9884 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9885 (csqrt_test_data): New variable.
9886 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9887 (ctan_test_data): New variable.
9888 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9889 (ctan_tonearest_test_data): New variable.
9890 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9891 (ctan_towardzero_test_data): New variable.
9892 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9893 (ctan_downward_test_data): New variable.
9894 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9895 (ctan_upward_test_data): New variable.
9896 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9897 (ctanh_test_data): New variable.
9898 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9899 (ctanh_tonearest_test_data): New variable.
9900 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9901 (ctanh_towardzero_test_data): New variable.
9902 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9903 (ctanh_downward_test_data): New variable.
9904 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9905 (ctanh_upward_test_data): New variable.
9906 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9907 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9910 * math/libm-test.inc (struct test_ff_f_data): New type.
9911 (struct test_ff_f_data_nexttoward): Likewise.
9912 (RUN_TEST_LOOP_2_f): New macro.
9913 (RUN_TEST_LOOP_ff_f): Likewise.
9914 (atan2_test_data): New variable.
9915 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9916 (copysign_test_data): New variable.
9917 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9918 (fdim_test_data): New variable.
9919 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9920 (fmax_test_data): New variable.
9921 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9922 (fmin_test_data): New variable.
9923 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9924 (fmod_test_data): New variable.
9925 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9926 (hypot_test_data): New variable.
9927 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9928 (nextafter_test_data): New variable.
9929 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9930 (nexttoward_test_data): New variable.
9931 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9932 (pow_test_data): New variable.
9933 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9934 (pow_tonearest_test_data): New variable.
9935 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9936 (pow_towardzero_test_data): New variable.
9937 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9938 (pow_downward_test_data): New variable.
9939 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9940 (pow_upward_test_data): New variable.
9941 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9942 (remainder_test_data): New variable.
9943 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9944 (scalb_test_data): New variable.
9945 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9946 * sysdeps/i386/fpu/libm-test-ulps: Update.
9948 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9950 * math/libm-test.inc (fma_test): Use max_value instead of local
9952 (nextafter_test): Likewise.
9954 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9955 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9956 (acos_downward_test_data): New variable.
9957 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9958 (acos_upward_test_data): New variable.
9959 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9960 (acosh_test_data): New variable.
9961 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9962 (asin_test_data): New variable.
9963 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9964 (asin_tonearest_test_data): New variable.
9965 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9966 (asin_towardzero_test_data): New variable.
9967 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9968 (asin_downward_test_data): New variable.
9969 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9970 (asin_upward_test_data): New variable.
9971 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9972 (asinh_test_data): New variable.
9973 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9974 (atan_test_data): New variable.
9975 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9976 (atanh_test_data): New variable.
9977 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9978 (cbrt_test_data): New variable.
9979 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9980 (ceil_test_data): New variable.
9981 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9982 (cos_test_data): New variable.
9983 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9984 (cos_tonearest_test_data): New variable.
9985 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9986 (cos_towardzero_test_data): New variable.
9987 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9988 (cos_downward_test_data): New variable.
9989 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9990 (cos_upward_test_data): New variable.
9991 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9992 (cosh_test_data): New variable.
9993 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9994 (cosh_tonearest_test_data): New variable.
9995 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9996 (cosh_towardzero_test_data): New variable.
9997 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9998 (cosh_downward_test_data): New variable.
9999 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10000 (cosh_upward_test_data): New variable.
10001 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10002 (erf_test_data): New variable.
10003 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10004 (erfc_test_data): New variable.
10005 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10006 (exp_test_data): New variable.
10007 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10008 (exp_tonearest_test_data): New variable.
10009 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10010 (exp_towardzero_test_data): New variable.
10011 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10012 (exp_downward_test_data): New variable.
10013 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10014 (exp_upward_test_data): New variable.
10015 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10016 (exp10_test_data): New variable.
10017 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10018 (exp2_test_data): New variable.
10019 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10020 (expm1_test_data): New variable.
10021 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10022 (fabs_test_data): New variable.
10023 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10024 (floor_test_data): New variable.
10025 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10026 (j0_test_data): New variable.
10027 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10028 (j1_test_data): New variable.
10029 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10030 (log_test_data): New variable.
10031 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10032 (log10_test_data): New variable.
10033 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10034 (log1p_test_data): New variable.
10035 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10036 (log2_test_data): New variable.
10037 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10038 (logb_test_data): New variable.
10039 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10040 (logb_downward_test_data): New variable.
10041 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10042 (nearbyint_test_data): New variable.
10043 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10044 (rint_test_data): New variable.
10045 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10046 (rint_tonearest_test_data): New variable.
10047 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10048 (rint_towardzero_test_data): New variable.
10049 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10050 (rint_downward_test_data): New variable.
10051 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10052 (rint_upward_test_data): New variable.
10053 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10054 (round_test_data): New variable.
10055 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10056 (sin_test_data): New variable.
10057 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10058 (sin_tonearest_test_data): New variable.
10059 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10060 (sin_towardzero_test_data): New variable.
10061 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10062 (sin_downward_test_data): New variable.
10063 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10064 (sin_upward_test_data): New variable.
10065 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10066 (sinh_test_data): New variable.
10067 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10068 (sinh_tonearest_test_data): New variable.
10069 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10070 (sinh_towardzero_test_data): New variable.
10071 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10072 (sinh_downward_test_data): New variable.
10073 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10074 (sinh_upward_test_data): New variable.
10075 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10076 (sqrt_test_data): New variable.
10077 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10078 (tan_test_data): New variable.
10079 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10080 (tan_tonearest_test_data): New variable.
10081 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10082 (tan_towardzero_test_data): New variable.
10083 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10084 (tan_downward_test_data): New variable.
10085 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10086 (tan_upward_test_data): New variable.
10087 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10088 (tanh_test_data): New variable.
10089 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10090 (tgamma_test_data): New variable.
10091 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10092 (trunc_test_data): New variable.
10093 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10094 (y0_test_data): New variable.
10095 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10096 (y1_test_data): New variable.
10097 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10098 (significand_test_data): New variable.
10099 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10101 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10104 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10106 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10108 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10110 2013-05-10 Andreas Jaeger <aj@suse.de>
10113 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10114 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10116 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10118 * math/gen-libm-test.pl (adjust_arg): New function.
10119 (special_functions): Handle generating output in both functions
10121 (parse_args): Likewise.
10122 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10123 $in_func argument to parse_args.
10124 * math/libm-test.inc (struct test_f_f_data): New type.
10125 (IF_ROUND_INIT_): New macro.
10126 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10127 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10128 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10129 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10130 (ROUND_RESTORE_): Likewise.
10131 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10132 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10133 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10134 (ROUND_RESTORE_FE_UPWARD): Likewise.
10135 (RUN_TEST_LOOP_f_f): New macro.
10136 (acos_test_data): New variable.
10137 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10138 (acos_tonearest_test_data): New variable.
10139 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10141 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10143 * benchtests/bench-skeleton.c (startup): Fix coding style.
10145 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10148 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10149 negative infinity argument.
10150 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10151 negative infinity argument.
10152 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10153 negative infinity argument.
10154 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10157 2013-05-10 Florian Weimer <fweimer@redhat.com>
10159 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10160 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10161 * iconv/iconv_prog.c (main): Likewise.
10162 * locale/programs/charmap-dir.c (charmap_readdir)
10163 (fopen_uncompressed): Likewise.
10164 * locale/programs/locfile.c (siblings_uncached)
10165 (write_locale_data): Use lstat64 instead of lstat.
10166 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10169 2013-05-10 Andreas Jaeger <aj@suse.de>
10172 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10174 Include <locale.h>.
10176 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10178 * elf/dl-close.c (_dl_close_worker): Add comments.
10180 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10183 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10185 (__ieee754_rem_pio2l): Update comments.
10188 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10190 (__ieee754_rem_pio2l): Update comments.
10192 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10193 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10195 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10198 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10199 (M_PI_34_LOG10El): Likewise.
10200 (M_PI2_LOG10El): Likewise.
10201 (M_PI4_LOG10El): Likewise.
10202 (M_PI_LOG10El): Likewise.
10204 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10208 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10210 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10211 (MINUS_ZERO_INIT): Likewise.
10212 (PLUS_INFTY_INIT): Likewise.
10213 (MINUS_INFTY_INIT): Likewise.
10214 (QNAN_VALUE_INIT): Likewise.
10215 (MAX_VALUE_INIT): Likewise.
10216 (MIN_VALUE_INIT): Likewise.
10217 (MIN_SUBNORM_VALUE_INIT): Likewise.
10218 (plus_zero): Initialize with PLUS_ZERO_INIT.
10219 (minus_zero): Initialize with MINUS_ZERO_INIT.
10220 (plus_infty): Initialize with PLUS_INFTY_INIT.
10221 (minus_infty): Initialize with MINUS_INFTY_INIT.
10222 (qnan_value): Initialize with QNAN_VALUE_INIT.
10223 (max_value): Initialize with MAX_VALUE_INIT.
10224 (min_value): Initialize with MIN_VALUE_INIT.
10225 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10227 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10228 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10229 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10230 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10232 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10233 (RUN_TEST_2_f): Likewise.
10234 (RUN_TEST_ff_f): Likewise.
10235 (RUN_TEST_fi_f): Likewise.
10236 (RUN_TEST_fl_f): Likewise.
10237 (RUN_TEST_fff_f): Likewise.
10238 (RUN_TEST_c_f): Likewise.
10239 (RUN_TEST_f_f1): Likewise.
10240 (RUN_TEST_fF_f1): Likewise.
10241 (RUN_TEST_fI_f1): Likewise.
10242 (RUN_TEST_ffI_f1): Likewise.
10243 (RUN_TEST_c_c): Likewise.
10244 (RUN_TEST_cc_c): Likewise.
10245 (RUN_TEST_f_i): Likewise.
10246 (RUN_TEST_f_i_tg): Likewise.
10247 (RUN_TEST_ff_i_tg): Likewise.
10248 (RUN_TEST_f_b): Likewise.
10249 (RUN_TEST_f_b_tg): Likewise.
10250 (RUN_TEST_f_l): Likewise.
10251 (RUN_TEST_f_L): Likewise.
10252 (RUN_TEST_sincos): Likewise.
10253 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10254 whether to show exceptions. Do not include ");\n" in return
10256 (special_functions): Output call to RUN_TEST_sincos instead of
10257 check_float calls. Update calls to new_test.
10258 (parse_args): Output call to single RUN_TEST_* macro instead of
10259 check_* calls and other assignments. Update calls to new_test.
10265 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10266 input to result for tgamma overflow.
10267 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10268 (gamma_coeff): New variable.
10269 (NCOEFF): New macro.
10270 (gamma_positive): New function.
10271 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10272 underflow here. Use gamma_positive instead of exp (lgamma) for
10274 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10275 (gamma_coeff): New variable.
10276 (NCOEFF): New macro.
10277 (gammaf_positive): New function.
10278 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10279 underflow here. Use gamma_positive instead of exp (lgamma) for
10281 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10282 (gamma_coeff): New variable.
10283 (NCOEFF): New macro.
10284 (gammal_positive): New function.
10285 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10286 underflow here. Use gamma_positive instead of exp (lgamma) for
10288 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10289 (gamma_coeff): New variable.
10290 (NCOEFF): New macro.
10291 (gammal_positive): New function.
10292 (__ieee754_gammal_r): Handle positive infinity, overflow and
10293 underflow here. Handle NaN the same as positive infinity. Remove
10294 check x < 0xffffffff for negative integers. Use gamma_positive
10295 instead of exp (lgamma) for other arguments.
10296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10297 (gamma_coeff): New variable.
10298 (NCOEFF): New macro.
10299 (gammal_positive): New function.
10300 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10301 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10305 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10306 * sysdeps/generic/math_private.h (__gamma_productf): New
10308 (__gamma_product): Likewise.
10309 (__gamma_productl): Likewise.
10310 * math/Makefile (libm-calls): Add gamma_product.
10311 * math/libm-test.inc (tgamma_test): Add more tests.
10312 * sysdeps/i386/fpu/libm-test-ulps: Update.
10313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10317 * benchtests/bench-skeleton.c (main): Preheat CPU.
10319 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10321 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10323 2013-05-07 Roland McGrath <roland@hack.frob.com>
10325 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10326 and _dl_skip_args_internal.
10328 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10330 * manual/message.texi (Message Translation): Talk about users.
10331 Message to key mapping impacts design.
10333 2013-05-06 Roland McGrath <roland@hack.frob.com>
10335 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10337 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10339 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10340 * sysdeps/wordsize-64/glob64.c: ... here.
10342 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10343 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10346 * debug/getlogin_r_chk.c: Moved to ...
10347 * login/getlogin_r_chk.c: ... here.
10348 * debug/Makefile (routines): Move getlogin_r_chk to ...
10349 * login/Makefile (routines): ... here.
10350 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10351 * login/Versions (libc: GLIBC_2.4): ... here.
10353 * io/poll.c (__poll): Renamed from poll.
10354 Add libc_hidden_def.
10355 (poll): Define as weak alias.
10357 * debug/ptsname_r_chk.c: Moved to ...
10358 * login/ptsname_r_chk.c: ... here.
10359 * debug/Makefile (routines): Move ptsname_r_chk to ...
10360 * login/Makefile (routines): ... here.
10361 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10362 * login/Versions (libc: GLIBC_2.4): ... here.
10364 * posix/getlogin.c: Moved to ...
10365 * login/getlogin.c: ... here.
10366 * posix/getlogin_r.c: Moved to ...
10367 * login/getlogin_r.c: ... here.
10368 * posix/getlogin_r.c: Moved to ...
10369 * login/getlogin_r.c: ... here.
10370 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10371 * login/Makefile (routines): ... here.
10372 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10373 * login/Versions (libc: GLIBC_2.0): ... here.
10375 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10376 (setrlimit): Define as weak alias.
10378 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10379 Call __ names for open, ftruncate, and close.
10380 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10381 (truncate): Define as weak alias.
10383 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10385 * math/gen-libm-test.pl (parse_args): Initialize x before each
10386 test of frexp, modf and remquo.
10388 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10389 test signgam value.
10391 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10395 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10397 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10399 2013-05-06 Roland McGrath <roland@hack.frob.com>
10401 * elf/dl-writev.h: New file.
10402 * elf/dl-misc.c: Include it.
10403 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10404 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10406 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10408 * math/libm-test.inc (noXFails): Remove variable.
10409 (noXPasses): Likewise.
10410 (BUILD_COMPLEX_INT): Remove macro.
10411 (print_screen): Remove xfail argument.
10412 (print_screen_max_error): Likewise.
10413 (update_stats): Likewise.
10414 (print_max_error): Likewise. Update calls to other affected
10416 (print_complex_max_error): Likewise.
10417 (test_single_exception): Update calls to print_screen.
10418 (test_single_errno): Likewise.
10419 (check_float_internal): Remove xfail argument. Update calls to
10420 other affected functions.
10421 (check_float): Likewise.
10422 (check_complex): Likewise.
10423 (check_int): Likewise.
10424 (check_long): Likewise.
10425 (check_bool): Likewise.
10426 (check_longlong): Likewise.
10427 (main): Don't print noXFails and noXPasses.
10428 * math/gen-libm-test.pl (top level): Don't mention expected
10429 failure handling in comment.
10430 (new_test): Don't handle expected failures.
10431 (parse_args): Don't mention expected failure handling in comment.
10432 (generate_testfile): Don't handle expected failures.
10433 (parse_ulps): Likewise.
10434 (print_ulps_file): Likewise.
10435 (get_failure): Remove function.
10436 (output_test): Don't handle expected failures.
10437 * make/README.libm-test: Don't mention expected failure handling.
10439 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10440 (minus_zero): Likewise.
10441 (plus_infty): Likewise.
10442 (minus_infty): Likewise.
10443 (qnan_value): Likewise.
10444 (max_value): Likewise.
10445 (min_value): Likewise.
10446 (min_subnorm_value): Likewise.
10447 (initialize): Do not initialize those variables dynamically.
10449 2013-05-03 Roland McGrath <roland@hack.frob.com>
10451 * io/open.c (__open_2): Moved to ...
10452 * io/open_2.c: ... this new file.
10453 * io/open64.c (__open64_2): Moved to ...
10454 * io/open64_2.c: ... this new file.
10455 * io/openat.c (__openat_2): Moved to ...
10456 * io/openat_2.c: ... this new file.
10457 * io/openat64.c (__openat64_2): Moved to ...
10458 * io/openat64_2.c: ... this new file.
10459 * io/Makefile (routines): Add them.
10460 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10461 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10462 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10463 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10464 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10465 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10466 (__openat64): Add hidden_ver.
10467 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10468 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10470 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10471 Separately conditionalize setting of GLRO(dl_sysinfo) so
10472 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10473 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10475 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10478 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10480 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10481 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10482 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10483 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10484 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10486 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10488 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10489 test signgam value.
10491 * math/libm-test.inc (hypot_test): Do not use
10492 IGNORE_ZERO_INF_SIGN.
10494 2013-05-03 Andreas Jaeger <aj@suse.de>
10496 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10498 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10499 (PF_MAX): Adjust for VSOCK change.
10501 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10505 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10508 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10509 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10510 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10512 2013-05-02 David S. Miller <davem@davemloft.net>
10514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10516 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10518 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10520 2013-05-01 Roland McGrath <roland@hack.frob.com>
10522 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10524 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10527 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10528 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10529 Use __attribute__ ((__gnu_inline__)).
10530 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10531 Don't use __attribute__ ((__gnu_inline__)).
10533 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10536 * math/s_catan.c (__catan): Handle small real or imaginary part of
10537 input specially to avoid spurious underflow.
10538 * math/s_catanf.c (__catanf): Likewise.
10539 * math/s_catanh.c (__catanh): Likewise.
10540 * math/s_catanhf.c (__catanhf): Likewise.
10541 * math/s_catanhl.c (__catanhl): Likewise.
10542 * math/s_catanl.c (__catanl): Likewise.
10543 * math/libm-test.inc (catan_test): Add more tests.
10544 (catanh_test): Likewise.
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10552 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10555 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10556 accurately for denominator in atan2.
10557 * math/s_catanf.c (__catanf): Likewise.
10558 * math/s_catanh.c (__catanh): Likewise.
10559 * math/s_catanhf.c (__catanhf): Likewise.
10560 * math/s_catanhl.c (__catanhl): Likewise.
10561 * math/s_catanl.c (__catanl): Likewise.
10562 * math/libm-test.inc (catan_test): Add more tests.
10563 (catanh_test): Likewise.
10564 * sysdeps/i386/fpu/libm-test-ulps: Update.
10565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10567 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10569 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10571 * benchtests/Makefile (bench): Remove slow benchmarks.
10572 * benchtests/atan-inputs: Add slow benchmark inputs.
10573 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10574 (BENCH_FUNC): Accept variant offset.
10576 * benchtests/bench-skeleton.c (main): Run benchmark for each
10578 * benchtests/cos-inputs: Add slow benchmark inputs.
10579 * benchtests/exp-inputs: Likewise.
10580 * benchtests/pow-inputs: Likewise.
10581 * benchtests/sin-inputs: Likewise.
10582 * benchtests/slowatan-inputs: Remove.
10583 * benchtests/slowatan.c: Remove.
10584 * benchtests/slowcos-inputs: Remove.
10585 * benchtests/slowcos.c: Remove.
10586 * benchtests/slowexp-inputs: Remove.
10587 * benchtests/slowexp.c: Remove.
10588 * benchtests/slowpow-inputs: Remove.
10589 * benchtests/slowpow.c: Remove.
10590 * benchtests/slowsin-inputs: Remove.
10591 * benchtests/slowsin.c: Remove.
10592 * benchtests/slowtan-inputs: Remove.
10593 * benchtests/slowtan.c: Remove.
10594 * benchtests/tan-inputs: Add slow benchmark inputs.
10595 * scripts/bench.pl: Parse comments and directives.
10597 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10599 ($(objpfx)bench-%.c): Remove *-ITER.
10600 * benchtests/bench-modf.c: Remove definition of ITER.
10601 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10602 (main): Loop for DURATION seconds instead of fixed number of
10604 * scripts/bench.pl: Don't expect iterations in parameters.
10606 2013-04-29 Roland McGrath <roland@hack.frob.com>
10608 * io/fchdir.c (__fchdir): Renamed from fchdir.
10609 (fchdir): Define as weak alias.
10611 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10613 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10614 (ERRNO_EDOM): Likewise.
10615 (ERRNO_ERANGE): Likewise.
10616 (noErrnoTests): New variable.
10617 (init_max_error): Set errno to 0.
10618 (test_single_errno): New function.
10619 (test_errno): Likewise.
10620 (check_float_internal): Call test_errno. Set errno to 0.
10621 (check_complex): Refer to errno tests in comment.
10622 (check_int): Call test_errno. Set errno to 0.
10623 (check_long): Likewise.
10624 (check_bool): Likewise.
10625 (check_longlong): Likewise.
10626 (cos_test): Use ERRNO_* flags for errno tests instead of
10628 (expm1_test): Likewise.
10629 (fmod_test): Likewise.
10630 (ilogb_test): Likewise.
10631 (lgamma_test): Likewise.
10632 (pow_test): Likewise.
10633 (remainder_test): Likewise.
10634 (sin_test): Likewise.
10635 (tan_test): Likewise.
10636 (yn_test): Likewise.
10637 (initialize): Set errno to 0.
10638 (main): Print number of errno tests.
10639 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10641 2013-04-29 Andreas Jaeger <aj@suse.de>
10644 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10648 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10649 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10653 * stdlib/random.c (__initstate): Return NULL if
10657 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10658 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10661 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10665 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10667 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10668 of individual tests.
10669 (casin_test): Likewise.
10670 (casinh_test): Likewise.
10672 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10675 * math/s_catan.c (__catan): Handle arguments with large real or
10676 imaginary part separately without squaring.
10677 * math/s_catanf.c (__catanf): Likewise.
10678 * math/s_catanh.c (__catanh): Likewise.
10679 * math/s_catanhf.c (__catanhf): Likewise.
10680 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10682 (__catanhl): Handle arguments with large real or imaginary part
10683 separately without squaring.
10684 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10686 (__catanl): Handle arguments with large real or imaginary part
10687 separately without squaring.
10688 * math/libm-test.inc (catan_test): Add more tests.
10689 (catanh_test): Likewise.
10690 * sysdeps/i386/fpu/libm-test-ulps: Update.
10691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10693 2013-04-27 Andreas Jaeger <aj@suse.de>
10696 * stdlib/stdlib.h: Update guards for qecvt.
10697 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10700 2013-04-27 Allan McRae <allan@archlinux.org>
10702 * sysdeps/i386/fpu/libm-test-ulps: Update.
10704 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10707 * math/s_catan.c: Include <float.h>.
10708 (__catan): Ensure underflow exception occurs for underflowed
10710 * math/s_catanf.c: Include <float.h>.
10711 (__catanf): Ensure underflow exception occurs for underflowed
10713 * math/s_catanh.c: Include <float.h>.
10714 (__catanh): Ensure underflow exception occurs for underflowed
10716 * math/s_catanhf.c: Include <float.h>.
10717 (__catanhf): Ensure underflow exception occurs for underflowed
10719 * math/s_catanhl.c: Include <float.h>.
10720 (__catanhl): Ensure underflow exception occurs for underflowed
10722 * math/s_catanl.c: Include <float.h>.
10723 (__catanl): Ensure underflow exception occurs for underflowed
10725 * math/libm-test.inc (catan_test): Add more tests.
10726 (catanh_test): Likewise.
10729 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10730 underflowed result.
10731 * math/s_ccoshf.c (__ccoshf): Likewise.
10732 * math/s_ccoshl.c (__ccoshl): Likewise.
10733 * math/s_csin.c (__csin): Likewise.
10734 * math/s_csinf.c (__csinf): Likewise.
10735 * math/s_csinh.c (__csinh): Likewise.
10736 * math/s_csinhf.c (__csinhf): Likewise.
10737 * math/s_csinhl.c (__csinhl): Likewise.
10738 * math/s_csinl.c (__csinl): Likewise.
10739 * math/libm-test.inc (ccos_test): Add more tests.
10740 (ccosh_test): Likewise.
10741 (csin_test): Likewise.
10742 (csinh_test): Likewise.
10744 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10746 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10747 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10748 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10749 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10750 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10751 powerpc/power5+/fpu folders.
10752 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10755 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10759 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10761 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10762 additions to variable.
10763 [$(config-machine) = x86_64] (modules-names): Likewise.
10764 ($(objpfx)tst-audit3): Remove dependency.
10765 ($(objpfx)tst-audit3.out): Likewise.
10766 ($(objpfx)tst-audit4): Likewise.
10767 ($(objpfx)tst-audit4.out): Likewise.
10768 ($(objpfx)tst-audit5): Likewise.
10769 ($(objpfx)tst-audit5.out): Likewise.
10770 ($(objpfx)tst-audit6): Likewise.
10771 ($(objpfx)tst-audit6.out): Likewise.
10772 ($(objpfx)tst-audit7): Likewise.
10773 ($(objpfx)tst-audit7.out): Likewise.
10774 (tst-audit3-ENV): Remove variable.
10775 (tst-audit4-ENV): Likewise.
10776 (tst-audit5-ENV): Likewise.
10777 (tst-audit6-ENV): Likewise.
10778 (tst-audit7-ENV): Likewise.
10779 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10780 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10781 addition to variable.
10782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10783 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10784 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10785 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10786 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10787 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10788 tst-audit3, tst-audit4 and tst-audit5.
10789 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10790 tst-audit6 and tst-audit7.
10791 [$(subdir) = elf] (modules-names): Add audit modules for those
10793 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10794 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10795 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10796 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10797 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10798 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10799 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10800 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10801 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10802 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10803 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10804 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10805 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10806 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10807 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10808 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10810 [$(subdir) = elf && $(config-cflags-avx) = yes]
10811 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10812 [$(subdir) = elf && $(config-cflags-avx) = yes]
10813 (CFLAGS-tst-auditmod4a.c): Likewise.
10814 [$(subdir) = elf && $(config-cflags-avx) = yes]
10815 (CFLAGS-tst-auditmod4b.c): Likewise.
10816 [$(subdir) = elf && $(config-cflags-avx) = yes]
10817 (CFLAGS-tst-auditmod6b.c): Likewise.
10818 [$(subdir) = elf && $(config-cflags-avx) = yes]
10819 (CFLAGS-tst-auditmod6c.c): Likewise.
10820 [$(subdir) = elf && $(config-cflags-avx) = yes]
10821 (CFLAGS-tst-auditmod7b.c): Likewise.
10822 * elf/tst-audit3.c: Move to ...
10823 * sysdeps/x86_64/tst-audit3.c: ... here.
10824 * elf/tst-audit4.c: Move to ...
10825 * sysdeps/x86_64/tst-audit4.c: ... here.
10826 * elf/tst-audit5.c: Move to ...
10827 * sysdeps/x86_64/tst-audit5.c: ... here.
10828 * elf/tst-audit6.c: Move to ...
10829 * sysdeps/x86_64/tst-audit6.c: ... here.
10830 * elf/tst-audit7.c: Move to ...
10831 * sysdeps/x86_64/tst-audit7.c: ... here.
10832 * elf/tst-auditmod3a.c: Move to ...
10833 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10834 * elf/tst-auditmod3b.c: Move to ...
10835 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10836 * elf/tst-auditmod4a.c: Move to ...
10837 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10838 * elf/tst-auditmod4b.c: Move to ...
10839 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10840 * elf/tst-auditmod5a.c: Move to ...
10841 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10842 * elf/tst-auditmod5b.c: Move to ...
10843 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10844 * elf/tst-auditmod6a.c: Move to ...
10845 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10846 * elf/tst-auditmod6b.c: Move to ...
10847 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10848 * elf/tst-auditmod6c.c: Move to ...
10849 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10850 * elf/tst-auditmod7a.c: Move to ...
10851 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10852 * elf/tst-auditmod7b.c: Move to ...
10853 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10855 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10858 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10859 define unconditionally.
10860 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10861 define unconditionally.
10862 (INT8_C, INT16_C, etc.): Likewise.
10864 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10866 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10867 __ehdr_start with hidden visibility.
10869 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10871 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10873 * math/libm-test.inc (cos_test): Use accurate hex constants.
10874 (sincost_test): Likewise.
10876 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10878 * math/libm-test.inc (catan_test): Add more tests.
10879 (catanh_test): Likewise.
10881 * math/s_catanf.c (__catanf): Use suffixed floating-point
10883 * math/s_catanhf.c (__catanhf): Likewise.
10884 * math/s_catanhl.c (__catanhl): Likewise.
10885 * math/s_catanl.c (__catanl): Likewise.
10888 * math/s_catan.c (__catan): Calculate imaginary part of result
10889 with log1p not log unless computing log of number close to 0.
10890 * math/s_catanf.c (__catanf): Likewise.
10891 * math/s_catanl.c (__catanl): Likewise.
10892 * math/s_catanh.c (__catanh): Calculate real part of result with
10893 log1p not log unless computing log of number close to 0.
10894 * math/s_catanhf.c (__catanhf): Likewise.
10895 * math/s_catanhl.c (__catanhl): Likewise.
10896 * math/libm-test.inc (catan_test): Add more tests.
10897 (catanh_test): Likewise.
10898 * sysdeps/i386/fpu/libm-test-ulps: Update.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10903 * benchtests/Makefile: Mention files in which fast and slow
10904 paths of math functions are implemented.
10906 2013-04-23 Roland McGrath <roland@hack.frob.com>
10908 * sysdeps/posix/timespec_get.c: New file.
10910 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10912 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10914 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10916 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10917 powerpc/power5/fpu folders.
10918 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10919 * benchtests/Makefile: Add modf testcase.
10920 * benchtests/bench-modf.c: New file: Benchmark test for mo
10922 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10925 * time/Makefile (tests): Add tst-strptime-whitespace.
10926 * time/strptime_l.c (get_number): Use ISSPACE.
10927 (__strptime_internal): Likewise.
10928 * time/tst-strptime-whitespace.c: New test case.
10930 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10932 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10934 (_nss_files_init): Set it here.
10936 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10938 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10939 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10942 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10944 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10946 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10951 2013-04-21 David S. Miller <davem@davemloft.net>
10953 * po/ru.po: Update Russion translation from translation project.
10955 2013-04-17 Adam Conrad <adconrad@0c3.net>
10957 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10960 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10962 * configure.in: Remove i386 configure warning. Remove i386 case.
10963 * configure: Regenerate.
10964 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10965 Add example to error message.
10966 * sysdeps/i386/configure: Regenerate.
10968 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10970 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10972 * benchtests/cos-inputs: New file.
10973 * benchtests/slowcos-inputs: New file.
10974 * benchtests/slowcos.c: New file.
10975 * benchtests/slowtan-inputs: New file.
10976 * benchtests/slowtan.c: New file.
10977 * benchtests/tan-inputs: New file.
10979 2013-04-16 Roland McGrath <roland@hack.frob.com>
10981 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10984 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10986 * benchtests/Makefile: Include cppflags-iterator.mk to add
10987 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10989 * Makefile.in (bench-clean): New target.
10990 * benchtests/Makefile (bench-clean): Likewise.
10992 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10994 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10996 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10998 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11000 2013-04-15 Andreas Schwab <schwab@suse.de>
11002 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11004 * nscd/pwdcache.c (cache_addpw): Likewise.
11005 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11008 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11010 * benchtests/Makefile (bench): Write all output to
11011 bench-out.tmp together.
11013 2013-04-15 Andreas Schwab <schwab@suse.de>
11015 * nscd/nscd.c (main): Don't fork again after closing files.
11017 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11019 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11021 * benchtests/Rules (bench-deps): Collect dependencies into a
11022 single variable. Add Makefile to dependencies.
11023 ($(objpfx)bench-%.c): Depend on bench-deps.
11025 2013-04-12 Roland McGrath <roland@hack.frob.com>
11026 Xavier Roche <roche+kml2@exalead.com>
11029 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11030 just that it's a file descriptor.
11031 * manual/llio.texi (Synchronizing AIO Operations): Update description
11032 for EBADF error from aio_fsync.
11034 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11036 * Rules (bench): Move target definition...
11037 * benchtests/Makefile: ... here.
11039 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11041 * math/libm-test.inc (cos_test): Fix PI/2 test.
11042 (sincos_test): Likewise.
11043 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11044 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11046 2013-04-11 Andreas Schwab <schwab@suse.de>
11049 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11050 accept exponent character only when digits were seen.
11051 * stdio-common/Makefile (tests): Add bug26.
11052 * stdio-common/bug26.c: New file.
11055 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11058 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11060 * Makeconfig (rtld-prefix): Define built linker prefix.
11061 * Rules (run-bench): Use it.
11062 * math/Makefile (run-regen-ulps): Likewise.
11064 * Rules (bench): Remove eval.
11066 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11067 Roland McGrath <roland@hack.frob.com>
11068 Ondrej Bilka <neleai@seznam.cz>
11071 * time/getdate.c: Include ctype.h and alloca.h.
11072 (__getdate_r): Trim leading and trailing spaces of input.
11073 * time/tst-getdate.c (tests): Add tests with leading and
11076 2013-04-08 Roland McGrath <roland@hack.frob.com>
11079 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11080 when computing value.
11082 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11084 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11085 Use testrun.sh to run libm tests.
11088 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11090 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11093 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11095 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11097 * Makefile.in (regen-ulps): New target.
11098 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11099 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11100 [ifneq (no,$(PERL)] (regen-ulps): New target.
11101 [ifeq (no,$(PERL)] (regen-ulps): New target.
11102 * math/libm-test.inc (ulps_file_name): Define.
11103 (output_dir): New variable.
11104 (options): Add "output-dir" option.
11105 (parse_opt): Handle 'o' case.
11106 (main): If output_dir is non-NULL use it as a prefix
11108 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11110 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11112 [BZ #10060, #10062]
11113 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11114 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11115 fail configure if __sync_val_compare_and_swap is not inlined.
11116 * sysdeps/i386/configure: Regenerate.
11117 * configure.in: Build for i686 when configured for i386.
11118 * configure: Regenerate.
11119 * README: Remove i386 reference.
11121 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11123 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11126 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11128 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11129 (lmsnanval): New variables.
11130 (F): Add conversion tests.
11131 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11132 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11134 * stdio-common/tstdiomisc.c (F): Properly collect individual
11137 [BZ #14686, #15336]
11138 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11139 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11140 Instead, use input NaN values or generate a qNaN by arithmetic
11141 operation. Also fix bugs to comply with the standard.
11142 * math/libm-test.inc (remainder_test): Add more tests.
11144 [BZ #15335, #15342]
11145 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11147 input NaN values or generate a qNaN by arithmetic operation.
11149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11152 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11155 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11158 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11159 underflowed result.
11160 * math/s_cexpf.c (__cexpf): Likewise.
11161 * math/s_cexpl.c (__cexpl): Likewise.
11162 * math/libm-test.inc (cexp_test): Add more tests.
11164 2013-04-03 Andreas Schwab <schwab@suse.de>
11167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11168 order arrays from heap if bigger than alloca cutoff.
11170 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11172 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11173 (SNAN_TESTS_double): Refer to GCC PR56831.
11174 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11177 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11179 * Rules (bench): Move bench.out after the run is complete.
11181 * Rules (bench): Echo currently running benchmark.
11183 * benchtests/Makefile (bench): Add atan and slowatan.
11184 * benchtests/atan-inputs: New file.
11185 * benchtests/slowatan-inputs: New file.
11186 * benchtests/slowatan.c: New file.
11188 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11189 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11193 * sysdeps/unix/sysv/linux/kernel-features.h
11194 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11195 __ASSUME_XFS_RESTRICTED_CHOWN.
11196 * sysdeps/unix/sysv/linux/pathconf.c
11197 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11198 Save and restore errno.
11200 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11203 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11204 arguments using __kernel_casinh.
11205 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11206 arguments using __kernel_casinhf.
11207 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11208 arguments using __kernel_casinhl.
11209 * math/libm-test.inc (cacosh_test): Add more tests.
11210 * sysdeps/i386/fpu/libm-test-ulps: Update.
11211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11213 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11215 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11218 * bench/Makefile (bench): Add sin and slowsin.
11219 * benchtests/sin-inputs: New file.
11220 * benchtests/slowsin-inputs: New file.
11221 * benchtests/slowsin.c: New file.
11223 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11224 (bench): Add slowexp and slowpow.
11225 (exp-ITER): Increase iterations.
11226 (pow-ITER): Likewise.
11227 * benchtests/exp-inputs: Change input.
11228 * benchtests/pow-inputs: Likewise.
11229 * benchtests/slowexp-inputs: New file.
11230 * benchtests/slowexp.c: New file.
11231 * benchtests/slowpow-inputs: New file.
11232 * benchtests/slowpow.c: New file.
11234 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11238 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11239 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11240 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11241 * benchtests/Makefile: Add rint benchtest.
11242 * benchtests/rint-inputs: Input for rint benchtest.
11244 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11246 * Versions.def (libm): Add GLIBC_2.18.
11247 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11248 hidden libm prototypes.
11249 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11250 * math/Makefile (libm-calls): Add s_issignaling.
11251 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11252 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11253 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11255 * math/math.h [__USE_GNU] (issignaling): New macro.
11256 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11257 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11262 * manual/arith.texi (issignaling): New section.
11263 * manual/libm-err-tab.pl (@all_functions): Update comment.
11264 * math/gen-libm-test.pl (parse_args): Apply special handling for
11266 * math/libm-test.inc (print_float, issignaling_test): New
11268 (check_float_internal): Add issignaling checks.
11269 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11270 default definition.
11271 * sysdeps/powerpc/math-tests.h: New file.
11272 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11274 * math/test-snan.c (TEST_FUNC): Likewise.
11276 2013-03-30 David S. Miller <davem@davemloft.net>
11278 * po/de.po: Update from translation team.
11280 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11283 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11284 imaginary part less than 1.0 and real part less than 0.5
11286 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11287 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11288 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11289 (cacos_test): Add more tests.
11290 (casin_test): Likewise.
11291 (casinh_test): Likewise.
11292 * sysdeps/i386/fpu/libm-test-ulps: Update.
11293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11297 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11298 ONE with its value.
11300 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11301 (__pow_mp): Replace ONE and MONE with their values.
11302 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11304 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11305 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11306 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11307 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11309 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11311 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11312 (__pow_mp): Replace ZERO and MZERO with their values.
11313 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11314 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11315 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11317 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11318 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11321 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11323 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11325 2013-03-28 Roland McGrath <roland@hack.frob.com>
11327 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11328 Declare with __attribute__ ((weak)).
11329 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11330 Call __call_tls_dtors only if it's not NULL.
11332 2013-03-28 Roland McGrath <roland@hack.frob.com>
11334 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11335 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11336 magic __ehdr_start linker symbol if it's defined.
11337 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11338 them up here if it was already done.
11340 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11341 (_dl_aux_init): Use const in cast when setting it.
11342 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11343 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11344 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11346 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11348 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11349 * csu/libc-tls.c: Nor here.
11350 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11352 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11353 (__libc_message): Never call vsyslog.
11355 2013-03-28 Alan Modra <amodra@gmail.com>
11357 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11359 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11362 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11365 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11369 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11372 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11373 Don't add gid passed as argument.
11375 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11377 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11380 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11381 imaginary part between 1.0 and 1.5 and real part less than 0.5
11383 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11384 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11385 * math/libm-test.inc (cacos_test): Add more tests.
11386 (casin_test): Likewise.
11387 (casinh_test): Likewise.
11388 * sysdeps/i386/fpu/libm-test-ulps: Update.
11389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11391 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11393 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11396 (denorm): Likewise.
11397 (__dbl_mp): Likewise.
11398 (add_magnitudes): Likewise.
11399 (sub_magnitudes): Likewise.
11407 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11409 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11410 (__dubcos): Likewise.
11411 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11412 (__ieee754_acos): Likewise.
11413 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11414 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11415 (__exp1): Likewise.
11416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11419 (my_log2): Likewise.
11420 (checkint): Likewise.
11421 * sysdeps/ieee754/dbl-64/e_remainder.c
11422 (__ieee754_remainder): Likewise.
11423 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11424 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11425 (bsloww): Likewise.
11426 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11428 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11429 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11430 MANTISSA_STORE_T to store computations on mantissa. Use
11431 macros for rounding and division.
11432 (denorm): Likewise.
11433 (__dbl_mp): Likewise.
11434 (add_magnitudes): Likewise.
11435 (sub_magnitudes): Likewise.
11438 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11439 powers of two in terms of TWOPOW macro.
11440 (mp_no): Make type of mantissa as MANTISSA_T.
11441 [!RADIXI]: Define RADIXI.
11442 [!TWO52]: Define TWO52.
11443 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11445 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11447 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11448 llroundl symbol when building for PPC32.
11450 2013-03-24 Mark H Weaver <mhw@netris.org>
11452 * manual/arith.texi (Normalization Functions): Fix prototypes for
11453 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11455 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11459 high value to check if expl overflow.
11460 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11461 to check for underflow and overflow.
11462 * math/libm-test.inc: Add exp test.
11464 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11467 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11470 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11472 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11475 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11477 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11478 wrap blocks consisting of several statements.
11480 * sysdeps/generic/math-tests.h: New file.
11481 * sysdeps/i386/fpu/math-tests.h: Likewise.
11482 * math/test-snan.c: Include it.
11483 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11485 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11488 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11489 (__ieee754_j0l): Do not improve calculations using cos of twice
11490 input for inputs above LDBL_MAX / 2.0L.
11491 (__ieee754_y0l): Likewise.
11492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11493 (__ieee754_j1l): Do not improve calculations using cos of twice
11494 input for inputs above LDBL_MAX / 2.0L.
11495 (__ieee754_y1l): Likewise.
11496 * math/libm-test.inc (j0_test): Add another test.
11497 (j1_test): Likewise.
11498 (y0_test): Likewise.
11499 (y1_test): Likewise.
11500 * sysdeps/i386/fpu/libm-test-ulps: Update.
11502 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11504 * Rules ($(objpfx)bench-%.c): Include code from a C source
11507 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11510 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11511 imaginary part 1.0 and real part less than 0.5 specially.
11512 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11513 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11514 * math/libm-test.inc (cacos_test): Add more tests.
11515 (casin_test): Likewise.
11516 (casinh_test): Likewise.
11517 * sysdeps/i386/fpu/libm-test-ulps: Update.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11520 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11522 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11523 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11525 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11527 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11528 * config.make.in (config-cflags-sse4): Remove variable.
11529 (config-cflags-avx): Likewise.
11530 (config-cflags-sse2avx): Likewise.
11531 (config-cflags-novzeroupper): Likewise.
11532 (config-asflags-i686): Likewise.
11533 (have-mfma4): Likewise.
11534 (have-as-vis3): Likewise.
11536 * configure.in (MIG): Do not AC_SUBST.
11537 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11538 (libc_cv_cc_sse4): Do not AC_SUBST.
11539 (libc_cv_cc_avx): Likewise.
11540 (libc_cv_cc_sse2avx): Likewise.
11541 (libc_cv_cc_novzeroupper): Likewise.
11542 (libc_cv_cc_fma4): Likewise.
11543 (libc_cv_as_i686): Likewise.
11544 (libc_cv_sparc_as_vis3): Likewise.
11545 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11547 (config-asflags-i686): Likewise.
11548 (config-cflags-avx): Likewise.
11549 (config-cflags-sse2avx): Likewise.
11550 (have-mfma4): Likewise.
11551 (config-cflags-novzeroupper): Likewise.
11552 * sysdeps/mach/configure.in (MIG): Likewise.
11553 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11554 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11556 (config-cflags-avx): Likewise.
11557 (config-cflags-sse2avx): Likewise.
11558 (have-mfma4): Likewise.
11559 (config-cflags-novzeroupper): Likewise.
11560 * configure: Regenerated.
11561 * sysdeps/i386/configure: Likewise.
11562 * sysdeps/mach/configure: Likewise.
11563 * sysdeps/sparc/configure: Likewise.
11564 * sysdeps/x86_64/configure: Likewise.
11566 2013-03-20 Roland McGrath <roland@hack.frob.com>
11569 * locale/programs/localedef.c (options): Put N_ translation marker
11570 on argument names, not just descriptions.
11572 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11574 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11576 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11579 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11581 2013-03-19 Roland McGrath <roland@hack.frob.com>
11583 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11584 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11585 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11586 [!BEFORE_ABORT] (before_abort): New function.
11587 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11588 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11589 (writev_for_fatal): New function.
11590 (WRITEV_FOR_FATAL): New macro; call that.
11591 (backtrace_and_maps): New function.
11592 (BEFORE_ABORT): New macro; call that.
11593 (struct str_list): Type removed.
11594 (__libc_message, __libc_fatal): Functions removed.
11595 Include <sysdeps/posix/libc_fatal.c> instead.
11597 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11599 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11601 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11604 2013-03-19 Andreas Schwab <schwab@suse.de>
11606 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11607 * sysdeps/gnu/configure: Regenerate.
11609 * configure.in: Substitute libc_cv_rtlddir.
11610 * configure: Regenerate.
11611 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11612 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11613 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11614 * elf/Makefile (install-others, CFLAGS-interp.c)
11615 (ldso_install, common-ldd-rewrite): Likewise.
11616 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11617 $(inst_slibdir)/$(rtld-installed-name).
11618 * scripts/rellns-sh: Add -p option.
11619 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11622 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11624 * manual/nptl.texi: Renamed to ...
11625 * manual/threads.texi: ... this.
11626 * manual/Makefile (chapters): Update.
11628 2013-03-18 Roland McGrath <roland@hack.frob.com>
11631 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11632 on argument names, not just descriptions.
11633 * malloc/memusagestat.c (options): Likewise.
11634 * nss/getent.c (options): Likewise.
11636 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11639 * iconv/iconv_prog.c (options): Put N_ translation marker
11640 on argument names, not just descriptions.
11641 * iconv/iconvconfig.c (options): Likewise.
11643 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11645 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11646 implementation which is faster on all x86_64 architectures.
11647 Tested on AMD, Intel Nehalem, SNB, IVB.
11648 * sysdeps/x86_64/strnlen.S: Likewise.
11650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11651 Remove all multiarch strlen and strnlen versions.
11652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11653 Remove strlen and strnlen related parts.
11655 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11656 Inline strlen part.
11657 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11659 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11660 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11661 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11662 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11663 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11664 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11666 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11668 * manual/memory.texi (Malloc Tunable Parameters):
11669 Sort parameters alphabetically. Add comments for missing entries.
11671 2013-03-17 David S. Miller <davem@davemloft.net>
11673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11675 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11679 for arguments at most half maximum finite value.
11680 * math/libm-test.inc (j0_test): Add more tests.
11681 (j1_test): Likewise.
11682 (y0_test): Likewise.
11683 (y1_test): Likewise.
11684 * sysdeps/i386/fpu/libm-test-ulps: Update.
11685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11688 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11689 1 / x and functions P and Q for arguments above 0x1p256L.
11690 (__ieee754_y0l): Likewise.
11691 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11692 (__ieee754_y1l): Likewise.
11693 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11694 (j1_test): Likewise.
11695 (y0_test): Likewise.
11696 (y1_test): Likewise.
11698 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11700 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11703 2013-03-15 Roland McGrath <roland@hack.frob.com>
11705 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11706 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11707 zero since it's initialized to EXEC_PAGESIZE.
11709 * sysdeps/unix/sysv/linux/ldsodefs.h
11710 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11711 * sysdeps/generic/ldsodefs.h: ... here.
11713 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11715 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11717 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11719 * math/test-snan.c: Renamed from
11720 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11721 * math/Makefile (tests): Add test-snan.
11722 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11725 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11726 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11728 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11729 __builtin_nan family of functions.
11730 * math/libm-test.inc (initialize): Initialize qnan_value with
11731 __builtin_nan family of functions.
11732 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11734 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11736 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11737 storage class. Initialize qNaN_var and sNaN_var with
11738 __builtin_nan and __builtin_nans families of functions,
11741 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11742 (sqrt_test): Remove duplicate test with qNaN input.
11743 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11744 (round_test, signbit_test, significand_test): Note missing +/-Inf
11745 as well as qNaN tests.
11747 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11748 qNaN_var. Fix a few strings, too.
11749 * math/libm-test.inc (nan_value): Rename to qnan_value.
11750 * math/gen-libm-test.pl (%beautify): Adjust to that.
11751 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11752 * math/test-misc.c (main): Likewise.
11753 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11754 to __qnan_bytes, and __qnan_union, respectively.
11755 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11757 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11758 and lqnanval, respectively.
11759 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11760 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11761 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11762 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11764 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11765 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11768 * math/test-misc.c (main): Fix copy'n'pastos.
11769 * misc/tst-efgcvt.c (special): Likewise.
11771 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11772 Remove declarations.
11774 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11776 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11777 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11778 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11779 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11781 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11784 macro to return vdso values correctly in IFUNC implementations.
11785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11786 Optimization by using IFUNC.
11788 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11789 Richard Henderson <rth@redhat.com>
11790 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11792 * Makefile.in (bench): New target.
11793 * NEWS: Mention the benchmark framework.
11794 * Rules (bench): Likewise.
11795 (binaries-bench): Generate binaries for functions to
11797 * benchtests/Makefile: New makefile for benchmark tests.
11798 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11800 * benchtests/exp-inputs: New input file for EXP function.
11801 * benchtests/pow-inputs: New input file for POW function.
11802 * scripts/bench.pl: New script to generate source files for
11803 benchmark programs.
11805 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11807 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11808 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11809 computations on mantissa. Use macros for rounding and
11811 (denorm): Likewise.
11812 (__dbl_mp): Likewise.
11813 (add_magnitudes): Likewise.
11814 (sub_magnitudes): Likewise.
11817 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11818 powers of two in terms of TWOPOW macro.
11819 (mp_no): Make type of mantissa as MANTISSA_T.
11820 [!RADIXI]: Define RADIXI.
11821 [!TWO52]: Define TWO52.
11822 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11824 * manual/nptl.texi (cindex): Modify threads to pthreads.
11826 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11828 * sysdeps/x86_64/preconfigure: Regenerated.
11830 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11833 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11835 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11836 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11838 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11839 * math/libm-test.inc (j0_test): Do not allow one spurious
11840 underflow exception.
11841 (y1_test): Likewise.
11843 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11845 * manual/Makefile (chapters): Add nptl.
11846 * manual/debug.texi (Debugging Support): Add link to Threads
11848 * manual/nptl.texi: New file.
11850 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11852 2013-03-14 Petr Baudis <pasky@ucw.cz>
11854 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11855 for non-NULL pointer before the memory validity test. Pointed
11856 out by Holger Brunck <holger.brunck@keymile.com>.
11858 2013-03-13 Andreas Schwab <schwab@suse.de>
11860 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11863 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11865 * timezone/zic.c: Update from tzcode 2013b.
11867 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11869 * manual/install.texi (Configuring and compiling):
11870 Mention i686 and i586.
11871 * INSTALL: Regenerate.
11873 2013-03-12 Roland McGrath <roland@hack.frob.com>
11875 * sysdeps/init_array/elf-init.c: New file.
11877 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11878 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11880 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11881 __gmon_start__ as global, but as static with a .preinit_array pointer.
11882 * sysdeps/init_array/gmon-start.c: New file. Use that.
11883 * sysdeps/init_array/crti.S: New file, empty except for comments.
11884 * sysdeps/init_array/crtn.S: Likewise.
11886 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11888 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11891 Remove Prefer_SSE_for_memop.
11892 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11893 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11894 HAS_PREFER_SSE_FOR_MEMOP.
11895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11897 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11898 Remove bzero, memset ifunc support.
11899 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11900 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11901 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11902 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11904 2013-03-11 Andreas Schwab <schwab@suse.de>
11907 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11910 (GLIBC_2.16): Remove pthread_atfork.
11912 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11914 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11915 (ptestcases.h): Likewise.
11917 2013-03-08 Roland McGrath <roland@hack.frob.com>
11919 * Makeconfig ($(common-objpfx)config.status): Depend on
11920 sysdeps/*/preconfigure{,.in} too.
11922 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11924 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11925 (__free_hook): Use void * instead of __malloc_ptr_t.
11926 (__malloc_hook): Likewise.
11927 (__realloc_hook): Likewise.
11928 (__memalign_hook): Likewise.
11929 (__after_morecore_hook): Likewise.
11930 * malloc/arena.c (save_malloc_hook): Likewise.
11931 (save_free_hook): Likewise.
11932 * malloc/hooks.c (malloc_hook_ini): Likewise.
11933 (realloc_hook_ini): Likewise.
11934 (memalign_hook_ini): Likewise.
11935 * malloc/malloc.c (malloc_hook_ini): Likewise.
11936 (realloc_hook_ini): Likewise.
11937 (memalign_hook_ini): Likewise.
11938 (__free_hook): Likewise.
11939 (__malloc_hook): Likewise.
11940 (__realloc_hook): Likewise.
11941 (__memalign_hook): Likewise.
11942 (__libc_malloc): Likewise.
11943 (__libc_free): Likewise.
11944 (__libc_realloc): Likewise.
11945 (__libc_memalign): Likewise.
11946 (__libc_valloc): Likewise.
11947 (__libc_pvalloc): Likewise.
11948 (__libc_calloc): Likewise.
11949 (__posix_memalign): Likewise.
11950 * malloc/morecore.c (__sbrk): Likewise.
11951 (__default_morecore): Likewise.
11953 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11955 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11956 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11957 __malloc_ptrdiff_t.
11959 * malloc/malloc.h (__malloc_size_t): Remove macro.
11960 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11962 (old_memalign_hook): Likewise.
11963 (old_realloc_hook): Likewise.
11964 (struct hdr): Likewise.
11966 (mallochook): Likewise.
11967 (memalignhook): Likewise.
11968 (reallochook): Likewise.
11969 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11970 (tr_old_realloc_hook): Likewise.
11971 (tr_old_memalign_hook): Likewise.
11972 (tr_mallochook): Likewise.
11973 (tr_reallochook): Likewise.
11974 (tr_memalignhook): Likewise.
11976 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11978 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11979 default_ldbl_pack and using as default implementation.
11980 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11982 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11983 redundant definition.
11984 (ldbl_insert_mantissa): Likewise.
11985 (ldbl_canonicalize): Likewise.
11986 (ldbl_nearbyint): Likewise.
11987 (ldbl_pack): Rename to ldbl_pack_ppc.
11988 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11989 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11990 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11992 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11995 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11996 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11997 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11999 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12000 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12001 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12003 2013-03-07 Andreas Jaeger <aj@suse.de>
12005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12008 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12010 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12011 Include mpa.h and declare __MPEXP.
12012 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12013 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12014 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12015 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12016 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12017 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12018 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12020 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12021 (__slowpow): Use long double EXPL and LOGL functions to
12023 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12024 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12025 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12026 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12027 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12028 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12031 intermediate variable to calculate exponent.
12033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12037 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12038 [!NO__SQR]: Define __sqr.
12039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12040 and NO__SQR. Remove all code except __mul and __sqr. Include
12041 sysdeps/ieee754/dbl-64/mpa.c.
12042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12045 * posix/Makefile (tests): Add tst-pathconf.
12046 * posix/tst-pathconf.c: New test case.
12047 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12049 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12051 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12053 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12055 2013-03-06 Andreas Jaeger <aj@suse.de>
12057 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12058 definition via __MAP_ANONYMOUS.
12060 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12061 it's not part of Linux headers.
12063 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12064 (MAP_HUGE_MASK): Define.
12066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12068 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12069 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12071 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12072 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12074 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12075 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12079 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12080 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12081 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12082 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12083 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12084 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12089 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12090 Handle f2fs and efivarfs.
12092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12095 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12096 (EFIVARFS_MAGIC): Add.
12097 (F2FS_LINK_MAX): Add.
12099 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12101 * stdio-common/vfprintf.c: Replace __builtin_expect with
12104 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12107 * sysdeps/generic/bp-sym.h: Remove file.
12108 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12109 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (__longjmp): Don't use BP_SYM.
12112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12114 (memcpy): Don't use BP_SYM.
12115 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12116 <bp-sym.h> and <bp-asm.h>.
12117 (memcpy): Don't use BP_SYM.
12118 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12120 (memcpy): Don't use BP_SYM.
12121 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
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/power4/memcmp.S: Don't include
12130 <bp-sym.h> and <bp-asm.h>.
12131 (memcmp): Don't use BP_SYM. Remove comment about bounded
12133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12134 <bp-sym.h> and <bp-asm.h>.
12135 (memcpy): Don't use BP_SYM.
12136 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12137 <bp-sym.h> and <bp-asm.h>.
12138 (memset): Don't use BP_SYM.
12139 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12140 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12141 (__bzero): Don't use BP_SYM.
12142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12144 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12145 <bp-sym.h> and <bp-asm.h>.
12146 (strncmp): Don't use BP_SYM. Remove comment about bounded
12148 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12149 <bp-sym.h> and <bp-asm.h>.
12150 (memcpy): Don't use BP_SYM.
12151 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12152 <bp-sym.h> and <bp-asm.h>.
12153 (memset): Don't use BP_SYM.
12154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12156 (__bzero): Don't use BP_SYM.
12157 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12158 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12159 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12160 <bp-sym.h> and <bp-asm.h>.
12161 (__memchr): Don't use BP_SYM.
12162 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12163 <bp-sym.h> and <bp-asm.h>.
12164 (memcmp): Don't use BP_SYM. Remove comment about bounded
12166 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12167 <bp-sym.h> and <bp-asm.h>.
12168 (memcpy): Don't use BP_SYM.
12169 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12170 <bp-sym.h> and <bp-asm.h>.
12171 (__mempcpy): Don't use BP_SYM.
12172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12173 <bp-sym.h> and <bp-asm.h>.
12174 (__memrchr): Don't use BP_SYM.
12175 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12176 <bp-sym.h> and <bp-asm.h>.
12177 (memset): Don't use BP_SYM.
12178 (__bzero): Likewise.
12179 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12180 <bp-sym.h> and <bp-asm.h>.
12181 (__rawmemchr): Don't use BP_SYM.
12182 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12183 <bp-sym.h> and <bp-asm.h>.
12184 (__STRCMP): Don't use BP_SYM.
12185 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12186 <bp-sym.h> and <bp-asm.h>.
12187 (strchr): Don't use BP_SYM.
12188 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12189 <bp-sym.h> and <bp-asm.h>.
12190 (__strchrnul): Don't use BP_SYM.
12191 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12192 <bp-sym.h> and <bp-asm.h>.
12193 (strlen): Don't use BP_SYM.
12194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12195 <bp-sym.h> and <bp-asm.h>.
12196 (strncmp): Don't use BP_SYM. Remove comment about bounded
12198 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12199 <bp-sym.h> and <bp-asm.h>.
12200 (__strnlen): Don't use BP_SYM.
12201 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12202 <bp-sym.h> and <bp-asm.h>.
12203 (__GI__setjmp): Don't use BP_SYM.
12204 (_setjmp): Likewise.
12205 (__sigsetjmp): Likewise.
12206 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12207 (L(start_addresses)): Don't use BP_SYM.
12208 (_start): Likewise.
12209 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12211 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12212 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12213 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12214 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12215 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12217 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12218 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12219 about bounded pointers.
12220 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12221 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12222 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12224 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12225 about bounded pointers. Remove GKM FIXME comments.
12226 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12227 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12229 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12230 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12231 Remove GKM FIXME comments.
12232 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12233 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12234 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12236 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12237 about bounded pointers. Remove GKM FIXME comment.
12238 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12240 (strncmp): Don't use BP_SYM. Remove comment about bounded
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12243 <bp-sym.h> and <bp-asm.h>.
12244 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12246 <bp-sym.h> and <bp-asm.h>.
12247 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12250 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12252 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12255 2013-03-05 David S. Miller <davem@davemloft.net>
12257 * po/es.po: Update from translation team.
12259 2013-03-05 Andreas Jaeger <aj@suse.de>
12261 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12262 <bits/mman-linux.h>.
12263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12265 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12266 <bits/mman-linux.h> to end of file.
12267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12269 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12270 <bits/mman-linux.h> to end of file.
12271 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12274 <bits/mman-linux.h> to end of file.
12276 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12277 (MCL_CURRENT, MCL_FUTURE): Define here.
12279 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12282 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12286 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12288 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12289 fourth parameter needed for rt_sigprocmask syscall.
12290 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12291 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12292 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12293 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12294 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12295 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12297 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12300 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12301 comment about bounded pointers.
12302 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12303 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12305 2013-03-04 Andreas Jaeger <aj@suse.de>
12307 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12308 common definitions.
12310 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12311 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12312 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12313 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12314 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12315 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12317 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12321 __ieee754_sqrl instead of __sqrl.
12323 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12325 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12326 * sysdeps/powerpc/fpu_control.h: ... here.
12327 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12328 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12329 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12330 * sysdeps/powerpc/bits/mathinline.h: ... here.
12332 2013-03-01 Roland McGrath <roland@hack.frob.com>
12334 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12335 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12336 to just [NEED_DL_SYSINFO_DSO].
12337 * elf/dl-support.c: Likewise.
12338 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12339 * elf/rtld.c (dl_main): Likewise.
12340 * elf/setup-vdso.h (setup_vdso): Likewise.
12341 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12342 * sysdeps/unix/sysv/linux/dl-sysdep.c
12343 (_dl_discover_osversion): Likewise.
12345 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12347 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12348 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12350 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12352 * NEWS: Mention libm performance improvements and non-x86 PI
12355 * csu/libc-start.c (__pthread_initialize_minimal): Change
12356 function arguments.
12357 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12359 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12362 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12363 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12364 <bp-sym.h> and <bp-asm.h>.
12365 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12366 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12368 (memcpy): Don't use BP_SYM.
12369 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12371 (__mpn_add_n): Don't use BP_SYM.
12372 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12373 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12375 (__mpn_addmul_1): Don't use BP_SYM.
12376 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12377 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12379 (_setjmp): Don't use BP_SYM.
12380 (__novmx_setjmp): Likewise.
12381 (__GI__setjmp): Likewise.
12382 (__vmx_setjmp): Likewise.
12383 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12385 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12386 (__bzero): Don't use BP_SYM.
12387 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12388 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12389 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12390 <bp-sym.h> and <bp-asm.h>.
12391 (memcpy): Don't use BP_SYM.
12392 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12393 <bp-sym.h> and <bp-asm.h>.
12394 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12395 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12396 <bp-sym.h> and <bp-asm.h>.
12397 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12398 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12400 (__mpn_lshift): Don't use BP_SYM.
12401 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12402 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12404 (memset): Don't use BP_SYM.
12405 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12406 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12407 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12409 (__mpn_mul_1): Don't use BP_SYM.
12410 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12411 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12412 <bp-sym.h> and <bp-asm.h>.
12413 (memcmp): Don't use BP_SYM.
12414 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12415 <bp-sym.h> and <bp-asm.h>.
12416 (memcpy): Don't use BP_SYM.
12417 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12418 <bp-sym.h> and <bp-asm.h>.
12419 (memset): Don't use BP_SYM.
12420 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12421 <bp-sym.h> and <bp-asm.h>.
12422 (strncmp): Don't use BP_SYM.
12423 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12424 <bp-sym.h> and <bp-asm.h>.
12425 (memcpy): Don't use BP_SYM.
12426 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12427 <bp-sym.h> and <bp-asm.h>.
12428 (memset): Don't use BP_SYM.
12429 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12430 <bp-sym.h> and <bp-asm.h>.
12431 (__memchr): Don't use BP_SYM.
12432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12433 <bp-sym.h> and <bp-asm.h>.
12434 (memcmp): Don't use BP_SYM.
12435 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12436 <bp-sym.h> and <bp-asm.h>.
12437 (memcpy): Don't use BP_SYM.
12438 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12439 <bp-sym.h> and <bp-asm.h>.
12440 (__mempcpy): Don't use BP_SYM.
12441 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12442 <bp-sym.h> and <bp-asm.h>.
12443 (__memrchr): Don't use BP_SYM.
12444 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12445 <bp-sym.h> and <bp-asm.h>.
12446 (memset): Don't use BP_SYM.
12447 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12448 <bp-sym.h> and <bp-asm.h>.
12449 (__rawmemchr): Don't use BP_SYM.
12450 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12451 <bp-sym.h> and <bp-asm.h>.
12452 (__STRCMP): Don't use BP_SYM.
12453 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12454 <bp-sym.h> and <bp-asm.h>.
12455 (strchr): Don't use BP_SYM.
12456 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12457 <bp-sym.h> and <bp-asm.h>.
12458 (__strchrnul): Don't use BP_SYM.
12459 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12460 <bp-sym.h> and <bp-asm.h>.
12461 (strlen): Don't use BP_SYM.
12462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12463 <bp-sym.h> and <bp-asm.h>.
12464 (strncmp): Don't use BP_SYM.
12465 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12466 <bp-sym.h> and <bp-asm.h>.
12467 (__strnlen): Don't use BP_SYM.
12468 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12470 (__mpn_rshift): Don't use BP_SYM.
12471 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12472 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12473 <bp-sym.h> and <bp-asm.h>.
12474 (__sigsetjmp): Don't use BP_SYM.
12475 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12476 (L(start_addresses)): Don't use BP_SYM.
12477 (_start): Likewise.
12478 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12480 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12481 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12482 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12483 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12485 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12486 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12487 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12488 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12490 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12492 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12493 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12495 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12497 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12498 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12499 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12501 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12503 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12505 (strncmp): Don't use BP_SYM,
12506 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12508 (__mpn_sub_n): Don't use BP_SYM.
12509 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12510 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12512 (__mpn_submul_1): Don't use BP_SYM.
12513 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12515 <bp-sym.h> and <bp-asm.h>.
12516 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12518 <bp-sym.h> and <bp-asm.h>.
12519 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12522 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12525 Use ZK to minimize writes to Z.
12526 (sub_magnitudes): Simplify code a bit.
12527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12528 Use ZK to minimize writes to Z.
12529 (sub_magnitudes): Simplify code a bit.
12531 2013-02-27 Roland McGrath <roland@hack.frob.com>
12533 * csu/gmon-start.c: Add special exception to license text.
12535 2013-02-27 Richard Henderson <rth@redhat.com>
12537 * scripts/config.guess: Update from config.git.
12538 * scripts/config.sub: Likewise.
12540 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12542 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12544 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12546 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12548 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12550 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12552 2013-02-26 Roland McGrath <roland@hack.frob.com>
12554 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12555 [$(build-shared = yes].
12557 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12559 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12560 (__mul): Reduce iterations for calculating mantissa.
12562 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12564 (__mpranred): Likewise.
12567 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12568 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12570 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12572 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12573 Define __attribute__.
12575 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12577 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12579 * posix/regex_internal.h (__attribute): Remove.
12580 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12581 (re_string_context_at): Likewise.
12582 (bitset_not): Use __attribute__ and mark function as possibly
12584 (bitset_merge): Likewise.
12585 (bitset_mask): Likewise.
12586 (re_string_char_size_at): Likewise.
12587 (re_string_wchar_at): Likewise.
12588 (re_string_elem_size_at): Likewise.
12590 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12592 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12596 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12600 (denorm): Likewise.
12601 (__dbl_mp): Likewise.
12602 (add_magnitudes): Likewise.
12603 (sub_magnitudes): Likewise.
12607 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12610 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12613 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12617 up changes with default code.
12618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12621 2013-02-24 Allan McRae <allan@archlinux.org>
12623 * manual/socket.texi (The Internet Namespace): Order menu items
12624 to match that in the file.
12626 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12627 node listing of the info page menu.
12629 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12632 * sysdeps/i386/bp-asm.h: Remove file.
12633 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12634 (PARMS): Do not use macros from bp-asm.h.
12638 (__mpn_add_n): Do not use BP_SYM
12639 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12641 (PARMS): Do not use macros from bp-asm.h.
12644 (__mpn_addmul_1): Do not use BP_SYM
12645 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12647 (PARMS): Do not use macros from bp-asm.h.
12648 (SIGMSK): Likewise.
12649 (_setjmp): Likewise. Do not use BP_SYM.
12650 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12652 (PARMS): Do not use macros from bp-asm.h.
12653 (SIGMSK): Likewise.
12654 (setjmp): Likewise. Do not use BP_SYM.
12655 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12657 (PARMS): Do not use macros from bp-asm.h.
12658 (__frexp): Do not use BP_SYM.
12660 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12662 (PARMS): Do not use macros from bp-asm.h.
12663 (__frexpf): Do not use BP_SYM.
12664 (frexpf): Likewise.
12665 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12667 (PARMS): Do not use macros from bp-asm.h.
12668 (__frexpl): Do not use BP_SYM.
12669 (frexpl): Likewise.
12670 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12672 (PARMS): Do not use macros from bp-asm.h.
12673 (__remquo): Do not use BP_SYM.
12674 (remquo): Likewise.
12675 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12677 (PARMS): Do not use macros from bp-asm.h.
12678 (__remquof): Do not use BP_SYM.
12679 (remquof): Likewise.
12680 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12682 (PARMS): Do not use macros from bp-asm.h.
12683 (__remquol): Do not use BP_SYM.
12684 (remquol): Likewise.
12685 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12687 (PARMS): Do not use macros from bp-asm.h.
12690 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12691 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12693 (PARMS): Do not use macros from bp-asm.h.
12694 (strlen): Do not use BP_SYM.
12695 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12697 (PARMS): Do not use macros from bp-asm.h.
12701 (__mpn_add_n): Do not use BP_SYM.
12702 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12704 (PARMS): Do not use macros from bp-asm.h.
12707 (__mpn_addmul_1): Do not use BP_SYM.
12708 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12711 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12713 (PARMS): Do not use macros from bp-asm.h.
12716 (__mpn_lshift): Do not use BP_SYM.
12717 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12719 (PARMS): Do not use macros from bp-asm.h.
12723 (memcpy): Likewise. Do not use BP_SYM.
12724 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12725 libc_hidden_def and weak_alias.
12726 (mempcpy): Do not use BP_SYM in weak_alias.
12727 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12729 (PARMS): Do not use macros from bp-asm.h.
12732 [!BZERO_P] (CHR): Likewise.
12733 (memset): Likewise. Do not use BP_SYM.
12734 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12736 (PARMS): Do not use macros from bp-asm.h.
12739 (__mpn_mul_1): Do not use BP_SYM.
12740 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12742 (PARMS): Do not use macros from bp-asm.h.
12745 (__mpn_rshift): Do not use BP_SYM.
12746 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12748 (PARMS): Do not use macros from bp-asm.h.
12751 (strchr): Likewise. Do not use BP_SYM.
12752 (index): Do not use BP_SYM in weak_alias.
12753 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12755 (PARMS): Do not use macros from bp-asm.h.
12758 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12759 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12761 (PARMS): Do not use macros from bp-asm.h.
12762 (strlen): Do not use BP_SYM.
12763 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12765 (PARMS): Do not use macros from bp-asm.h.
12769 (__mpn_sub_n): Do not use BP_SYM.
12770 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12772 (PARMS): Do not use macros from bp-asm.h.
12775 (__mpn_submul_1): Do not use BP_SYM.
12776 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12778 (PARMS): Do not use macros from bp-asm.h.
12782 (__mpn_add_n): Do not use BP_SYM.
12783 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12786 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12788 (PARMS): Do not use macros from bp-asm.h.
12791 (memcmp): Do not use BP_SYM.
12792 (bcmp): Do not use BP_SYM in weak_alias.
12793 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12795 (PARMS): Do not use macros from bp-asm.h.
12799 (memcpy): Likewise. Do not use BP_SYM.
12800 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12802 (PARMS): Do not use macros from bp-asm.h.
12806 (memmove): Likewise. Do not use BP_SYM.
12807 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12809 (PARMS): Do not use macros from bp-asm.h.
12813 (__mempcpy): Likewise. Do not use BP_SYM.
12814 (mempcpy): Do not use BP_SYM in weak_alias.
12815 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12817 (PARMS): Do not use macros from bp-asm.h.
12820 [!BZERO_P] (CHR): Likewise.
12821 (memset): Likewise. Do not use BP_SYM.
12822 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12824 (PARMS): Do not use macros from bp-asm.h.
12826 (strcmp): Do not use BP_SYM.
12827 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12829 (PARMS): Do not use macros from bp-asm.h.
12832 [USE_AS_STRTOK_R] (SAVE): Likewise.
12833 (FUNCTION): Likewise. Do not use BP_SYM.
12834 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12836 (strtok_r): Likewise.
12837 (__GI___strtok_r): Likewise.
12838 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12839 (PARMS): Do not use macros from bp-asm.h.
12842 (__mpn_lshift): Do not use BP_SYM.
12843 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12844 (PARMS): Do not use macros from bp-asm.h.
12847 (__memchr): Do not use BP_SYM.
12848 (memchr): Do not use BP_SYM in weak_alias.
12849 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12850 (PARMS): Do not use macros from bp-asm.h.
12853 (memcmp): Do not use BP_SYM.
12854 (bcmp): Do not use BP_SYM in weak_alias.
12855 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12856 (PARMS): Do not use macros from bp-asm.h.
12859 (__mpn_mul_1): Do not use BP_SYM.
12860 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12862 (PARMS): Do not use macros from bp-asm.h.
12865 (__rawmemchr): Do not use BP_SYM.
12866 (rawmemchr): Do not use BP_SYM in weak_alias.
12867 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12868 (PARMS): Do not use macros from bp-asm.h.
12871 (__mpn_rshift): Do not use BP_SYM.
12872 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12873 (PARMS): Do not use macros from bp-asm.h.
12874 (SIGMSK): Likewise.
12875 (__sigsetjmp): Likewise. Do not use BP_SYM.
12876 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12877 (_start): Do not use BP_SYM.
12878 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12879 (PARMS): Do not use macros from bp-asm.h.
12882 (__stpcpy): Likewise. Do not use BP_SYM.
12883 (stpcpy): Do not use BP_SYM in weak_alias.
12884 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12886 (PARMS): Do not use macros from bp-asm.h.
12890 (__stpncpy): Likewise. Do not use BP_SYM.
12891 (stpncpy): Do not use BP_SYM in weak_alias.
12892 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12893 (PARMS): Do not use macros from bp-asm.h.
12896 (strchr): Likewise. Do not use BP_SYM.
12897 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12899 (PARMS): Do not use macros from bp-asm.h.
12902 (__strchrnul): Likewise. Do not use BP_SYM.
12903 (strchrnul): Do not use BP_SYM in weak_alias.
12904 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12906 (PARMS): Do not use macros from bp-asm.h.
12908 (strcspn): Do not use BP_SYM.
12909 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12911 (PARMS): Do not use macros from bp-asm.h.
12914 (strpbrk): Likewise. Do not use BP_SYM.
12915 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12917 (PARMS): Do not use macros from bp-asm.h.
12920 (strrchr): Likewise. Do not use BP_SYM.
12921 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12922 (PARMS): Do not use macros from bp-asm.h.
12924 (strspn): Do not use BP_SYM.
12925 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12926 (PARMS): Do not use macros from bp-asm.h.
12930 (FUNCTION): Likewise. Do not use BP_SYM.
12931 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12933 (strtok_r): Likewise.
12934 (__GI___strtok_r): Likewise.
12935 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12936 (PARMS): Do not use macros from bp-asm.h.
12940 (__mpn_sub_n): Do not use BP_SYM.
12941 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12943 (PARMS): Do not use macros from bp-asm.h.
12946 (__mpn_submul_1): Do not use BP_SYM.
12947 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12949 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12951 (PARMS): Do not use macros from bp-asm.h.
12956 (__clone): Do not use BP_SYM.
12957 (clone): Do not use BP_SYM in weak_alias.
12958 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12960 (PARMS): Do not use macros from bp-asm.h.
12962 (__mmap64): Do not use BP_SYM.
12963 (mmap64): Do not use BP_SYM in weak_alias.
12964 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12965 <bp-sym.h> and <bp-asm.h>.
12966 (PARMS): Do not use macros from bp-asm.h.
12967 (__posix_fadvise64_l64): Do not use BP_SYM.
12968 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12969 (PARMS): Do not use macros from bp-asm.h.
12971 (semtimedop): Do not use BP_SYM.
12972 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12975 2013-02-21 Allan McRae <allan@archlinux.org>
12977 * manual/message.texi (Charset conversion in gettext):
12978 Move @end statement to beginning of line.
12980 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12987 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12988 (denorm): Likewise.
12989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12992 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12994 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12995 tail-call to the resolved function if pltexit isn't needed.
12997 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13000 or Y being zero as being unlikely.
13001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13004 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13006 * manual/nss.texi (System Databases and Name Service Switch):
13007 Remove frobnicate @pxref.
13009 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13011 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13012 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13014 2013-02-20 Petr Machata <pmachata@redhat.com>
13016 * elf/elf.h (R_ARM_TARGET1): New macro.
13017 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13018 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13019 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13020 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13021 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13022 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13023 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13024 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13025 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13026 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13027 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13028 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13029 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13030 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13031 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13032 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13033 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13034 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13035 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13036 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13037 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13038 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13039 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13040 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13041 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13042 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13043 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13044 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13045 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13046 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13047 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13048 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13049 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13050 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13051 (R_ARM_THM_GOT_BREL12): Likewise.
13052 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13053 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13054 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13055 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13056 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13057 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13058 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13059 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13060 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13062 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13064 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13065 __attribute_used__ to __attribute__ ((unused)).
13067 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13069 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13072 comment formatting.
13073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13075 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13078 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13080 (ENTER): Remove both macro definitions.
13082 (CHECK_BOUNDS_LOW): Likewise.
13083 (CHECK_BOUNDS_HIGH): Likewise.
13084 (CHECK_BOUNDS_BOTH): Likewise.
13085 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13086 (RETURN_BOUNDED_POINTER): Likewise.
13087 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13088 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13089 (POP_ERRNO_LOCATION_RETURN): Likewise.
13090 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13091 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13092 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13095 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13096 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13097 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13098 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13099 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13100 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13101 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13102 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13103 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13104 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13105 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13106 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13107 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13109 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13110 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13112 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13113 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13114 * sysdeps/i386/i586/memset.S (memset): Likewise.
13115 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13116 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13117 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13119 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13120 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13121 Change uses of L(2) to L(out).
13122 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13123 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13124 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13125 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13126 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13128 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13129 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13131 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13132 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13133 (RETURN): Do not use macro LEAVE.
13134 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13135 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13136 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13137 * sysdeps/i386/i686/memset.S (memset): Likewise.
13138 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13139 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13140 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13141 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13143 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13144 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13145 L(1_2) and L(1_3) into L(1).
13146 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13147 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13148 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13149 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13150 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13151 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13152 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13153 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13154 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13156 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13157 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13158 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13159 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13160 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13161 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13162 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13163 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13164 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13165 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13166 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13167 * sysdeps/i386/strspn.S (strspn): Likewise.
13168 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13170 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13171 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13172 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13173 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13174 L(1_3) into L(1_1).
13175 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13176 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13177 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13179 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13181 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13183 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13186 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13188 * math/atest-exp.c (exp_mpn): Remove ROUND.
13189 * math/atest-exp2.c (exp_mpn): Likewise.
13190 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13192 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13193 * stdlib/tst-tls-atexit-lib.c: Likewise.
13194 * stdlib/tst-tls-atexit.c: Likewise.
13196 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13198 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13199 and __attribute_alloc_size__.
13201 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13203 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13204 __attribute_alloc_size__.
13205 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13206 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13208 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13210 * include/programs/xmalloc.h: New file.
13211 * catgets/gencat.c: Include it.
13212 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13213 * elf/pldd.c: Likewise.
13214 * iconv/iconv_charmap.c: Likewise.
13215 * iconv/iconvconfig.c: Likewise.
13216 * iconv/strtab.c: Likewise.
13217 * locale/programs/locale.c: Likewise.
13218 * locale/programs/localedef.h: Likewise.
13219 * locale/programs/simple-hash.c: Likewise.
13220 * nscd/nscd.h: Likewise.
13221 * nss/makedb.c: Likewise.
13222 * sysdeps/generic/ldconfig.h: Likewise.
13224 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13226 * Versions.def: Add GLIBC_2.18.
13227 * include/link.h (struct link_map): New member l_tls_dtor_count.
13228 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13229 (__call_tls_dtors): Likewise.
13230 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13231 __cxa_thread_atexit_impl.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13248 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13249 (tests): Add test case tst-tls-atexit.
13250 (modules-names): Add shared library for tst-tls-atexit.
13251 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13252 (GLIBC_PRIVATE): Add __call_tls_dtors.
13253 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13255 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13256 * stdlib/tst-tls-atexit.c: New test case.
13257 * stdlib/tst-tls-atexit-lib.c: New test case.
13259 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13261 * elf/Versions (ld): Add _dl_find_dso_for_object.
13262 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13263 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13264 (dl_open_worker): Use _dl_find_dso_for_object.
13265 * elf/dl-sym.c (do_sym): Likewise.
13266 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13268 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13270 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13271 Syntactic changes only.
13272 (_dl_runtime_profile): Do a tail-call to the resolved function.
13274 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13277 * sysdeps/x86_64/bp-asm.h: Remove file.
13278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13279 <bp-sym.h> and <bp-asm.h>.
13280 (__clone): Do not use BP_SYM.
13281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13282 <bp-sym.h> and <bp-asm.h>.
13283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13284 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13286 (_setjmp): Do not use BP_SYM.
13287 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13289 (setjmp): Do not use BP_SYM.
13290 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13292 (mempcpy): Do not use BP_SYM in weak_alias.
13293 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13295 (strchr): Do not use BP_SYM.
13296 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13298 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13299 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13300 (_start): Do not use BP_SYM.
13301 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13303 (strcat): Do not use BP_SYM.
13304 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13306 (STRCMP): Do not use BP_SYM.
13307 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13309 (STRCPY): Do not use BP_SYM.
13310 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13312 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13314 (FUNCTION): Do not use BP_SYM.
13315 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13317 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13319 2013-02-17 Andreas Jaeger <aj@suse.de>
13321 * time/Versions: Sort entries.
13322 * string/Versions: Likewise.
13323 * resolv/Versions: Likewise.
13324 * posix/Versions: Likewise.
13325 * iconv/Versions: Likewise.
13326 * elf/Versions: Likewise.
13327 * wcsmbs/Versions: Likewise.
13329 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13331 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13332 loop termination condition.
13334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13335 variable to calculate EZ.
13338 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13339 the lower precision input.
13341 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13344 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13345 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13346 (run-via-rtld-prefix): Do not handle %-bp tests.
13347 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13348 (all-object-suffixes): Remove .ob.
13349 (bppfx): Remove variable.
13350 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13351 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13352 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13353 [$(build-bounded) = yes] (libtype.ob): Likewise.
13354 * Makerules (elide-routines.ob): Remove variable.
13355 (do-tests-clean): Do not handle *-bp.out.
13356 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13357 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13358 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13359 (tests): Do not include $(tests-bp.out).
13360 (xtests): Do not include $(xtests-bp.out).
13361 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13362 [$(build-bounded) = yes] ($(addprefix
13363 $(objpfx),$(binaries-bounded))): Remove rule.
13364 ($(objpfx)%-bp.out): Remove rule.
13365 * config.make.in (build-bounded): Remove variable.
13366 * crypt/Makefile [$(build-bounded) = yes]
13367 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13368 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13369 append to variable.
13370 [$(build-bounded) = yes] (install-lib): Likewise.
13371 [$(build-bounded) = yes] (generated): Likewise.
13372 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13374 * intl/Makefile [$(build-bounded) = yes]
13375 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13376 * math/Makefile [$(build-bounded) = yes]
13377 ($(tests:%=$(objpfx)%-bp): Likewise.
13378 * misc/Makefile [$(build-bounded) = yes]
13379 ($(objpfx)tst-tsearch-bp): Likewise.
13380 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13381 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13383 * string/Makefile (o-objects.ob): Remove variable.
13384 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13385 (CFLAGS-.ob): Remove variable.
13386 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13387 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13388 both definitions of variable.
13389 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13390 (ASFLAGS-.ob): Remove variable.
13392 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13395 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13396 Remove __BOUNDED_POINTERS__ from condition.
13397 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13398 * string/bits/string2.h [!__NO_STRING_INLINES &&
13399 !__BOUNDED_POINTERS__]: Likewise.
13400 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13402 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13403 Remove conditional code.
13404 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13405 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13406 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13410 * csu/libc-start.c: Do not include <bp-sym.h>.
13411 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13412 * elf/dl-open.c: Do not include <bp-sym.h>.
13413 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13414 * math/fegetenv.c: Do not include <bp-sym.h>.
13415 (fegetenv): Do not use BP_SYM in versioned symbols.
13416 * nptl/sysdeps/pthread/bits/libc-lockP.h
13417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13420 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13422 (__pthread_mutex_destroy): Likewise.
13423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13424 (__pthread_mutex_lock): Likewise.
13425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13426 (__pthread_mutex_trylock): Likewise.
13427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13428 (__pthread_mutex_unlock): Likewise.
13429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13430 (__pthread_mutexattr_init): Likewise.
13431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13432 (__pthread_mutexattr_destroy): Likewise.
13433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13434 (__pthread_mutexattr_settype): Likewise.
13435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13436 (__pthread_rwlock_init): Likewise.
13437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13438 (__pthread_rwlock_destroy): Likewise.
13439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13440 (__pthread_rwlock_rdlock): Likewise.
13441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13442 (__pthread_rwlock_tryrdlock): Likewise.
13443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13444 (__pthread_rwlock_wrlock): Likewise.
13445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13446 (__pthread_rwlock_trywrlock): Likewise.
13447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13448 (__pthread_rwlock_unlock): Likewise.
13449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13450 (__pthread_key_create): Likewise.
13451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13452 (__pthread_setspecific): Likewise.
13453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13454 (__pthread_getspecific): Likewise.
13455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13458 (_pthread_cleanup_push_defer): Likewise.
13459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13460 (_pthread_cleanup_pop_restore): Likewise.
13461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13462 (pthread_setcancelstate): Likewise.
13463 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13465 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13466 (memchr): Do not use BP_SYM in weak_alias.
13467 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13468 (fegetenv): Do not use BP_SYM in versioned symbols.
13469 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13470 (fesetenv): Do not use BP_SYM in versioned symbols.
13471 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13472 (feupdateenv): Do not use BP_SYM in versioned symbols.
13473 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13474 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13475 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13476 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13477 (open64): Do not use BP_SYM in weak_alias.
13478 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13479 (fegetenv): Do not use BP_SYM in versioned symbols.
13480 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13481 (fesetenv): Do not use BP_SYM in versioned symbols.
13482 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13483 (feupdateenv): Do not use BP_SYM in versioned symbols.
13484 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13485 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13486 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13487 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13488 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13489 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13490 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13492 (__libc_start_main): Do not use BP_SYM.
13494 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13497 redundant return line.
13499 (denorm): Likewise.
13500 (dbl_mp): Likewise.
13501 (sub_magnitudes): Likewise.
13507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13509 (denorm): Likewise.
13510 (dbl_mp): Likewise.
13511 (sub_magnitudes): Likewise.
13518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13520 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13521 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13524 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13525 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13527 of __mul for squares.
13528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13532 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13533 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13535 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13538 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13540 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13541 prototype or function definition. Rename ubp_* variables and
13542 parameters. Remove argv definitions conditional on
13543 [__BOUNDED_POINTERS__].
13544 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13545 * elf/dl-runtime.c (_dl_fixup): Likewise.
13546 * include/set-hooks.h (RUN_HOOK): Likewise.
13547 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13549 * string/strcpy.c (strcpy): Do not use __unbounded.
13550 * sysdeps/generic/frame.h (struct layout): Likewise.
13551 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13552 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13553 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13554 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13555 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13556 (__backtrace): Likewise.
13557 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13559 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13560 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13561 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13563 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13564 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13565 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13566 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13567 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13568 Do not use __unbounded.
13569 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13570 Rename __unboundedrlimits parameter to rlimits in prototype.
13571 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13572 Do not use __unbounded.
13573 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13574 not use __ptrvalue.
13575 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13576 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13577 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13578 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13579 __ptrvalue or __unbounded.
13580 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13581 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13583 (__new_msgctl): Do not use __ptrvalue.
13584 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13586 (__libc_msgrcv): Do not use __ptrvalue.
13587 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13588 startup_info): Do not use __unbounded.
13589 (__libc_start_main): Likewise. Rename ubp_* variables and
13590 parameters. Remove argv definitions conditional on
13591 [__BOUNDED_POINTERS__].
13592 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13594 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13596 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13598 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13600 (__new_shmctl): Do not use __ptrvalue.
13601 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13602 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13604 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13606 (__libc_sigaction): Likewise.
13607 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13608 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13610 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13612 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13614 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13616 * string/mempcpy.c: Implement by calling memcpy.
13618 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13625 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13626 values in the mantissa.
13628 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13629 minimize writes to Z.
13630 (sub_magnitudes): Simplify code a bit.
13632 2013-02-12 Roland McGrath <roland@hack.frob.com>
13634 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13635 from the message. The linker prefixes all warnings with that already.
13637 2013-02-12 Andreas Schwab <schwab@suse.de>
13640 * posix/regexec.c (extend_buffers): Add parameter min_len.
13641 (check_matching): Pass minimum needed length.
13642 (clean_state_log_if_needed): Likewise.
13643 (get_subexp): Likewise.
13644 * posix/Makefile (tests): Add bug-regex34.
13645 (bug-regex34-ENV): Define.
13646 * posix/bug-regex34.c: New file.
13649 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13650 elements compare against the byte sequence of it, not its name.
13651 * posix/Makefile (tests): Add bug-regex35.
13652 (bug-regex35-ENV): Define.
13653 * posix/bug-regex35.c: New file.
13655 2013-02-11 Tom de Vries <tom@codesourcery.com>
13657 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13659 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13660 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13661 (CHECK_EOL): Add undef.
13663 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13665 * bits/stdlib-bsearch.h: New file.
13666 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13667 * stdlib/stdlib.h: Likewise.
13669 2013-02-11 Roland McGrath <roland@hack.frob.com>
13671 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13672 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13674 * manual/search.texi (Array Search Function): Add missing const in
13676 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13677 declaration to use rlim_t.
13678 (Basic Scheduling Functions): Remove erroneous const from
13679 sched_getparam prototype. Remove erroneous * from
13680 sched_get_priority_max and sched_get_priority_min prototypes.
13681 (Resource Usage): Fix summary @comment on vtimes to refer to
13682 sys/vtimes.h rather than vtimes.h.
13683 Add missing *s in vtimes prototype.
13684 (Limits on Resources): Fix ulimit prototype to return long int.
13685 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13686 prototypes to use long int rather than double.
13687 (BSD Random): Fix initstate and setstate to use char *, not void *.
13688 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13689 prototype to make second argument 'struct aiocb64 *const[]'.
13690 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13691 (Status of AIO Operations): Remove erroneous const in aio_return and
13692 aio_return64 prototypes.
13693 (Synchronizing I/O): Fix sync prototype to return void.
13694 * manual/startup.texi (Suboptions): Remove an erroneous const in
13695 getsubopt prototype.
13696 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13697 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13698 use size_t rather than int.
13699 (Scanning All Users): Likewise for getpwent_r.
13700 (Setting Groups): Add missing const to setgroups prototype.
13701 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13702 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13703 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13704 'const void *' rather than 'const char *'.
13705 (Host Address Functions): Likewise for inet_ntop.
13706 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13707 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13708 ssize_t for return value.
13709 (Sending Data): Likewise for send, sendto, sendmsg.
13710 (Socket Option Functions): Add a missing const in setsockopt prototype.
13711 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13712 use wchar_t for the argument.
13713 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13714 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13716 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13717 double/float/long double for second argument.
13718 Fix return types of significand, significandf, significandl.
13719 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13720 argument in fchmod prototype.
13721 (File Owner): Use uid_t and gid_t in fchown prototype.
13722 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13723 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13724 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13725 use 'const struct dirent **' as argument types to CMP function pointer
13727 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13728 (File Times): Fix summary magic @comment for struct utimbuf and utime
13729 to refer to utime.h, not time.h.
13730 * manual/string.texi (Argz Functions): Add missing const in
13731 argz_extract and argz_next prototypes.
13732 (Finding Tokens in a String): Likewise for basename.
13733 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13734 (Copying and Concatenation): Fix typo in wmemmove prototype.
13735 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13736 (Signal Stack): Remove erroneous const in sigstack prototype.
13737 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13739 (Simple Calendar Time): Likewise for stime.
13740 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13742 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13743 say sys/sysctl.h instead.
13744 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13745 and vsyslog prototypes.
13747 2013-02-11 Tom de Vries <tom@codesourcery.com>
13749 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13752 2013-02-11 Roland McGrath <roland@hack.frob.com>
13754 * misc/sys/mman.h: Fix typo in mremap comment.
13756 2013-02-08 Roland McGrath <roland@hack.frob.com>
13758 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13759 the '\0' terminator.
13761 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13764 * debug/segfault.c: Don't include <bp-checks.h>.
13765 * sysdeps/generic/bp-checks.h: Remove file.
13766 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13767 (__GETDENTS): Don't use CHECK_N.
13768 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13769 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13770 (__getgroups): Don't use CHECK_N.
13771 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13772 (setgroups): Don't use CHECK_N.
13773 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13774 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13775 (__libc_msgrcv): Don't use CHECK_N.
13776 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13777 (__libc_msgsnd): Don't use CHECK_N.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13780 (__libc_pread): Don't use CHECK_N.
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13782 include <bp-checks.h>.
13783 (__libc_pread64): Don't use CHECK_N.
13784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13785 include <bp-checks.h>.
13786 (__libc_pwrite): Don't use CHECK_N.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13788 include <bp-checks.h>.
13789 (__libc_pwrite64): Don't use CHECK_N.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13792 (__libc_pread): Don't use CHECK_N.
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13794 include <bp-checks.h>.
13795 (__libc_pread64): Don't use CHECK_N.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13797 include <bp-checks.h>.
13798 (__libc_pwrite): Don't use CHECK_N.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13800 include <bp-checks.h>.
13801 (__libc_pwrite64): Don't use CHECK_N.
13802 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13803 (do_pread): Don't use CHECK_N.
13804 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13805 (do_pread64): Don't use CHECK_N.
13806 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13807 (do_pwrite): Don't use CHECK_N.
13808 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13809 (do_pwrite64): Don't use CHECK_N.
13810 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13811 (__libc_readv): Don't use CHECK_N.
13812 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13813 (semop): Don't use CHECK_N.
13814 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13816 (semtimedop): Don't use CHECK_N.
13817 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13818 (__libc_pread): Don't use CHECK_N.
13819 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13821 (__libc_pread64): Don't use CHECK_N.
13822 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13824 (__libc_pwrite): Don't use CHECK_N.
13825 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13827 (__libc_pwrite64): Don't use CHECK_N.
13828 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13830 (__libc_msgrcv): Don't use CHECK_N.
13831 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13832 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13833 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13834 (__libc_writev): Don't use CHECK_N.
13836 2013-02-08 Roland McGrath <roland@hack.frob.com>
13838 * string/strcpy.c: Removed unused variable.
13840 * Makeconfig (+sysdep-includes): Define with := rather than =.
13841 Use an existing include/ subdir of each sysdeps dir before it.
13843 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13845 * nscd/connection.c (register_traced_file): Comment function.
13846 [HAVE_INOTIFY] (union __inev): Define.
13847 [HAVE_INOTIFY] (inotify_check_files): New function.
13848 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13849 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13851 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13853 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13855 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13856 loaded if not already and that a failure is permanent.
13858 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13861 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13862 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13864 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13867 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13868 (CHECK_1_NULL_OK): Likewise.
13869 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13870 (__fxstat): Do not use CHECK_1.
13871 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13873 (___fxstat64): Do not use CHECK_1.
13874 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13876 (__fxstatat): Do not use CHECK_1.
13877 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13879 (__fxstatat64): Do not use CHECK_1.
13880 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13882 (__fxstat): Do not use CHECK_1.
13883 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13885 (__fxstatat): Do not use CHECK_1.
13886 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13888 (__getresgid): Do not use CHECK_1.
13889 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13891 (__getresuid): Do not use CHECK_1.
13892 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13894 (__lxstat): Do not use CHECK_1.
13895 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13897 (__old_msgctl): Do not use CHECK_1.
13898 (__new_msgctl): Likewise.
13899 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13901 (__new_setrlimit): Do not use CHECK_1.
13902 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13904 (__old_shmctl): Do not use CHECK_1.
13905 (__new_shmctl): Likewise.
13906 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13908 (__xstat): Do not use CHECK_1.
13909 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13910 (__lxstat): Do not use CHECK_1.
13911 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13913 (___lxstat64): Do not use CHECK_1.
13914 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13915 (__old_msgctl): Do not use CHECK_1.
13916 (__new_msgctl): Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13919 (__gettimeofday): Do not use CHECK_1.
13920 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13921 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13922 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13924 (__gettimeofday): Do not use CHECK_1.
13925 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13926 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13927 (__new_shmctl): Do not use CHECK_1.
13928 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13930 (do_sigtimedwait): Do not use CHECK_1.
13931 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13933 (do_sigwaitinfo): Do not use CHECK_1.
13934 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13936 (msgctl): Do not use CHECK_1.
13937 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13939 (shmctl): Do not use CHECK_1.
13940 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13941 (ustat): Do not use CHECK_1.
13942 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13944 (__fxstat): Do not use CHECK_1.
13945 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13947 (__fxstatat): Do not use CHECK_1.
13948 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13950 (__lxstat): Do not use CHECK_1.
13951 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13953 (__xstat): Do not use CHECK_1.
13954 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13955 (__xstat): Do not use CHECK_1.
13956 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13957 (___xstat64): Do not use CHECK_1.
13960 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13962 (CHECK_BOUNDS_HIGH): Likewise.
13963 * string/strcpy.c: Do not include <bp-checks.h>.
13964 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13966 2013-02-07 Roland McGrath <roland@hack.frob.com>
13968 * nscd/nscd-client.h (__nscd_drop_map_ref):
13969 Add __attribute__ ((unused)).
13970 * nis/nss-nisplus.h (niserr2nss): Likewise.
13972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13973 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13975 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13976 Remove inline keyword.
13977 * include/rounding-mode.h (round_away): Likewise.
13978 * libio/wfileops.c (adjust_wide_data): Likewise.
13979 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13980 (__m128i_strloadu_tolower): Likewise.
13981 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13982 (__m128i_strloadu_tolower): Likewise.
13983 * time/mktime.c (ydhms_diff): Likewise.
13984 * locale/elem-hash.h (elem_hash): Likewise.
13985 * locale/setlocale.c (setdata): Likewise.
13986 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13987 (re_string_wchar_at): Likewise.
13988 (bitset_not, bitset_merge, bitset_mask): Likewise.
13989 [!(__GNUC__ > 3)] (inline): Remove macro.
13990 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13991 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13992 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13993 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13994 * string/memcmp.c (memcmp_bytes): Likewise.
13995 * locale/programs/locarchive.c (compute_hashval): Likewise.
13996 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13997 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13998 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13999 * nss/getent.c (print_rpc, print_protocols): Likewise.
14000 (print_passwd, print_group, print_aliases): Likewise.
14001 * nis/nss-nisplus.h (niserr2nss): Likewise.
14002 * nscd/connections.c (restart_p): Likewise.
14003 Change return type to bool.
14005 2013-02-05 Roland McGrath <roland@hack.frob.com>
14007 * Makeconfig (all-Depend-files): Add existing
14008 $(sorted-subdirs:=/Depend) files.
14009 (all-subdirs): Remove nss.
14010 * sysdeps/unix/inet/Subdirs: Add it here instead.
14011 * hesiod/Depend: New file.
14013 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14014 instead of calling alloca.
14016 * io/lseek.c (__lseek): Rename to __libc_lseek.
14017 Define __lseek as an alias.
14019 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14021 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14023 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14024 else clause and remove check for non-standard endianness.
14026 2013-02-04 David S. Miller <davem@davemloft.net>
14028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14030 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14033 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14034 (__ubp_memchr): Remove prototype.
14035 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14036 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14037 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14038 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14039 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14041 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14042 (__ubp_memchr): Likewise.
14043 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14044 (__ubp_memchr): Likewise.
14045 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14046 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14047 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14048 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14050 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14051 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14052 (__getcwd): Do not use CHECK_STRING.
14053 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14055 (__real_chown): Do not use CHECK_STRING.
14056 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14058 (fchownat): Do not use CHECK_STRING.
14059 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14061 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14063 (__lchown): Do not use CHECK_STRING.
14064 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14065 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14066 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14067 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14069 include <bp-checks.h>.
14070 (truncate64): Do not use CHECK_STRING.
14071 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14073 (__real_chown): Do not use CHECK_STRING.
14074 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14076 (__lchown): Do not use CHECK_STRING.
14077 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14079 (__chown): Do not use CHECK_STRING.
14080 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14082 (truncate64): Do not use CHECK_STRING.
14083 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14085 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14086 (__xmknod): Do not use CHECK_STRING.
14087 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14089 (__xmknodat): Do not use CHECK_STRING.
14090 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14091 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14093 2013-02-04 Andreas Schwab <schwab@suse.de>
14096 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14097 * include/netdb.h: Likewise for h_errno.
14098 * elf/tst-stackguard1.c: Include <tls.h>.
14100 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14102 * elf/link.h (struct link_map): Extend the l_addr comment.
14103 * include/link.h (struct link_map): Likewise.
14105 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14108 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14109 (BOUNDED_1): Remove macro.
14110 * debug/backtrace.c: Don't include <bp-checks.h>.
14111 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14112 (__backtrace): Likewise.
14113 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14115 (__backtrace): Don't use BOUNDED_1.
14116 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14118 (__backtrace): Don't use BOUNDED_1.
14119 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14120 (__backtrace): Don't use BOUNDED_1.
14121 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14122 (shmat): Don't use BOUNDED_N.
14124 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14127 * sysdeps/generic/bp-start.h: Remove file.
14128 * csu/libc-start.c: Don't include <bp-start.h>.
14129 (LIBC_START_MAIN): Set up __environ directly instead of using
14130 INIT_ARGV_and_ENVIRON.
14131 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14135 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14137 (CHECK_FCNTL): Likewise.
14138 (CHECK_N_PAGES): Likewise.
14141 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14143 (CHECK_SIGSET_NULL_OK): Likewise.
14144 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14146 (sigpending): Don't use CHECK_SIGSET.
14147 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14149 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14150 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14152 (do_sigsuspend): Don't use CHECK_SIGSET.
14153 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14155 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14156 (do_sigwait): Don't use CHECK_SIGSET.
14157 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14159 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14160 include <bp-checks.h>.
14161 (sigpending): Don't use CHECK_SIGSET.
14162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14163 include <bp-checks.h>.
14164 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14165 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14167 (sigpending): Don't use CHECK_SIGSET.
14168 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14170 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14173 * sysdeps/generic/bp-semctl.h: Remove file.
14174 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14175 <bp-checks.h> and <bp-semctl.h>.
14176 (__old_semctl): Don't use CHECK_SEMCTL.
14177 (__new_semctl): Likewise.
14178 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14180 (__old_semctl): Don't use CHECK_SEMCTL.
14181 (__new_semctl): Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14183 <bp-checks.h> and <bp-semctl.h>.
14184 (__old_semctl): Don't use CHECK_SEMCTL.
14185 (__new_semctl): Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14187 <bp-checks.h> and <bp-semctl.h>.
14188 (semctl): Don't use CHECK_SEMCTL.
14191 * Makerules (elide-bp-thunks): Remove variable.
14192 (elide-routines.oS): Don't use $(elide-bp-thunks).
14193 (elide-routines.os): Likewise.
14194 (elide-routines.o): Likewise.
14195 (elide-routines.op): Likewise.
14196 (elide-routines.og): Likewise.
14197 (objects): Don't use $(bp-thunks).
14198 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14200 (common-generated): Do not add s-proto-bp.d.
14201 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14204 Do not generate makefile rules for bounded-pointer thunks.
14205 * sysdeps/generic/bp-thunks.h: Remove file.
14206 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14207 * sysdeps/unix/s-proto-bp.S: Likewise.
14210 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14211 parts of result separately when argument is not close to line from
14212 -i to i and one part of argument is small.
14213 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14214 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14215 * math/libm-test.inc (cacos_test): Add more tests.
14216 (casin_test): Likewise.
14217 (casinh_test): Likewise.
14218 * sysdeps/i386/fpu/libm-test-ulps: Update.
14219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14221 2013-01-31 David S. Miller <davem@davemloft.net>
14223 * po/de.po: Update from translation team.
14225 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14227 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14229 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14231 * configure.in (_AC_PROG_CC_C89): New definition.
14232 * configure: Regenerate.
14234 * configure.in (AC_PROG_CPP): New definition.
14235 * configure: Regenerate.
14237 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14239 * debug/tst-backtrace.h: New file.
14240 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14241 (ret): Remove variable.
14243 (FAIL): Remove macro.
14244 (NO_INLINE): Likewise.
14245 (fn1): Use match function instead of strstr.
14246 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14247 (ret): Remove variable.
14249 (FAIL): Remove macro.
14250 (NO_INLINE): Likewise.
14251 (fn): Use match function instead of strstr.
14252 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14253 (ret): Remove variable.
14255 (FAIL): Remove macro.
14256 (NO_INLINE): Likewise.
14257 (handle_signal): Use match function instead of strstr.
14258 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14259 (ret): Remove variable.
14261 (FAIL): Remove macro.
14262 (NO_INLINE): Likewise.
14263 (handle_signal): Use match function instead of strstr.
14265 2013-01-23 Roland McGrath <roland@hack.frob.com>
14267 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14269 2013-01-23 David S. Miller <davem@davemloft.net>
14271 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14272 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14273 argument of CAS if possible.
14274 * sysdeps/sparc/sparc64/bits/atomic.h
14275 (__arch_compare_and_exchange_val_32_acq): Likewise.
14276 (__arch_compare_and_exchange_val_64_acq): Likewise.
14278 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14280 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14281 * sysdeps/posix/ulimit.c: ... this.
14282 Include <limits.h>.
14283 * sysdeps/unix/bsd/ulimit.c: Remove file.
14285 2013-01-23 Adam Conrad <adconrad@0c3.net>
14287 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14288 (LDFLAGS-tst-array5): Likewise.
14290 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14293 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14294 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14295 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14296 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14298 2013-01-21 David S. Miller <davem@davemloft.net>
14300 * sysdeps/sparc/backtrace.c: New file.
14301 * sysdeps/sparc/sparc32/backtrace.h: New file.
14302 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14303 * sysdeps/sparc/sparc64/backtrace.h: New file.
14304 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14305 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14308 2013-01-21 Andreas Schwab <schwab@suse.de>
14311 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14314 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14320 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14321 Mark Mitchell <mark@codesourcery.com>
14322 Tom de Vries <tom@codesourcery.com>
14323 Paul Pluzhnikov <ppluzhnikov@google.com>
14325 * debug/tst-backtrace2.c: New file.
14326 * debug/tst-backtrace3.c: Likewise.
14327 * debug/tst-backtrace4.c: Likewise.
14328 * debug/tst-backtrace5.c: Likewise.
14329 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14330 (CFLAGS-tst-backtrace3.c): Likewise.
14331 (CFLAGS-tst-backtrace4.c): Likewise.
14332 (CFLAGS-tst-backtrace5.c): Likewise.
14333 (LDFLAGS-tst-backtrace2): Likewise.
14334 (LDFLAGS-tst-backtrace3): Likewise.
14335 (LDFLAGS-tst-backtrace4): Likewise.
14336 (LDFLAGS-tst-backtrace5): Likewise.
14337 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14338 tst-backtrace4 and tst-backtrace5.
14340 2013-01-18 Anton Blanchard <anton@samba.org>
14341 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14343 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14344 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14345 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14346 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14348 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14349 "+r" and remove output regs list as redundant. Add explicit inline
14350 asm to specify register of return val to work around compiler codegen
14351 bug. Remove (int) cast on return value. Add return type parameter to
14352 use in macro so that this macro does not truncate return value for
14354 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14355 pass to INTERNAL_VSYSCALL_NCS.
14356 (INLINE_VSYSCALL): Add 'long int' as return type to
14357 INTERNAL_VSYSCALL_NCS macro invocation.
14358 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14359 INTERNAL_VSYSCALL_NCS macro invocation.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14362 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14365 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14366 Fix application of SIMD FP exception mask.
14368 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14369 mp_no from a power of two.
14370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14371 __mpexp_twomm1. Use __pow_mp.
14373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14376 2013-01-17 David S. Miller <davem@davemloft.net>
14378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14380 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14383 * include/complex.h: Condition contents on [!_COMPLEX_H].
14384 (__kernel_casinhf): New prototype.
14385 (__kernel_casinh): Likewise.
14386 (__kernel_casinhl): Likewise.
14387 * math/Makefile (libm_calls): Add k_casinh.
14388 * math/k_casinh.c: New file.
14389 * math/k_casinhf.c: Likewise.
14390 * math/k_casinhl.c: Likewise.
14391 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14392 finite nonzero arguments.
14393 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14394 finite nonzero arguments.
14395 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14396 finite nonzero arguments.
14397 * math/s_casinh.c: Do not include <float.h>.
14398 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14399 * math/s_casinhf.c: Do not include <float.h>.
14400 (__casinhf): Move code for finite nonzero arguments to
14402 * math/s_casinhl.c: Do not include <float.h>.
14403 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14405 (__casinhl): Move code for finite nonzero arguments to
14407 * math/libm-test.inc (cacos_test): Add more tests.
14408 * sysdeps/i386/fpu/libm-test-ulps: Update.
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14411 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14413 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14414 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14415 [!HAVE_MREMAP]: Remove [defined linux] case.
14416 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14418 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14420 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14422 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14424 * elf/elf.h (R_386_SIZE32): New relocation.
14425 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14427 (elf_machine_rela): Likewise.
14428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14429 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14431 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14433 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14434 (FP_FAST_FMA): Do not define.
14435 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14436 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14437 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14438 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14439 !_SOFT_FLOAT]: Likewise.
14440 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14444 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14445 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14446 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14447 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14448 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14451 2013-01-16 Andreas Schwab <schwab@suse.de>
14454 * include/stdlib.h (__mktemp): Add declaration.
14455 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14456 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14458 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14460 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14462 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14463 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14464 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14466 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14467 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14469 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14471 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14472 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14473 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14475 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14476 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14478 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14480 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14482 2013-01-15 David S. Miller <davem@davemloft.net>
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14485 trunc{,f} to libm-sysdep_routes.
14486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14497 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14498 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14499 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14500 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14501 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14504 nearbyint{,f} to libm-sysdep_routes.
14505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14518 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14521 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14522 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14523 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14525 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14526 libc_feholdexcept and libc_fesetenv.
14528 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14530 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14532 2013-01-14 David S. Miller <davem@davemloft.net>
14534 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14535 (SPARC_ASM_VIS2_IFUNC): Likewise.
14536 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14538 use of 'siam' instruction.
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14572 routines to libm-sysdep_routines.
14573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14576 fdim/fdimf to libm-sysdep_routines.
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14585 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14586 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14587 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14588 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14590 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14592 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14593 to optimize copies.
14595 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14600 local variable MPTWO.
14601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14604 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14606 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14609 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14611 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14613 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14615 * manual/pattern.texi (glob_t): Document gl_flags.
14616 (glob64_t): Likewise.
14618 2013-01-11 David S. Miller <davem@davemloft.net>
14620 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14621 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14622 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14623 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14624 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14625 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14626 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14627 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14628 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14629 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14630 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14631 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14632 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14634 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14635 sparc V9 rather than using V8 code.
14636 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14637 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14639 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14641 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14644 2013-01-11 Roland McGrath <roland@hack.frob.com>
14646 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14647 not in the main loop.
14648 * configure: Regenerated.
14650 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14652 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14653 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14655 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14656 [!__GLIBC_HAVE_LONG_LONG] case.
14657 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14658 condition to just #else.
14659 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14660 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14661 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14662 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14664 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14665 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14666 #elif condition to just #else.
14667 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14668 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14669 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14670 #elif condition to just #else.
14672 2013-01-11 Steve Ellcey <sellcey@mips.com>
14674 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14675 (EF_MIPS_ARCH_64): Fix value.
14676 (EF_MIPS_ARCH_32R2): New.
14677 (EF_MIPS_ARCH_64R2): New.
14679 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14681 * Makeconfig (+link-pie-before-libc): New.
14682 (+link-pie-after-libc): Likewise.
14683 (+link-pie-tests): Likewise.
14684 (+link-pie): Rewritten.
14685 (link-before-libc): Remove $(config-LDFLAGS).
14686 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14687 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14688 (config-LDFLAGS): Renamed to ...
14689 (rtld-LDFLAGS): This.
14690 (rtld-tests-LDFLAGS): New macro.
14691 (link-libc-rpath-link): Likewise.
14692 (link-libc-tests-rpath-link): Likewise.
14693 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14694 (link-libc): Prepand $(link-libc-rpath-link).
14695 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14696 (test-program-prefix): New macro.
14697 (test-via-rtld-prefix): Likewise.
14698 (test-program-cmd): Likewise.
14699 (host-test-program-cmd): Likewise.
14700 * Makefile ($(common-objpfx)testrun.sh): Replace
14701 $(run-program-prefix) with $(test-program-prefix).
14702 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14704 ($(common-objpfx)shlib.lds): Likewise.
14705 (build-module-helper): Likewise.
14706 ($(common-objpfx)format.lds): Likewise.
14707 * Rules (binaries-pie-tests): New.
14708 (binaries-pie-notests): Likewise.
14709 (binaries-pie): Rewritten.
14710 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14711 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14712 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14713 (make-test-out): Replace $(host-built-program-cmd) with
14714 $(host-test-program-cmd).
14715 * config.make.in (build-hardcoded-path-in-tests): New variable.
14716 * configure.in (--enable-hardcoded-path-in-tests): New configure
14718 (hardcoded_path_in_tests): New AC_SUBST.
14719 * configure: Regenerated.
14720 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14721 $(built-program-cmd) with $(test-program-cmd).
14722 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14723 (test_program_cmd): This.
14724 * elf/Makefile ($(objpfx)order.out): Run test with
14725 $(test-program-prefix).
14726 ($(objpfx)order2.out): Likewise.
14727 ($(objpfx)tst-initorder.out): Likewise.
14728 ($(objpfx)tst-initorder2.out): Likewise.
14729 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14730 $(test-program-cmd).
14731 ($(objpfx)tst-array1-static.out): Likewise.
14732 ($(objpfx)tst-array2.out): Likewise.
14733 ($(objpfx)tst-array3.out): Likewise.
14734 ($(objpfx)tst-array4.out): Likewise.
14735 ($(objpfx)tst-array5.out): Likewise.
14736 ($(objpfx)tst-array5-static.out): Likewise.
14737 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14738 $(test-program-cmd).
14739 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14740 $(run-program-prefix) with $(test-program-prefix).
14741 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14742 (test_program_prefix): This.
14743 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14744 $(run-program-prefix) with $(test-program-prefix).
14745 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14746 (test_program_prefix): This.
14747 * iconvdata/tst-tables.sh: Likewise.
14748 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14749 $(run-program-prefix) with $(test-program-prefix).
14750 ($(objpfx)tst-translit.out): Likewise.
14751 ($(objpfx)tst-gettext2.out): Likewise.
14752 ($(objpfx)tst-gettext4.out): Likewise.
14753 ($(objpfx)tst-gettext6.out): Likewise.
14754 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14755 (test_program_prefix): This.
14756 * intl/tst-gettext2.sh: Likewise.
14757 * intl/tst-gettext4.sh Likewise.
14758 * intl/tst-gettext6.sh: Likewise.
14759 * intl/tst-translit.sh: Likewise.
14760 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14761 with $(test-program-cmd).
14762 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14763 $(run-program-prefix) with $(test-program-prefix).
14764 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14765 (test_program_prefix): This.
14766 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14767 $(run-program-prefix) with $(test-program-prefix).
14768 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14769 (test_program_prefix): This.
14770 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14771 * posix/Makefile ($(objpfx)globtest.out): Replace
14772 $(run-via-rtld-prefix) and $(test-wrapper) with
14773 $(test-program-prefix) and $(test-via-rtld-prefix).
14774 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14775 $(test-program-prefix).
14776 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14777 $(host-test-program-cmd).
14778 (tst-spawn-ARGS): Likewise.
14779 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14780 $(test-program-prefix).
14781 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14782 (test_via_rtld_prefix): This.
14783 (test_wrapper): Renamed to ...
14784 (test_program_prefix): This.
14785 (run_program_prefix): Replaced by test_program_prefix.
14786 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14787 (test_program_prefix): This.
14788 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14789 with $(host-test-program-cmd).
14790 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14791 $(run-program-prefix) with $(test-program-prefix).
14792 ($(objpfx)tst-printf.out): Likewise.
14793 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14794 $(test-program-cmd).
14795 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14796 (test_program_prefix): This.
14797 * stdio-common/tst-unbputc.sh: Likewise.
14798 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14799 $(run-program-prefix) with $(test-program-prefix).
14800 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14801 (test_program_prefix): This.
14802 * string/Makefile ($(objpfx)tst-svc.out): Replace
14803 $(built-program-cmd) with $(test-program-cmd).
14805 2013-01-11 Andreas Jaeger <aj@suse.de>
14808 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14809 value. Sync with Linux 3.7.
14811 2013-01-10 David S. Miller <davem@davemloft.net>
14813 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14817 2013-01-10 Roland McGrath <roland@hack.frob.com>
14819 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14821 * configure: Regenerated.
14823 2013-01-10 David S. Miller <davem@davemloft.net>
14825 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14826 sparc V9 rather than using V8 code.
14827 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14828 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14830 2013-01-10 Roland McGrath <roland@hack.frob.com>
14832 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14833 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14834 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14835 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14836 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14837 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14838 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14839 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14840 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14841 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14842 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14843 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14844 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14845 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14846 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14847 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14848 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14849 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14850 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14851 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14852 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14853 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14854 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14855 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14856 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14857 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14858 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14860 2013-01-10 David S. Miller <davem@davemloft.net>
14862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14864 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14866 * posix/Makefile (tests-static): New variable.
14867 (tests): Add $(tests-static).
14868 (tst-exec-static-ARGS): New variable.
14869 (tst-spawn-static-ARGS): Likewise.
14870 * posix/tst-exec-static.c: New file.
14871 * posix/tst-spawn-static.c: Likewise.
14872 * posix/tst-exec.c: Support run directly.
14873 * posix/tst-spawn.c: Likewise.
14875 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14877 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14879 * math/bits/mathcalls.h (llrint): Likewise.
14880 (llround): Likewise.
14881 * stdlib/stdlib.h (struct drand48_data): Likewise.
14882 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14883 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14884 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14886 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14888 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14889 (elf_greg_t): Likewise.
14890 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14891 (__jmp_buf): Likewise.
14892 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14894 (llrint): Likewise, for all definitions.
14895 (llrintl): Likewise.
14897 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14898 Remove [__GNUC__] condition.
14899 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14900 condition to just [__USE_ISOC99].
14901 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14903 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14906 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14907 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14909 (_POSIX_V6_ILP32_OFF32): Likewise.
14910 (_XBS5_ILP32_OFF32): Likewise.
14911 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14912 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14914 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14916 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14919 doubles __mpexp_twomm1. Adjust usage.
14920 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14923 2013-01-10 Andreas Schwab <schwab@suse.de>
14926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14927 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14929 2013-01-09 David S. Miller <davem@davemloft.net>
14932 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14933 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14934 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14935 TCP_FASTOPEN): Define.
14936 (tcp_repair_opt): New structure.
14937 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14939 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14940 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14941 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14942 (tcp_cookie_transactions): New structure.
14944 2013-01-09 Anton Blanchard <anton@samba.org>
14946 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14947 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14948 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14949 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14951 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14953 * include/features.h (__USE_ANSI): Remove.
14955 2013-01-09 Roland McGrath <roland@hack.frob.com>
14957 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14959 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14961 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14963 * sysdeps/s390/fpu/libm-test-ulps: Update.
14965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14967 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14971 (denorm): Likewise.
14972 (__mp_dbl): Likewise.
14973 (__dbl_mp): Likewise.
14974 (add_magnitudes): Likewise.
14975 (sub_magnitudes): Likewise.
14981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14985 (denorm): Likewise.
14986 (__mp_dbl): Likewise.
14987 (__dbl_mp): Likewise.
14988 (add_magnitudes): Likewise.
14989 (sub_magnitudes): Likewise.
14995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14999 (denorm): Likewise.
15000 (__mp_dbl): Likewise.
15001 (__dbl_mp): Likewise.
15002 (add_magnitudes): Likewise.
15003 (sub_magnitudes): Likewise.
15010 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15012 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15013 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15014 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15015 2 && __USE_EXTERN_INLINES]: Likewise.
15017 2013-01-08 Andreas Jaeger <aj@suse.de>
15020 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15022 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15023 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15025 2013-01-07 Anton Blanchard <anton@samba.org>
15027 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15028 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15029 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15030 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15031 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15032 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15033 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15034 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15036 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15037 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15038 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15039 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15040 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15041 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15042 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15043 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15044 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15045 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15046 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15047 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15050 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15051 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15052 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15053 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15054 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15055 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15056 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15057 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15059 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15060 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15061 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15062 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15063 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15064 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15065 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15066 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15067 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15069 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15071 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15073 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15074 (__MALLOC_PMT): Likewise.
15075 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15076 [__GNUC__], only on [_LIBC].
15077 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15078 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15079 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15080 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15081 forward declaration.
15082 (realloc_hook_ini): Likewise.
15083 (memalign_hook_ini): Likewise.
15084 (__libc_memalign): Do not use __MALLOC_PMT in variable
15086 (__libc_valloc): Likewise.
15087 (__libc_pvalloc): Likewise.
15088 (__libc_calloc): Likewise.
15089 (__posix_memalign): Likewise.
15092 * math/s_casinh.c: Include <float.h>.
15093 (__casinh): Do not do computation with squaring and square root
15094 for large arguments.
15095 * math/s_casinhf.c: Include <float.h>.
15096 (__casinhf): Do not do computation with squaring and square root
15097 for large arguments.
15098 * math/s_casinhl.c: Include <float.h>.
15099 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15100 (__casinhl): Do not do computation with squaring and square root
15101 for large arguments.
15102 * math/libm-test.inc (casin_test): Add more tests.
15103 (casinh_test): Likewise.
15104 * sysdeps/i386/fpu/libm-test-ulps: Update.
15105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15107 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15109 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15110 (__x86_64_raw_data_cache_size): Likewise.
15111 (__x86_64_data_cache_size_half): Likewise.
15112 (__x86_64_raw_data_cache_size_half): Likewise.
15113 (__x86_64_shared_cache_size): Likewise.
15114 (__x86_64_raw_shared_cache_size): Likewise.
15115 (__x86_64_shared_cache_size_half): Likewise.
15116 (__x86_64_raw_shared_cache_size_half): Likewise.
15117 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15119 (__x86_data_cache_size): This.
15120 (__x86_64_raw_data_cache_size): Renamed to ...
15121 (__x86_raw_data_cache_size): This.
15122 (__x86_64_data_cache_size_half): Renamed to ...
15123 (__x86_data_cache_size_half): This.
15124 (__x86_64_raw_data_cache_size_half): Renamed to ...
15125 (__x86_raw_data_cache_size_half): This.
15126 (__x86_64_shared_cache_size): Renamed to ...
15127 (__x86_shared_cache_size): This.
15128 (__x86_64_raw_shared_cache_size): Renamed to ...
15129 (__x86_raw_shared_cache_size): This.
15130 (__x86_64_shared_cache_size_half): Renamed to ...
15131 (__x86_shared_cache_size_half): This.
15132 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15133 (__x86_raw_shared_cache_size_half): This.
15134 * sysdeps/x86_64/memcpy.S: Updated.
15135 * sysdeps/x86_64/memset.S: Likewise.
15136 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15140 2013-01-04 David S. Miller <davem@davemloft.net>
15142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15144 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15146 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15147 1 to avoid redefinition warning.
15148 (__USE_GNU): Don't define.
15149 (init_signaling_nan): Protoize.
15151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15153 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15155 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15157 (__cpymn): Likewise.
15158 (norm): Remove commented code.
15159 (denorm): Likewise.
15160 (__mp_dbl): Likewise.
15162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15163 (__cpymn): Likewise.
15164 (norm): Remove commented code.
15165 (denorm): Likewise.
15166 (__mp_dbl): Likewise.
15169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15170 mp_no value for 1.0 and 2.0.
15171 (norm): Use RADIXI instead of radixi.d.
15172 (denorm): Likewise.
15173 (__mul): Use 0.0 instead of zero.d.
15174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15175 mp_no value for 1.0 and 2.0.
15176 (norm): Use RADIXI instead of radixi.d.
15177 (denorm): Likewise.
15178 (__mul): Use 0.0 instead of zero.d.
15180 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15183 * math/s_casinh.c (__casinh): Reduce finite argument to first
15184 quadrant then set signs of results at the end.
15185 * math/s_casinhf.c (__casinhf): Likewise.
15186 * math/s_casinhl.c (__casinhl): Likewise.
15187 * math/libm-test.inc (casin_test): Add more tests.
15188 (casinh_test): Likewise.
15189 * sysdeps/i386/fpu/libm-test-ulps: Update.
15190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15192 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15194 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15196 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15198 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15200 (denorm): Likewise.
15201 (__mp_dbl): Likewise.
15204 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15205 and adjust the header comment.
15207 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15208 variable name from declaration.
15210 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15213 Initialize COMMON_CPUID_INDEX_7 element.
15214 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15215 (CPUID_RTM): Likewise.
15216 (HAS_RTM): Likewise.
15217 (COMMON_CPUID_INDEX_7): New enum.
15219 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15222 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15223 size is zero, record memory as freed.
15225 2013-01-03 Andreas Jaeger <aj@suse.de>
15227 * po/ia.po: Add new Interlingua translation.
15229 2012-01-03 Allan McRae <allan@archlinux.org>
15231 * locale/programs/localedef.c: Fix description of '--posix' flag.
15233 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15235 * NEWS: Update dates in second copyright notice.
15236 * README: Update copyright dates in example.
15237 * manual/libc.texinfo: Update copyright dates.
15238 * scripts/test-installation.pl: Update copyright date in --version
15241 * hurd/ctty-input.c: Fix copyright notice formatting.
15242 * hurd/ctty-output.c: Likewise.
15243 * hurd/dtable.c: Likewise.
15244 * hurd/hurd-raise.c: Likewise.
15245 * hurd/hurdprio.c: Likewise.
15246 * hurd/msgportdemux.c: Likewise.
15247 * misc/sys/file.h: Likewise.
15248 * misc/sys/ioctl.h: Likewise.
15249 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15250 * sysdeps/mach/hurd/chdir.c: Likewise.
15251 * sysdeps/mach/hurd/fchdir.c: Likewise.
15252 * sysdeps/mach/hurd/rename.c: Likewise.
15253 * sysdeps/mach/hurd/rmdir.c: Likewise.
15254 * sysdeps/mach/hurd/seekdir.c: Likewise.
15255 * sysdeps/mach/hurd/setsid.c: Likewise.
15256 * sysdeps/posix/wait3.c: Likewise.
15258 * All files with FSF copyright notices: Update copyright dates
15259 using scripts/update-copyrights.
15260 * intl/plural.c: Regenerated.
15261 * locale/programs/charmap-kw.h: Likewise.
15262 * locale/programs/locfile-kw.h: Likewise.
15264 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15266 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15269 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15270 calculation loop and add branch prediction.
15272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15273 check access beyond bounds of m1np.
15275 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15277 (__inv): Remove local variable MPTWO to use the global
15279 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15280 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15283 MP3HALFS static const.
15285 2013-01-01 David S. Miller <davem@davemloft.net>
15287 * po/ca.po: Update from translation team.
15289 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15291 * scripts/update-copyrights: New file.
15292 * Makeconfig: Reformat copyright notice.
15293 * ctype/ctype.h: Likewise.
15294 * debug/swprintf_chk.c: Likewise.
15295 * elf/dl-cache.c: Likewise.
15296 * elf/dl-debug.c: Likewise.
15297 * elf/dl-object.c: Likewise.
15298 * grp/initgroups.c: Likewise.
15299 * hurd/Makefile: Likewise.
15300 * hurd/hurd/signal.h: Likewise.
15301 * hurd/hurdfault.c: Likewise.
15302 * hurd/hurdioctl.c: Likewise.
15303 * hurd/hurdlookup.c: Likewise.
15304 * hurd/intr-msg.c: Likewise.
15305 * iconv/gconv_open.c: Likewise.
15306 * libio/swprintf.c: Likewise.
15307 * locale/lc-ctype.c: Likewise.
15308 * locale/nl_langinfo.c: Likewise.
15309 * mach/Machrules: Likewise.
15310 * mach/Makefile: Likewise.
15311 * malloc/obstack.h: Likewise.
15312 * manual/Makefile: Likewise.
15313 * manual/tsort.awk: Likewise.
15314 * misc/bits/stab.def: Likewise.
15315 * nis/nis_print_group_entry.c: Likewise.
15316 * nis/nis_table.c: Likewise.
15317 * nis/nss_compat/compat-pwd.c: Likewise.
15318 * nis/nss_compat/compat-spwd.c: Likewise.
15319 * po/Makefile: Likewise.
15320 * posix/fnmatch.c: Likewise.
15321 * posix/regex.h: Likewise.
15322 * resolv/Makefile: Likewise.
15323 * resolv/nss_dns/dns-network.c: Likewise.
15324 * resolv/res_hconf.c: Likewise.
15325 * scripts/gen-sorted.awk: Likewise.
15326 * soft-fp/soft-fp.h: Likewise.
15327 * stdio-common/printf.h: Likewise.
15328 * stdlib/monetary.h: Likewise.
15329 * stdlib/random.c: Likewise.
15330 * stdlib/random_r.c: Likewise.
15331 * sysdeps/generic/Makefile: Likewise.
15332 * sysdeps/gnu/Makefile: Likewise.
15333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15343 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15344 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15345 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15346 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15361 * sysdeps/mach/hurd/errnos.awk: Likewise.
15362 * sysdeps/mach/hurd/fork.c: Likewise.
15363 * sysdeps/mach/hurd/getcwd.c: Likewise.
15364 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15365 * sysdeps/mach/hurd/mmap.c: Likewise.
15366 * sysdeps/mach/hurd/utimes.c: Likewise.
15367 * sysdeps/mach/hurd/xmknod.c: Likewise.
15368 * sysdeps/posix/profil.c: Likewise.
15369 * sysdeps/posix/readdir_r.c: Likewise.
15370 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15371 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15372 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15373 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15375 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15376 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15377 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15380 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15381 * sysdeps/pthread/lio_listio.c: Likewise.
15382 * sysdeps/sparc/dl-procinfo.h: Likewise.
15383 * sysdeps/unix/i386/sysdep.S: Likewise.
15384 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15385 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15386 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15387 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15389 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15390 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15391 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15392 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15393 * sysdeps/wordsize-32/divdi3.c: Likewise.
15394 * time/sys/time.h: Likewise.
15395 * wcsmbs/Makefile: Likewise.
15397 2013-01-01 David S. Miller <davem@davemloft.net>
15399 * po/fr.po: Update from translation team.
15401 * catgets/gencat.c: Update copyright year.
15402 * csu/version.c: Likewise.
15403 * debug/catchsegv.sh: Likewise.
15404 * debug/pcprofiledump.c: Likewise.
15405 * debug/xtrace.sh: Likewise.
15406 * elf/ldconfig.c: Likewise.
15407 * elf/ldd.bash.in: Likewise.
15408 * elf/pldd.c: Likewise.
15409 * elf/sotruss.ksh: Likewise.
15410 * elf/sprof.c: Likewise.
15411 * iconv/iconv_prog.c: Likewise.
15412 * iconv/iconvconfig.c: Likewise.
15413 * locale/programs/locale.c: Likewise.
15414 * locale/programs/localedef.c: Likewise.
15415 * login/programs/pt_chown.c: Likewise.
15416 * malloc/memusage.sh: Likewise.
15417 * malloc/memusagestat.c: Likewise.
15418 * malloc/mtrace.pl: Likewise.
15419 * nscd/nscd.c: Likewise.
15420 * nss/getent.c: Likewise.
15421 * nss/makedb.c: Likewise.
15422 * posix/getconf.c: Likewise.
15424 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15426 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15429 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15431 * math/bits/mathcalls.h (modf): Use __nonnull.
15433 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15435 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15436 (split): Use macro CN instead of the bare value.
15437 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15440 instead of the bare value.
15441 (power1): Likewise.
15443 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15447 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15449 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15451 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15452 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15453 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15454 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15456 2012-12-28 Andreas Jaeger <aj@suse.de>
15458 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15459 values are from Linux 3.7.
15461 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15462 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15464 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15466 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15469 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15471 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15472 variables with preprocessor constants.
15473 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15474 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15475 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15477 2012-12-27 Bruno Haible <bruno@clisp.org>
15480 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15483 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15486 and use variable directly.
15487 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15489 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15491 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15492 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15494 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15496 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15497 include directive. Remove local variable MPONE.
15498 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15499 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15500 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15502 2012-12-25 David S. Miller <davem@davemloft.net>
15504 * version.h (RELEASE): Set to "development".
15505 (VERSION): Set to "2.17.90".
15506 * NEWS: Add 2.18 section.
15508 2012-12-21 David S. Miller <davem@davemloft.net>
15510 * po/hr.po: Update from translation team.
15512 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15514 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15516 2012-12-19 Steve Ellcey <sellcey@mips.com>
15518 * NEWS: Mention new memcpy for MIPS.
15520 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15522 * manual/contrib.texi (Contributors): Spelling correction.
15524 2012-12-15 David S. Miller <davem@davemloft.net>
15526 * po/ru.po: Update from translation team.
15528 2012-12-13 David S. Miller <davem@davemloft.net>
15530 * NEWS: Mention IFUNC testsuite enhancements.
15532 * po/pl.po: Update from translation team.
15533 * po/bg.po: Likewise.
15535 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15536 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15538 2012-12-11 David S. Miller <davem@davemloft.net>
15540 * po/sv.po: Update from translation team.
15542 * po/vi.po: Update from translation team.
15544 * po/cs.po: Update from translation team.
15546 * po/de.po: Update from translation team.
15547 * po/eo.po: Likewise.
15548 * po/nl.po: Likewise.
15550 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15553 * manual/argp.texi (Argp Helper Functions): Move node to follow
15554 Argp Parsing State.
15557 * manual/conf.texi (Limits on File System Capacity): Mention if
15558 terminating null is included in the max size.
15560 2012-12-10 Andreas Jaeger <aj@suse.de>
15562 * po/cs.po: Update from translation team.
15564 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15566 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15567 void pointer and cast to uintptr_t.
15568 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15570 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15571 * sysdeps/s390/s390-64/memset.S: Likewise.
15573 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15576 * menual/message.texi (Message Translation): Fix typos.
15577 (Helper programs for gettext): Likewise.
15579 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15582 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15585 2012-12-07 David S. Miller <davem@davemloft.net>
15587 * po/libc.pot: Update.
15589 2012-12-07 Richard Henderson <rth@redhat.com>
15592 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15593 normal/normal case to before the switch.
15594 (_FP_DIV): Likewise.
15596 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15597 Mike Frysinger <vapier@gentoo.org>
15599 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15600 check for __NR_fadvise64_64.
15602 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15604 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15605 0, not just to plain "0" as a statement.
15606 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15609 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15611 * NEWS: Use sourceware.org in Bugzilla URL.
15613 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15616 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15618 * stdio-common/tst-put-error.c (do_test): Add newline to the
15619 padded test to ensure flush.
15621 2012-12-05 Jeff Law <law@redhat.com>
15623 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15625 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15627 * README: Don't refer to ports add-on as distributed separately.
15628 Mention AArch64 in list of systems supported in the ports add-on.
15630 * LICENSES: Add more non-FSF copyright and license notices.
15632 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15635 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15637 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15638 10000 as width of padded output.
15640 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15642 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15645 variable LX with __attribute__ ((unused)).
15646 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15648 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15651 with __attribute__ ((unused)).
15653 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15655 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15657 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15659 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15660 (CFLAGS-nldbl-acos.c): New variable.
15661 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15686 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15687 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15688 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15689 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15690 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15691 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15692 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15693 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15694 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15695 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15696 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15697 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15698 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15699 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15700 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15701 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15702 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15703 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15704 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15705 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15706 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15707 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15708 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15709 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15710 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15711 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15712 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15713 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15714 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15715 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15716 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15717 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15718 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15719 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15720 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15721 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15722 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15723 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15724 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15725 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15726 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15727 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15728 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15729 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15730 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15731 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15732 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15733 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15734 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15735 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15736 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15737 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15738 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15739 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15740 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15741 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15742 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15743 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15744 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15745 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15746 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15747 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15748 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15749 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15750 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15751 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15752 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15753 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15754 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15755 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15756 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15757 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15760 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15764 whole low double instead of just low 47 bits when splitting values
15767 2012-12-03 Allan McRae <allan@archlinux.org>
15769 * manual/stdio.texi (Predefined Printf Handlers): Remove
15770 @hsep and @vsep usage.
15772 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15774 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15775 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15777 2012-12-03 Jeff Law <law@redhat.com>
15779 * time/sys/time.h (settimeofday): Do not mark TV argument
15782 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15784 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15785 when currently writing and seek to current position when not.
15786 * libio/Makefile (tests): Remove bug-fclose1.
15787 * libio/bug-fclose1.c: Delete.
15789 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15791 * manual/arith.texi (feenableexcept): Fix typo.
15792 (fedisableexcept): Likewise.
15794 2012-11-30 Roland McGrath <roland@hack.frob.com>
15796 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15797 second, differently-typed declaration, rather than a cast.
15799 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15801 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15802 * include/rpc/svc.h: ... here.
15804 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15807 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15808 depending n and resplen2 to catch cases where answer
15811 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15813 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15814 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15816 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15820 2012-11-29 Roland McGrath <roland@hack.frob.com>
15822 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15824 2012-11-28 Jeff Law <law@redhat.com>
15827 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15828 dataset_temporary. Track alloca usage into alloca_used.
15829 If dataset is large allocate and release it via malloc/free.
15831 2012-06-04 Florian Weimer <fweimer@redhat.com>
15834 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15836 2012-11-28 David S. Miller <davem@davemloft.net>
15838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15840 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15843 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15844 of pi/2 rounded to nearest to 64 bits.
15845 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15846 nearest to 64 bits.
15847 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15850 2012-11-28 Jeff Law <law@redhat.com>
15851 Martin Osvald <mosvald@redhat.com>
15854 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15855 * sunrpc/svc.c: Include time.h.
15856 (__svc_accept_failed): New function.
15857 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15858 any reason other than EINTR, call __svc_accept_failed.
15859 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15860 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15862 2012-11-28 Andreas Schwab <schwab@suse.de>
15864 * scripts/abilist.awk: Also handle indirect functions in .opd
15867 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15870 * sysdeps/x86/fpu/powl_helper.c: New file.
15871 * sysdeps/x86/fpu/Makefile: Likewise.
15872 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15874 (__ieee754_powl): Use __powl_helper for finite arguments except
15875 integer exponents below 8.
15876 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15878 (__ieee754_powl): Use __powl_helper for finite arguments except
15879 integer exponents below 8.
15880 * math/libm-test.inc (pow_test): Add more tests and enable some
15881 previously disabled tests.
15882 * sysdeps/i386/fpu/libm-test-ulps: Update.
15883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15885 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15886 Carlos O'Donell <carlos_odonell@mentor.com>
15888 * nss/makedb.c (is_prime): Assert that input is odd and greater
15889 than 4. Note that fact in a comment too.
15890 (next_prime): Add 4 to input.
15892 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15895 * libio/Makefile (tests): Add test case tst-fwrite-error.
15896 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15897 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15898 * libio/tst-fwrite-error.c: New test case.
15900 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15902 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15903 before casting to void *.
15904 * include/libc-internal.h (__pointer_type): New macro.
15905 (__integer_if_pointer_type_sub): Likewise.
15906 (__integer_if_pointer_type): Likewise.
15907 (cast_to_integer): Likewise.
15908 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15909 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15910 before casting to atomic64_t.
15911 (atomic_exchange_acq): Likewise.
15912 (__arch_exchange_and_add_body): Likewise.
15913 (__arch_add_body): Likewise.
15914 (atomic_add_negative): Likewise.
15915 (atomic_add_zero): Likewise.
15917 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15919 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15920 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15921 (add_fdes): Likewise.
15922 (linear_search_fdes): Likewise.
15923 (binary_search_unencoded_fdes): Likewise.
15925 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15927 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15929 2012-11-24 Adam Conrad <adconrad@0c3.net>
15931 * configure.in: Autodetect C++ header directories.
15932 * configure: Regenerated.
15934 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15936 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15938 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15942 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15944 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15945 LDBL_MANT_DIG == 106]: Disable some tests.
15946 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15948 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15953 input for small inputs. Return +/- pi/2 for large inputs.
15954 * math/libm-test.inc (atan_test): Add more tests.
15956 * sysdeps/generic/unwind-dw2-fde-glibc.c
15957 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15958 __attribute__ ((unused)).
15961 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15962 x * y if x and y are nonzero and z is zero.
15965 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15966 nonzero exponents with absolute value below 0x1p-117 to +/-
15970 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15971 up arguments below 2**-450, not just those below 2**-500.
15972 * math/libm-test.inc (hypot_test): Add another test.
15975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15976 Return a+b for ratio over 2**120, not 2**60.
15977 * math/libm-test.inc (hypot_test): Add another test.
15979 * math/libm-test.inc (clog_test): Use
15980 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15981 (clog10_test): Likewise.
15984 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15986 2012-11-22 Andreas Schwab <schwab@suse.de>
15988 * sysdeps/i386/fpu/libm-test-ulps: Update.
15990 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15992 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15993 printf output with newline.
15995 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15998 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15999 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16000 -z nodlopen, -z initfirst and -z execstack support.
16001 * configure: Regenerated.
16003 * elf/elf.h (DF_1_NODIRECT): New macro.
16004 (DF_1_IGNMULDEF): Likewise.
16005 (DF_1_NOKSYMS): Likewise.
16006 (DF_1_NOHDR): Likewise.
16007 (DF_1_EDITED): Likewise.
16008 (DF_1_NORELOC): Likewise.
16009 (DF_1_SYMINTPOSE): Likewise.
16010 (DF_1_GLOBAUDIT): Likewise.
16011 (DF_1_SINGLETON): Likewise.
16012 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16013 DT_1_SUPPORTED_MASK bits.
16014 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16016 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16018 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16020 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16022 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16025 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16026 (sendmmsg): Move declarations...
16027 * socket/sys/socket.h: ... here.
16028 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16029 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16031 * socket/recvmmsg.c: ... this new file.
16032 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16033 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16034 definition of __sendmmsg hidden.
16035 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16036 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16037 Move ENOSYS stub into and include it from...
16038 * socket/sendmmsg.c: ... this new file.
16039 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16040 (sysdep_routines): Move recvmmsg and sendmmsg...
16041 * socket/Makefile (routines): ... here.
16042 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16043 (GLIBC_PRIVATE): Add __sendmmsg.
16044 * include/sys/socket.h (__sendmmsg): Add declarations.
16045 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16048 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16051 variable I1 with __attribute__ ((unused)).
16052 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16054 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16056 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16057 DUMMY variables with __attribute__ ((unused)).
16059 * bits/byteswap.h: Include <bits/types.h>.
16060 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16062 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16064 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16065 string_t. Do not manually set errno.
16066 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16067 length with __strnlen. Make sure to both set errno and return it on
16070 2012-11-19 David S. Miller <davem@davemloft.net>
16072 With help from Joseph Myers.
16073 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16074 very large arguments properly.
16075 * math/libm-test.inc (atan_test): New tests.
16076 (atan2_test): New tests.
16077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16080 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16083 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16086 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16087 [POSIX] (EADDRNOTAVAIL): Likewise.
16088 [POSIX] (EAFNOSUPPORT): Likewise.
16089 [POSIX] (EALREADY): Likewise.
16090 [POSIX] (ECONNABORTED): Likewise.
16091 [POSIX] (ECONNREFUSED): Likewise.
16092 [POSIX] (ECONNRESET): Likewise.
16093 [POSIX] (EDESTADDRREQ): Likewise.
16094 [POSIX] (EDQUOT): Likewise.
16095 [POSIX] (EHOSTUNREACH): Likewise.
16096 [POSIX] (EIDRM): Likewise.
16097 [POSIX] (EISCONN): Likewise.
16098 [POSIX] (ELOOP): Likewise.
16099 [POSIX] (EMULTIHOP): Likewise.
16100 [POSIX] (ENETDOWN): Likewise.
16101 [POSIX] (ENETUNREACH): Likewise.
16102 [POSIX] (ENOBUFS): Likewise.
16103 [POSIX] (ENODATA): Likewise.
16104 [POSIX] (ENOLINK): Likewise.
16105 [POSIX] (ENOMSG): Likewise.
16106 [POSIX] (ENOPROTOOPT): Likewise.
16107 [POSIX] (ENOSR): Likewise.
16108 [POSIX] (ENOSTR): Likewise.
16109 [POSIX] (ENOTCONN): Likewise.
16110 [POSIX] (ENOTSOCK): Likewise.
16111 [POSIX] (EOPNOTSUPP): Likewise.
16112 [POSIX] (EOVERFLOW): Likewise.
16113 [POSIX] (EPROTO): Likewise.
16114 [POSIX] (EPROTONOSUPPORT): Likewise.
16115 [POSIX] (EPROTOTYPE): Likewise.
16116 [POSIX] (ESTALE): Likewise.
16117 [POSIX] (ETIME): Likewise.
16118 [POSIX] (ETXTBSY): Likewise.
16119 [POSIX] (EWOULDBLOCK): Likewise.
16120 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16121 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16122 [POSIX] (SEEK_CUR): Likewise.
16123 [POSIX] (SEEK_END): Likewise.
16124 [POSIX || UNIX98] (mode_t): Do not require.
16125 [POSIX] (off_t): Likewise.
16126 [POSIX] (pid_t): Likewise.
16127 [POSIX] (sys/stat.h): Do not allow header.
16128 [POSIX] (unistd.h): Likewise.
16129 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16130 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16131 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16132 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16134 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16135 sigevent): Specify elements.
16136 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16138 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16139 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16141 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16142 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16143 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16144 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16145 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16146 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16147 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16148 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16149 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16150 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16151 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16152 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16153 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16162 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16163 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16164 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16165 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16166 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16167 Specify lower bound on value.
16168 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16169 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16170 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16171 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16172 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16173 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16174 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16175 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16177 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16179 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16180 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16181 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16182 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16183 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16184 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16185 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16186 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16187 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16188 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16189 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16190 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16191 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16192 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16193 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16194 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16196 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16198 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16199 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16200 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16201 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16202 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16205 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16206 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16207 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16208 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16209 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16210 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16213 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16214 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16215 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16216 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16217 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16218 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16219 specify as optional.
16220 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16222 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16223 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16224 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16225 [XPG3] (NL_LANGMAX): Likewise.
16226 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16227 [POSIX || XPG3] (NL_NMAX): Likewise.
16228 [POSIX || XPG3] (NL_SETMAX): Likewise.
16229 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16230 [XPG3] (NZERO): Likewise.
16231 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16232 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16233 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16234 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16235 (REG_ERANGE): Expect.
16236 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16238 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16239 Use (void) in prototype.
16240 [POSIX] (*_t): Allow.
16241 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16242 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16243 (WRDE_BADVAL): Expect.
16245 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16247 [XPG3 || XPG4] (O_RSYNC): Likewise.
16248 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16250 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16251 [XPG3 || XPG4] (sigqueue): Likewise.
16252 [XPG3 || XPG4] (sigtimedwait): Likewise.
16253 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16254 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16255 [XPG3 || XPG4] (vsnprintf): Likewise.
16256 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16258 [XPG3 || XPG4] (blksize_t): Likewise.
16259 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16261 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16262 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16263 [XPG3 || XPG4] (struct itimerspec): Likewise.
16264 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16265 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16266 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16267 [XPG3 || XPG4] (clockid_t): Likewise.
16268 [XPG3 || XPG4] (timer_t): Likewise.
16269 [XPG3 || XPG4] (clock_getres): Likewise.
16270 [XPG3 || XPG4] (clock_gettime): Likewise.
16271 [XPG3 || XPG4] (clock_settime): Likewise.
16272 [XPG3 || XPG4] (nanosleep): Likewise.
16273 [XPG3 || XPG4] (timer_create): Likewise.
16274 [XPG3 || XPG4] (timer_delete): Likewise.
16275 [XPG3 || XPG4] (timer_gettime): Likewise.
16276 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16277 [XPG3 || XPG4] (timer_settime): Likewise.
16278 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16279 [XPG3 || XPG4] (getlogin_r): Likewise.
16280 [XPG3 || XPG4] (pread): Likewise.
16281 [XPG3 || XPG4] (pthread_atfork): Likewise.
16282 [XPG3 || XPG4] (pwrite): Likewise.
16285 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16288 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16290 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16291 finalizing MALLSTREAM.
16293 * sysdeps/mach/hurd/syncfs.c: New file.
16295 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16298 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16299 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16300 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16301 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16302 (_nss_dns_gethostbyname4_r): Likewise.
16303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16304 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16306 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16309 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16311 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16313 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16314 * elf/cache.c (print_entry): Print ",AArch64" for
16317 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16318 * elf/cache.c (print_entry): Print ",hard-float" for
16321 2012-11-18 David S. Miller <davem@davemloft.net>
16323 With help from Joseph Myers.
16324 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16326 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16328 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16329 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16331 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16332 * math/libm-test.inc (y0_test): New tests.
16333 (y1_test): New tests.
16334 * sysdeps/i386/fpu/libm-test-ulps: Update.
16335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16338 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16340 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16342 * configure: Regenerated.
16344 2012-11-17 David S. Miller <davem@davemloft.net>
16347 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16348 nonzero exponents with absolute value below 0x1p-128 to +/-
16351 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16353 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16355 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16357 * posix/getconf-speclist.c: New file.
16358 * posix/posix-envs.def: Likewise.
16359 * posix/confstr.c (START_ENV_GROUP): New macro.
16360 (END_ENV_GROUP): Likewise.
16361 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16362 (KNOWN_PRESENT_ENV_STRING): Likewise.
16363 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16364 (UNKNOWN_ENVIRONMENT): Likewise.
16365 (confstr): Include posix-envs.def instead of handling
16366 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16367 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16368 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16369 (END_ENV_GROUP): Likewise.
16370 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16371 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16372 (UNKNOWN_ENVIRONMENT): Likewise.
16373 (__sysconf): Include posix-envs.def instead of handling associated
16374 cases directly here.
16375 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16376 preprocessing getconf-speclist.c rather than running getconf or
16377 generating empty file.
16379 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16381 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16383 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16386 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16388 2012-11-16 David S. Miller <davem@davemloft.net>
16390 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16391 smaller than LDBL_EPSILON/2.0L, just return xm1.
16393 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16395 * elf/tst-array1.c (init): Set constructor priority to 1000.
16396 (fini): Set destructor priority to 1000.
16397 * elf/tst-array2dep.c: Likewise.
16399 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16402 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16403 (_IO_new_file_xsputn): Also return EOF if none of the input
16404 data was written when overflow failed.
16405 * libio/iopadn.c (_IO_padn): Likewise.
16406 * libio/iowpadn.c (_IO_wpadn): Likewise.
16407 * stdio-common/tst-put-error.c: Add copyright notice.
16408 (do_test): Add case for printing padded string.
16409 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16410 _IO_padn returned error.
16411 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16412 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16415 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16417 * libio/libioP.h: Add comment note that the references to C++
16418 bits are now obsolete.
16420 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16422 * math/libm-test.inc (check_complex): Use asprintf.
16424 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16426 * debug/pcprofiledump.c (print_version): Update copyright year.
16427 * malloc/memusagestat.c (print_version): Likewise.
16429 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16432 * elf/Makefile (tests): Add tst-audit8.
16433 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16434 ($(objpfx)tst-audit8.out): New target.
16435 (tst-audit8-ENV): New variable.
16436 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16437 audit if l_reloc_result is NULL.
16438 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16439 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16440 * elf/tst-audit8.c: New file.
16442 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16444 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16445 * misc/Makefile (CFLAGS-select.c): Define.
16446 * posix/Makefile (CFLAGS-pause.c): Define.
16448 2012-11-13 David S. Miller <davem@davemloft.net>
16450 * crypt/Makefile: Move test targets after toplevel Rules
16451 inclusion. Grab any necessary sysdep routines when linking.
16452 * crypt/md5.c (md5_process_block): Remove define, we will always
16453 name it __md5_process_block.
16454 (md5_finish_ctx): Update md5_process_block call.
16455 (md5_stream): Likewise.
16456 (md5_process_bytes): Likewise.
16457 (md5_process_block): Rename to __md5_process_block and move to ...
16458 * crypt/md5-block.c: ... here.
16459 * crypt/sha256.c (sha256_process_block): Move to ...
16460 * crypt/sha256-block.c: ... here.
16461 * crypt/sha512.c (sha512_process_block): Move to ...
16462 * crypt/sha512-block.c: ... here.
16463 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16465 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16466 * sysdeps/sparc/sparc64/multiarch/Makefile
16467 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16469 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16470 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16472 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16473 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16474 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16475 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16476 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16477 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16478 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16479 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16482 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16485 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16487 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16489 * timezone/tzselect.ksh: Update from tzcode git revision
16490 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16491 * timezone/zdump.c: Likewise.
16492 * timezone/zic.c: Likewise.
16493 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16494 in TZVERSION setting, not $(PKGVERSION).
16495 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16496 REPORT_BUGS_TO settings.
16499 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16502 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16504 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16505 detection to immediately after _FP_ROUND().
16506 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16509 2012-11-11 David S. Miller <davem@davemloft.net>
16511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16513 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16514 __close rather than their public counterparts.
16516 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16518 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16520 [UNIX98] (sem_timedwait): Do not expect.
16521 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16522 [XPG4 || UNIX98] (sockatmark): Do not expect.
16523 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16524 (clock_getcpuclockid): Do not expect.
16525 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16526 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16528 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16529 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16530 [UNIX98] (vwscanf): Likewise.
16531 [UNIX98] (vswscanf): Likewise.
16533 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16535 * timezone/version.h: Remove file.
16536 * timezone/README: Do not refer to version.h.
16537 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16538 $(objpfx)version.h.
16539 ($(objpfx)zdump.o): Likewise.
16540 ($(objpfx)version.h): New target.
16542 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16544 * timezone/README: Don't mention modification to tzselect.ksh.
16545 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16546 work on unmodified tzselect.ksh. Substitute version numbers in
16549 * Makefile (format-me): Remove.
16550 (INSTALL): Adjust indentation. Use commands directly instead of
16551 using $(format-me).
16553 * aclocal.m4 (ACX_PKGVERSION): New macro.
16554 (ACX_BUGURL): Likewise.
16555 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16556 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16557 (REPORT_BUGS_TO): Likewise.
16558 * configure: Regenerated.
16559 * config.h.in (PKGVERSION): New macro.
16560 (REPORT_BUGS_TO): Likewise.
16561 * config.make.in (PKGVERSION): New variable.
16562 (PKGVERSION_TEXI): Likewise.
16563 (REPORT_BUGS_TO): Likewise.
16564 (REPORT_BUGS_TEXI): Likewise.
16565 * Makefile (format-me): Use -I$(common-objpfx)manual.
16566 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16567 ($(common-objpfx)manual/%): New target.
16568 (manual/%): Remove target.
16569 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16570 (print_version): Use PKGVERSION.
16571 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16572 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16573 and REPORT_BUGS_TO.
16574 ($(objpfx)xtrace): Likewise.
16575 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16576 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16577 (print_version): Use PKGVERSION.
16578 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16579 (do_version): Use PKGVERSION.
16580 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16582 (common-ldd-rewrite): Likewise.
16583 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16584 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16585 (print_version): Use PKGVERSION.
16586 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16587 * elf/pldd.c (argp_program_bug_address): Remove variable.
16588 (more_help): New function.
16589 (argp): Use more_help.
16590 (print_version): Use PKGVERSION.
16591 * elf/sln.c (main): Use PKGVERSION.
16592 (usage): Use REPORT_BUGS_TO.
16593 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16594 (top level): Use PKGVERSION.
16595 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16596 (print_version): Use PKGVERSION.
16597 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16598 (print_version): Use PKGVERSION.
16599 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16600 (print_version): Use PKGVERSION.
16601 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16602 (print_version): Use PKGVERSION.
16603 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16604 (print_version): Use PKGVERSION.
16605 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16606 (print_version): Use PKGVERSION.
16607 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16609 ($(objpfx)memusage): Likewise.
16610 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16611 (do_version): Use PKGVERSION.
16612 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16613 (print_version): Use PKGVERSION.
16614 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16615 ($PKGVERSION): New variable.
16616 ($REPORT_BUGS_TO): Likewise.
16617 (usage): Use $REPORT_BUGS_TO.
16618 (top level): Use $PKGVERSION.
16619 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16620 ($(objpfx)pkgvers.texi): New rule.
16621 ($(objpfx)stamp-pkgvers): Likewise.
16622 * manual/install.texi: Include pkgvers.texi.
16623 (--with-pkgversion): Document new configure option.
16624 (--with-bugurl): Likewise.
16625 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16626 than necessarily for this particular distribution. Use
16627 REPORT_BUGS_TO for where to report bugs.
16628 * INSTALL: Regenerated.
16629 * manual/libc.texinfo: Include pkgvers.texi.
16630 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16631 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16632 (print_version): Use PKGVERSION.
16633 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16634 (print_version): Use PKGVERSION.
16635 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16636 (print_version): Use PKGVERSION.
16637 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16638 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16640 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16641 (print_version): Use PKGVERSION.
16642 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16643 (print_version): Use PKGVERSION.
16644 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16647 * timezone/checktab.awk: Update from tzcode 2012i.
16648 * timezone/ialloc.c: Likewise.
16649 * timezone/private.h: Likewise.
16650 * timezone/scheck.c: Likewise.
16651 * timezone/tzfile.h: Likewise.
16652 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16653 (TZVERSION): Hardcode tzcode version number.
16654 * timezone/zdump.c: Update from tzcode 2012i.
16655 * timezone/zic.c: Likewise.
16656 * timezone/version.h: New file.
16657 * timezone/README: Describe version.h. Update upstream location.
16660 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16661 (mktemp): Enable declaration.
16662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16679 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16680 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16681 for copies of such integer values.
16682 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16683 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16685 2012-11-09 Andreas Jaeger <aj@suse.de>
16687 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16688 definitions and declarations that are provided by
16689 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16691 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16693 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16694 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16695 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16698 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16700 * elf/elf.h: Update comment before AArch64 relocations.
16702 2012-11-07 David S. Miller <davem@davemloft.net>
16704 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16705 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16706 (__start_context): Declare.
16707 (__makecontext_ret): Delete.
16708 (__makecontext): Hook up __start_context instead of
16710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16711 (sysdep_routines): Add __start_context when in stdlib.
16713 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16715 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16716 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16717 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16719 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16720 (READELF): New variable. Use it instead of hardcoded "readelf".
16722 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16724 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16725 * sysdeps/x86/Makefile: Here.
16726 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16727 * sysdeps/x86/tst-xmmymm.sh: This.
16729 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16731 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16733 [UNIX98] (pthread_barrier_t): Do not expect.
16734 [UNIX98] (pthread_barrierattr_t): Likewise.
16735 [UNIX98] (pthread_spinlock_t): Likewise.
16736 [UNIX98] (pthread_barrier_destroy): Likewise.
16737 [UNIX98] (pthread_barrier_init): Likewise.
16738 [UNIX98] (pthread_barrier_wait): Likewise.
16739 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16740 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16741 [UNIX98] (pthread_barrierattr_init): Likewise.
16742 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16743 [UNIX98] (pthread_getcpuclockid): Likewise.
16744 [UNIX98] (pthread_mutex_timedlock): Likewise.
16745 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16746 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16747 [UNIX98] (pthread_sigmask): Likewise.
16748 [UNIX98] (pthread_spin_destroy): Likewise.
16749 [UNIX98] (pthread_spin_init): Likewise.
16750 [UNIX98] (pthread_spin_lock): Likewise.
16751 [UNIX98] (pthread_spin_trylock): Likewise.
16752 [UNIX98] (pthread_spin_unlock): Likewise.
16753 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16755 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16756 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16757 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16758 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16759 [XPG3 || XPG4] (pthread_key_t): Likewise.
16760 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16761 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16762 [XPG3 || XPG4] (pthread_once_t): Likewise.
16763 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16764 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16765 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16766 [XPG3 || XPG4] (pthread_t): Likewise.
16768 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16770 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16772 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16773 Change function return type to int.
16775 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16776 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16777 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16778 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16779 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16780 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16781 [!POSIX] (posix_madvise): Likewise.
16782 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16784 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16785 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16786 (mode_t): Likewise.
16787 (posix_mem_offset): Likewise.
16788 (posix_typed_mem_get_info): Likewise.
16789 (posix_typed_mem_open): Likewise.
16791 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16792 Change condition to [XOPEN2K8].
16794 * conform/conformtest.pl: Preprocess allow-header data with -x c
16795 instead of from stdin.
16796 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16797 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16798 [C99-based standards] (cerfc): Likewise.
16799 [C99-based standards] (cexp2): Likewise.
16800 [C99-based standards] (cexpm1): Likewise.
16801 [C99-based standards] (clog10): Likewise.
16802 [C99-based standards] (clog1p): Likewise.
16803 [C99-based standards] (clog2): Likewise.
16804 [C99-based standards] (clgamma): Likewise.
16805 [C99-based standards] (ctgamma): Likewise.
16806 [C99-based standards] (cerff): Likewise.
16807 [C99-based standards] (cerfcf): Likewise.
16808 [C99-based standards] (cexp2f): Likewise.
16809 [C99-based standards] (cexpm1f): Likewise.
16810 [C99-based standards] (clog10f): Likewise.
16811 [C99-based standards] (clog1pf): Likewise.
16812 [C99-based standards] (clog2f): Likewise.
16813 [C99-based standards] (clgammaf): Likewise.
16814 [C99-based standards] (ctgammaf): Likewise.
16815 [C99-based standards] (cerfl): Likewise.
16816 [C99-based standards] (cerfcl): Likewise.
16817 [C99-based standards] (cexp2l): Likewise.
16818 [C99-based standards] (cexpm1l): Likewise.
16819 [C99-based standards] (clog10l): Likewise.
16820 [C99-based standards] (clog1pl): Likewise.
16821 [C99-based standards] (clog2l): Likewise.
16822 [C99-based standards] (clgammal): Likewise.
16823 [C99-based standards] (ctgammal): Likewise.
16824 * conform/data/inttypes.h-data [C99-based standards]: Include
16825 stdint.h-data. Remove all expectations for stdint.h contents.
16826 [C99-based standards] (PRI*): Do not allow.
16827 [C99-based standards] (SCN*): Likewise.
16828 [C99-based standards] (*_t): Likewise.
16829 [C99-based-standards] (PRId8): Expect macro.
16830 [C99-based-standards] (PRIi8): Likewise.
16831 [C99-based-standards] (PRIo8): Likewise.
16832 [C99-based-standards] (PRIu8): Likewise.
16833 [C99-based-standards] (PRIx8): Likewise.
16834 [C99-based-standards] (PRIX8): Likewise.
16835 [C99-based-standards] (SCNd8): Likewise.
16836 [C99-based-standards] (SCNi8): Likewise.
16837 [C99-based-standards] (SCNo8): Likewise.
16838 [C99-based-standards] (SCNu8): Likewise.
16839 [C99-based-standards] (SCNx8): Likewise.
16840 [C99-based-standards] (PRIdLEAST8): Likewise.
16841 [C99-based-standards] (PRIiLEAST8): Likewise.
16842 [C99-based-standards] (PRIoLEAST8): Likewise.
16843 [C99-based-standards] (PRIuLEAST8): Likewise.
16844 [C99-based-standards] (PRIxLEAST8): Likewise.
16845 [C99-based-standards] (PRIXLEAST8): Likewise.
16846 [C99-based-standards] (SCNdLEAST8): Likewise.
16847 [C99-based-standards] (SCNiLEAST8): Likewise.
16848 [C99-based-standards] (SCNoLEAST8): Likewise.
16849 [C99-based-standards] (SCNuLEAST8): Likewise.
16850 [C99-based-standards] (SCNxLEAST8): Likewise.
16851 [C99-based-standards] (PRIdFAST8): Likewise.
16852 [C99-based-standards] (PRIiFAST8): Likewise.
16853 [C99-based-standards] (PRIoFAST8): Likewise.
16854 [C99-based-standards] (PRIuFAST8): Likewise.
16855 [C99-based-standards] (PRIxFAST8): Likewise.
16856 [C99-based-standards] (PRIXFAST8): Likewise.
16857 [C99-based-standards] (SCNdFAST8): Likewise.
16858 [C99-based-standards] (SCNiFAST8): Likewise.
16859 [C99-based-standards] (SCNoFAST8): Likewise.
16860 [C99-based-standards] (SCNuFAST8): Likewise.
16861 [C99-based-standards] (SCNxFAST8): Likewise.
16862 [C99-based-standards] (PRId16): Likewise.
16863 [C99-based-standards] (PRIi16): Likewise.
16864 [C99-based-standards] (PRIo16): Likewise.
16865 [C99-based-standards] (PRIu16): Likewise.
16866 [C99-based-standards] (PRIx16): Likewise.
16867 [C99-based-standards] (PRIX16): Likewise.
16868 [C99-based-standards] (SCNd16): Likewise.
16869 [C99-based-standards] (SCNi16): Likewise.
16870 [C99-based-standards] (SCNo16): Likewise.
16871 [C99-based-standards] (SCNu16): Likewise.
16872 [C99-based-standards] (SCNx16): Likewise.
16873 [C99-based-standards] (PRIdLEAST16): Likewise.
16874 [C99-based-standards] (PRIiLEAST16): Likewise.
16875 [C99-based-standards] (PRIoLEAST16): Likewise.
16876 [C99-based-standards] (PRIuLEAST16): Likewise.
16877 [C99-based-standards] (PRIxLEAST16): Likewise.
16878 [C99-based-standards] (PRIXLEAST16): Likewise.
16879 [C99-based-standards] (SCNdLEAST16): Likewise.
16880 [C99-based-standards] (SCNiLEAST16): Likewise.
16881 [C99-based-standards] (SCNoLEAST16): Likewise.
16882 [C99-based-standards] (SCNuLEAST16): Likewise.
16883 [C99-based-standards] (SCNxLEAST16): Likewise.
16884 [C99-based-standards] (PRIdFAST16): Likewise.
16885 [C99-based-standards] (PRIiFAST16): Likewise.
16886 [C99-based-standards] (PRIoFAST16): Likewise.
16887 [C99-based-standards] (PRIuFAST16): Likewise.
16888 [C99-based-standards] (PRIxFAST16): Likewise.
16889 [C99-based-standards] (PRIXFAST16): Likewise.
16890 [C99-based-standards] (SCNdFAST16): Likewise.
16891 [C99-based-standards] (SCNiFAST16): Likewise.
16892 [C99-based-standards] (SCNoFAST16): Likewise.
16893 [C99-based-standards] (SCNuFAST16): Likewise.
16894 [C99-based-standards] (SCNxFAST16): Likewise.
16895 [C99-based-standards] (PRId32): Likewise.
16896 [C99-based-standards] (PRIi32): Likewise.
16897 [C99-based-standards] (PRIo32): Likewise.
16898 [C99-based-standards] (PRIu32): Likewise.
16899 [C99-based-standards] (PRIx32): Likewise.
16900 [C99-based-standards] (PRIX32): Likewise.
16901 [C99-based-standards] (SCNd32): Likewise.
16902 [C99-based-standards] (SCNi32): Likewise.
16903 [C99-based-standards] (SCNo32): Likewise.
16904 [C99-based-standards] (SCNu32): Likewise.
16905 [C99-based-standards] (SCNx32): Likewise.
16906 [C99-based-standards] (PRIdLEAST32): Likewise.
16907 [C99-based-standards] (PRIiLEAST32): Likewise.
16908 [C99-based-standards] (PRIoLEAST32): Likewise.
16909 [C99-based-standards] (PRIuLEAST32): Likewise.
16910 [C99-based-standards] (PRIxLEAST32): Likewise.
16911 [C99-based-standards] (PRIXLEAST32): Likewise.
16912 [C99-based-standards] (SCNdLEAST32): Likewise.
16913 [C99-based-standards] (SCNiLEAST32): Likewise.
16914 [C99-based-standards] (SCNoLEAST32): Likewise.
16915 [C99-based-standards] (SCNuLEAST32): Likewise.
16916 [C99-based-standards] (SCNxLEAST32): Likewise.
16917 [C99-based-standards] (PRIdFAST32): Likewise.
16918 [C99-based-standards] (PRIiFAST32): Likewise.
16919 [C99-based-standards] (PRIoFAST32): Likewise.
16920 [C99-based-standards] (PRIuFAST32): Likewise.
16921 [C99-based-standards] (PRIxFAST32): Likewise.
16922 [C99-based-standards] (PRIXFAST32): Likewise.
16923 [C99-based-standards] (SCNdFAST32): Likewise.
16924 [C99-based-standards] (SCNiFAST32): Likewise.
16925 [C99-based-standards] (SCNoFAST32): Likewise.
16926 [C99-based-standards] (SCNuFAST32): Likewise.
16927 [C99-based-standards] (SCNxFAST32): Likewise.
16928 [C99-based-standards] (PRId64): Likewise.
16929 [C99-based-standards] (PRIi64): Likewise.
16930 [C99-based-standards] (PRIo64): Likewise.
16931 [C99-based-standards] (PRIu64): Likewise.
16932 [C99-based-standards] (PRIx64): Likewise.
16933 [C99-based-standards] (PRIX64): Likewise.
16934 [C99-based-standards] (SCNd64): Likewise.
16935 [C99-based-standards] (SCNi64): Likewise.
16936 [C99-based-standards] (SCNo64): Likewise.
16937 [C99-based-standards] (SCNu64): Likewise.
16938 [C99-based-standards] (SCNx64): Likewise.
16939 [C99-based-standards] (PRIdLEAST64): Likewise.
16940 [C99-based-standards] (PRIiLEAST64): Likewise.
16941 [C99-based-standards] (PRIoLEAST64): Likewise.
16942 [C99-based-standards] (PRIuLEAST64): Likewise.
16943 [C99-based-standards] (PRIxLEAST64): Likewise.
16944 [C99-based-standards] (PRIXLEAST64): Likewise.
16945 [C99-based-standards] (SCNdLEAST64): Likewise.
16946 [C99-based-standards] (SCNiLEAST64): Likewise.
16947 [C99-based-standards] (SCNoLEAST64): Likewise.
16948 [C99-based-standards] (SCNuLEAST64): Likewise.
16949 [C99-based-standards] (SCNxLEAST64): Likewise.
16950 [C99-based-standards] (PRIdFAST64): Likewise.
16951 [C99-based-standards] (PRIiFAST64): Likewise.
16952 [C99-based-standards] (PRIoFAST64): Likewise.
16953 [C99-based-standards] (PRIuFAST64): Likewise.
16954 [C99-based-standards] (PRIxFAST64): Likewise.
16955 [C99-based-standards] (PRIXFAST64): Likewise.
16956 [C99-based-standards] (SCNdFAST64): Likewise.
16957 [C99-based-standards] (SCNiFAST64): Likewise.
16958 [C99-based-standards] (SCNoFAST64): Likewise.
16959 [C99-based-standards] (SCNuFAST64): Likewise.
16960 [C99-based-standards] (SCNxFAST64): Likewise.
16961 [C99-based-standards] (PRIdMAX): Likewise.
16962 [C99-based-standards] (PRIiMAX): Likewise.
16963 [C99-based-standards] (PRIoMAX): Likewise.
16964 [C99-based-standards] (PRIuMAX): Likewise.
16965 [C99-based-standards] (PRIxMAX): Likewise.
16966 [C99-based-standards] (PRIXMAX): Likewise.
16967 [C99-based-standards] (SCNdMAX): Likewise.
16968 [C99-based-standards] (SCNiMAX): Likewise.
16969 [C99-based-standards] (SCNoMAX): Likewise.
16970 [C99-based-standards] (SCNuMAX): Likewise.
16971 [C99-based-standards] (SCNxMAX): Likewise.
16972 [C99-based-standards] (PRIdPTR): Likewise.
16973 [C99-based-standards] (PRIiPTR): Likewise.
16974 [C99-based-standards] (PRIoPTR): Likewise.
16975 [C99-based-standards] (PRIuPTR): Likewise.
16976 [C99-based-standards] (PRIxPTR): Likewise.
16977 [C99-based-standards] (PRIXPTR): Likewise.
16978 [C99-based-standards] (SCNdPTR): Likewise.
16979 [C99-based-standards] (SCNiPTR): Likewise.
16980 [C99-based-standards] (SCNoPTR): Likewise.
16981 [C99-based-standards] (SCNuPTR): Likewise.
16982 [C99-based-standards] (SCNxPTR): Likewise.
16983 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16985 * conform/data/stdint.h-data: Update comments to clarify
16987 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16989 [C99-based standards] (INT8_MAX): Likewise.
16990 [C99-based standards] (INT16_MIN): Likewise.
16991 [C99-based standards] (INT16_MAX): Likewise.
16992 [C99-based standards] (INT32_MIN): Likewise.
16993 [C99-based standards] (INT32_MAX): Likewise.
16994 [C99-based standards] (INT64_MIN): Likewise.
16995 [C99-based standards] (INT64_MAX): Likewise.
16996 [C99-based standards] (UINT8_MAX): Likewise.
16997 [C99-based standards] (UINT16_MAX): Likewise.
16998 [C99-based standards] (UINT32_MAX): Likewise.
16999 [C99-based standards] (UINT64_MAX): Likewise.
17000 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17001 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17002 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17003 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17004 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17005 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17006 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17007 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17008 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17009 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17010 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17011 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17012 [C99-based standards] (INT_FAST8_MIN): Likewise.
17013 [C99-based standards] (INT_FAST8_MAX): Likewise.
17014 [C99-based standards] (INT_FAST16_MIN): Likewise.
17015 [C99-based standards] (INT_FAST16_MAX): Likewise.
17016 [C99-based standards] (INT_FAST32_MIN): Likewise.
17017 [C99-based standards] (INT_FAST32_MAX): Likewise.
17018 [C99-based standards] (INT_FAST64_MIN): Likewise.
17019 [C99-based standards] (INT_FAST64_MAX): Likewise.
17020 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17021 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17022 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17023 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17024 [C99-based standards] (INTPTR_MIN): Likewise.
17025 [C99-based standards] (INTPTR_MAX): Likewise.
17026 [C99-based standards] (UINTPTR_MAX): Likewise.
17027 [C99-based standards] (INTMAX_MIN): Likewise.
17028 [C99-based standards] (INTMAX_MAX): Likewise.
17029 [C99-based standards] (UINTMAX_MAX): Likewise.
17030 [C99-based standards] (PTRDIFF_MIN): Likewise.
17031 [C99-based standards] (PTRDIFF_MAX): Likewise.
17032 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17033 [C99-based standards] (SIZE_MAX): Likewise.
17034 [C99-based standards] (WCHAR_MAX): Likewise.
17035 [C99-based standards] (WINT_MAX): Likewise.
17036 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17037 constraint on value.
17038 [C99-based standards] (WCHAR_MIN): Likewise.
17039 [C99-based standards] (WINT_MIN): Likewise.
17040 [C99-based standards] (*_t): Allow.
17041 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17042 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17043 Include math.h-data and complex.h-data. Remove all expectations
17044 of math.h and complex.h contents.
17045 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17047 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17048 (struct tm): Expect tag.
17049 [C99-based-standards] (wcstof): Expect function.
17050 [C99-based-standards] (wcstold): Likewise.
17051 [C99-based-standards] (wcstoll): Likewise.
17052 [C99-based-standards] (wcstoull): Likewise.
17053 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17054 macro-int-constant. Specify type.
17055 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17056 constraint on value.
17057 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17059 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17061 [ISO C standards]: Do not allow headers.
17062 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17063 wcs[abcdefghijklmnopqrstuvwxyz]*.
17064 [ISO C standards] (*_t): Do not allow.
17065 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17067 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17068 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17070 [ISO C standards]: Do not allow headers.
17071 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17072 is[abcdefghijklmnopqrstuvwxyz]*.
17073 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17074 to[abcdefghijklmnopqrstuvwxyz]*.
17075 [ISO C standards] (*_t): Do not allow.
17076 * conform/data/stdalign.h-data: New file.
17077 * conform/data/stdbool.h-data: Likewise.
17078 * conform/data/stdnoreturn.h-data: Likewise.
17080 2012-11-07 Roland McGrath <roland@hack.frob.com>
17083 * manual/filesys.texi (Directory Entries): Typo fix.
17084 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17086 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17088 * elf/elf.h (EM_AARCH64): New macro.
17089 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17090 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17091 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17092 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17093 (R_AARCH64_TLSDESC): Likewise.
17094 (NT_ARM_TLS): Likewise.
17095 (NT_ARM_HW_BREAK): Likewise.
17096 (NT_ARM_HW_WATCH): Likewise.
17098 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17101 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17102 (__ieee754_powl): Saturate nonzero exponents with absolute value
17103 below 0x1p-79 to +/- 0x1p-79.
17104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17105 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17106 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17107 nonzero exponents with absolute value below 0x1p-32 to +/-
17109 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17110 (__ieee754_powl): Saturate nonzero exponents with absolute value
17111 below 0x1p-79 to +/- 0x1p-79.
17112 * math/libm-test.inc (pow_test): Add more tests.
17114 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17116 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17117 _dl_s390_cap_flags with kernel. Increase string length.
17118 (_dl_s390_platforms): Add z196 and zEC12.
17120 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17122 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17123 Change XOPEN21K to XOPEN2K.
17125 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17127 * string/memmove.c: Use memcpy when possible.
17129 2012-11-06 Andreas Jaeger <aj@suse.de>
17131 * po/eo.po: Update from translation team.
17133 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17137 exponent and small x and y exponents, scale x or y up. Increase
17138 by 2 the exponent used in scaling up.
17139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17141 * math/libm-test.inc (fma_test): Add more tests.
17142 (fma_test_towardzero): Likewise.
17143 (fma_test_downward): Likewise.
17144 (fma_test_upward): Likewise.
17146 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17149 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17153 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17154 namespace for names of struct fields.
17155 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17157 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17158 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17160 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17163 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17165 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17167 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17171 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17174 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17178 definitely overflow as x * y not x * y + z.
17179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17180 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17181 * math/libm-test.inc (fma_test): Add more tests.
17182 (fma_test_towardzero): Likewise.
17183 (fma_test_downward): Likewise.
17184 (fma_test_upward): Likewise.
17186 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17190 * include/stub-tag.h: Remove file.
17191 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17193 * manual/maint.texi (Porting): Don't reference it.
17194 * Makerules ($(objpfx)stubs): Likewise.
17195 * dirent/closedir.c: Don't include <stub-tag.h>.
17196 * dirent/dirfd.c: Likewise.
17197 * dirent/fdopendir.c: Likewise.
17198 * dirent/getdents.c: Likewise.
17199 * dirent/getdents64.c: Likewise.
17200 * dirent/opendir.c: Likewise.
17201 * dirent/readdir.c: Likewise.
17202 * dirent/readdir64.c: Likewise.
17203 * dirent/readdir64_r.c: Likewise.
17204 * dirent/readdir_r.c: Likewise.
17205 * dirent/rewinddir.c: Likewise.
17206 * dirent/seekdir.c: Likewise.
17207 * dirent/telldir.c: Likewise.
17208 * gmon/profil.c: Likewise.
17209 * grp/setgroups.c: Likewise.
17210 * inet/if_index.c: Likewise.
17211 * io/access.c: Likewise.
17212 * io/chdir.c: Likewise.
17213 * io/chmod.c: Likewise.
17214 * io/chown.c: Likewise.
17215 * io/close.c: Likewise.
17216 * io/dup.c: Likewise.
17217 * io/dup2.c: Likewise.
17218 * io/dup3.c: Likewise.
17219 * io/euidaccess.c: Likewise.
17220 * io/faccessat.c: Likewise.
17221 * io/fchdir.c: Likewise.
17222 * io/fchmod.c: Likewise.
17223 * io/fchmodat.c: Likewise.
17224 * io/fchown.c: Likewise.
17225 * io/fchownat.c: Likewise.
17226 * io/fcntl.c: Likewise.
17227 * io/flock.c: Likewise.
17228 * io/fstatfs.c: Likewise.
17229 * io/fstatfs64.c: Likewise.
17230 * io/fstatvfs.c: Likewise.
17231 * io/fstatvfs64.c: Likewise.
17232 * io/futimens.c: Likewise.
17233 * io/fxstat.c: Likewise.
17234 * io/fxstat64.c: Likewise.
17235 * io/fxstatat.c: Likewise.
17236 * io/fxstatat64.c: Likewise.
17237 * io/getcwd.c: Likewise.
17238 * io/isatty.c: Likewise.
17239 * io/lchmod.c: Likewise.
17240 * io/lchown.c: Likewise.
17241 * io/link.c: Likewise.
17242 * io/linkat.c: Likewise.
17243 * io/lseek.c: Likewise.
17244 * io/lseek64.c: Likewise.
17245 * io/lxstat64.c: Likewise.
17246 * io/mkdir.c: Likewise.
17247 * io/mkdirat.c: Likewise.
17248 * io/mkfifo.c: Likewise.
17249 * io/mkfifoat.c: Likewise.
17250 * io/open.c: Likewise.
17251 * io/open64.c: Likewise.
17252 * io/openat.c: Likewise.
17253 * io/openat64.c: Likewise.
17254 * io/pipe.c: Likewise.
17255 * io/pipe2.c: Likewise.
17256 * io/poll.c: Likewise.
17257 * io/posix_fadvise.c: Likewise.
17258 * io/posix_fadvise64.c: Likewise.
17259 * io/posix_fallocate.c: Likewise.
17260 * io/posix_fallocate64.c: Likewise.
17261 * io/read.c: Likewise.
17262 * io/readlink.c: Likewise.
17263 * io/readlinkat.c: Likewise.
17264 * io/rmdir.c: Likewise.
17265 * io/sendfile.c: Likewise.
17266 * io/sendfile64.c: Likewise.
17267 * io/statfs.c: Likewise.
17268 * io/statfs64.c: Likewise.
17269 * io/statvfs.c: Likewise.
17270 * io/statvfs64.c: Likewise.
17271 * io/symlink.c: Likewise.
17272 * io/symlinkat.c: Likewise.
17273 * io/ttyname.c: Likewise.
17274 * io/ttyname_r.c: Likewise.
17275 * io/umask.c: Likewise.
17276 * io/unlink.c: Likewise.
17277 * io/unlinkat.c: Likewise.
17278 * io/utime.c: Likewise.
17279 * io/utimensat.c: Likewise.
17280 * io/write.c: Likewise.
17281 * io/xmknod.c: Likewise.
17282 * io/xmknodat.c: Likewise.
17283 * io/xstat.c: Likewise.
17284 * io/xstat64.c: Likewise.
17285 * login/getpt.c: Likewise.
17286 * login/grantpt.c: Likewise.
17287 * login/unlockpt.c: Likewise.
17288 * math/e_acoshl.c: Likewise.
17289 * math/e_acosl.c: Likewise.
17290 * math/e_asinl.c: Likewise.
17291 * math/e_atan2l.c: Likewise.
17292 * math/e_atanhl.c: Likewise.
17293 * math/e_coshl.c: Likewise.
17294 * math/e_expl.c: Likewise.
17295 * math/e_fmodl.c: Likewise.
17296 * math/e_gammal_r.c: Likewise.
17297 * math/e_hypotl.c: Likewise.
17298 * math/e_j0l.c: Likewise.
17299 * math/e_j1l.c: Likewise.
17300 * math/e_jnl.c: Likewise.
17301 * math/e_lgammal_r.c: Likewise.
17302 * math/e_log10l.c: Likewise.
17303 * math/e_log2l.c: Likewise.
17304 * math/e_logl.c: Likewise.
17305 * math/e_powl.c: Likewise.
17306 * math/e_rem_pio2l.c: Likewise.
17307 * math/e_sinhl.c: Likewise.
17308 * math/e_sqrtl.c: Likewise.
17309 * math/fclrexcpt.c: Likewise.
17310 * math/fedisblxcpt.c: Likewise.
17311 * math/feenablxcpt.c: Likewise.
17312 * math/fegetenv.c: Likewise.
17313 * math/fegetexcept.c: Likewise.
17314 * math/fegetround.c: Likewise.
17315 * math/feholdexcpt.c: Likewise.
17316 * math/fesetenv.c: Likewise.
17317 * math/fesetround.c: Likewise.
17318 * math/feupdateenv.c: Likewise.
17319 * math/fgetexcptflg.c: Likewise.
17320 * math/fraiseexcpt.c: Likewise.
17321 * math/fsetexcptflg.c: Likewise.
17322 * math/ftestexcept.c: Likewise.
17323 * math/k_cosl.c: Likewise.
17324 * math/k_rem_pio2l.c: Likewise.
17325 * math/k_sinl.c: Likewise.
17326 * math/k_tanl.c: Likewise.
17327 * math/s_asinhl.c: Likewise.
17328 * math/s_atanl.c: Likewise.
17329 * math/s_cbrtl.c: Likewise.
17330 * math/s_erfl.c: Likewise.
17331 * math/s_expm1l.c: Likewise.
17332 * math/s_log1pl.c: Likewise.
17333 * math/s_tanhl.c: Likewise.
17334 * misc/acct.c: Likewise.
17335 * misc/brk.c: Likewise.
17336 * misc/chflags.c: Likewise.
17337 * misc/chroot.c: Likewise.
17338 * misc/fchflags.c: Likewise.
17339 * misc/fgetxattr.c: Likewise.
17340 * misc/flistxattr.c: Likewise.
17341 * misc/fremovexattr.c: Likewise.
17342 * misc/fsetxattr.c: Likewise.
17343 * misc/fsync.c: Likewise.
17344 * misc/ftruncate.c: Likewise.
17345 * misc/futimes.c: Likewise.
17346 * misc/futimesat.c: Likewise.
17347 * misc/getdomain.c: Likewise.
17348 * misc/getdtsz.c: Likewise.
17349 * misc/gethostid.c: Likewise.
17350 * misc/gethostname.c: Likewise.
17351 * misc/getloadavg.c: Likewise.
17352 * misc/getpagesize.c: Likewise.
17353 * misc/getsysstats.c: Likewise.
17354 * misc/getxattr.c: Likewise.
17355 * misc/gtty.c: Likewise.
17356 * misc/ioctl.c: Likewise.
17357 * misc/lgetxattr.c: Likewise.
17358 * misc/listxattr.c: Likewise.
17359 * misc/llistxattr.c: Likewise.
17360 * misc/lremovexattr.c: Likewise.
17361 * misc/lsetxattr.c: Likewise.
17362 * misc/lutimes.c: Likewise.
17363 * misc/madvise.c: Likewise.
17364 * misc/mincore.c: Likewise.
17365 * misc/mlock.c: Likewise.
17366 * misc/mlockall.c: Likewise.
17367 * misc/mmap.c: Likewise.
17368 * misc/mprotect.c: Likewise.
17369 * misc/msync.c: Likewise.
17370 * misc/munlock.c: Likewise.
17371 * misc/munlockall.c: Likewise.
17372 * misc/munmap.c: Likewise.
17373 * misc/preadv.c: Likewise.
17374 * misc/preadv64.c: Likewise.
17375 * misc/ptrace.c: Likewise.
17376 * misc/pwritev.c: Likewise.
17377 * misc/pwritev64.c: Likewise.
17378 * misc/readv.c: Likewise.
17379 * misc/reboot.c: Likewise.
17380 * misc/remap_file_pages.c: Likewise.
17381 * misc/removexattr.c: Likewise.
17382 * misc/revoke.c: Likewise.
17383 * misc/select.c: Likewise.
17384 * misc/setdomain.c: Likewise.
17385 * misc/setegid.c: Likewise.
17386 * misc/seteuid.c: Likewise.
17387 * misc/sethostid.c: Likewise.
17388 * misc/sethostname.c: Likewise.
17389 * misc/setregid.c: Likewise.
17390 * misc/setreuid.c: Likewise.
17391 * misc/setxattr.c: Likewise.
17392 * misc/sstk.c: Likewise.
17393 * misc/stty.c: Likewise.
17394 * misc/swapoff.c: Likewise.
17395 * misc/swapon.c: Likewise.
17396 * misc/sync.c: Likewise.
17397 * misc/syncfs.c: Likewise.
17398 * misc/syscall.c: Likewise.
17399 * misc/truncate.c: Likewise.
17400 * misc/ualarm.c: Likewise.
17401 * misc/usleep.c: Likewise.
17402 * misc/ustat.c: Likewise.
17403 * misc/utimes.c: Likewise.
17404 * misc/vhangup.c: Likewise.
17405 * misc/writev.c: Likewise.
17406 * posix/_exit.c: Likewise.
17407 * posix/alarm.c: Likewise.
17408 * posix/execve.c: Likewise.
17409 * posix/fexecve.c: Likewise.
17410 * posix/fork.c: Likewise.
17411 * posix/fpathconf.c: Likewise.
17412 * posix/getaddrinfo.c: Likewise.
17413 * posix/getegid.c: Likewise.
17414 * posix/geteuid.c: Likewise.
17415 * posix/getgid.c: Likewise.
17416 * posix/getgroups.c: Likewise.
17417 * posix/getlogin.c: Likewise.
17418 * posix/getlogin_r.c: Likewise.
17419 * posix/getpgid.c: Likewise.
17420 * posix/getpid.c: Likewise.
17421 * posix/getppid.c: Likewise.
17422 * posix/getresgid.c: Likewise.
17423 * posix/getresuid.c: Likewise.
17424 * posix/getsid.c: Likewise.
17425 * posix/getuid.c: Likewise.
17426 * posix/glob64.c: Likewise.
17427 * posix/nanosleep.c: Likewise.
17428 * posix/pathconf.c: Likewise.
17429 * posix/pause.c: Likewise.
17430 * posix/posix_madvise.c: Likewise.
17431 * posix/pread.c: Likewise.
17432 * posix/pread64.c: Likewise.
17433 * posix/pwrite.c: Likewise.
17434 * posix/pwrite64.c: Likewise.
17435 * posix/sched_getaffinity.c: Likewise.
17436 * posix/sched_getp.c: Likewise.
17437 * posix/sched_gets.c: Likewise.
17438 * posix/sched_primax.c: Likewise.
17439 * posix/sched_primin.c: Likewise.
17440 * posix/sched_rr_gi.c: Likewise.
17441 * posix/sched_setaffinity.c: Likewise.
17442 * posix/sched_setp.c: Likewise.
17443 * posix/sched_sets.c: Likewise.
17444 * posix/sched_yield.c: Likewise.
17445 * posix/setgid.c: Likewise.
17446 * posix/setlogin.c: Likewise.
17447 * posix/setpgid.c: Likewise.
17448 * posix/setresgid.c: Likewise.
17449 * posix/setresuid.c: Likewise.
17450 * posix/setsid.c: Likewise.
17451 * posix/setuid.c: Likewise.
17452 * posix/sleep.c: Likewise.
17453 * posix/spawni.c: Likewise.
17454 * posix/sysconf.c: Likewise.
17455 * posix/times.c: Likewise.
17456 * posix/wait.c: Likewise.
17457 * posix/wait3.c: Likewise.
17458 * posix/wait4.c: Likewise.
17459 * posix/waitpid.c: Likewise.
17460 * resolv/gai_sigqueue.c: Likewise.
17461 * resource/getpriority.c: Likewise.
17462 * resource/getrlimit.c: Likewise.
17463 * resource/getrusage.c: Likewise.
17464 * resource/nice.c: Likewise.
17465 * resource/setpriority.c: Likewise.
17466 * resource/setrlimit.c: Likewise.
17467 * resource/ulimit.c: Likewise.
17468 * rt/aio_cancel.c: Likewise.
17469 * rt/aio_fsync.c: Likewise.
17470 * rt/aio_read.c: Likewise.
17471 * rt/aio_sigqueue.c: Likewise.
17472 * rt/aio_suspend.c: Likewise.
17473 * rt/aio_write.c: Likewise.
17474 * rt/clock_getres.c: Likewise.
17475 * rt/clock_gettime.c: Likewise.
17476 * rt/clock_nanosleep.c: Likewise.
17477 * rt/clock_settime.c: Likewise.
17478 * rt/lio_listio.c: Likewise.
17479 * rt/mq_close.c: Likewise.
17480 * rt/mq_getattr.c: Likewise.
17481 * rt/mq_notify.c: Likewise.
17482 * rt/mq_open.c: Likewise.
17483 * rt/mq_receive.c: Likewise.
17484 * rt/mq_send.c: Likewise.
17485 * rt/mq_setattr.c: Likewise.
17486 * rt/mq_timedreceive.c: Likewise.
17487 * rt/mq_timedsend.c: Likewise.
17488 * rt/mq_unlink.c: Likewise.
17489 * rt/shm_open.c: Likewise.
17490 * rt/shm_unlink.c: Likewise.
17491 * rt/timer_create.c: Likewise.
17492 * rt/timer_delete.c: Likewise.
17493 * rt/timer_getoverr.c: Likewise.
17494 * rt/timer_gettime.c: Likewise.
17495 * rt/timer_settime.c: Likewise.
17496 * setjmp/__longjmp.c: Likewise.
17497 * setjmp/setjmp.c: Likewise.
17498 * signal/kill.c: Likewise.
17499 * signal/killpg.c: Likewise.
17500 * signal/raise.c: Likewise.
17501 * signal/sigaction.c: Likewise.
17502 * signal/sigaltstack.c: Likewise.
17503 * signal/sigblock.c: Likewise.
17504 * signal/sigignore.c: Likewise.
17505 * signal/sigintr.c: Likewise.
17506 * signal/signal.c: Likewise.
17507 * signal/sigpause.c: Likewise.
17508 * signal/sigpending.c: Likewise.
17509 * signal/sigqueue.c: Likewise.
17510 * signal/sigreturn.c: Likewise.
17511 * signal/sigset.c: Likewise.
17512 * signal/sigsetmask.c: Likewise.
17513 * signal/sigstack.c: Likewise.
17514 * signal/sigsuspend.c: Likewise.
17515 * signal/sigtimedwait.c: Likewise.
17516 * signal/sigvec.c: Likewise.
17517 * signal/sigwait.c: Likewise.
17518 * signal/sigwaitinfo.c: Likewise.
17519 * signal/sysv_signal.c: Likewise.
17520 * socket/accept.c: Likewise.
17521 * socket/accept4.c: Likewise.
17522 * socket/bind.c: Likewise.
17523 * socket/connect.c: Likewise.
17524 * socket/getpeername.c: Likewise.
17525 * socket/getsockname.c: Likewise.
17526 * socket/getsockopt.c: Likewise.
17527 * socket/isfdtype.c: Likewise.
17528 * socket/listen.c: Likewise.
17529 * socket/recv.c: Likewise.
17530 * socket/recvfrom.c: Likewise.
17531 * socket/recvmsg.c: Likewise.
17532 * socket/send.c: Likewise.
17533 * socket/sendmsg.c: Likewise.
17534 * socket/sendto.c: Likewise.
17535 * socket/setsockopt.c: Likewise.
17536 * socket/shutdown.c: Likewise.
17537 * socket/sockatmark.c: Likewise.
17538 * socket/socket.c: Likewise.
17539 * socket/socketpair.c: Likewise.
17540 * stdio-common/ctermid.c: Likewise.
17541 * stdio-common/cuserid.c: Likewise.
17542 * stdio-common/remove.c: Likewise.
17543 * stdio-common/rename.c: Likewise.
17544 * stdio-common/renameat.c: Likewise.
17545 * stdio-common/tempname.c: Likewise.
17546 * stdlib/getcontext.c: Likewise.
17547 * stdlib/makecontext.c: Likewise.
17548 * stdlib/setcontext.c: Likewise.
17549 * stdlib/swapcontext.c: Likewise.
17550 * stdlib/system.c: Likewise.
17551 * streams/fattach.c: Likewise.
17552 * streams/fdetach.c: Likewise.
17553 * streams/getmsg.c: Likewise.
17554 * streams/getpmsg.c: Likewise.
17555 * streams/putmsg.c: Likewise.
17556 * streams/putpmsg.c: Likewise.
17557 * sysdeps/unix/bsd/getpt.c: Likewise.
17558 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17559 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17560 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17563 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17564 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17565 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17566 * sysvipc/msgctl.c: Likewise.
17567 * sysvipc/msgget.c: Likewise.
17568 * sysvipc/msgrcv.c: Likewise.
17569 * sysvipc/msgsnd.c: Likewise.
17570 * sysvipc/semctl.c: Likewise.
17571 * sysvipc/semget.c: Likewise.
17572 * sysvipc/semop.c: Likewise.
17573 * sysvipc/semtimedop.c: Likewise.
17574 * sysvipc/shmat.c: Likewise.
17575 * sysvipc/shmctl.c: Likewise.
17576 * sysvipc/shmdt.c: Likewise.
17577 * sysvipc/shmget.c: Likewise.
17578 * termios/tcdrain.c: Likewise.
17579 * termios/tcflow.c: Likewise.
17580 * termios/tcflush.c: Likewise.
17581 * termios/tcgetattr.c: Likewise.
17582 * termios/tcgetpgrp.c: Likewise.
17583 * termios/tcsendbrk.c: Likewise.
17584 * termios/tcsetattr.c: Likewise.
17585 * termios/tcsetpgrp.c: Likewise.
17586 * time/adjtime.c: Likewise.
17587 * time/clock.c: Likewise.
17588 * time/getitimer.c: Likewise.
17589 * time/gettimeofday.c: Likewise.
17590 * time/setitimer.c: Likewise.
17591 * time/settimeofday.c: Likewise.
17592 * time/stime.c: Likewise.
17593 * time/time.c: Likewise.
17595 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17597 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17600 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17602 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17604 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17608 FE_TONEAREST before applying Dekker multiplication and Knuth
17609 addition. Clear inexact exceptions and check for exact zero
17610 results afterwards.
17611 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17614 * math/libm-test.inc (fma_test): Add more tests.
17615 (fma_test_towardzero): Likewise.
17616 (fma_test_downward): Likewise.
17617 (fma_test_upward): Likewise.
17618 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17620 (libc_fesetround): New macro.
17621 (libc_fesetroundf): Likewise.
17622 (libc_fesetroundl): Likewise.
17623 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17625 (libc_fesetround_387): Likewise.
17626 (libc_fesetroundf): New macro.
17627 (libc_fesetround): Likewise.
17628 (libc_fesetroundl): Likewise.
17629 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17631 (libc_fesetroundf): New macro.
17632 (libc_fesetround): Likewise.
17633 (libc_fesetroundl): Likewise.
17634 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17635 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17636 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17638 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17639 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17641 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17642 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17644 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17648 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17649 integer constant usable in #if and use that to give value to enum
17651 (FE_DIVBYZERO): Likewise.
17652 (FE_UNDERFLOW): Likewise.
17653 (FE_OVERFLOW): Likewise.
17654 (FE_INVALID): Likewise.
17655 (FE_INVALID_SNAN): Likewise.
17656 (FE_INVALID_ISI): Likewise.
17657 (FE_INVALID_IDI): Likewise.
17658 (FE_INVALID_ZDZ): Likewise.
17659 (FE_INVALID_IMZ): Likewise.
17660 (FE_INVALID_COMPARE): Likewise.
17661 (FE_INVALID_SOFTWARE): Likewise.
17662 (FE_INVALID_SQRT): Likewise.
17663 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17664 (FE_TONEAREST): Likewise.
17665 (FE_TOWARDZERO): Likewise.
17666 (FE_UPWARD): Likewise.
17667 (FE_DOWNWARD): Likewise.
17668 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17669 (FE_DIVBYZERO): Likewise.
17670 (FE_OVERFLOW): Likewise.
17671 (FE_UNDERFLOW): Likewise.
17672 (FE_INEXACT): Likewise.
17673 (FE_TONEAREST): Likewise.
17674 (FE_DOWNWARD): Likewise.
17675 (FE_UPWARD): Likewise.
17676 (FE_TOWARDZERO): Likewise.
17677 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17678 (FE_UNDERFLOW): Likewise.
17679 (FE_OVERFLOW): Likewise.
17680 (FE_DIVBYZERO): Likewise.
17681 (FE_INVALID): Likewise.
17682 (FE_TONEAREST): Likewise.
17683 (FE_TOWARDZERO): Likewise.
17684 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17685 (FE_OVERFLOW): Likewise.
17686 (FE_UNDERFLOW): Likewise.
17687 (FE_DIVBYZERO): Likewise.
17688 (FE_INEXACT): Likewise.
17689 (FE_TONEAREST): Likewise.
17690 (FE_TOWARDZERO): Likewise.
17691 (FE_UPWARD): Likewise.
17692 (FE_DOWNWARD): Likewise.
17693 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17694 (FE_DIVBYZERO): Likewise.
17695 (FE_OVERFLOW): Likewise.
17696 (FE_UNDERFLOW): Likewise.
17697 (FE_INEXACT): Likewise.
17698 (FE_TONEAREST): Likewise.
17699 (FE_DOWNWARD): Likewise.
17700 (FE_UPWARD): Likewise.
17701 (FE_TOWARDZERO): Likewise.
17703 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17705 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17707 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17709 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17710 commands. Quote $PWD.
17711 (blacklist_exports): Don't use remove_newlines. Replace "declare
17713 (remove_newlines): Remove.
17715 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17717 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17718 * stdlib/stdlib.h (atof): Moved to ...
17719 * include/bits/stdlib-float.h: Here. New file.
17720 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17721 * stdlib/bits/stdlib-float.h: New file.
17722 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17724 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17727 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17729 * conform/conformtest.pl (@headers): Add fenv.h.
17730 * conform/data/fenv.h-data: New file.
17731 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17732 include of <math/fenv.h>.
17734 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17735 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17736 && !UNIX98]. Enables tests for XOPEN2K8.
17737 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17738 POSIX2008]: Likewise.
17740 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17741 (struct rusage): Do not expect type or its members.
17744 * math/math.h (FP_NAN): Define macro to integer constant usable in
17745 #if and use that to give value to enum constant.
17746 (FP_INFINITE): Likewise.
17747 (FP_ZERO): Likewise.
17748 (FP_SUBNORMAL): Likewise.
17749 (FP_NORMAL): Likewise.
17751 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17753 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17754 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17757 2012-11-02 Roland McGrath <roland@hack.frob.com>
17759 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17760 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17761 autoconf-time if not.
17762 * configure.in: Remove AC_PREREQ.
17764 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17766 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17767 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17768 of the internal implementation.
17770 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17772 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17773 except include of <misc/sys/syslog.h>.
17775 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17778 function returns with a NULL context exit with zero.
17780 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17782 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17784 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17786 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17787 (run_program_cmd): This.
17788 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17789 (tst_langinfo): New variable. Use it.
17791 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17793 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17794 floating point opcodes.
17796 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17798 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17801 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17803 * sysdeps/mach/hurd/powerpc: Remove directory.
17804 * sysdeps/mach/powerpc: Likewise.
17806 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17808 * scripts/check-local-headers.sh: Ignore c++ headers.
17810 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17812 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17813 __libc_cleanup_region_start argument.
17815 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17820 x * y using scaling, not as x * y + z.
17821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17823 * math/libm-test.inc (fma_test): Add more tests.
17824 (fma_test_towardzero): Likewise.
17825 (fma_test_downward): Likewise.
17826 (fma_test_upward): Likewise.
17828 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17830 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17832 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17834 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17837 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17839 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17841 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17848 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17851 Fix the order of the list for glibc 2.17.
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17855 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17859 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17862 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17863 for low part of x being zero before using __atanl (y).
17864 * math/libm-test.inc (atan2_test): Add another test.
17866 * manual/install.texi (Configuring and compiling): Document
17867 general use of test-wrapper and test-wrapper-env.
17868 * INSTALL: Regenerated.
17870 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17871 (__fma): Do not extract and scale down low bits on after-rounding
17872 systems when result rounded to normal precision would have normal
17874 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17875 (__fmal): Do not extract and scale down low bits on after-rounding
17876 systems when result rounded to normal precision would have normal
17878 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17879 (__fmal): Do not extract and scale down low bits on after-rounding
17880 systems when result rounded to normal precision would have normal
17882 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17884 (fma_test): Add more tests.
17885 (fma_test_towardzero): Likewise.
17886 (fma_test_downward): Likewise.
17887 (fma_test_upward): Likewise.
17889 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17891 * sysdeps/i386/tininess.h: Renamed to ...
17892 * sysdeps/x86/tininess.h: This.
17893 * sysdeps/x86_64/tininess.h: Removed.
17895 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17897 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17898 input. Use $(build-program-cmd).
17899 ($(objpfx)tst-array1-static.out): Likewise.
17900 ($(objpfx)tst-array2.out): Likewise.
17901 ($(objpfx)tst-array3.out): Likewise.
17902 ($(objpfx)tst-array4.out): Likewise.
17903 ($(objpfx)tst-array5.out): Likewise.
17904 ($(objpfx)tst-array5-static.out): Likewise.
17906 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17908 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17911 * nss/nsswitch.h (nss_interface_function): Provide new
17912 macro for use with NSS functions.
17913 * grp/initgroups.c: Use new macro.
17914 * nss/getXXbyYY.c: Likewise.
17915 * nss/getXXbyYY_r.c: Likewise.
17916 * nss/getXXent.c: Likewise.
17917 * nss/getXXent_r.c: Likewise.
17918 * sysdeps/posix/getaddrinfo.c: Likewise.
17920 2012-10-30 Andreas Jaeger <aj@suse.de>
17922 * po/ru.po: Update Russion translation from translation project.
17924 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17929 result and shift together with sticky bit instead of replicating
17930 round-to-nearest rounding.
17931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17933 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17934 missing underflow exceptions.
17935 (fma_test_towardzero): Add more tests.
17936 (fma_test_downward): Likewise.
17937 (fma_test_upward): Likewise.
17940 * sysdeps/generic/tininess.h: New file.
17941 * sysdeps/i386/tininess.h: Likewise.
17942 * sysdeps/sh/tininess.h: Likewise.
17943 * sysdeps/x86_64/tininess.h: Likewise.
17944 * stdlib/tst-strtod-underflow.c: Likewise.
17945 * stdlib/tst-tininess.c: Likewise.
17946 * stdlib/strtod_l.c: Include <tininess.h>.
17947 (round_and_return): Do not set errno for exact underflow cases.
17948 Force an underflow exception when setting errno for underflow.
17949 Determine underflow based on rounding to normal precision if
17950 TININESS_AFTER_ROUNDING.
17951 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17952 ERANGE for exact underflow cases.
17953 * stdlib/Makefile (tests): Add tst-tininess and
17954 tst-strtod-underflow.
17955 ($(objpfx)tst-tininess): Use $(link-libm).
17956 ($(objpfx)tst-strtod-underflow): Likewise.
17958 2012-10-30 Andreas Jaeger <aj@suse.de>
17961 * elf/Makefile (tests): Remove conditional for have-initfini-array
17962 since this is now always required and the variable does not exist
17964 (tests-static): Likewise.
17965 (modules-names): Likewise.
17967 * po/eo.po: Add Esperanto translation from translation project.
17969 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17970 merged with constructor/destructor.
17971 (init_array): Likewise.
17972 * elf/tst-array2dep.c (fini_array): Likewise.
17973 (init_array): Likewise.
17975 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17977 * manual/message.texi: Delete @cartouche tags.
17979 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17981 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17983 * sysdeps/mach/hurd/fsync.c: Likewise.
17985 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17986 [_POSIX_REALTIME_SIGNALS]: Change condition to
17987 [_POSIX_REALTIME_SIGNALS > 0].
17989 2012-10-27 Andreas Jaeger <aj@suse.de>
17991 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17992 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17994 [__WORDSIZE != 64]: Likewise.
17996 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17998 * iconvdata/tst-table.sh: Remove ${SHELL}.
17999 * iconvdata/tst-tables.sh: Likewise.
18001 2012-10-25 David S. Miller <davem@davemloft.net>
18003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18004 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18009 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18010 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18011 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18014 2012-10-25 Roland McGrath <roland@hack.frob.com>
18016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18017 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18020 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18021 Jim Blandy <jimb@codesourcery.com>
18023 * scripts/cross-test-ssh.sh: New file.
18024 * manual/install.texi (Configuring and compiling): Document use of
18026 * INSTALL: Regenerated.
18028 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18030 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18033 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18035 * Makeconfig (run-program-prefix): Fix comment.
18037 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18038 Jim Blandy <jimb@codesourcery.com>
18040 * Makeconfig (test-wrapper): New variable,
18041 (test-wrapper-env): Likewise.
18042 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18043 (run-built-tests): Define to yes.
18044 (run-program-prefix): Use $(test-wrapper).
18045 (built-program-cmd): Likewise.
18046 * Rules (make-test-out): Use $(test-wrapper-env) and
18047 $(host-built-program-cmd).
18048 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18049 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18051 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18052 $(test-wrapper-env) to tst-rtld-load-self.sh.
18053 ($(objpfx)order2.out): Use $(test-wrapper).
18054 ($(objpfx)tst-initorder.out): Likewise.
18055 ($(objpfx)tst-initorder2.out): Likewise.
18056 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18057 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18058 (test_wrapper_env): New variable. Use it to run ld.so.
18059 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18060 Use it to run ld.so.
18061 (test_wrapper_env): Likewise.
18062 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18063 $(test-wrapper) to run-iconv-test.sh.
18064 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18065 (ICONV): Use $test_wrapper.
18066 * posix/Makefile ($(objpfx)globtest.out): Pass
18067 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18068 globtest.sh, not $(run-program-prefix).
18069 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18070 (test_wrapper): Likewise.
18071 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18072 set together with run_via_rtld_prefix.
18073 (run_program_prefix): Define in terms of test_wrapper and
18074 run_via_rtld_prefix.
18076 2012-10-24 Roland McGrath <roland@hack.frob.com>
18078 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18079 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18083 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18084 Declare __clock_getres, __clock_gettime, __clock_settime,
18085 __clock_nanosleep, and __clock_getcpuclockid.
18086 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18087 Remove librt_hidden_def (clock_gettime).
18088 * sysdeps/unix/clock_gettime.c: Likewise.
18089 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18090 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18091 * rt/clock_getres.c: Define __clock_getres as an alias.
18092 * sysdeps/posix/clock_getres.c: Likewise.
18093 * rt/clock_settime.c: Define __clock_settime as an alias.
18094 * sysdeps/unix/clock_settime.c: Likewise.
18095 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18096 * sysdeps/unix/clock_nanosleep.c: Likewise.
18097 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18098 * rt/clock-compat.c: New file.
18099 * rt/Makefile (librt-routines): Add clock-compat and move
18100 $(clock-routines) to ...
18101 (routines): ... here, new variable.
18102 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18103 Don't add get_clockfreq here.
18104 * rt/Versions (libc: GLIBC_2.17): New version set.
18105 Add clock_* symbols here.
18106 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18107 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18108 (GLIBC_2.17): Add clock_* symbols.
18109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18120 * NEWS: Mention the move.
18122 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18123 Use __open, __read, __close rather than their public counterparts.
18124 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18125 (__get_clockfreq_via_cpuinfo): Likewise.
18126 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18127 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18129 * config.h.in (HAVE_IFUNC): New #undef.
18130 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18132 * configure: Regenerated.
18134 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18136 * configure.in: Move READELF check to start of file.
18137 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18138 libc_cv_asm_gnu_indirect_function in the process.
18139 * configure: Regenerated.
18141 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18143 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18144 send the output to /dev/null.
18145 (libc_cv_cc_with_libunwind): Likewise.
18146 (libc_cv_as_noexecstack): Likewise.
18147 * configure: Regenerate.
18149 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18151 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18153 * posix/globtest.sh (TMPDIR): Do not set.
18154 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18155 (testout): Likewise.
18157 2012-10-24 Andreas Jaeger <aj@suse.de>
18159 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18160 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18161 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18162 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18163 posix_fadvise64, posix_fallocate64.
18165 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18166 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18167 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18169 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18171 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18174 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18175 <bits/fcntl-linux.h>.
18176 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18179 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18180 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18181 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18182 [__WORDSIZE != 64]: Likewise.
18184 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18186 * Makeconfig (run-built-tests): New variable.
18187 * Rules [$(cross-compiling) = yes]: Change condition to
18188 [$(run-built-tests) = no].
18189 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18190 to [$(run-built-tests) = yes].
18191 * elf/Makefile [$(cross-compiling) = no]: Likewise
18192 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18193 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18194 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18195 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18196 * io/Makefile [$(cross-compiling) = no]: Likewise.
18197 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18198 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18199 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18200 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18201 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18202 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18203 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18204 * string/Makefile [$(cross-compiling) = no]: Likewise.
18206 * posix/Makefile ($(objpfx)globtest.out): Pass
18207 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18208 $(rtld-installed-name).
18209 * posix/globtest.sh (elf_objpfx): Remove variable.
18210 (rtld_installed_name): Likewise.
18211 (library_path): Likewise.
18212 (run_program_prefix): New variable. Use for running globtest
18215 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18216 Joseph Myers <joseph@codesourcery.com>
18218 * Makeconfig (host-built-program-cmd): New variable.
18219 * elf/Makefile (tst-stackguard1-ARGS): Use
18220 $(host-built-program-cmd).
18221 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18222 (tst-spawn-ARGS): Likewise.
18223 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18225 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18226 Jim Blandy <jimb@codesourcery.com>
18228 * Makeconfig (run-via-rtld-prefix): New variable.
18229 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18230 (built-program-cmd): Likewise.
18232 2012-10-22 Andreas Jaeger <aj@suse.de>
18234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18235 __O_RSYNC if it exists, otherwise to O_SYNC.
18237 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18238 Joseph Myers <joseph@codesourcery.com>
18240 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18242 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18244 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18247 2012-10-22 Andreas Jaeger <aj@suse.de>
18249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18254 bits/fcntl-linux.h.
18256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18257 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18264 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18265 Joseph Myers <joseph@codesourcery.com>
18267 * config.make.in (NM): New variable.
18269 2012-10-21 Andreas Jaeger <aj@suse.de>
18271 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18272 definitions and declarations that are provided by
18273 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18275 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18278 * elf/Makefile (tests-static): Add tst-leaks1-static.
18279 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18280 ($(objpfx)tst-leaks1-static): New rule.
18281 ($(objpfx)tst-leaks1-static-mem): Likewise.
18282 (tst-leaks1-static-ENV): New macro.
18283 * elf/dl-open.c (dl_open_worker): Check the main application
18284 only if SHARED is defined.
18285 * elf/tst-leaks1-static.c: New file.
18287 2012-10-20 Andreas Jaeger <aj@suse.de>
18289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18290 generic values for Linux.
18291 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18292 and declarations that are provided by <bits/fcntl-linux.h> and
18293 include <bits/fcntl-linux.h>.
18294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18297 2012-10-20 Roland McGrath <roland@hack.frob.com>
18299 * io/fcntl.h: Move include of <bits/types.h> to the top and
18300 include it unconditionally.
18302 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18304 * wcsmbs/Makefile (tests-ifunc): New variable.
18305 (tests): Add $(tests-ifunc).
18306 * wcsmbs/test-wcschr-ifunc.c: New file.
18307 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18308 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18309 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18310 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18311 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18313 * string/Makefile (tests-ifunc): New variable.
18314 (tests): Add $(tests-ifunc).
18315 * string/test-memccpy.c (TEST_NAME): New macro.
18316 * string/test-memchr.c (TEST_NAME): Likewise.
18317 * string/test-memcmp.c (TEST_NAME): Likewise.
18318 * string/test-memcpy.c (TEST_NAME): Likewise.
18319 * string/test-memmem.c (TEST_NAME): Likewise.
18320 * string/test-memmove.c (TEST_NAME): Likewise.
18321 * string/test-memset.c (TEST_NAME): Likewise.
18322 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18323 * string/test-stpcpy.c (TEST_NAME): Likewise.
18324 * string/test-stpncpy.c (TEST_NAME): Likewise.
18325 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18326 * string/test-strcasestr.c (TEST_NAME): Likewise.
18327 * string/test-strcat.c (TEST_NAME): Likewise.
18328 * string/test-strchr.c (TEST_NAME): Likewise.
18329 * string/test-strcmp.c(TEST_NAME): Likewise.
18330 * string/test-strcpy.c (TEST_NAME): Likewise.
18331 * string/test-strcspn.c (TEST_NAME): Likewise.
18332 * string/test-strlen.c (TEST_NAME): Likewise.
18333 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18334 * string/test-strncmp.c (TEST_NAME): Likewise.
18335 * string/test-strncpy.c (TEST_NAME): Likewise.
18336 * string/test-strnlen.c (TEST_NAME): Likewise.
18337 * string/test-strpbrk.c (TEST_NAME): Likewise.
18338 * string/test-strrchr.c (TEST_NAME): Likewise.
18339 * string/test-strspn.c (TEST_NAME): Likewise.
18340 * string/test-strstr.c (TEST_NAME): Likewise.
18341 * string/test-bcopy-ifunc.c: New file.
18342 * string/test-bzero-ifunc.c: Likewise.
18343 * string/test-memccpy-ifunc.c: Likewise.
18344 * string/test-memchr-ifunc.c: Likewise.
18345 * string/test-memcmp-ifunc.c: Likewise.
18346 * string/test-memcpy-ifunc.c: Likewise.
18347 * string/test-memmem-ifunc.c: Likewise.
18348 * string/test-memmove-ifunc.c: Likewise.
18349 * string/test-mempcpy-ifunc.c: Likewise.
18350 * string/test-memset-ifunc.c: Likewise.
18351 * string/test-rawmemchr-ifunc.c: Likewise.
18352 * string/test-stpcpy-ifunc.c: Likewise.
18353 * string/test-stpncpy-ifunc.c: Likewise.
18354 * string/test-strcasecmp-ifunc.c: Likewise.
18355 * string/test-strcasestr-ifunc.c: Likewise.
18356 * string/test-strcat-ifunc.c: Likewise.
18357 * string/test-strchr-ifunc.c: Likewise.
18358 * string/test-strchrnul-ifunc.c: Likewise.
18359 * string/test-strcmp-ifunc.c: Likewise.
18360 * string/test-strcpy-ifunc.c: Likewise.
18361 * string/test-strcspn-ifunc.c: Likewise.
18362 * string/test-strlen-ifunc.c: Likewise.
18363 * string/test-strncasecmp-ifunc.c: Likewise.
18364 * string/test-strncat-ifunc.c: Likewise.
18365 * string/test-strncmp-ifunc.c: Likewise.
18366 * string/test-strncpy-ifunc.c: Likewise.
18367 * string/test-strnlen-ifunc.c: Likewise.
18368 * string/test-strpbrk-ifunc.c: Likewise.
18369 * string/test-strrchr-ifunc.c: Likewise.
18370 * string/test-strspn-ifunc.c: Likewise.
18371 * string/test-strstr-ifunc.c: Likewise.
18373 * debug/Makefile (tests-ifunc): New variable.
18374 (tests): Add $(tests-ifunc).
18375 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18376 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18377 * debug/test-stpcpy_chk-ifunc.c: New file.
18378 * debug/test-strcpy_chk-ifunc.c: Likewise.
18380 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18383 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18384 header is not read in.
18386 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18388 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18389 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18390 directly. Pass built executable to script as
18391 $(built-program-cmd).
18392 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18393 $testprogram without using LD_LIBRARY_PATH and $ldso.
18395 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18396 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18397 $(rtld-installed-name).
18398 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18399 (rtld_installed_name): Likewise.
18400 (library_path): Likewise.
18401 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18402 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18403 $(run-program-prefix) to tst-tables.sh.
18404 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18405 it to run tst-table-from and tst-table-to.
18406 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18407 Pass it to tst-table.sh.
18408 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18409 $(run-program-prefix) to tst-gettext.sh.
18410 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18412 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18414 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18415 to run tst-gettext.
18416 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18417 to run tst-gettext2.
18418 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18419 to run tst-translit.
18420 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18421 $(run-program-prefix) to tst-mtrace.sh.
18422 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18424 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18425 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18426 $(rtld-installed-name).
18427 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18428 (rtld_installed_name): Likewise.
18429 (run_program_prefix): New variable. Use it to run wordexp-test.
18431 * Makeconfig (ARCH): Remove all definitions.
18432 (machine): Likewise.
18433 [ARCH]: Remove conditional code.
18434 [!objdir]: Give error.
18435 [!objdir] (objpfx): Remove.
18436 [!objdir] (common-objpfx): Likewise.
18437 [!objdir] (common-objdir): Likewise.
18438 * configure.in (config_makefile): Remove. Hardcode Makefile in
18439 AC_CONFIG_FILES call.
18440 * configure: Regenerated.
18443 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18445 (testout): Likewise.
18447 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18448 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18449 $(rtld-installed-name).
18450 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18451 (rtld_installed_name): Likwise.
18452 (runit): Remove function.
18453 (run_getconf): New variable, Use it for running getconf binary.
18455 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18458 * string/test-memmem.c (check_result): New function.
18459 (do_one_test): Use it.
18460 (check1): New function.
18461 (test_main): Use it.
18463 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18465 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18467 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18469 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18470 (_G_LSEEK64): Likewise.
18471 (_G_MMAP64): Likewise.
18472 (_G_FSTAT64): Likewise.
18473 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18474 (_G_LSEEK64): Likewise.
18475 (_G_MMAP64): Likewise.
18476 (_G_FSTAT64): Likewise.
18477 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18478 unconditional. Call __mmap64 directly.
18479 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18480 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18481 __lseek64 directly.
18482 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18483 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18485 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18486 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18487 __lseek64 directly.
18488 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18489 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18490 __lseek64 directly.
18491 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18492 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18493 __lseek64 directly.
18494 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18495 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18496 __fxstat64 directly.
18497 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18498 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18500 (freopen64) [!_G_OPEN64]: Remove conditional code.
18501 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18503 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18504 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18506 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18507 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18509 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18510 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18512 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18513 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18515 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18516 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18518 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18519 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18521 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18523 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18526 * manual/memory.texi (Malloc Tunable Parameters): Add note
18527 about free list pointers overwriting some perturb bytes.
18528 Wording suggested by Roland McGrath.
18530 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18532 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18533 (lgamma_test): Likewise.
18534 (tgamma_test): Likewise.
18536 2012-10-16 Florian Weimer <fweimer@redhat.com>
18539 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18540 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18542 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18544 * NEWS: Mention BZ #14716.
18545 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18546 when removing AVAILABLE1_USES_J macro.
18548 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18550 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18551 (__bswap_64): __uint64_t for unsigned 64-bit int.
18553 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18555 * include/string.h (memmem): Declare libc hidden alias.
18556 * string/memmem.c (memmem): Define libc hidden alias.
18557 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18558 __read, __close instead of open, read, close.
18560 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18563 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18565 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18566 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18567 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18569 (__rawmemchr_sse2): Likewise.
18570 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18571 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18572 (__strchr_sse2): Likewise.
18573 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18574 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18575 (__strcasecmp_sse2): Likewise.
18576 (__strncasecmp_sse2): Likewise.
18577 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18578 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18579 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18580 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18581 (__strrchr_sse2): Likewise.
18582 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18584 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18585 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18586 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18587 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18588 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18589 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18590 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18591 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18592 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18593 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18594 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18595 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18596 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18597 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18598 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18599 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18600 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18601 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18602 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18603 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18604 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18605 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18606 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18607 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18608 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18610 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18611 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18612 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18613 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18615 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18617 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18618 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18619 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18620 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18622 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18624 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18625 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18626 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18627 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18629 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18630 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18631 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18632 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18633 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18634 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18635 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18636 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18637 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18638 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18639 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18640 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18641 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18642 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18643 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18645 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18646 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18647 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18648 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18649 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18650 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18651 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18652 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18653 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18654 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18655 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18656 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18657 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18658 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18659 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18660 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18661 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18662 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18663 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18664 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18665 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18666 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18667 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18668 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18669 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18671 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18672 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18673 * include/ifunc-impl-list.h: New file.
18674 * misc/ifunc-impl-list.c: Likewise.
18675 * misc/Makefile (routines): Add ifunc-impl-list.
18676 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18677 * string/test-string.h: Include <ifunc-impl-list.h>.
18678 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18679 impl_array): New variables.
18680 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18682 (test_init): Call __libc_ifunc_impl_list to initialize
18683 func_list if TEST_IFUNC and TEST_NAME are defined.
18685 * string/Makefile (strop-tests): Add bcopy and bzero.
18686 * string/test-bcopy.c: New file.
18687 * string/test-bzero.c: Likewise.
18688 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18690 * string/test-memset.c: Support bzero test if TEST_BZERO is
18692 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18694 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18696 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18699 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18701 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18702 * configure: Regenerated.
18704 * Makeconfig (+link-static-before-libc): Don't include
18705 $(link-static-libc).
18707 * libio/libio.h (_IO_pos_t): Remove.
18709 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18711 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18714 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18716 * crypt/crypt-entry.c: Include fips-private.h.
18717 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18718 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18719 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18720 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18722 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18724 * crypt/crypt-private.h: Include stdbool.h.
18725 (_ufc_setup_salt_r): Return bool.
18726 * crypt/crypt-entry.c: Include errno.h.
18727 (__crypt_r): Return NULL with EINVAL for bad salt.
18728 * crypt/crypt_util.c (bad_for_salt): New.
18729 (_ufc_setup_salt_r): Check that salt is long enough and within
18730 the specified alphabet.
18731 * crypt/badsalttest.c: New file.
18732 * crypt/Makefile (tests): Add it.
18733 ($(objpfx)badsalttest): New.
18735 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18737 * NEWS: Add entry for BZ #14602.
18739 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18741 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18743 * math/libm-test.inc: Update comment listing what functions and
18745 (isgreater_test): New function.
18746 (isgreaterequal_test): Likewise.
18747 (isless_test): Likewise.
18748 (islessequal_test): Likewise.
18749 (islessgreater_test): Likewise.
18750 (isunordered_test): Likewise.
18751 (main): Call the new functions.
18753 2012-10-09 Roland McGrath <roland@hack.frob.com>
18755 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18756 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18757 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18758 * sysdeps/i386/configure: Regenerated.
18759 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18760 * sysdeps/mach/configure: Regenerated.
18761 * sysdeps/mach/hurd/configure: Regenerated.
18762 * sysdeps/powerpc/configure: Regenerated.
18763 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18764 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18765 * sysdeps/s390/s390-32/configure: Regenerated.
18766 * sysdeps/s390/s390-64/configure: Regenerated.
18767 * sysdeps/sh/configure: Regenerated.
18768 * sysdeps/sparc/configure: Regenerated.
18769 * sysdeps/unix/sysv/linux/configure: Regenerated.
18770 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18771 * sysdeps/x86_64/configure: Regenerated.
18773 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18774 defined. Don't check if MAP is NULL.
18776 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18778 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18779 (_G_stat64): Likewise.
18780 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18781 (_G_stat64): Likewise.
18782 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18783 instead of struct _G_stat64.
18784 * libio/fileops.c (mmap_remap_check): Likewise.
18785 (decide_maybe_mmap): Likewise.
18786 (_IO_new_file_seekoff): Likewise.
18787 (_IO_file_stat): Likewise.
18788 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18790 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18791 instead of struct _G_stat64.
18792 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18794 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18797 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18799 (CHECK_EOL): New macro.
18800 (two_way_short_needle): Check beginning of haystack for EOL. Use
18802 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18803 Replace with CHECK_EOL.
18804 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18805 Replace with CHECK_EOL.
18807 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18809 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18811 * math/libm-test.inc: Update comment listing what functions and
18813 (finite_test): New function.
18814 (isinf_test): Likewise.
18815 (isnan_test): Likewise.
18816 (fpclassify_test): Test subnormal input.
18817 (isfinite_test): Likewise.
18818 (isnormal_test): Likewise.
18819 (main): Call the new functions.
18821 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18824 * Makerules (%.dynsym): Force C locale when running
18825 $(OBJDUMP) --dynamic-syms.
18827 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18829 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18832 2012-10-06 David S. Miller <davem@davemloft.net>
18834 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18835 upper 32-bits of the length value in %o2 since we use branch-on-register
18836 tests which consider the entire 64-bit register.
18838 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18840 * string/test-strstr.c (check2): Add a test for page boundary.
18842 2012-10-05 David S. Miller <davem@davemloft.net>
18844 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18845 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18847 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18850 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18851 and bzero when HWCAP_SPARC_CRYPTO is present.
18853 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18856 * string/test-strstr.c (check2): New function.
18857 (test_main): Call check2.
18859 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18861 * string/bug-strcasestr1.c (do_test): Moved to ...
18862 * string/test-strcasestr.c (check1): Here. New function.
18863 (do_one_test): Break out result checking code into ...
18864 (check_result): This. New function.
18865 (do_one_test): Call check_result.
18866 (test_main): Call check1.
18867 * string/bug-strchr1.c (do_test): Moved to ...
18868 * string/test-strchr.c (check1): Here. New function.
18869 (do_one_test): Break out result checking code into ...
18870 (check_result): This. New function.
18871 (do_one_test): Call check_result.
18872 (test_main): Call check1.
18873 * string/bug-strstr1.c (main): Moved to ...
18874 * string/test-strstr.c (check1): Here. New function.
18875 (do_one_test): Break out result checking code into ...
18876 (check_result): This. New function.
18877 (do_one_test): Call check_result.
18878 (test_main): Call check1.
18879 * string/bug-strcasestr1.c: Removed.
18880 * string/bug-strchr1.c: Likewise.
18881 * string/bug-strstr1.c: Likewise.
18883 * elf/Makefile (dl-routines): Add hwcaps.
18884 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18885 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18886 (_dl_important_hwcaps): Moved to ...
18887 * elf/dl-hwcaps.c: Here. New file.
18888 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18891 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18892 if IS_IN_rtld isn't defined.
18894 * elf/dl-support.c (_dl_sysinfo_map): New.
18895 Include "get-dynamic-info.h" and "setup-vdso.h".
18896 (_dl_non_dynamic_init): Call setup_vdso.
18897 * elf/dynamic-link.h: Don't include <assert.h>.
18898 (elf_get_dynamic_info): Moved to ...
18899 * elf/get-dynamic-info.h: Here. New file.
18900 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18901 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18902 * elf/setup-vdso.h: Here. New file.
18903 * elf/rtld.c: Include "setup-vdso.h".
18904 (dl_main): Call setup_vdso.
18906 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18908 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18909 creal in comment listing functions tested. List finite, isinf,
18910 isnan, isless, islessequal, isgreater, isgreaterequal,
18911 islessgreater, isunordered, lgamma_r and pow10 as functions and
18912 macros not tested. Mention which functions not tested are aliases
18913 for other functions. Fix typo. Note that signs of NaNs are not
18916 * scripts/config.guess: Update from config.git.
18917 * scripts/config.sub: Likewise.
18919 2012-10-04 Roland McGrath <roland@hack.frob.com>
18921 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18922 * misc/madvise.c (madvise): Renamed to __madvise.
18923 Make madvise a weak alias.
18924 * include/sys/mman.h: Declare __madvise.
18925 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18926 * sysdeps/unix/syscalls.list
18927 (madvise): Make __madvise the strong name, and madvise a weak alias.
18928 * sysdeps/unix/sysv/linux/syscalls.list
18929 (madvise, mmap): Remove redundant entries.
18930 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18931 * malloc/malloc.c (mtrim): Likewise.
18932 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18934 2012-10-03 Roland McGrath <roland@hack.frob.com>
18936 * sysdeps/mach/hurd/dl-cache.c: File removed.
18937 * config.h.in (USE_LDCONFIG): New #undef.
18938 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18939 * configure: Regenerated.
18940 * elf/Makefile (dl-routines): Add dl-cache only under
18941 [$(use-ldconfig) = yes].
18942 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18943 cache on [USE_LDCONFIG].
18944 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18946 * elf/rtld.c (dl_main): Likewise.
18948 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18950 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18951 _SC_LEVEL4_CACHE_LINESIZE.
18953 2012-10-03 Roland McGrath <roland@hack.frob.com>
18955 * sysdeps/unix/bsd/confstr.h: File removed.
18957 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18959 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18962 2012-10-02 Roland McGrath <roland@hack.frob.com>
18964 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18965 Make 'mapoff' field ElfW(Off) rather than off_t.
18967 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18969 * nscd/Makefile: Remove nscd-cflags and all its users.
18970 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18971 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18974 * malloc.c (malloc_printerr): Clarify error message.
18976 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18980 Set bit_FMA_Usable if FMA is supported.
18981 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18983 (bit_FMA4_Usable): Updated.
18984 (index_FMA_Usable): New macro.
18985 (CPUID_FMA): Likewise
18986 (HAS_FMA): Defined with bit_FMA_Usable.
18988 2012-10-01 Roland McGrath <roland@hack.frob.com>
18990 * bits/types.h (__swblk_t): Type removed.
18991 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18992 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18994 (__SWBLK_T_TYPE): Likewise.
18995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18996 (__SWBLK_T_TYPE): Likewise.
18997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18998 (__SWBLK_T_TYPE): Likewise.
18999 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19000 (__SWBLK_T_TYPE): Likewise.
19002 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19003 Honza Horak <hhorak@redhat.com>
19005 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19006 (xdr_mapname): Use YPMAXMAP as maxsize.
19007 (xdr_peername): Use YPMAXPEER as maxsize.
19008 (xdr_keydat): Use YPAXRECORD as maxsize.
19009 (xdr_valdat): Use YPMAXRECORD as maxsize.
19011 2012-10-01 Roland McGrath <roland@hack.frob.com>
19013 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19015 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19016 * csu/init-first.c: ... here.
19017 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19018 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19019 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19020 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19021 * sysdeps/i386/init-first.c: File removed.
19022 * sysdeps/sh/init-first.c: File removed.
19024 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19028 if x * y might underflow to zero and z is zero.
19029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19031 * math/libm-test.inc (min_subnorm_value): New variable.
19032 (fma_test): Add more tests.
19033 (fma_test_towardzero): Likewise.
19034 (fma_test_downward): Likewise
19035 (fma_test_upward): Likewise.
19036 (initialize): Set min_subnorm_value.
19038 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19043 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19044 mode for addition resulting in exact zero.
19045 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19050 * math/libm-test.inc (fma_test): Add more tests.
19051 (fma_test_towardzero): New function.
19052 (fma_test_downward): Likewise.
19053 (fma_test_upward): Likewise.
19054 (main): Call the new functions.
19056 2012-09-28 David S. Miller <davem@davemloft.net>
19058 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19060 2012-09-28 Roland McGrath <roland@hack.frob.com>
19062 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19063 instead of SIGALRM.
19065 * sysdeps/gnu/_G_config.h: Moved to ...
19066 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19067 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19068 * sysdeps/generic/_G_config.h: ... here.
19070 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19072 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19074 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19075 Conditionalize target on [libnss_test1.so-version].
19077 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19079 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19080 (elfobjdir): Move out of conditionals.
19082 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19083 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19084 (__nss_lookup_function): Conditionalize label remove_from_tree on
19085 [!DO_STATIC_NSS || SHARED], matching its only use.
19087 2012-09-28 David S. Miller <davem@davemloft.net>
19089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19092 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19094 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19095 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19096 when HWCAP_SPARC_CRYPTO is present.
19098 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19100 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19102 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19105 * stdio-common/vfprintf.c (process_string_arg): Revert
19108 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19110 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19112 * stdio-common/tst-sprintf.c: Include <locale.h>
19113 (main): Test sprintf's handling of incomplete multibyte
19116 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19118 * elf/dl-runtime.c (VERSYMIDX): Removed.
19119 * elf/dl-version.c (VERSYMIDX): Likewise.
19120 * elf/do-rel.h (VERSYMIDX): Likewise.
19121 (VALIDX): Likewise.
19122 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19123 * elf/rtld.c (VALIDX): Likewise.
19124 (ADDRIDX): Likewise.
19125 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19126 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19127 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19128 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19129 (VALIDX): Likewise.
19130 (ADDRIDX): Likewise.
19132 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19134 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19136 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19139 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19141 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19142 addresses are in the same scope as 192.0.2/24.
19143 * posix/gai.conf: Document new scope table defaults.
19145 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19148 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19149 for ftell. Compute offsets from write pointers instead.
19150 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19152 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19155 * libio/Makefile (tests): New test case tst-fseek.
19156 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19157 combination works in wide mode.
19158 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19159 state when the external buffer state changes.
19161 2012-09-27 David S. Miller <davem@davemloft.net>
19164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19165 pass reloc->r_addend in as the 'high' argument to
19166 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19170 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19172 * rt/tst-aio2.c: Include <pthread.h>.
19173 * rt/tst-aio3.c: Likewise.
19175 2012-09-27 Steve Ellcey <sellcey@mips.com>
19177 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19179 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19181 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19182 contents on [SHARED].
19184 2012-09-26 Marek Polacek <polacek@redhat.com>
19188 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19189 for C++ and GCC <4.3 as well as for non GCC compilers.
19191 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19195 2012-09-25 Roland McGrath <roland@hack.frob.com>
19197 * Makefile.in (all, install): Declare with .PHONY.
19198 Reported by Michael Hope <michael.hope@linaro.org>.
19200 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19202 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19203 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19205 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19207 (sydep_routines): Add the new and the internal functions.
19208 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19209 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19211 (GLIBC_2.17): Add the new function.
19212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19213 (GLIBC_2.17): Likewise.
19214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19215 (GLIBC_2.17): Likewise.
19216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19217 (GLIBC_2.17): Likewise.
19218 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19220 2012-09-25 Alan Modra <amodra@gmail.com>
19222 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19223 Add release barrier before setting once_control to say
19224 initialisation is done. Add hints on lwarx. Use macro in
19226 (clear_once_control): Add release barrier.
19228 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19231 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19233 * math/s_clog10.c (__clog10): Likewise.
19234 * math/s_clog10f.c (__clog10f): Likewise.
19235 * math/s_clog10l.c (__clog10l): Likewise.
19236 * math/s_clogf.c (__clogf): Likewise.
19237 * math/s_clogl.c (__clogl): Likewise.
19238 * math/Makefile (libm-calls): Add x2y2m1.
19239 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19240 (__x2y2m1): Likewise.
19241 (__x2y2m1l): Likewise.
19242 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19243 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19244 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19246 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19247 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19248 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19249 * sysdeps/i386/fpu/libm-test-ulps: Update.
19250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19253 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19254 int as type of variable DEPTH.
19255 (glob): Use size_t instead of int as type of variables NEWCOUNT
19258 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19260 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19261 Add s_sincosf-sse2.
19262 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19263 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19264 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19265 macros for using routine as __sincosf_ia32.
19266 Use macro for function declaration and weak_alias.
19267 * sysdeps/i386/fpu/libm-test-ulps: Update.
19269 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19272 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19273 subnormal argument.
19274 * math/s_cexpf.c (__cexpf): Likewise.
19275 * math/s_csinf.c (__csinf): Likewise.
19276 * math/s_csinhf.c (__csinhf): Likewise.
19277 * math/s_ctanf.c (__ctanf): Likewise.
19278 * math/s_ctanhf.c (__ctanhf): Likewise.
19279 * math/s_ccosh.c (__ccoshf): Likewise.
19280 * math/s_cexp.c (__cexpl): Likewise.
19281 * math/s_csin.c (__csin): Likewise.
19282 * math/s_csinh.c (__csinh): Likewise.
19283 * math/s_ctan.c (__ctan): Likewise.
19284 * math/s_ctanh.c (ctanh): Likewise.
19285 * math/s_ccoshl.c (__ccoshl): Likewise.
19286 * math/s_cexpl.c (__cexpl): Likewise.
19287 * math/s_csinl.c (__csinl): Likewise.
19288 * math/s_csinhl.c (__csinhl): Likewise.
19289 * math/s_ctanl.c (__ctanl): Likewise.
19290 * math/s_ctanhl.c (__ctanhl): Likewise.
19292 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19294 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19295 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19296 (_IO_off_t): Define to __off_t, not _G_off_t.
19297 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19298 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19299 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19300 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19301 type of __dummy and __dummy2 fields.
19302 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19303 (_G_ssize_t): Likewise.
19304 (_G_off_t): Likewise.
19305 (_G_pid_t): Likewise.
19306 (_G_uid_t): Likewise.
19307 (_G_wchar_t): Likewise.
19308 (_G_wint_t): Likewise.
19309 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19310 (_G_ssize_t): Likewise.
19311 (_G_off_t): Likewise.
19312 (_G_pid_t): Likewise.
19313 (_G_uid_t): Likewise.
19314 (_G_wchar_t): Likewise.
19315 (_G_wint_t): Likewise.
19316 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19317 (_G_ssize_t): Likewise.
19318 (_G_off_t): Likewise.
19319 (_G_pid_t): Likewise.
19320 (_G_uid_t): Likewise.
19321 (_G_wchar_t): Likewise.
19322 (_G_wint_t): Likewise.
19324 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19326 * malloc/arena.c: Include malloc-sysdep.h.
19327 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19328 is sufficient to shrink the heap or an unmap is needed.
19329 * sysdeps/generic/malloc-sysdep.h: New file. Define
19330 new function check_may_shrink_heap.
19331 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19332 new function check_may_shrink_heap.
19334 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19336 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19339 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19341 * catgets/test-gencat.sh: Add "set -e".
19342 * elf/tst-pathopt.sh: Likewise.
19343 * grp/tst_fgetgrent.sh: Likewise.
19344 * iconvdata/run-iconv-test.sh: Likewise.
19345 * intl/tst-gettext.sh: Likewise.
19346 * intl/tst-gettext2.sh: Likewise.
19347 * intl/tst-gettext4.sh: Likewise.
19348 * intl/tst-gettext6.sh: Likewise.
19349 * intl/tst-translit.sh: Likewise.
19350 * io/ftwtest-sh: Likewise.
19351 * libio/test-freopen.sh: Likewise.
19352 * malloc/tst-mtrace.sh: Likewise.
19353 * posix/globtest.sh: Likewise.
19354 * posix/tst-getconf.sh: Likewise.
19355 * posix/wordexp-tst.sh: Likewise.
19356 * stdio-common/tst-printf.sh: Likewise.
19357 * stdio-common/tst-unbputc.sh: Likewise.
19358 * stdlib/tst-fmtmsg.sh: Likewise.
19359 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19360 * catgets/Makefile: Do not specify -e option when running
19361 testsuite shell scripts.
19362 * elf/Makefile: Likewise.
19363 * grp/Makefile: Likewise.
19364 * iconvdata/Makefile: Likewise.
19365 * intl/Makefile: Likewise.
19366 * io/Makefile: Likewise.
19367 * libio/Makefile: Likewise.
19368 * malloc/Makefile: Likewise.
19369 * posix/Makefile: Likewise.
19370 * stdio-common/Makefile: Likewise.
19371 * stdlib/Makefile: Likewise.
19372 * sysdeps/x86_64/Makefile: Likewise.
19374 * io/ftwtest-sh: Add copyright header.
19375 * posix/globtest.sh: Likewise.
19376 * posix/tst-getconf.sh: Likewise.
19377 * posix/wordexp-tst.sh: Likewise.
19378 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19380 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19383 * Makeconfig (+link): Defined as $(+link-static) if
19384 $(build-shared) isn't yes.
19385 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19387 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19389 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19392 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19393 new chunk size with MALLOC_ALIGN_MASK.
19395 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19398 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19400 (__printf_fphex): Determine rounding using get_rounding_mode and
19402 * stdio-common/tst-printf-round.c (struct hex_test): New
19404 (hex_tests): New variable.
19405 (test_hex_in_one_mode): New function.
19406 (do_test): Also run tests for hex float output.
19408 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19410 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19411 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19412 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19413 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19414 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19415 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19416 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19417 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19419 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19421 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19422 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19423 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19424 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19426 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19429 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19431 * elf/tst-rtld-load-self.sh: New test.
19432 * elf/Makefile: Run it.
19434 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19436 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19437 (tst-writev-ENV): Remove.
19438 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19440 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19442 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19444 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19446 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19448 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19450 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19451 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19452 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19455 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19458 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19459 * config.make.in (have-cpp-asm-debuginfo): Removed.
19460 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19461 * configure: Regenerated.
19463 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19466 * stdio-common/printf_fp.c: Include <stdbool.h> and
19468 (___printf_fp): Determine rounding using get_rounding_mode and
19470 * stdio-common/tst-printf-round.c: New file.
19471 * stdio-common/Makefile (tests): Add tst-printf-round.
19472 (link-libm): New variable.
19473 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19475 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19478 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19479 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19481 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19484 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19486 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19487 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19488 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19489 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19491 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19494 * include/rounding-mode.h: New file.
19495 * sysdeps/generic/get-rounding-mode.h: Likewise.
19496 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19497 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19498 (MAX_VALUE): New macro.
19499 (MIN_VALUE): Likewise.
19500 (overflow_value): New function.
19501 (underflow_value): Likewise.
19502 (round_and_return): Use overflow_value and underflow_value to
19503 determine return values in overflow and underflow cases. Use
19504 round_away to determine rounding depending on rounding mode.
19505 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19506 determine return values in overflow and underflow cases.
19507 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19508 (struct test_results): New structure.
19509 (struct test): Use struct test_results to store expected results
19510 for all rounding modes.
19511 (TEST): Include expected results for all rounding modes.
19512 (test_in_one_mode): New function.
19513 (do_test): Use test_in_one_mode to compute and check results.
19514 Check results for all rounding modes.
19515 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19518 2012-12-09 Allan McRae <allan@archlinux.org>
19520 * sysdeps/i386/fpu/libm-test-ulps: Update
19522 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19524 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19525 (_G_int32_t): Likewise.
19526 (_G_uint16_t): Likewise.
19527 (_G_uint32_t): Likewise.
19528 (_G_HAVE_BOOL): Likewise.
19529 (_G_HAVE_ATEXIT): Likewise.
19530 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19531 (_G_HAVE_IO_FILE_OPEN): Likewise.
19532 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19533 (_G_int32_t): Likewise.
19534 (_G_uint16_t): Likewise.
19535 (_G_uint32_t): Likewise.
19536 (_G_HAVE_BOOL): Likewise.
19537 (_G_HAVE_ATEXIT): Likewise.
19538 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19539 (_G_HAVE_IO_FILE_OPEN): Likewise.
19540 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19541 (_G_int32_t): Likewise.
19542 (_G_uint16_t): Likewise.
19543 (_G_uint32_t): Likewise.
19544 (_G_HAVE_BOOL): Likewise.
19545 (_G_HAVE_ATEXIT): Likewise.
19546 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19547 (_G_HAVE_IO_FILE_OPEN): Likewise.
19549 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19551 * csu/libc-tls.c: Update copyright years.
19553 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19555 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19556 [!_G_USING_THUNKS]: Remove conditional code.
19557 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19558 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19560 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19561 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19562 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19563 (_G_VTABLE_LABEL_PREFIX): Likewise.
19564 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19565 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19567 (_G_VTABLE_LABEL_PREFIX): Likewise.
19568 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19569 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19570 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19571 (_G_VTABLE_LABEL_PREFIX): Likewise.
19572 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19574 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19576 * libio/Makefile: Include ../Makeconfig before tests.
19577 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19578 only if $(build-shared) is yes.
19580 * iconv/gconv_db.c: Update copyright years.
19582 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19584 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19585 unwind info if defined PIC. Fix special cases description.
19586 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19588 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19590 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19592 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19594 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19596 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19599 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19600 (LDLIBS-tst-chk4): This.
19601 (LDFLAGS-tst-chk5): Renamed to ...
19602 (LDLIBS-tst-chk5): This.
19603 (LDFLAGS-tst-chk6): Renamed to ...
19604 (LDLIBS-tst-chk6): This.
19605 (LDFLAGS-tst-lfschk4): Renamed to ...
19606 (LDLIBS-tst-lfschk4): This.
19607 (LDFLAGS-tst-lfschk5): Renamed to ...
19608 (LDLIBS-tst-lfschk5): This.
19609 (LDFLAGS-tst-lfschk6): Renamed to ...
19610 (LDLIBS-tst-lfschk6): This.
19612 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19613 on $(common-objpfx)soversions.mk.
19615 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19618 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19621 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19623 * malloc/arena.c (arena_get_retry): New function that gets
19624 another arena for the caller to try its request on.
19625 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19626 current arena cannot fulfill the request.
19627 (__libc_memalign): Likewise.
19628 (__libc_memalign): Likewise.
19629 (__libc_pvalloc): Likewise.
19630 (__libc_calloc): Likewise.
19632 2012-09-05 John Tobey <john.tobey@gmail.com>
19635 * manual/arith.texi (Operations on Complex): Fix description
19636 of carg branch cut.
19638 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19641 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19645 * manual/memory.texi (Memory): Make order of menu items match
19648 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19650 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19651 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19652 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19654 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19656 * csu/libc-tls.c (static_dtv): Renamed to ...
19657 (_dl_static_dtv): This. Make it global.
19658 (_dl_initial_dtv): Removed.
19659 (__libc_setup_tls): Updated.
19660 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19661 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19664 2012-09-06 Petr Machata <pmachata@redhat.com>
19666 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19667 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19668 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19669 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19674 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19675 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19678 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19681 * Makeconfig (link-static-before-libc): Replace $(+prector)
19683 (link-static-after-libc): Replace $(+postctor) with
19685 (link-bounded): Replace $(+prector)/$(+postctor) with
19686 $(+prectorT)/$(+postctorT).
19687 (+prectorT): New macro.
19688 (+postctorT): Likewise.
19690 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19692 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19693 (round_str): Handle values above the maximum for IBM long double
19695 * stdlib/tst-strtod-round.c (tests): Regenerated.
19697 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19699 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19701 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19702 zarch_nohighgprs around the zarch optimized routines.
19703 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19704 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19705 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19708 2012-09-05 David S. Miller <davem@davemloft.net>
19710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19712 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19713 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19714 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19715 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19718 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19720 * malloc/arena.c: Fold copyright years.
19721 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19725 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19727 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19729 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19731 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19733 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19734 change internal state upon failure.
19736 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19738 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19739 * malloc/memusage.c (mmap): Likewise.
19740 (mmap64, mremap): Likewise. Adjust name in comment.
19742 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19744 * libio/fileops.c: Fix typos in comments.
19745 * libio/oldfileops.c: Likewise.
19746 * libio/wfileops.c: Likewise.
19748 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19751 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19752 (tst-malloc-usable-ENV): Set environment for test case.
19753 * malloc/hooks.c (malloc_check_get_size): New function to get
19755 * malloc/malloc.c (musable): Use malloc_check_get_size.
19756 * malloc/tst-malloc-usable.c: New test case.
19758 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19760 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19762 2012-09-05 Allan McRae <allan@archlinux.org>
19765 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19766 determine header location.
19767 * configure: Regenerated.
19769 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19771 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19773 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19774 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19776 (test): Regenerate.
19778 2012-09-04 David S. Miller <davem@davemloft.net>
19780 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19781 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19782 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19784 2012-09-04 Florian Weimer <fweimer@redhat.com>
19786 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19789 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19791 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19794 * libio/iogetdelim.c: Include <limits.h>.
19795 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19796 + len + 1 would overflow.
19798 2012-09-03 Andreas Jaeger <aj@suse.de>
19800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19801 * sysdeps/i386/fpu/libm-test-ulps: Update.
19803 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19805 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19806 Add s_sinf-sse2, s_conf-sse2.
19808 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19809 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19810 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19811 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19813 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19814 for using routine as __sinf_ia32.
19815 Use macro for function declaration and weak_alias.
19816 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19817 for using routine as __cosf_ia32.
19818 Use macro for function declaration and weak_alias.
19820 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19821 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19823 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19824 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19827 * math/libm-test.inc (cos_test): Add more test cases.
19828 (sin_test): Likewise.
19829 (sincos_test): Likewise.
19831 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19833 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19834 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19836 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19838 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19841 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19842 first element of the GOT.
19843 (elf_machine_load_address): Return the difference between
19844 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19846 2012-09-01 Allan McRae <allan@archlinux.org>
19849 * configure.in (AWK): Require gawk version 3.0 or later.
19850 * configure: Regenerated.
19852 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19854 * sysdeps/unix/sysv/linux/kernel-features.h
19855 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19856 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19857 [__NR_clock_getres]: Make code unconditional.
19858 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19859 (clock_getcpuclockid): Remove code left unreachable by removal of
19861 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19862 code unconditional.
19863 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19864 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19865 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19866 Make code unconditional.
19867 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19868 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19869 * sysdeps/unix/sysv/linux/clock_settime.c
19870 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19872 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19875 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19878 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19879 scripts/test-installation.pl.
19881 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19882 and $ld_so_version if it is set.
19884 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19887 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19888 failure if reading from procfs failed.
19889 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19891 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19893 * sysdeps/unix/sysv/linux/kernel-features.h
19894 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19895 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19896 Remove conditional code.
19897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19898 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19899 Remove conditional code.
19900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19901 * sysdeps/unix/sysv/linux/i386/fxstat.c
19902 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19904 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19905 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19907 * sysdeps/unix/sysv/linux/i386/lxstat.c
19908 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19910 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19911 Remove conditional code.
19912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19913 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19914 Remove conditional code.
19915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19916 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19917 <kernel-features.h>.
19918 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19920 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19921 Remove conditional code.
19922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19923 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19924 Remove conditional.
19926 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19929 * NEWS: Add fixed bug number.
19931 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19934 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19935 underflowing exponent in case of negative sign.
19936 * stdlib/tst-strtod-round-data: Add more tests.
19937 * stdlib/tst-strtod-round.c (tests): Regenerated.
19940 * stdlib/strtod_l.c (NDIG): Remove.
19941 (HEXNDIG): Likewise.
19942 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19943 smallest representable value.
19944 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19945 lie within an exact representation of 1/2 ulp of the result.
19946 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19948 (TENS_P9_IDX): Define unconditionally.
19949 (TENS_P9_SIZE): Likewise.
19950 (TENS_P10_IDX): Likewise.
19951 (TENS_P10_SIZE): Likewise.
19952 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19953 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19954 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19955 entries for 10^2^13 and 10^2^14.
19956 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19957 (TENS_P13_IDX): Define.
19958 (TENS_P13_SIZE): Likewise.
19959 (TENS_P14_IDX): Likewise.
19960 (TENS_P14_SIZE): Likewise.
19961 (_fpioconst_pow10): Change array size to
19962 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19964 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19965 1024]: Add entries for 10^2^13 and 10^2^14.
19966 [LAST_POW10 > _LAST_POW10]: Remove #error.
19967 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19968 (_fpioconst_pow10): Change array size to
19969 FPIOCONST_POW10_ARRAY_SIZE.
19970 * stdlib/gen-fpioconst.c: New file.
19971 * stdlib/gen-tst-strtod-round.c: Likewise.
19972 * stdlib/tst-strtod-round-data: Likewise.
19973 * stdlib/tst-strtod-round.c: Likewise.
19974 * stdlib/Makefile (tests): Add tst-strtod-round.
19977 * stdlib/strtod_l.c: Include <stdint.h>.
19978 (NDEBUG): Do not define.
19979 (round_and_return): Change EXPONENT parameter to type intmax_t.
19980 Rearrange calculations to avoid internal overflow possibilities.
19981 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19982 Rearrange calculations to avoid internal overflow possibilities.
19983 Assert that number fits inside MPNSIZE limbs.
19984 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19985 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19986 calculations and add assertions to avoid internal overflow
19987 possibilities. Add casts to avoid signed/unsigned operations.
19988 * stdlib/tst-strtod-overflow.c: New file.
19989 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19991 2012-08-25 Marek Polacek <polacek@redhat.com>
19993 * time/time.h: Fix some typos in comments.
19995 2012-08-23 Roland McGrath <roland@hack.frob.com>
19997 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19998 * posix/tst-rfc3484-2.c: Likewise.
19999 * posix/tst-rfc3484-3.c: Likewise.
20001 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20003 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20004 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20006 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20008 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20009 #include of fxstatat64.c.
20011 2012-08-22 Roland McGrath <roland@hack.frob.com>
20013 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20014 * shadow/getspent_r.c: Likewise.
20015 * shadow/getspnam.c: Likewise.
20016 * shadow/getspnam_r.c: Likewise.
20017 * gshadow/getsgent.c: Likewise.
20018 * gshadow/getsgent_r.c: Likewise.
20019 * gshadow/getsgnam.c: Likewise.
20020 * gshadow/getsgnam_r.c: Likewise.
20021 * inet/getnetbyad.c: Likewise.
20022 * inet/getnetbyad_r.c: Likewise.
20023 * inet/getnetbynm.c: Likewise.
20024 * inet/getnetbynm_r.c: Likewise.
20025 * inet/getnetent.c: Likewise.
20026 * inet/getnetent_r.c: Likewise.
20027 * inet/getproto.c: Likewise.
20028 * inet/getproto_r.c: Likewise.
20029 * inet/getprtent.c: Likewise.
20030 * inet/getprtent_r.c: Likewise.
20031 * inet/getprtname.c: Likewise.
20032 * inet/getprtname_r.c: Likewise.
20033 * inet/getrpcbyname.c: Likewise.
20034 * inet/getrpcbyname_r.c: Likewise.
20035 * inet/getrpcbynumber.c: Likewise.
20036 * inet/getrpcbynumber_r.c: Likewise.
20037 * inet/getrpcent.c: Likewise.
20038 * inet/getrpcent_r.c: Likewise.
20039 * inet/getaliasent.c: Likewise.
20040 * inet/getaliasent_r.c: Likewise.
20041 * inet/getaliasname.c: Likewise.
20042 * inet/getaliasname_r.c: Likewise.
20043 * nscd/getgrgid_r.c: Likewise.
20044 * nscd/getgrnam_r.c: Likewise.
20045 * nscd/gethstbyad_r.c: Likewise.
20046 * nscd/gethstbynm3_r.c: Likewise.
20047 * nscd/getpwnam_r.c: Likewise.
20048 * nscd/getpwuid_r.c: Likewise.
20049 * nscd/getsrvbynm_r.c: Likewise.
20050 * nscd/getsrvbypt_r.c: Likewise.
20051 * nscd/gai.c: Likewise.
20053 * configure.in (build_nscd): New substituted variable, set
20054 by --disable-build-nscd and defaults to $use_nscd.
20055 * configure: Regenerated.
20056 * config.make.in (build-nscd): New substituted variable.
20057 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20058 Change conditional to require [$(build-nscd) = yes] as well.
20059 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20062 * configure.in (use_nscd): New substituted variable, set by
20063 --disable-nscd. If enabled, define USE_NSCD.
20064 * configure: Regenerated.
20065 * config.h.in: Add USE_NSCD.
20066 * config.make.in (use-nscd): New substituted variable.
20067 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20068 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20069 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20070 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20071 (CFLAGS-getgrnam_r.c): Likewise.
20072 (CFLAGS-initgroups.c): Likewise.
20073 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20074 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20076 * inet/getnetgrent_r.c
20077 (nscd_setnetgrent): New function, broken out of ...
20078 (setnetgrent): ... here. Call it.
20079 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20080 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20081 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20082 * nscd/Makefile (routines, aux): Move definitions after include of
20083 Makeconfig. Conditionalize on [$(use-nscd) != no].
20084 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20085 Conditionalize on [USE_NSCD].
20086 (is_nscd, nscd_init_cb): Likewise.
20087 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20088 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20089 * nss/nss_db/db-init.c: Likewise.
20090 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20092 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20093 (make_request): Use it.
20094 (cache_valid_p): New function.
20095 (__check_pf): Use it.
20096 * NEWS: Add item for --disable-nscd.
20098 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20100 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20101 to support sed >= 4.2.1-20-ga9bf076.
20102 * configure: Regenerated.
20104 2012-08-22 Roland McGrath <roland@hack.frob.com>
20106 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20107 Conditionalize whole body on [IREL].
20109 2012-08-22 Jeff Law <law@redhat.com>
20112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20113 if the family is PF_UNSPEC.
20115 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20117 * Makerules (lib-version): Rename from V.
20118 (install-lib-nosubdir): Change V to lib-version.
20120 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20123 * powerpc32/power6/wcschr.c: New file.
20124 * powerpc32/power6/wcscpy.c: New file.
20125 * powerpc32/power6/wcsrchr.c: New file.
20126 * powerpc64/power6/wcschr.c: New file.
20127 * powerpc64/power6/wcscpy.c: New file.
20128 * powerpc64/power6/wcsrchr.c: New file.
20130 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20132 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20133 (two_way_short_needle): Use it.
20134 * string/strstr.c (AVAILABLE1_USES_J): Define.
20135 * string/strcasestr.c: Likewise.
20137 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20139 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20142 * NEWS: Add an entry.
20143 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20144 define their defaults.
20145 (two_way_short_needle): Detect end-of-string on-the-fly.
20146 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20147 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20148 * string/bug-strcasestr1.c: New test.
20149 * string/Makefile: Run it.
20151 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20154 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20155 the first character.
20157 2012-08-21 Roland McGrath <roland@hack.frob.com>
20159 * csu/elf-init.c (__libc_csu_irel): Function removed.
20160 * csu/libc-start.c (apply_irel): New function.
20161 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20163 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20165 * sysdeps/unix/sysv/linux/kernel-features.h
20166 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20167 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20168 <kernel-features.h>.
20169 [__NR_fadvise64_64]: Make code unconditional.
20170 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20171 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20172 !__NR_fadvise64_64)]: Likewise.
20173 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20174 !__NR_fadvise64_64))]: Likewise.
20175 [__NR_fadvise64]: Make code unconditional.
20176 [!__NR_fadvise64]: Remove conditional code.
20177 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20178 <kernel-features.h>.
20179 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20181 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20184 not include <kernel-features.h>.
20185 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20187 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20189 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20190 include <kernel-features.h>.
20191 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20193 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20196 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20199 slight instruction rearrangements per scrollpipe analysis.
20200 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20202 2012-08-20 Roland McGrath <roland@hack.frob.com>
20204 * manual/syslog.texi (syslog; vsyslog, closelog):
20205 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20206 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20208 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20209 DSOCAPS to match condition on defining it.
20211 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20213 * sysdeps/unix/sysv/linux/kernel-features.h
20214 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20216 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20217 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20219 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20220 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20225 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20226 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20228 * sysdeps/unix/sysv/linux/kernel-features.h
20229 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20230 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20232 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20233 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20236 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20237 Make code unconditional.
20238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20239 (__mmap64) [!__NR_mmap2]: Likewise.
20240 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20241 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20242 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20243 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20244 [__NR_mmap2]: Make code unconditional.
20245 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20246 (__mmap64) [!__NR_mmap2]: Likewise.
20248 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20250 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20252 2012-08-18 Andreas Jaeger <aj@suse.de>
20254 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20256 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20258 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20259 * include/unistd.h (__have_sock_cloexec): Likewise.
20260 (__have_pipe2): Likewise.
20261 (__have_dup3): Likewise.
20263 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20266 * include/unistd.h (__have_pipe2): Change define into an extern int.
20267 (__have_dup3): Likewise.
20268 * socket/have_sock_cloexec.c: Include fcntl.h.
20269 (__have_pipe2): New variable.
20270 (__have_dup3): Likewise.
20272 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20274 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20276 2012-08-17 Marek Polacek <polacek@redhat.com>
20278 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20279 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20281 2012-08-17 Roland McGrath <roland@hack.frob.com>
20283 * configure.in: Add AC_SUBST for sysheaders.
20284 * configure: Regenerated.
20285 * config.make.in (sysheaders): New substituted variable.
20287 * sysdeps/unix/mkfifo.c: Moved ...
20288 * sysdeps/posix/mkfifo.c: ... here.
20289 * sysdeps/unix/mkfifoat.c: Moved ...
20290 * sysdeps/posix/mkfifoat.c: ... here.
20292 * sysdeps/unix/utime.c: Moved ...
20293 * sysdeps/posix/utime.c: ... here.
20295 * sysdeps/unix/time.c: Moved ...
20296 * sysdeps/posix/time.c: ... here.
20297 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20298 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20300 * sysdeps/unix/nice.c: Moved ...
20301 * sysdeps/posix/nice.c: ... here.
20303 * sysdeps/unix/alarm.c: Moved ...
20304 * sysdeps/posix/alarm.c: ... here.
20306 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20308 2012-08-17 Jeff Law <law@redhat.com>
20310 * intl/Makefile (codeset_mo): New variable.
20311 ($(codeset_mo)): New target.
20312 (tst-codeset.out): Depend on that. Remove explicit rule.
20313 (tst-gettext3.out, tst-gettext5.out): Likewise.
20314 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20315 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20316 * intl/tst-codeset.sh: Remove.
20317 * intl/tst-gettext3.sh: Likewise.
20318 * intl/tst-gettext5.sh: Likewise.
20320 2012-08-17 Roland McGrath <roland@hack.frob.com>
20322 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20323 * sysdeps/unix/syscalls.list: ... here.
20325 * sysdeps/posix/getaddrinfo.c
20326 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20327 (gaiconf_init, gaiconf_reload): Use them.
20328 [!_STATBUF_ST_NSEC]
20329 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20330 Define using time_t rather than struct timespec.
20332 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20333 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20335 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20337 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20338 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20342 __libc_cleanup_push argument.
20344 * bits/param.h: New file.
20345 * misc/sys/param.h: New file.
20346 * include/sys/param.h: New file.
20347 * misc/Makefile (headers): Add bits/param.h.
20348 * sysdeps/generic/sys/param.h: File removed.
20349 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20350 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20351 * sysdeps/mach/hurd/bits/param.h: New file.
20352 * sysdeps/mach/hurd/sys/param.h: File removed.
20354 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20357 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20359 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20360 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20363 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20364 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20365 rather than -D_IO_MTSAFE_IO conditionally.
20366 * stdio-common/Makefile (CPPFLAGS): Likewise.
20367 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20368 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20369 Use $(libio-mtsafe).
20370 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20371 of -D_IO_MTSAFE_IO.
20372 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20373 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20374 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20375 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20376 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20377 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20378 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20379 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20380 (CFLAGS-fread_u_chk.c): Likewise.
20381 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20382 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20383 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20384 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20385 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20386 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20387 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20388 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20389 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20391 * libio/Makefile: Test [$(libc-reentrant) = yes]
20392 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20395 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20396 * sysdeps/pthread/configure: File removed.
20397 * sysdeps/pthread/Makeconfig: New file.
20398 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20399 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20401 2012-08-16 Gary Benson <gbenson@redhat.com>
20403 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20404 unmapping the first object in a namespace.
20406 2012-08-16 Roland McGrath <roland@hack.frob.com>
20408 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20409 (__internal_setnetgrent): ... this. Add internal_function to
20410 definition. Add libc_hidden_def.
20411 (setnetgrent): Update caller.
20412 (internal_endnetgrent): Renamed to ...
20413 (__internal_endnetgrent): ... this. Add internal_function to
20414 definition. Add libc_hidden_def.
20415 (endnetgrent): Update caller.
20416 (internal_getnetgrent_r): Renamed to ...
20417 (__internal_getnetgrent_r): ... this. Add internal_function to
20418 definition. Add libc_hidden_def.
20419 (__getnetgrent_r): Update caller.
20420 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20422 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20424 * stdlib/longlong.h: Update from GCC.
20426 2012-08-16 Roland McGrath <roland@hack.frob.com>
20428 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20429 on _QL, which is set by umul_ppmm but never used.
20430 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20431 variables, which are set by GMP macros but never used.
20432 * stdio-common/_itowa.c (_itowa): Likewise.
20433 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20434 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20436 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20438 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20439 struct La_sh_regs is not constant.
20440 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20441 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20442 and struct La_sparc64_regs are not constant.
20444 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20446 * sysdeps/unix/sysv/linux/kernel-features.h
20447 (__ASSUME_POSIX_TIMERS): Remove.
20448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20449 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20450 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20451 Make code unconditional.
20452 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20453 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20454 Make code unconditional.
20455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20456 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20457 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20459 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20460 Make code unconditional.
20461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20462 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20463 (__libc_missing_posix_timers): Remove.
20465 2012-08-15 Roland McGrath <roland@hack.frob.com>
20467 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20468 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20470 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20472 * elf/dl-sym.c: Include <stdlib.h>.
20474 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20475 constants, which avoids warnings in 32-bit builds.
20477 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20478 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20480 * misc/lseek.c: File moved to ...
20481 * io/lseek.c: ... here.
20483 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20485 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20486 shifting LEN more than 31 bits at once.
20488 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20491 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20492 segmentation fault for a case of two empty input strings.
20493 * string/test-strncasecmp.c (check1): Renamed to...
20494 (bz12205): ...this.
20495 (bz14195): Add new testcase for two empty input strings and N > 0.
20496 (test_main): Call new testcase, adapt for renamed function.
20498 2012-08-15 Andreas Jaeger <aj@suse.de>
20501 * crypt/md5test2.c: New test, based on test supplied by Serge
20502 Belyshev <belyshev@depni.sinp.msu.ru>.
20503 * crypt/Makefile (xtests): Add md5test-giant..
20504 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20506 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20509 * crypt/md5.c (md5_process_block): Don't assume the buffer
20510 length is less than 2**32.
20511 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20512 length is less than 2**64.
20514 2012-08-15 Roland McGrath <roland@hack.frob.com>
20516 * string/str-two-way.h: Include <sys/param.h>.
20517 (MAX): Macro removed.
20519 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20520 Move #define and #undef of memmove to just before and after
20521 including <string.h>.
20523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20524 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20525 and after including <string.h>. Move declarations of
20526 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20527 to before #include "string/memmove.c".
20529 * include/dirent.h: Declare __getdirentries.
20531 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20532 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20534 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20536 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20537 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20538 * sysdeps/i386/configure: Regenerated.
20539 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20540 STABS_CURRENT_FILE, and STABS_FUN.
20541 (END): Remove call to STABS_FUN_END.
20542 (STABS_CURRENT_FILE1): Delete.
20543 (STABS_CURRENT_FILE): Likewise.
20544 (STABS_FUN): Likewise.
20545 (STABS_FUN_END): Likewise.
20546 (STABS_FUN2): Likewise.
20547 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20548 * sysdeps/x86_64/configure: Regenerated.
20550 2012-08-14 Roland McGrath <roland@hack.frob.com>
20552 * elf/dl-open.c: Include <atomic.h>.
20553 * elf/dl-lookup.c: Likewise.
20555 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20557 * sysdeps/unix/sysv/linux/kernel-features.h
20558 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20559 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20561 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20563 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20564 condition on __ASSUME_CLONE_THREAD_FLAGS.
20566 2012-08-14 Andreas Jaeger <aj@suse.de>
20568 * sysdeps/i386/fpu/libm-test-ulps: Update.
20570 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20572 * include/atomic.h (atomic_exchange_and_add): Split into ...
20573 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20576 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20580 2012-08-13 Jeff Law <law@redhat.com>
20582 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20583 null byte in the output string.
20585 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20587 * sysdeps/unix/sysv/linux/kernel-features.h
20588 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20589 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20590 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20591 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20592 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20593 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20594 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20596 2012-08-09 Jeff Law <law@redhat.com>
20599 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20600 When avoid_arena is set, don't retry in the that arena. Pick the
20601 next one, whatever it might be.
20602 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20603 (arena_lock): Pass in new parameter to arena_get2.
20604 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20606 (__libc_malloc): Unify retrying after main arena failure with
20607 __libc_memalign version.
20608 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20610 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20613 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20614 to __redirect_strstr.
20615 (__strstr_sse42): Use typeof __redirect_strstr.
20616 (__strstr_ia32): Likewise.
20617 (__libc_strstr): New prototype.
20618 (strstr): Renamed to ...
20619 (__libc_strstr): This.
20620 (strstr): New strong alias of __libc_strstr.
20621 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20622 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20625 (__libc_time): New prototype.
20626 (time_ifunc): Replace time with __libc_time.
20627 (time): New strong alias and hidden definition of __libc_time.
20628 (__GI_time): Remove strong alias.
20629 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20630 Include <stddef.h>.
20631 (memmove): Redefined to __redirect_memmove.
20632 (__memmove_sse2): Use typeof __redirect_memmove.
20633 (__memmove_ssse3): Likewise.
20634 (__memmove_ssse3_back): Likewise.
20635 (__libc_memmove): New prototype.
20636 (memmove): Renamed to ...
20637 (__libc_memmove): This.
20638 (memmove): New strong alias of __libc_memmove.
20640 2012-08-08 Mark Salter <msalter@redhat.com>
20643 (R_MN10300_TLS_GD): Define.
20644 (R_MN10300_TLS_LD): Likewise.
20645 (R_MN10300_TLS_LDO): Likewise.
20646 (R_MN10300_TLS_GOTIE): Likewise.
20647 (R_MN10300_TLS_IE): Likewise.
20648 (R_MN10300_TLS_LE): Likewise.
20649 (R_MN10300_TLS_DTPMOD): Likewise.
20650 (R_MN10300_TLS_DTPOFF): Likewise.
20651 (R_MN10300_TLS_TPOFF): Likewise.
20652 (R_MN10300_SYM_DIFF): Likewise.
20653 (R_MN10300_ALIGN): Likewise.
20654 (R_MN10300_NUM): Update.
20656 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20661 2012-08-08 Roland McGrath <roland@hack.frob.com>
20663 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20665 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20666 sysdeps/unix -> sysdeps/posix move.
20667 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20669 2012-08-07 Allan McRae <allan@archlinux.org>
20672 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20673 (SUNOS_CPP): Likewise.
20674 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20676 (open_input): Call CPP using execvp.
20678 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20680 * sysdeps/unix/sysv/linux/kernel-features.h
20681 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20682 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20683 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20684 (__ASSUME_WAITID_SYSCALL): Likewise.
20685 * sysdeps/unix/sysv/linux/dl-execstack.c
20686 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20687 code unconditional.
20688 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20690 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20691 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20692 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20694 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20696 [__ASSUME_WAITID_SYSCALL]: Likewise.
20697 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20699 2012-08-07 Roland McGrath <roland@hack.frob.com>
20701 * sysdeps/unix/closedir.c: Renamed to ...
20702 * sysdeps/posix/closedir.c: ... here.
20703 * sysdeps/unix/dirfd.c: Renamed to ...
20704 * sysdeps/posix/dirfd.c: ... here.
20705 * sysdeps/unix/dirstream.h: Renamed to ...
20706 * sysdeps/posix/dirstream.h: ... here.
20707 * sysdeps/unix/fdopendir.c: Renamed to ...
20708 * sysdeps/posix/fdopendir.c: ... here.
20709 * sysdeps/unix/opendir.c: Renamed to ...
20710 * sysdeps/posix/opendir.c: ... here.
20711 * sysdeps/unix/readdir.c: Renamed to ...
20712 * sysdeps/posix/readdir.c: ... here.
20713 * sysdeps/unix/readdir_r.c: Renamed to ...
20714 * sysdeps/posix/readdir_r.c: ... here.
20715 * sysdeps/unix/rewinddir.c: Renamed to ...
20716 * sysdeps/posix/rewinddir.c: ... here.
20717 * sysdeps/unix/seekdir.c: Renamed to ...
20718 * sysdeps/posix/seekdir.c: ... here.
20719 * sysdeps/unix/telldir.c: Renamed to ...
20720 * sysdeps/posix/telldir.c: ... here.
20721 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20722 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20723 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20724 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20726 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20727 * bits/fcntl.h: ... here.
20729 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20731 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20732 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20733 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20734 (struct flock): Move l_start, l_len to the beginning.
20735 Use __pid_t for l_pid.
20736 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20737 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20738 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20739 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20740 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20741 [__USE_LARGEFILE64] (struct flock64): New type.
20742 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20744 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20745 * bits/dirent.h: ... here.
20747 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20748 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20750 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20753 Change from 2.6.0 to 2.6.16.
20754 * sysdeps/unix/sysv/linux/configure: Regenerated.
20755 * sysdeps/unix/sysv/linux/kernel-features.h
20756 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20757 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20759 (__ASSUME_UTIMES): Likewise.
20760 (__ASSUME_CLONE_STOPPED): Remove.
20761 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20762 architectures, not kernel version.
20763 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20764 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20765 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20766 (__ASSUME_WAITID_SYSCALL): Likewise.
20767 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20768 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20769 * README: State 2.6.16 as minimum Linux kernel version. Do not
20770 refer to older versions.
20772 2012-08-06 Roland McGrath <roland@hack.frob.com>
20774 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20775 Define alphasort64 as an alias.
20776 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20777 Define versionsort64 as an alias.
20778 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20779 Define scandir64 as an alias.
20780 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20781 Define scandirat64 as an alias.
20782 * dirent/alphasort64.c (alphasort64):
20783 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20784 * dirent/versionsort64.c: Likewise.
20785 * dirent/scandir64.c: Likewise.
20786 * dirent/scandirat64.c: Likewise.
20787 * sysdeps/wordsize-64/alphasort.c: File removed.
20788 * sysdeps/wordsize-64/alphasort64.c: File removed.
20789 * sysdeps/wordsize-64/scandir.c: File removed.
20790 * sysdeps/wordsize-64/scandir64.c: File removed.
20791 * sysdeps/wordsize-64/scandirat.c: File removed.
20792 * sysdeps/wordsize-64/scandirat64.c: File removed.
20793 * sysdeps/wordsize-64/versionsort.c: File removed.
20794 * sysdeps/wordsize-64/versionsort64.c: File removed.
20795 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20797 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20798 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20799 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20800 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20802 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20804 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20806 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20808 [defined __arch64__ || defined __sparcv9]
20809 (__INO_T_MATCHES_INO64_T): New macro.
20810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20811 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20812 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20813 * sysdeps/unix/sysv/linux/bits/dirent.h
20814 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20815 (_DIRENT_MATCHES_DIRENT64): New macro.
20817 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20818 Define lockf64 as an alias.
20819 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20820 Define fseeko64 as an alias.
20821 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20822 Define ftello64 as an alias.
20823 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20824 Define _IO_fgetpos64 and fgetpos64 as aliases.
20825 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20826 Define _IO_fsetpos64 and fsetpos64 as aliases.
20827 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20828 Conditionalize body on this.
20829 * libio/fseeko64.c: Likewise.
20830 * libio/ftello64.c: Likewise.
20831 * libio/iofgetpos64.c: Likewise.
20832 * libio/iofsetpos64.c: Likewise.
20833 * sysdeps/wordsize-64/lockf.c: File removed.
20834 * sysdeps/wordsize-64/lockf64.c: File removed.
20835 * sysdeps/wordsize-64/fseeko.c: File removed.
20836 * sysdeps/wordsize-64/fseeko64.c: File removed.
20837 * sysdeps/wordsize-64/ftello.c: File removed.
20838 * sysdeps/wordsize-64/ftello64.c: File removed.
20839 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20840 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20841 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20842 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20844 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20845 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20846 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20847 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20848 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20849 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20854 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20856 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20858 [defined __arch64__ || defined __sparcv9]
20859 (__OFF_T_MATCHES_OFF64_T): New macro.
20860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20861 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20863 (__OFF_T_MATCHES_OFF64_T): New macro.
20865 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20867 * stdlib/secure-getenv.c (__secure_getenv): Replace
20868 GLIBC_2_16 with GLIBC_2_17.
20870 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20872 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20873 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20875 2012-08-03 David S. Miller <davem@davemloft.net>
20877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20879 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20883 (__ASSUME_CORRECT_SI_PID): Likewise.
20884 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20885 (__ASSUME_TMPFS_NAME): Likewise.
20886 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20887 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20888 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20889 (HAVE_AUX_SECURE): Make definition unconditional.
20890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20891 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20893 2012-08-03 Roland McGrath <roland@hack.frob.com>
20895 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20896 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20897 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20898 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20899 __eloop_threshold instead of SYMLOOP_MAX.
20901 * sysdeps/generic/eloop-threshold.h: New file.
20902 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20904 * elf/chroot_canon.c (chroot_canon): Likewise.
20906 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20910 Change to 2.6.0 everywhere.
20911 * sysdeps/unix/sysv/linux/configure: Regenerated.
20912 * sysdeps/unix/sysv/linux/kernel-features.h
20913 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20914 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20916 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20917 (__ASSUME_FUTEX_REQUEUE): Remove.
20918 (__ASSUME_STATFS64): Define unconditionally.
20919 (__ASSUME_AT_SECURE): Likewise.
20920 (__ASSUME_CORRECT_SI_PID): Likewise.
20921 (__ASSUME_TGKILL): Define without depending on kernel version for
20923 (__ASSUME_UTIMES): Likewise.
20924 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20926 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20927 (__ASSUME_TMPFS_NAME): Likewise.
20928 * README: Update reference to Linux kernel versions.
20930 2012-08-02 Marek Polacek <polacek@redhat.com>
20933 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20934 libc_cv_asm_type_prefix with %.
20935 * configure: Regenerated.
20936 * include/libc-symbols.h: Remove comment about
20937 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20938 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20939 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20940 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20941 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20942 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20943 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20944 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20945 * elf/tst-unique2mod1.c: Likewise.
20946 * elf/tst-unique1mod2.c: Likewise.
20947 * elf/tst-unique1mod1.c: Likewise.
20948 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20949 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20950 Replace ASM_TYPE_DIRECTIVE with .type.
20951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20952 * sysdeps/i386/sysdep.h: Likewise.
20953 * sysdeps/x86_64/sysdep.h: Likewise.
20954 * sysdeps/sh/sysdep.h: Likewise.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20956 Do not define ASM_TYPE_DIRECTIVE.
20957 * sysdeps/powerpc/sysdep.h: Likewise.
20958 * sysdeps/powerpc/powerpc32/sysdep.h:
20959 Replace ASM_TYPE_DIRECTIVE with .type.
20960 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20962 * sysdeps/i386/fpu/e_powf.S: Likewise.
20963 * sysdeps/i386/fpu/e_expl.S: Likewise.
20964 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20966 * sysdeps/i386/fpu/e_pow.S: Likewise.
20967 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20969 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20971 * sysdeps/i386/fpu/e_log2.S: Likewise.
20972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20973 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20974 * sysdeps/i386/fpu/e_powl.S: Likewise.
20975 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20976 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20977 * sysdeps/i386/fpu/e_logl.S: Likewise.
20978 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20979 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20980 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20981 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20982 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20983 * sysdeps/i386/fpu/e_log.S: Likewise.
20984 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20985 * sysdeps/i386/fpu/e_logf.S: Likewise.
20986 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20987 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20988 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20989 * sysdeps/i386/fpu/e_log10.S: Likewise.
20990 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20992 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20993 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20995 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20996 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20997 * sysdeps/i386/i686/strtok.S: Likewise.
20998 * sysdeps/i386/i386-mcount.S: Likewise.
20999 * sysdeps/i386/strtok.S: Likewise.
21000 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21003 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21004 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21006 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21007 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21008 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21009 * sysdeps/x86_64/_mcount.S: Likewise.
21010 * sysdeps/x86_64/strtok.S: Likewise.
21011 * sysdeps/sh/_mcount.S: Likewise.
21013 2012-08-01 Roland McGrath <roland@hack.frob.com>
21015 * libio/iofopen.c: Include <fcntl.h>.
21016 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21017 (_IO_fopen64, fopen64): Define as aliases.
21018 * libio/iofopen64.c: Include <fcntl.h>.
21019 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21020 Conditionalize body on this.
21021 * sysdeps/wordsize-64/iofopen.c: File removed.
21022 * sysdeps/wordsize-64/iofopen64.c: File removed.
21024 2012-08-01 Marek Polacek <polacek@redhat.com>
21026 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21027 Use dlfcn directly instead of a variable.
21028 (binfmt-subdir): Do not define.
21031 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21034 Remove all definitions.
21035 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21036 <kernel-features.h>.
21037 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21038 (miss_F_GETOWN_EX): Remove all definitions.
21039 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21041 [!__ASSUME_FCNTL64]: Remove conditional code.
21042 [__ASSUME_FCNTL64]: Make code unconditional.
21043 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21044 <kernel-features.h>.
21045 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21046 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21047 (lockf64) [__NR_fcntl64]: Make code unconditional.
21048 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21050 * sysdeps/unix/sysv/linux/kernel-features.h
21051 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21052 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21053 Make code unconditional.
21054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21057 [__NR_vfork]: Make code unconditional.
21058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21061 [__NR_vfork]: Make code unconditional.
21062 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21063 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21065 2012-08-01 Roland McGrath <roland@hack.frob.com>
21067 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21068 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21070 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21071 Define mkstemp64 as an alias.
21072 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21073 Define mkstemps64 as an alias.
21074 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21075 Define mkostemp64 as an alias.
21076 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21077 Define mkostemps64 as an alias.
21078 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21079 Conditionalize body on this.
21080 * misc/mkostemp64.c: Likewise.
21081 * misc/mkostemps64.c: Likewise.
21082 * misc/mkstemps64.c: Likewise.
21083 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21084 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21085 * sysdeps/wordsize-64/mkostemp.c: File removed.
21086 * sysdeps/wordsize-64/mkstemp.c: File removed.
21087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21088 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21089 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21090 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21093 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21094 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21095 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21096 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21098 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21099 compat_symbol macros from <shlib-compat.h> rather than the underlying
21100 default_symbol_version and symbol_version macros, so that DEFAULT
21101 lines in shlib-versions are respected.
21102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21104 2012-08-01 Florian Weimer <fweimer@redhat.com>
21106 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21107 Declare with warn_unused_result.
21108 (setgid, setregid, setegid, setresgid): Likewise.
21109 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21111 * WUR-REPORT: Remove set*id functions.
21113 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21115 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21117 2012-07-31 Roland McGrath <roland@hack.frob.com>
21120 * include/sys/socket.h (__libc_accept, __libc_accept4):
21121 Add attribute_hidden.
21122 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21124 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21126 * inet/getnetgrent_r.c (setup): Likewise.
21128 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21130 2012-07-31 David S. Miller <davem@davemloft.net>
21132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21134 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21137 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21138 value between 1.0 and 2.0 and smaller part has absolute value less
21140 * math/s_clog10.c (__clog10): Likewise.
21141 * math/s_clog10f.c (__clog10f): Likewise.
21142 * math/s_clog10l.c (__clog10l): Likewise.
21143 * math/s_clogf.c (__clogf): Likewise.
21144 * math/s_clogl.c (__clogl): Likewise.
21145 * math/libm-test.inc (clog_test): Add more tests.
21146 (clog10_test): Likewise.
21147 * sysdeps/i386/fpu/libm-test-ulps: Update.
21148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21150 2012-07-31 Florian Weimer <fweimer@redhat.com>
21152 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21153 Exit with zero in case no suitable GID is found, and write a
21154 message to standard error.
21156 2012-07-30 Roland McGrath <roland@hack.frob.com>
21158 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21160 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21161 (MAXPATHLEN): Removed.
21162 (NOGROUP, NODEV): New macros.
21163 (setbit, clrbit, isset, isclr): New macros.
21164 (howmany, roundup, powerof2): New macros.
21165 (DEV_BSIZE): New macro.
21167 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21168 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21170 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21171 definition on [!__NO_LONG_DOUBLE_MATH].
21173 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21174 PTR_MANGLE and PTR_DEMANGLE.
21176 * socket/accept4.c (accept4): Rename to __libc_accept4.
21177 Define accept4 as a weak alias.
21179 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21180 on [_DIRENT_HAVE_D_TYPE].
21181 * io/ftw.c (ftw_dir): Likewise.
21183 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21185 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21187 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21188 Use the BSD numbers rather than the arbitrary ones we had.
21189 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21190 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21191 (SIGXCPU, SIGXFSZ): New macros.
21194 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21195 initializer on [_LIBC_REENTRANT].
21197 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21198 definitions inside [_POSIX_MAPPED_FILES].
21200 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21202 * dirent/opendir.c: Include <fcntl.h>.
21204 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21205 (__libc_getspecific): Likewise.
21206 (__libc_key_create): Likewise.
21208 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21209 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21210 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21211 (tmpfile64): Define as alias.
21212 * sysdeps/wordsize-64/tmpfile.c: File removed.
21213 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21214 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21215 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21217 * stdio-common/vfscanf.c: Include <stdbool.h>.
21218 * nss/makedb.c: Likewise.
21219 * stdio-common/_i18n_number.h: Likewise.
21220 * argp/argp-help.c: Likewise.
21221 * posix/wordexp.c: Likewise.
21222 * sysdeps/posix/spawni.c: Likewise.
21223 * nss/nss_files/files-initgroups.c: Likewise.
21224 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21225 * nss/nss_files/files-initgroups.c: Likewise.
21226 * nss/nss_db/db-netgrp.c: Likewise.
21227 * nss/nss_db/db-initgroups.c: Likewise.
21228 * io/fchmodat.c: Include <sys/stat.h>.
21230 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21231 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21233 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21236 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21237 Add multiple inclusion protection.
21239 2012-07-27 David S. Miller <davem@davemloft.net>
21241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21243 2012-07-27 Gary Benson <gbenson@redhat.com>
21246 * elf/rtld.c: Include <stap-probe.h>.
21247 (dl_main): Added static probes "init_start" and "init_complete".
21248 * elf/dl-load.c: Include <stap-probe.h>.
21249 (lose): Take new parameter "nsid".
21250 Added static probe "map_failed".
21251 (_dl_map_object_from_fd): Pass namespace id to lose.
21252 Added static probe "map_start".
21253 (open_verify): Pass namespace id to lose.
21254 * elf/dl-open.c: Include <stap-probe.h>.
21255 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21256 and "reloc_complete".
21257 * elf/dl-close.c: Include <stap-probe.h>.
21258 (_dl_close_worker): Added static probes "unmap_start" and
21260 * elf/rtld-debugger-interface.txt: New file documenting the above.
21262 2012-07-26 Roland McGrath <roland@hack.frob.com>
21264 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21265 rather than a string variable.
21266 * sunrpc/rpc_main.c (h_output): Likewise.
21267 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21269 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21271 * inet/check_native.c: New file.
21273 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21276 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21277 if larger part has absolute value 1.0.
21278 * math/s_clog10.c (__clog10): Likewise.
21279 * math/s_clog10f.c (__clog10f): Likewise.
21280 * math/s_clog10l.c (__clog10l): Likewise.
21281 * math/s_clogf.c (__clogf): Likewise.
21282 * math/s_clogl.c (__clogl): Likewise.
21283 * math/libm-test.inc (clog_test): Add more tests.
21284 (clog10_test): Likewise.
21285 * sysdeps/i386/fpu/libm-test-ulps: Update.
21286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21288 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21289 (pltexit): Likewise.
21290 (La_regs): Likewise.
21291 (La_retval): Likewise.
21292 (int_retval): Likewise.
21293 Update #error for removed macros to refer only to definitions in
21295 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21297 (pltexit): Likewise.
21298 (La_regs): Likewise.
21299 (La_retval): Likewise.
21300 (int_retval): Likewise.
21301 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21303 (pltexit): Likewise.
21304 (La_regs): Likewise.
21305 (La_retval): Likewise.
21306 (int_retval): Likewise.
21307 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21309 (pltexit): Likewise.
21310 (La_regs): Likewise.
21311 (La_retval): Likewise.
21312 (int_retval): Likewise.
21313 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21315 (pltexit): Likewise.
21316 (La_regs): Likewise.
21317 (La_retval): Likewise.
21318 (int_retval): Likewise.
21319 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21321 (pltexit): Likewise.
21322 (La_regs): Likewise.
21323 (La_retval): Likewise.
21324 (int_retval): Likewise.
21325 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21327 (pltexit): Likewise.
21328 (La_regs): Likewise.
21329 (La_retval): Likewise.
21330 (int_retval): Likewise.
21331 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21332 macro definitions in tst-audit.h.
21333 * sysdeps/i386/tst-audit.h: New file.
21334 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21335 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21336 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21337 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21338 * sysdeps/sh/tst-audit.h: Likewise.
21339 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21340 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21341 * sysdeps/x86_64/tst-audit.h: Likewise.
21343 2012-07-26 Andreas Jaeger <aj@suse.de>
21345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21348 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21349 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21350 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21352 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21353 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21354 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21356 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21359 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21361 (si_call_addr, si_syscall, si_arch): Define new macro.
21362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21364 (si_call_addr, si_syscall, si_arch): Define new marcro.
21365 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21367 (si_call_addr, si_syscall, si_arch): Define new macro.
21368 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21370 (si_call_addr, si_syscall, si_arch): Define new macro.
21372 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21375 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21376 Change to 2.4.21 where previously 2.4.1.
21377 * sysdeps/unix/sysv/linux/configure: Regenerated.
21378 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21379 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21380 Linux kernel version.
21381 (__ASSUME_STD_AUXV): Remove.
21382 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21384 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21385 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21386 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21387 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21388 (__ASSUME_NETLINK_SUPPORT): Likewise.
21389 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21390 (__no_netlink_support): Remove conditional definition.
21391 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21393 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21394 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21395 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21396 (if_nameindex_ioctl): Remove.
21397 (if_nameindex_netlink): Do not handle __no_netlink_support.
21398 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21400 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21401 Remove conditional code.
21402 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21404 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21406 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21407 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21408 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21410 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21411 [!__ASSUME_STD_AUXV]: Remove conditional code.
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21413 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21414 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21416 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21417 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21419 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21421 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21422 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21424 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21426 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21429 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21432 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21433 code unconditional.
21434 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21436 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21438 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21441 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21443 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21446 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21447 code unconditional.
21448 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21450 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21452 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21455 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21456 code unconditional.
21457 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21459 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21461 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21464 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21466 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21467 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21468 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21469 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21470 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21471 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21473 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21474 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21475 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21476 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21477 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21478 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21479 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21480 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21481 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21482 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21483 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21484 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21486 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21487 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21490 2012-07-25 Florian Weimer <fweimer@redhat.com>
21492 * Versions.def: Add GLIBC_2.17.
21493 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21494 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21495 Introduce __libc_secure_getenv.
21496 * stdlib/Versions (2.17): Add secure_getenv
21497 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21498 * stdlib/secure-getenv.c: Rename __secure_getenv to
21499 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21500 symbol __secure_getenv for GLIBC_2.0.
21501 * stdlib/tst-secure-getenv.c: New.
21502 * stdlib/Makefile (tests): Add testcase.
21503 * manual/startup.texi (Environment Access): Document
21505 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21506 __libc_secure_getenv.
21507 * inet/ruserpass.c (ruserpass): Likewise.
21508 * malloc/mtrace.c (mtrace): Likewise.
21509 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21510 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21511 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21512 * sysdeps/posix/tempname.c: Likewise. Evaluate
21513 HAVE_SECURE_GETENV.
21514 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21515 __secure_getenv to __libc_secure_getenv.
21516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21529 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21531 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21532 (struct La_i86_retval): Likewise.
21533 (struct La_x86_64_regs): Likewise.
21534 (struct La_x86_64_retval): Likewise.
21535 (struct La_x32_regs): Likewise.
21536 (struct La_x32_retval): Likewise.
21537 (struct La_ppc32_regs): Likewise.
21538 (struct La_ppc32_retval): Likewise.
21539 (struct La_ppc64_regs): Likewise.
21540 (struct La_ppc64_retval): Likewise.
21541 (struct La_sh_regs): Likewise.
21542 (struct La_sh_retval): Likewise.
21543 (struct La_s390_32_regs): Likewise.
21544 (struct La_s390_32_retval): Likewise.
21545 (struct La_s390_64_regs): Likewise.
21546 (struct La_s390_64_retval): Likewise.
21547 (struct La_sparc32_regs): Likewise.
21548 (struct La_sparc32_retval): Likewise.
21549 (struct La_sparc64_regs): Likewise.
21550 (struct La_sparc64_retval): Likewise.
21551 (struct audit_ifaces): Remove architecture-specific pltenter and
21553 * sysdeps/i386/ldsodefs.h: New file.
21554 * sysdeps/powerpc/ldsodefs.h: Likewise.
21555 * sysdeps/s390/ldsodefs.h: Likewise.
21556 * sysdeps/sh/ldsodefs.h: Likewise.
21557 * sysdeps/sparc/ldsodefs.h: Likewise.
21558 * sysdeps/x86_64/ldsodefs.h: Likewise.
21560 2012-07-25 Marek Polacek <polacek@redhat.com>
21563 * math/libm-test.inc (yn_test): Add another test.
21564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21565 to ERANGE when the result is +-Inf.
21566 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21567 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21568 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21569 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21571 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21573 * conform/data/time.h-data (NULL): Use macro-constant. Require
21575 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21577 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21579 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21581 * configure.in <sysdeps resolving>: Correct printing
21583 * configure: Regenerate.
21585 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21587 * math/w_ilogb.c: Include <limits.h>.
21588 * math/w_ilogbl.c: Likewise.
21590 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21592 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21593 va_copy. Document allowing for unavailable va_copy only as
21594 pre-C99 compatibility.
21595 * manual/string.texi (Copying and Concatenation): Use va_copy
21596 instead of __va_copy in concat example.
21598 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21600 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21601 (__sendto): Use create_address_port. Initialize APORT and deallocate
21604 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21605 with O_NOLINK passed to __file_name_lookup.
21607 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21608 with O_NOLINK passed to __file_name_lookup.
21610 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21611 negative N or less than NGIDS.
21613 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21614 type to string_t. Set ERANGE as errno and return it if NAME is not big
21615 enough. Use memcpy instead of strncpy.
21617 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21619 * elf/Makefile (check-data): Remove.
21620 (localplt.data): New vpath directive.
21621 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21622 instead of $(check-data).
21623 * scripts/data/localplt-generic.data: Move to ...
21624 * sysdeps/generic/localplt.data: ... here.
21625 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21626 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21627 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21630 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21633 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21636 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21639 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21642 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21646 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21649 PPC32 and PPC64 files.
21650 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21651 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21653 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21655 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21656 __makecontext_ret to ...
21657 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21658 ... here and call exit if uc_link is NULL. New file.
21659 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21660 __makecontext_ret.S.
21661 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21662 __makecontext_ret to ...
21663 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21664 ... here and call exit if uc_link is NULL. New file.
21665 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21666 __makecontext_ret.S.
21668 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21670 * elf/elf.h (R_390_IRELATIVE): New definition.
21671 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21672 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21673 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21674 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21675 (elf_machine_lazy_rel): Likewise.
21676 * sysdeps/s390/dl-irel.h: New file.
21677 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21678 * sysdeps/s390/s390-64/memset.S: New asm code.
21679 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21680 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21681 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21682 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21683 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21684 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21686 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21687 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21688 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21689 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21690 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21691 * sysdeps/s390/s390-32/memset.S: New asm code.
21692 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21694 2012-07-17 Marek Polacek <polacek@redhat.com>
21697 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21698 * sysdeps/s390/s390-64/configure.in: Likewise.
21699 * sysdeps/sparc/configure.in: Likewise.
21700 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21701 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21702 * sysdeps/i386/configure.in: Likewise.
21703 * sysdeps/x86_64/configure.in: Likewise.
21704 * sysdeps/sh/configure.in: Likewise.
21705 * sysdeps/s390/s390-32/configure: Regenerated.
21706 * sysdeps/s390/s390-64/configure: Likewise.
21707 * sysdeps/x86_64/configure: Likewise.
21708 * sysdeps/sh/configure: Likewise.
21709 * sysdeps/powerpc/powerpc64/configure: Likewise.
21710 * sysdeps/powerpc/powerpc32/configure: Likewise.
21711 * sysdeps/sparc/configure: Likwise.
21712 * sysdeps/i386/configure: Likewise.
21714 * elf/dl-open.c: Comment fixes.
21716 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21718 * Makefile [CXX] (check-data): Remove.
21719 [CXX] (c++-types.data): New vpath directive.
21720 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21721 vpath. Do not allow for C++ type data being missing.
21722 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21723 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21724 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21725 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21726 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21727 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21728 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21731 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21734 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21737 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21740 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21743 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21746 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21749 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21752 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21753 definitions to architecture-specific files.
21754 (TLS_IE): Likewise.
21755 (TLS_LD): Likewise.
21756 (TLS_GD): Likewise.
21757 * sysdeps/i386/tls-macros.h: New file.
21758 * sysdeps/powerpc/tls-macros.h: Likewise.
21759 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21760 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21761 * sysdeps/sh/tls-macros.h: Likewise.
21762 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21763 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21764 * sysdeps/x86_64/tls-macros.h: Likewise.
21766 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21768 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21769 zero value for regular exit case.
21771 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21772 (__start_context): Preserve zero value for regular exit case.
21774 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21775 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21777 * manual/setjmp.texi (setcontext): Clarify normal process
21778 termination when uc_link is the null pointer.
21779 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21782 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21784 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21785 preprocessor. Test for each exception mask separately.
21787 2012-07-16 Andreas Jaeger <aj@suse.de>
21789 * po/ru.po: Update from translation team.
21791 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21793 * conform/data/string.h-data (NULL): Use macro-constant. Require
21795 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21796 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21797 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21798 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21801 2012-07-13 Andreas Jaeger <aj@suse.de>
21803 * po/fr.po: Update from translation team.
21805 2012-07-12 Marek Polacek <polacek@redhat.com>
21808 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21809 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21812 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21816 Change to 2.4.1 where previously 2.4.0.
21817 * sysdeps/unix/sysv/linux/configure: Regenerated.
21818 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21819 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21821 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21822 (__ASSUME_AT_CLKTCK): Remove.
21823 (__ASSUME_AT_PAGESIZE): Likewise.
21824 (__ASSUME_AT_XID): Likewise.
21825 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21826 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21827 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21829 (HAVE_AUX_PAGESIZE): Likewise.
21830 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21831 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21832 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21834 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21838 the temporary buffer used to invoke __gethostbyname2_r,
21839 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21840 host_data / struct gaih_addrtuple.
21841 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21842 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21843 header file nss/nsswitch.h.
21844 * nss/nsswitch.h (global scope): Add definition of implementation
21845 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21846 resolv/nss_dns/dns-host.c).
21848 2012-07-11 Andreas Jaeger <aj@suse.de>
21850 * po/fr.po: Update from translation team.
21852 * po/sv.po: Update from translation team
21853 * po/fr.po: Another update from translation team.
21855 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21857 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21858 for subnormals or multiply small sinh result by itself.
21859 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21862 2012-07-11 David S. Miller <davem@davemloft.net>
21864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21866 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21869 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21870 (INTERNAL_MARK): Shift it here.
21872 2012-07-10 Marek Polacek <polacek@redhat.com>
21875 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21876 libc_cv_asm_global_directive with .globl.
21877 * configure: Regenerated.
21878 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21880 * sysdeps/i386/configure: Regenerated.
21881 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21883 * sysdeps/x86_64/configure: Regenerated.
21884 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21885 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21886 * elf/tst-unique2mod2.c: Likewise.
21887 * elf/tst-unique2mod1.c: Likewise.
21888 * elf/tst-unique1mod2.c: Likewise.
21889 * elf/tst-unique1mod1.c: Likewise.
21890 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21891 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21893 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21894 * sysdeps/mach/sysdep.h: Likewise.
21895 * sysdeps/i386/sysdep.h: Likewise.
21896 * sysdeps/i386/i386-mcount.S: Likewise.
21897 * sysdeps/x86_64/_mcount.S: Likewise.
21898 * sysdeps/x86_64/sysdep.h: Likewise.
21899 * sysdeps/sh/_mcount.S: Likewise.
21900 * sysdeps/sh/sysdep.h: Likewise.
21901 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21902 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21903 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21905 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21906 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21907 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21908 * locale/localeinfo.h: Likewise.
21909 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21910 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21912 2012-07-09 Roland McGrath <roland@hack.frob.com>
21915 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21917 * manual/message.texi (The Uniforum approach): Likewise.
21918 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21919 (glibc iconv Implementation): Likewise.
21921 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21924 * math/s_clog.c (__clog): Avoid scaling a value down where that
21925 could result in underflow.
21926 * math/s_clog10.c (__clog10): Likewise.
21927 * math/s_clog10f.c (__clog10f): Likewise.
21928 * math/s_clog10l.c (__clog10l): Likewise.
21929 * math/s_clogf.c (__clogf): Likewise.
21930 * math/s_clogl.c (__clogl): Likewise.
21931 * math/libm-test.inc (clog_test): Add more tests.
21932 (clog10_test): Likewise.
21933 * sysdeps/i386/fpu/libm-test-ulps: Update.
21934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21936 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21939 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21940 by 7 not 8 to examine high bit of fractional part.
21943 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21944 for call to __mcount_internal.
21945 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21946 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21947 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21949 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21952 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21953 approximation for values within 0x1p-13f of an odd multiple of
21955 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21956 exception. Add more tests.
21957 * sysdeps/i386/fpu/libm-test-ulps: Update.
21960 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21961 inputs and return -1 for them. Do not check for +Inf in case not
21962 reachable for +Inf.
21963 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21964 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21965 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21966 and return -1 for them. Do not check for +Inf in case not
21967 reachable for +Inf.
21968 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21970 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21971 and return -1 for them. Do not check for +Inf in case not
21972 reachable for +Inf.
21973 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21974 spurious underflow.
21975 * sysdeps/i386/fpu/libm-test-ulps: Update.
21976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21978 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21980 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21982 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21986 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21987 could result in spurious underflow. Scale down values above
21988 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21989 * math/s_csqrtf.c (__csqrtf): Likewise.
21990 * math/s_csqrtl.c (__csqrtl): Likewise.
21991 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21992 spurious underflow.
21993 * sysdeps/i386/fpu/libm-test-ulps: Update.
21994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21996 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21998 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22000 * catgets/xopen-msg.awk: New file.
22001 * catgets/xopen-msg.sed: Removed.
22003 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22005 * intl/po2test.awk: New file.
22006 * intl/po2test.sed: Removed.
22008 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22011 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22012 or multiply small sinh result by itself.
22013 * math/s_ctanf.c (__ctanf): Likewise.
22014 * math/s_ctanh.c (__ctanh): Likewise.
22015 * math/s_ctanhf.c (__ctanhf): Likewise.
22016 * math/s_ctanhl.c (__ctanhl): Likewise.
22017 * math/s_ctanl.c (__ctanl): Likewise.
22018 * math/libm-test.inc (ctan_test_tonearest): New function.
22019 (ctan_test_towardzero): Likewise.
22020 (ctan_test_downward): Likewise.
22021 (ctan_test_upward): Likewise.
22022 (ctanh_test_tonearest): Likewise.
22023 (ctanh_test_towardzero): Likewise.
22024 (ctanh_test_downward): Likewise.
22025 (ctanh_test_upward): Likewise.
22026 (main): Call these new functions.
22027 * sysdeps/i386/fpu/libm-test-ulps: Update.
22028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22030 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22032 * .gitignore: Delete /ports entry.
22034 2012-07-03 Andreas Jaeger <aj@suse.de>
22036 * po/bg.po: Update from translation team.
22037 * po/cs.po: Likewise.
22038 * po/de.po: Likewise.
22039 * po/hr.po: Likewise.
22040 * po/nl.pl: Likewise.
22041 * po/pl.po: Likewise.
22042 * po/vi.po: Likewise.
22044 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22046 * Makeconfig [!+link] (+link-before-libc): New variable.
22047 [!+link] (+link-after-libc): Likewise.
22048 [!+link] (+link-tests): Likewise.
22049 [!+link] (+link): Define in terms of $(+link-before-libc) and
22050 $(+link-after-libc).
22051 [!+link-static] (+link-static-before-libc): New variable.
22052 [!+link-static] (+link-static-after-libc): Likewise.
22053 [!+link-static] (+link-static-tests): Likewise.
22054 [!+link-static] (+link-static): Define in terms of
22055 $(+link-static-before-libc) and $(+link-static-after-libc).
22056 [build-shared] (link-libc-before-gnulib): New variable.
22057 [build-shared] (link-libc-tests): Likewise.
22058 [build-shared] (link-libc): Define in terms of
22059 $(link-libc-before-gnulib).
22060 [!build-shared] (link-libc-tests): New variable.
22061 (link-libc-static-tests): New variable.
22062 [!gnulib] (gnulib-arch): New variable.
22063 [!gnulib] (gnulib-tests): Likewise.
22064 [!gnulib] (static-gnulib-arch): Likewise.
22065 [!gnulib] (static-gnulib-tests): Likewise.
22066 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22067 Define with "=" instead of ":=".
22068 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22069 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22070 * Rules (binaries-all-notests): New variable.
22071 (binaries-all-tests): Likewise.
22072 (binaries-static-notests): Likewise.
22073 (binaries-static-tests): Likewise.
22074 (binaries-all): Define using $(binaries-all-notests) and
22075 $(binaries-all-tests).
22076 (binaries-static): Define using $(binaries-static-notests) and
22077 $(binaries-static-tests).
22078 (binaries-shared-tests): New variable.
22079 (binaries-shared-notests): Likewise.
22080 (binaries-shared): Remove variable.
22081 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22082 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22083 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22084 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22085 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22086 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22087 * elf/Makefile (sln-modules): New variable.
22088 (extra-objs): Add $(sln-modules:=.o).
22089 (ldconfig-modules): Add static-stubs.
22090 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22091 * elf/static-stubs.c: New file.
22094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22095 by 7 not 8 to examine high bit of fractional part. Use volatile
22096 variables when splitting into final array of floats if
22097 __FLT_EVAL_METHOD__ != 0.
22098 * math/libm-test.inc (cos_test): Add another test.
22099 (sin_test): Likewise.
22100 * sysdeps/i386/fpu/libm-test-ulps: Update.
22103 * math/libm-test.inc (cosh_test): Add more tests.
22105 * version.h (RELEASE): Set to "development".
22106 (VERSION): Set to "2.16.90".
22108 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22110 * NEWS: Update copyright. Remove last-updated date.
22111 Mention math library bug fixes and timezone data changes.
22112 * README: Mention GNU/Hurd, x32, and HPPA support status.
22114 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22116 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22118 2012-06-27 Andreas Jaeger <aj@suse.de>
22120 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22122 2012-06-25 Andreas Jaeger <aj@suse.de>
22124 * sysdeps/s390/fpu/libm-test-ulps: Update.
22126 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22127 Thomas Schwinge <thomas@codesourcery.com>
22129 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22130 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22134 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22136 * sysdeps/mach/start.c: Remove file.
22137 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22138 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22139 * sysdeps/sh/init-first.c: Likewise.
22141 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22142 registers for frame unwinding purposes, add CFI directives.
22143 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22144 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22145 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22148 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22149 __fortify_fail returning.
22150 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22152 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22153 sysdeps/sh/____longjmp_chk.S.
22154 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22155 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22156 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22157 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22159 * sysdeps/sh/abort-instr.h: New file.
22160 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22161 process in case exit returns.
22163 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22164 initialize the GOT register before use.
22166 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22167 calculation of ARGC > 4.
22169 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22170 meaningful names to some local labels.
22172 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22173 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22175 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22176 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22177 (__arch_compare_and_exchange_val_16_acq): Likewise.
22178 (__arch_compare_and_exchange_val_32_acq): Likewise.
22179 (atomic_exchange_and_add): Fix gUSA sequence.
22180 (atomic_add): Likewise.
22181 (atomic_add_negative): Likewise.
22182 (atomic_add_zero): Likewise.
22183 (atomic_bit_test_set): Likewise.
22185 2012-06-22 Andreas Schwab <schwab@redhat.com>
22188 * include/link.h (struct link_map): Add l_free_initfini.
22189 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22191 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22192 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22193 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22196 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22198 * configure.in: Use AC_LANG_SOURCE.
22199 * configure: Regenerate.
22201 2012-06-22 Roland McGrath <roland@hack.frob.com>
22203 * configure.in (libc_cv_localstatedir): New substituted variable.
22204 * configure: Regenerated.
22205 * config.make.in (localstatedir): New variable, substituted from
22206 libc_cv_localstatedir.
22207 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22208 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22209 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22210 * sysdeps/gnu/configure: Regenerated.
22212 2012-06-21 Jeff Law <law@redhat.com>
22215 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22216 free. Simplify list management for _LIBC case.
22218 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22221 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22222 Clear sign bit of 64-bit integer value before comparing against
22225 * sysdeps/mach/configure: Regenerated.
22227 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22230 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22232 2012-06-21 Jeff Law <law@redhat.com>
22235 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22236 uint16_t for elements in the "seen" array to avoid char overflows.
22237 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22238 * elf/dl-open.c (dl_open_worker): Likewise.
22240 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22242 * scripts/list-sources.sh: Scan PORTS for translations.
22243 * po/libc.pot: Regenerated.
22245 2012-06-21 Andreas Jaeger <aj@suse.de>
22248 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22250 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22251 * bits/byteswap-16.h (__bswap_16): Likewise.
22252 * bits/byteswap.h (__bswap_constant_16): Likewise.
22254 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22257 * sysdeps/i386/fpu_control.h: Removed.
22258 * sysdeps/x86_64/fpu_control.h: Moved to ...
22259 * sysdeps/x86/fpu_control.h: Here.
22261 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22262 (_FPU_SETCW): Likewise.
22264 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22267 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22268 * sysdeps/x86/fpu/bits/mathinline.h: This.
22269 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22273 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22274 functions if __x86_64__ is defined.
22276 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22278 * string/endian.h: Add !__ASSEMBLER__ condition for including
22279 conversion interfaces.
22281 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22285 of ABS(x) in calculating zero to negative powers other than odd
22287 * math/libm-test.inc (pow_test): Add more tests.
22289 2012-06-15 Andreas Jaeger <aj@suse.de>
22291 * manual/contrib.texi (Contributors): Update entry of Liubov
22292 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22295 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22297 * string/string.h: Add __wur to GNU version of strerror_r.
22299 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22302 * string/Makefile (tests): Add tst-strtok_r.
22303 * string/tst-strtok_r.c: New file.
22304 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22305 RAX_LP/RDX_LP on SAVE_PTR.
22307 2012-06-14 Roland McGrath <roland@hack.frob.com>
22309 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22311 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22313 * libm_test.inc (csqrt_test): Allow more spurious underflow
22315 (j0_test): Likewise.
22316 (j1_test): Likewise.
22317 (y0_test): Likewise.
22318 (y1_test): Likewise.
22320 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22322 * po/Makefile (libc.pot): Use UTF-8 charset.
22324 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22327 Suppress sign-conversion warning from FD_SET.
22328 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22329 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22330 not unsigned long int.
22331 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22333 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22337 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22338 __extern_always_inline instead of __extern_inline.
22339 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22340 (__signbit): Likewise.
22341 (__signbitl): Support C++ namespace.
22342 (lrintf): New inline function.
22344 (llrintf): Likewise.
22345 (llrint): Likewise.
22355 (floorf): Likewise.
22356 (nearbyint): Likewise.
22357 (nearbyintf): Likewise.
22359 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22362 non-default versions.
22364 2012-06-11 Roland McGrath <roland@hack.frob.com>
22367 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22369 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22371 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22372 (FE_UPWARD, FE_DOWNWARD): Don't define.
22373 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22374 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22376 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22378 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22381 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22383 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22385 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22386 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22388 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22391 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22392 * sysdeps/i386/fpu/Implies: New file.
22393 * sysdeps/x86_64/fpu/Implies: Likewise.
22394 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22395 * sysdeps/x86/fpu/bits/fenv.h: This.
22397 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22400 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22403 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22404 character 0xffff that matches the last element of the
22407 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22409 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22412 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22415 values higher than 25.6283.
22417 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22419 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22420 subnormal exponent extraction and add some __builtin_expect.
22421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22422 Fix for subnormal mantissa calculation.
22424 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22426 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22427 cpu2 is -1 and errno is not ENOSYS.
22429 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22432 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22433 * sysdeps/x86/bits/string.h: This.
22434 * sysdeps/x86_64/bits/string.h: Removed.
22436 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22437 if not compiling for x86-64, but compiling for >= i486.
22439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22440 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22442 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22443 New macro from Linux kernel 3.4.0.
22444 (FP_XSTATE_MAGIC2): Likewise.
22445 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22446 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22447 (struct _fpx_sw_bytes): New struct.
22448 (struct _xsave_hdr): Likewise.
22449 (struct _ymmh_state): Likewise.
22450 (struct _xstate): Likewise.
22452 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22453 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22454 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22455 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22456 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22457 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22459 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22460 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22461 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22462 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22463 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22464 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22466 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22469 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22470 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22471 (sysdep_headers): Include sys/platform/ppc.h.
22472 * sysdeps/powerpc/test-gettimebase.c: Test for
22473 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22474 * manual/Makefile (appendices): Include platform.texi.
22475 * manual/contrib.texi (Contributors): Update @node pointers.
22476 * manual/maint.texi (Maintenance): Likewise.
22477 (Platform): New node.
22478 * manual/platform.texi: New file. Document the new features.
22480 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22481 Jakub Jelinek <jakub@redhat.com>
22484 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22485 where __builtin_expect is unavailable.
22487 2012-06-03 David S. Miller <davem@davemloft.net>
22489 * stdlib/longlong.h: Updated from GCC.
22491 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22494 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22495 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22498 (GLIBC_2.16): Likewise.
22500 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22502 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22504 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22507 (default-abi): New variable.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22509 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22511 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22513 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22515 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22518 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22519 definition. Document in comment.
22521 2012-06-01 David S. Miller <davem@davemloft.net>
22523 * stdlib/longlong.h: Updated from GCC.
22525 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22528 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22529 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22530 sys/debugreg.h sys/io.h here.
22531 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22532 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22534 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22535 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22536 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22537 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22538 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22539 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22542 Define only if __x86_64__ is defined.
22544 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22548 Use int64_t for variable i.
22549 * math/libm-test.inc (fmod_test): Add more tests.
22551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22552 z computation is not scheduled after fetestexcept.
22553 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22554 Use math_force_eval instead of asm to ensure calculation scheduled
22555 before exception test.
22556 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22557 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22559 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22562 computation is not scheduled after fetestexcept.
22564 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22567 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22568 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22570 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22572 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22573 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22575 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22578 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22580 (__WCHAR_MIN): Support __WORDSIZE == 64.
22581 (__WCHAR_MAX): Likewise.
22583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22584 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22588 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22591 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22592 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22595 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22597 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22598 Defined to 1 if __x86_64__ isn't defined.
22599 (_STAT_VER_LINUX_OLD): New.
22600 (st_atime): Remove duplicate.
22601 (st_mtime): Likewise.
22602 (st_ctime): Likewise.
22604 2012-05-31 David S. Miller <davem@davemloft.net>
22606 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22609 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22611 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22615 * elf/dl-reloc.c: Include <_itoa.h>.
22616 (_dl_reloc_bad_type): Remove use of INTUSE.
22617 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22618 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22619 * stdio-common/psiginfo.c (psiginfo): Likewise.
22620 * stdio-common/psignal.c (psignal): Likewise.
22621 * string/strsignal.c (strsignal): Likewise.
22622 * include/signal.h (_sys_siglist): Declare hidden proto.
22623 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22624 INTVARDEF with libc_hidden_data_def.
22625 * stdio-common/itoa-udigits.c: Likewise.
22626 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22627 (_itoa_lower_digits_internal): Remove declaration.
22628 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22629 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22630 (_sys_sigabbrev_internal): Remove aliases.
22631 (_sys_siglist): Define hidden alias.
22633 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22638 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22641 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22642 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22644 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22645 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22646 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22647 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22649 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22651 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22652 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22653 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22655 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22663 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22664 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22665 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22667 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22668 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22670 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22671 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22672 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22674 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22675 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22678 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22682 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22684 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22685 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22687 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22689 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22690 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22691 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22693 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22695 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22697 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22699 * math/math.h (M_El): Use two more decimal places.
22700 (M_LOG2El): Likewise.
22701 (M_LOG10El): Likewise.
22702 (M_LN2l): Likewise.
22703 (M_LN10l): Likewise.
22705 (M_PI_2l): Likewise.
22706 (M_PI_4l): Likewise.
22707 (M_1_PIl): Likewise.
22708 (M_2_PIl): Likewise.
22709 (M_2_SQRTPIl): Likewise.
22710 (M_SQRT2l): Likewise.
22711 (M_SQRT1_2l): Likewise.
22713 2012-05-31 David S. Miller <davem@davemloft.net>
22715 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22716 values between float registers.
22717 * sysdeps/sparc/sparc64/memset.S: Likewise.
22718 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22720 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22722 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22723 -D_FORTIFY_SOURCE=1.
22724 (CPPFLAGS-tst-longjmp_chk.c): Define.
22725 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22726 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22727 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22728 CFLAGS-tst-wchar-h.c.
22730 2012-05-31 Marek Polacek <polacek@redhat.com>
22733 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22734 __endmntent_internal): Remove declaration.
22735 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22736 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22737 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22739 2012-05-30 David S. Miller <davem@davemloft.net>
22741 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22742 (___Q_simulate_exceptions): Use real FP ops rather than writing
22744 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22747 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22750 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22751 * sysdeps/x86/bits/xtitypes.h: This.
22753 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22754 * sysdeps/x86/bits/wordsize.h: This.
22756 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22757 * sysdeps/x86/bits/huge_vall.h: This.
22759 * sysdeps/i386/bits/select.h: Removed.
22760 * sysdeps/x86_64/bits/select.h: Renamed to ...
22761 * sysdeps/x86/bits/select.h: This.
22763 * sysdeps/i386/bits/setjmp.h: Removed.
22764 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22765 * sysdeps/x86/bits/setjmp.h: This.
22767 * sysdeps/i386/bits/mathdef.h: Removed.
22768 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22769 * sysdeps/x86/bits/mathdef.h: This.
22771 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22774 * include/sys/socket.h (__connect_internal)
22775 (__libc_sa_len_internal): Remove declaration.
22776 (__connect, __libc_sa_len): Declare hidden_proto.
22777 (SA_LEN): Remove use of INTUSE.
22778 * socket/connect.c: Add libc_hidden_def.
22779 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22780 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22781 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22783 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22784 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22785 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22786 of adding _internal alias.
22788 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22791 * sysdeps/i386/bits/link.h: Removed.
22792 * sysdeps/i386/bits/linkmap.h: Likewise.
22793 * sysdeps/x86_64/bits/link.h: Renamed to ...
22794 * sysdeps/x86/bits/link.h: This.
22795 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22796 * sysdeps/x86/bits/linkmap.h: This.
22798 * sysdeps/i386/bits/endian.h: Removed.
22799 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22800 * sysdeps/x86/bits/endian.h: This.
22802 * sysdeps/i386/bits/byteswap.h: Removed.
22803 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22804 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22805 * sysdeps/x86/bits/byteswap.h: This.
22806 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22807 * sysdeps/x86/bits/byteswap-16.h: This.
22808 * sysdeps/i386/Implies: Add x86.
22809 * sysdeps/x86_64/Implies: Likewise.
22811 2012-05-30 David S. Miller <davem@davemloft.net>
22813 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22814 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22815 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22816 (FP_TRAPPING_EXCEPTIONS): Define.
22817 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22818 (FP_TRAPPING_EXCEPTIONS): Define.
22819 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22820 subnormals only when inexact has been signalled or underflow
22821 exceptions are enabled.
22822 (_FP_PACK_CANONICAL): Likewise.
22824 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22827 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22828 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22830 2012-05-30 Richard Henderson <rth@twiddle.net>
22832 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22833 with #ifndef NOT_IN_libc.
22835 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22836 marked to avoid plt entry.
22838 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22841 * Makeconfig (default-abi): New macro.
22842 (abi-includes): Likewise.
22843 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22844 $(abi-$(default-abi)-lib-soname) for soname if defined.
22845 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22847 * Makefile (installed-stubs): Likewise.
22848 * include/stubs-biarch.h: Removed.
22849 * scripts/lib-names.awk: Only handle one library at a time.
22850 * scripts/soversions.awk: Remove WORDSIZE support.
22851 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22853 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22855 (syscall-list-default-condition): Likewise.
22856 (syscall-list-default-condition): Likewise.
22857 (syscall-list-includes): Likewise.
22858 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22859 syscall-list-* with abi-*. Handle undefined abi-variants.
22860 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22861 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22862 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22863 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22864 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22865 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22867 (syscall-list-32-options): Likewise.
22868 (syscall-list-32-condition): Likewise.
22869 (syscall-list-64-options): Likewise.
22870 (syscall-list-64-condition): Likewise.
22871 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22873 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22876 (abi-64-ld-soname): New macro.
22877 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22878 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22881 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22882 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22884 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22886 * sysdeps/unix/sysv/linux/kernel-features.h
22887 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22888 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22889 include <kernel-features.h>.
22890 [!__NR_ftruncate64]: Remove conditional code.
22891 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22892 [__NR_ftruncate64]: Make code unconditional.
22893 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22894 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22895 include <kernel-features.h>.
22896 [!__NR_ftruncate64]: Remove conditional code.
22897 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22898 [__NR_ftruncate64]: Make code unconditional.
22899 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22901 include <kernel-features.h>.
22902 [!__NR_ftruncate64]: Remove conditional code.
22903 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22904 [__NR_ftruncate64]: Make code unconditional.
22905 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22907 include <kernel-features.h>.
22908 [!__NR_ftruncate64]: Remove conditional code.
22909 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22910 [__NR_ftruncate64]: Make code unconditional.
22911 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22913 * configure.in (libc_cv_fpie): Weaken to a compile test using
22914 LIBC_TRY_CC_OPTION.
22915 * configure: Regenerated.
22917 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22932 2012-05-27 David S. Miller <davem@davemloft.net>
22934 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22936 (__Q_simulate_exceptions): Return void. Change to simulate
22937 exceptions by writing into the %fsr.
22938 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22939 (__Qp_handle_exceptions): Likewise.
22941 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22942 __Qp_handle_exceptions.
22943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22944 __Qp_handle_exceptions.
22945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22946 as unused and give dummy FP_RND_NEAREST initializer.
22947 (FP_INHIBIT_RESULTS): Define.
22948 (___Q_simulate_exceptions): Update declaration.
22949 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22951 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22952 as unused and give dummy FP_RND_NEAREST initializer.
22953 (__Qp_handle_exceptions): Update declaration.
22954 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22957 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22960 the temporary FPU control word.
22961 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22962 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22963 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22964 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22965 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22966 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22967 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22968 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22969 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22970 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22973 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22978 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22980 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22981 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22982 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22983 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22985 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22986 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22989 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22991 * po/h.po: Update from translation team.
22993 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22995 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22997 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22998 handling of denormals.
22999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23000 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23001 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23002 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23008 2012-05-26 Marek Polacek <polacek@redhat.com>
23011 * math/libm-test.inc (fma_test): Don't always expect underflow
23014 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23017 * elf/tst-execstack.c: Include stackinfo.h.
23018 (do_test): Adjust test case to ensure that pthread_getattr_np
23019 behaviour remains the same after marking stack executable.
23021 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23023 * sysdeps/unix/sysv/linux/kernel-features.h
23024 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23025 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23027 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23028 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23029 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23031 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23032 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23034 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23036 * configure.in: Define the default includes to being none.
23037 * configure: Regenerated.
23039 2012-05-25 Roland McGrath <roland@hack.frob.com>
23041 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23042 * sysdeps/x86_64/setjmp.S: Likewise.
23043 * sysdeps/i386/bsd-setjmp.S: Likewise.
23044 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23045 * sysdeps/i386/setjmp.S: Likewise.
23046 * sysdeps/i386/__longjmp.S: Likewise.
23047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23048 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23050 * include/stap-probe.h: New file.
23051 * configure.in: Handle --enable-systemtap.
23052 * configure: Regenerated.
23053 * config.h.in (USE_STAP_PROBE): New #undef.
23054 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23055 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23056 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23058 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23062 to 2.4.0 where earlier.
23063 * sysdeps/unix/sysv/linux/configure: Regenerated.
23064 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23065 <kernel-features.h>.
23066 [__ASSUME_32BITUIDS]: Make code unconditional.
23067 [!__ASSUME_32BITUIDS]: Remove conditional code.
23068 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23069 <kernel-features.h>.
23070 [__ASSUME_32BITUIDS]: Make code unconditional.
23071 [!__ASSUME_32BITUIDS]: Remove conditional code.
23072 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23073 [__ASSUME_32BITUIDS]: Make code unconditional.
23074 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23075 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23076 <kernel-features.h>.
23077 [__ASSUME_32BITUIDS]: Make code unconditional.
23078 [!__ASSUME_32BITUIDS]: Remove conditional code.
23079 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23080 <kernel-features.h>.
23081 [__ASSUME_32BITUIDS]: Make code unconditional.
23082 [!__ASSUME_32BITUIDS]: Remove conditional code.
23083 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23084 <kernel-features.h>.
23085 [__ASSUME_32BITUIDS]: Make code unconditional.
23086 [!__ASSUME_32BITUIDS]: Remove conditional code.
23087 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23088 <kernel-features.h>.
23089 [__ASSUME_32BITUIDS]: Make code unconditional.
23090 [!__ASSUME_32BITUIDS]: Remove conditional code.
23091 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23092 <kernel-features.h>.
23093 [__ASSUME_32BITUIDS]: Make code unconditional.
23094 [!__ASSUME_32BITUIDS]: Remove conditional code.
23095 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
23116 <kernel-features.h>.
23117 [__NR_setresgid] (__setresgid): Do not declare.
23118 [__ASSUME_32BITUIDS]: Make code unconditional.
23119 [!__ASSUME_32BITUIDS]: Remove conditional code.
23120 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23121 <kernel-features.h>.
23122 [__NR_setresuid] (__setresuid): Do not declare.
23123 [__ASSUME_32BITUIDS]: Make code unconditional.
23124 [!__ASSUME_32BITUIDS]: Remove conditional code.
23125 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23126 <kernel-features.h>.
23127 [__ASSUME_32BITUIDS]: Make code unconditional.
23128 [!__ASSUME_32BITUIDS]: Remove conditional code.
23129 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23130 <kernel-features.h>.
23131 [__ASSUME_32BITUIDS]: Make code unconditional.
23132 [!__ASSUME_32BITUIDS]: Remove conditional code.
23133 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23134 <kernel-features.h>.
23135 [__ASSUME_32BITUIDS]: Make code unconditional.
23136 [!__ASSUME_32BITUIDS]: Remove conditional code.
23137 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23138 <kernel-features.h>.
23139 [__ASSUME_32BITUIDS]: Make code unconditional.
23140 [!__ASSUME_32BITUIDS]: Remove conditional code.
23141 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23142 <kernel-features.h>.
23143 [__ASSUME_32BITUIDS]: Make code unconditional.
23144 [!__ASSUME_32BITUIDS]: Remove conditional code.
23145 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23146 <kernel-features.h>.
23147 [__ASSUME_32BITUIDS]: Make code unconditional.
23148 [!__ASSUME_32BITUIDS]: Remove conditional code.
23149 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23150 <kernel-features.h>.
23151 [__ASSUME_32BITUIDS]: Make code unconditional.
23152 [!__ASSUME_32BITUIDS]: Remove conditional code.
23153 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23154 <kernel-features.h>.
23155 [__ASSUME_32BITUIDS]: Make code unconditional.
23156 [!__ASSUME_32BITUIDS]: Remove conditional code.
23157 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
23166 (__ASSUME_SETRESUID_SYSCALL): Remove.
23167 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23168 (__ASSUME_32BITUIDS): Likewise.
23169 (__ASSUME_LDT_WORKS): Likewise.
23170 (__ASSUME_O_DIRECTORY): Likewise.
23171 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23172 architecture but not kernel version.
23173 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23174 (__ASSUME_MMAP2_SYSCALL): Likewise.
23175 (__ASSUME_STAT64_SYSCALL): Likewise.
23176 (__ASSUME_IPC64): Likewise.
23177 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23178 <kernel-features.h>.
23179 [__ASSUME_32BITUIDS]: Make code unconditional.
23180 [!__ASSUME_32BITUIDS]: Remove conditional code.
23181 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23182 <kernel-features.h>.
23183 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23184 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23185 132096]: Remove conditional code.
23186 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23187 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23188 <kernel-features.h>.
23189 [__ASSUME_32BITUIDS]: Make code unconditional.
23190 [!__ASSUME_32BITUIDS]: Remove conditional code.
23191 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23192 <kernel-features.h>.
23193 [__ASSUME_32BITUIDS]: Make code unconditional.
23194 [!__ASSUME_32BITUIDS]: Remove conditional code.
23195 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23196 <kernel-features.h>.
23197 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23199 (__setresgid): Do not declare.
23200 [__ASSUME_32BITUIDS]: Make code unconditional.
23201 [!__ASSUME_32BITUIDS]: Remove conditional code.
23202 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23203 <kernel-features.h>.
23204 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23206 (__setresuid): Do not declare.
23207 [__ASSUME_32BITUIDS]: Make code unconditional.
23208 [!__ASSUME_32BITUIDS]: Remove conditional code.
23209 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23210 <kernel-features.h>.
23211 [__ASSUME_32BITUIDS]: Make code unconditional.
23212 [!__ASSUME_32BITUIDS]: Remove conditional code.
23213 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23214 <kernel-features.h>.
23215 [__ASSUME_32BITUIDS]: Make code unconditional.
23216 [!__ASSUME_32BITUIDS]: Remove conditional code.
23218 2012-05-25 Richard Henderson <rth@twiddle.net>
23220 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23221 dl_hwcap to ifunc resolver.
23222 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23224 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23225 dl_hwcap to ifunc resolver.
23226 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23228 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23231 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23232 for |x| <= 2**-26, not 2**-57.
23233 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23236 2012-05-24 Jeff Law <law@redhat.com>
23238 * stdio-common/Makefile (tests): Add bug25.
23239 * stdio-common/bug25.c: New test.
23241 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23244 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23245 multiple of MALLOC_ALIGNMENT in size.
23246 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23248 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23250 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23252 (FILENAME_MAX): Use macro-int-constant.
23253 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23254 (_IOFBF): Use macro-int-constant.
23255 (_IOLBF): Likewise.
23256 (_IONBF): Likewise.
23257 (SEEK_CUR): Likewise.
23258 (SEEK_END): Likewise.
23259 (SEEK_SET): Likewise.
23260 (TMP_MAX): Likewise.
23261 (EOF): Use macro-int-constant. Require < 0.
23262 (NULL): Use macro-constant. Require == 0.
23263 (stdin): Require type to be FILE *.
23264 (stdout): Likewise.
23265 (stderr): Likewise.
23266 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23267 macro-int-constant.
23268 (EXIT_SUCCESS): Likewise.
23269 (NULL): Use macro-constant. Require == 0.
23270 (RAND_MAX): Use macro-int-constant.
23271 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23272 [C99-based standards] (strtof): Require function.
23273 [C99-based standards] (strtold): Likewise.
23274 [C99-based standards] (strtoll): Likewise.
23275 [C99-based standards] (strtoull): Likewise.
23276 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23277 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23278 [ISO || ISO99 || ISO11] (math.h): Likewise.
23279 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23280 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23283 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23286 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23287 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23288 * intl/dgettext.c (DCGETTEXT): Likewise.
23289 * intl/gettext.c (DCGETTEXT): Likewise.
23290 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23291 * posix/regex_internal.h (gettext): Likewise.
23292 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23293 Remove declaration.
23294 * include/argz.h (__argz_count_internal)
23295 (__argz_stringify_internal): Remove declaration.
23296 (__argz_count, __argz_stringify): Declare hidden proto.
23297 * intl/dcgettext.c: Remove use of INTDEF.
23298 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23299 * string/argz-stringify.c: Likewise.
23300 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23301 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23302 Declare hidden proto.
23303 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23304 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23305 Declare hidden proto.
23306 * include/stdio.h (__asprintf_internal): Don't declare.
23307 (__asprintf): Don't define as macro. Declare hidden proto.
23308 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23309 (__fsetlocking): Declare hidden proto.
23310 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23311 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23313 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23314 (_IO_setlinebuf): Remove use of INTUSE.
23315 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23316 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23317 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23318 Remove declaration.
23319 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23320 (_IO_do_flush): Remove use of INTUSE.
23321 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23322 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23323 (_IO_adjust_column, _IO_least_wmarker)
23324 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23325 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23326 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23327 (_IO_default_doallocate, _IO_wdefault_doallocate)
23328 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23329 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23330 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23331 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23332 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23333 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23334 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23335 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23336 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23337 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23338 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23339 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23340 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23342 (_IO_flush_all_internal, _IO_adjust_column_internal)
23343 (_IO_default_uflow_internal, _IO_default_finish_internal)
23344 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23345 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23346 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23347 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23348 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23349 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23350 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23351 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23352 (_IO_file_close_internal, _IO_file_close_it_internal)
23353 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23354 (_IO_file_init_internal, _IO_file_attach_internal)
23355 (_IO_file_fopen_internal, _IO_file_read_internal)
23356 (_IO_file_sync_internal, _IO_file_seek_internal)
23357 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23358 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23359 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23360 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23361 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23362 (_IO_list_all_internal, _IO_link_in_internal)
23363 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23364 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23365 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23366 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23367 (_IO_do_write_internal, _IO_padn_internal)
23368 (_IO_getline_info_internal, _IO_getline_internal)
23369 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23370 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23371 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23372 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23373 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23374 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23375 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23376 with libc_hidden_ver, remove use of INTUSE.
23377 * libio/genops.c: Likewise.
23378 * libio/freopen.c: Likewise.
23379 * libio/freopen64.c: Likewise.
23380 * libio/iofclose.c: Likewise.
23381 * libio/iofdopen.c: Likewise.
23382 * libio/iofflush.c: Likewise.
23383 * libio/iofflush_u.c: Likewise.
23384 * libio/iofgets.c: Likewise.
23385 * libio/iofgets_u.c: Likewise.
23386 * libio/iofopen.c: Likewise.
23387 * libio/iofopncook.c: Likewise.
23388 * libio/iofread.c: Likewise.
23389 * libio/iofread_u.c: Likewise.
23390 * libio/ioftell.c: Likewise.
23391 * libio/iofwrite.c: Likewise.
23392 * libio/iogetline.c: Likewise.
23393 * libio/iogets.c: Likewise.
23394 * libio/iogetwline.c: Likewise.
23395 * libio/iopadn.c: Likewise.
23396 * libio/iopopen.c: Likewise.
23397 * libio/ioseekoff.c: Likewise.
23398 * libio/ioseekpos.c: Likewise.
23399 * libio/iosetbuffer.c: Likewise.
23400 * libio/iosetvbuf.c: Likewise.
23401 * libio/ioungetc.c: Likewise.
23402 * libio/ioungetwc.c: Likewise.
23403 * libio/iovdprintf.c: Likewise.
23404 * libio/iovsprintf.c: Likewise.
23405 * libio/iovsscanf.c: Likewise.
23406 * libio/memstream.c: Likewise.
23407 * libio/obprintf.c: Likewise.
23408 * libio/oldfileops.c: Likewise.
23409 * libio/oldiofclose.c: Likewise.
23410 * libio/oldiofdopen.c: Likewise.
23411 * libio/oldiofopen.c: Likewise.
23412 * libio/oldiopopen.c: Likewise.
23413 * libio/oldstdfiles.c: Likewise.
23414 * libio/putc.c: Likewise.
23415 * libio/setbuf.c: Likewise.
23416 * libio/setlinebuf.c: Likewise.
23417 * libio/stdfiles.c: Likewise.
23418 * libio/strops.c: Likewise.
23419 * libio/vasprintf.c: Likewise.
23420 * libio/vscanf.c: Likewise.
23421 * libio/vsnprintf.c: Likewise.
23422 * libio/vswprintf.c: Likewise.
23423 * libio/wfiledoalloc.c: Likewise.
23424 * libio/wfileops.c: Likewise.
23425 * libio/wgenops.c: Likewise.
23426 * libio/wmemstream.c: Likewise.
23427 * libio/wstrops.c: Likewise.
23428 * libio/__fpurge.c: Likewise.
23429 * libio/__fsetlocking.c: Likewise.
23430 * assert/assert.c: Likewise.
23431 * debug/fgets_chk.c: Likewise.
23432 * debug/fgets_u_chk.c: Likewise.
23433 * debug/fread_chk.c: Likewise.
23434 * debug/fread_u_chk.c: Likewise.
23435 * debug/gets_chk.c: Likewise.
23436 * debug/obprintf_chk.c: Likewise.
23437 * debug/vasprintf_chk.c: Likewise.
23438 * debug/vdprintf_chk.c: Likewise.
23439 * debug/vsnprintf_chk.c: Likewise.
23440 * debug/vsprintf_chk.c: Likewise.
23441 * malloc/mtrace.c: Likewise.
23442 * misc/error.c: Likewise.
23443 * misc/syslog.c: Likewise.
23444 * stdio-common/asprintf.c: Likewise.
23445 * stdio-common/fxprintf.c: Likewise.
23446 * stdio-common/getw.c: Likewise.
23447 * stdio-common/isoc99_fscanf.c: Likewise.
23448 * stdio-common/isoc99_scanf.c: Likewise.
23449 * stdio-common/isoc99_vfscanf.c: Likewise.
23450 * stdio-common/isoc99_vscanf.c: Likewise.
23451 * stdio-common/isoc99_vsscanf.c: Likewise.
23452 * stdio-common/printf-prs.c: Likewise.
23453 * stdio-common/printf_fp.c: Likewise.
23454 * stdio-common/printf_fphex.c: Likewise.
23455 * stdio-common/printf_size.c: Likewise.
23456 * stdio-common/putw.c: Likewise.
23457 * stdio-common/scanf.c: Likewise.
23458 * stdio-common/sprintf.c: Likewise.
23459 * stdio-common/tmpfile.c: Likewise.
23460 * stdio-common/vfprintf.c: Likewise.
23461 * stdio-common/vfscanf.c: Likewise.
23462 * stdlib/strfmon_l.c: Likewise.
23463 * sunrpc/openchild.c: Likewise.
23464 * sunrpc/xdr_stdio.c: Likewise.
23465 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23466 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23468 2012-05-24 Roland McGrath <roland@hack.frob.com>
23470 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23472 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23473 in the third column, to generate for the shared library an IFUNC
23474 that uses _dl_vdso_vsym.
23475 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23476 * Makeconfig (object-suffixes-noshared): New variable.
23478 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23479 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23480 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23481 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23484 * include/sys/time.h (__gettimeofday): Remove macro.
23485 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23486 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23488 (__gettimeofday): Add libc_hidden_def.
23489 (gettimeofday): Add libc_hidden_weak.
23490 * sysdeps/mach/gettimeofday.c: Likewise.
23491 * sysdeps/posix/gettimeofday.c: Likewise.
23492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23493 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23495 (__gettimeofday_internal): Remove strong_alias.
23496 (__gettimeofday): Add libc_hidden_def.
23497 (gettimeofday): Add libc_hidden_weak.
23498 * sysdeps/unix/syscalls.list (gettimeofday):
23499 Remove __gettimeofday_internal alias.
23501 2012-05-24 Daniel Jacobowitz <drow@false.org>
23502 H.J. Lu <hongjiu.lu@intel.com>
23505 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23506 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23507 (largebin_index_32_big): New.
23508 (largebin_index): Use it for 16-byte alignment.
23509 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23510 correction with front_misalign.
23512 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23540 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23541 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23543 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23547 * math/libm-test.inc (exp_test): Add test from bug 14036.
23548 (pow_test): Add test from bug 10846.
23550 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23552 (special_function): Do not include flags in test name.
23553 (parse_args): Likewise.
23554 * sysdeps/i386/fpu/libm-test-ulps: Update.
23555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23556 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23557 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23560 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23562 * math/libm-test.inc ("Philosophy"): Update comment about
23564 (UNDERFLOW_EXCEPTION): New macro.
23565 (UNDERFLOW_EXCEPTION_OK): Likewise.
23566 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23567 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23568 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23569 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23570 (INVALID_EXCEPTION_OK): Update value.
23571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23572 (OVERFLOW_EXCEPTION_OK): Likewise.
23573 (IGNORE_ZERO_INF_SIGN): Likewise.
23574 (test_exceptions): Handle underflow exceptions.
23575 (acos_test): Update for underflow exception expectations.
23576 (cexp_test): Likewise.
23577 (clog_test): Likewise.
23578 (clog10_test): Likewise.
23579 (csqrt_test): Likewise.
23580 (ctan_test): Likewise.
23581 (ctanh_test): Likewise.
23582 (exp_test): Likewise.
23583 (exp10_test): Likewise.
23584 (exp2_test): Likewise.
23585 (expm1_test): Likewise.
23586 (fma_test): Likewise.
23587 (j0_test): Likewise.
23588 (jn_test): Likewise.
23589 (nexttoward_test): Likewise.
23590 (pow_test): Likewise.
23591 (scalbn_test): Likewise.
23592 (scalbln_test): Likewise.
23593 (tan_test): Likewise.
23594 (y1_test): Likewise.
23595 * sysdeps/i386/fpu/libm-test-ulps: Update.
23596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23598 2012-05-23 David S. Miller <davem@davemloft.net>
23600 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23601 (__libc_sigaction): Remove unused local variables.
23603 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23605 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23607 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23609 mktime: avoid signed integer overflow
23610 * time/mktime.c (__mktime_internal): Do not mishandle the case
23611 where diff == INT_MIN.
23613 mktime: simplify computation of average
23614 * time/mktime.c (ranged_convert): Use new time_t_avg function
23615 instead of rolling our own (probably-slower) code.
23617 mktime: do not assume signed right shift propagates sign bit
23618 * time/mktime.c (isdst_differ): New static function.
23619 (__mktime_internal): No need to normalize tm_isdst now.
23620 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23623 mktime: merge another wrapv change from gnulib
23624 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23625 from some compilers.
23627 mktime: remove incorrect attempt at unusual arithmetics
23628 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23629 The code didn't really work on such machines anyway.
23630 (TYPE_MINIMUM): Assume two's complement.
23631 (twos_complement_arithmetic): Verify that long_int and time_t
23632 are two's complement (or unsigned, in the latter case).
23634 mktime: check signed shifts on long_int and time_t, too
23635 * time/mktime.c (SHR): Check that shifts work as desired
23636 on the types long_int and time_t too, as SHR is used on
23639 mktime: do not assume 'long' is wide enough
23640 * time/mktime.c (verify): Move decl up.
23641 (long_int): New type.
23642 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23643 to remove assumption in the code that 'long' is wide enough to
23644 store year values. This assumption is not true on x32 and on
23645 some non-glibc platforms.
23647 mktime: merge wrapv change from gnulib
23648 * time/mktime.c (WRAPV): New macro.
23649 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23650 (guess_time_tm, __mktime_internal): Do not assume that signed
23651 integer overflow wraps around; modern compilers generate code
23652 where this assumption is no longer valid.
23654 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23656 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23657 Replace "jmp L(pseudo_end)" with "ret".
23658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23661 2012-05-23 Andreas Jaeger <aj@suse.de>
23663 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23664 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23666 2012-05-23 Andreas Jaeger <aj@suse.de>
23667 Maximilian Attems <max@stro.at>
23669 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23672 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23674 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23675 code so that pseudo_end is just ret and the stack pointer is
23676 correct also for static library in error case.
23678 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23680 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23681 move to syscalls.list.
23682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23687 * manual/install.texi (Running make install): Do not mention Linux
23688 kernel version for which pt_chown is not needed.
23689 (Linux): Do not mention problems with nscd with 2.0 kernels.
23690 * INSTALL: Regenerated.
23692 2012-05-23 Andreas Jaeger <aj@suse.de>
23694 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23695 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23697 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23699 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23701 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23705 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23707 * sysdeps/unix/sysv/linux/bits/in.h
23708 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23710 2012-05-22 Roland McGrath <roland@hack.frob.com>
23712 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23713 (PREPARE_VERSION): Just use assert instead, it will be elided
23714 under [NDEBUG] anyway.
23716 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23718 * sysdeps/unix/sysv/linux/Makefile: Include
23719 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23720 (sysdep_routines): Remove sysctl.
23721 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23722 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23723 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23725 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23727 2012-05-22 Andreas Jaeger <aj@suse.de>
23729 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23730 that pseudo_end is just ret and the stack pointer is correct also
23731 for static library in error case.
23733 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23736 * nss/nsswitch.c (defconfig_entries): New variable.
23737 (__nss_database_lookup): Don't leak defconfig entries.
23738 (nss_parse_service_list): Don't leak on error paths.
23739 (free_database_entries): New function.
23740 (free_defconfig): New function.
23741 (free_mem): Move common code to free_database_entries.
23743 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23747 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23749 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23750 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23753 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23754 (INTERNAL_SYSCALL_TYPES): Likewise.
23755 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23756 (LOAD_REGS_TYPES_[1-6]): Likewise.
23757 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23758 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23760 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23763 copysignl for GLIBC_2_0.
23764 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23765 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23766 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23767 logbl for GLIBC_2_0.
23768 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23769 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23771 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23774 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23776 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23779 * time/mktime.c: Update copyright years.
23781 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23783 mktime: merge comment-quoting-style change from gnulib
23784 * time/mktime.c: Quote 'like this' in comments.
23785 The GNU coding standards suggest that we no longer quote `like this',
23786 as "`" and "'" are typically rendered asymmetrically nowadays.
23787 The typical gnulib style is to quote 'like this' when quoting
23788 code, and "like this" when quoting English.
23790 * time/mktime.c (compile-command): Add "-I.".
23792 mktime: merge mktime-internal.h change from gnulib
23793 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23795 mktime: merge time_r change from gnulib
23796 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23798 mktime: merge DEBUG change from gnulib
23799 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23800 case system <time.h> has a #define.
23802 mktime: merge <sys/types.h> change from gnulib
23803 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23804 since <time.t> is now guaranteed to define time_t.
23806 mktime: merge HAVE_CONFIG_H change from gnulib
23807 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23809 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23814 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23816 (struct rusage): Use anonymous union to pad each field to
23819 2012-05-21 David S. Miller <davem@davemloft.net>
23821 * Makefules (o-iterator): Remove .s cases.
23822 (compile-command.s): Delete.
23823 (COMPILE.s): Delete.
23824 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23826 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23828 * configure.in (libc_cv_predef_stack_protector): Only consider
23829 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23830 * configure: Regenerated.
23832 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23835 New macro. Use R*LP on int and pointer.
23836 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23838 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23839 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23841 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23842 [__WORDSIZE_TIME64_COMPAT32] instead of
23843 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23844 (struct utmp): Likewise.
23845 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23846 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23848 (__WORDSIZE_TIME64_COMPAT32): This.
23849 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23850 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23851 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23852 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23853 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23854 (__WORDSIZE_TIME64_COMPAT32): New macro.
23856 2012-05-21 Andreas Jaeger <aj@suse.de>
23858 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23859 only if [SHARED]. Add prototype for __wcschr_ia32.
23861 2012-05-21 Roland McGrath <roland@hack.frob.com>
23863 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23864 of %rbp unmolested in the jmp_buf while mangling the low bits.
23865 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23866 unmolested high bits of %rbp while demangling the low bits.
23867 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23869 2012-05-21 Andreas Jaeger <aj@suse.de>
23871 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23872 * sunrpc/svc_simple.c: Use it for registerrpc.
23873 * sunrpc/xcrypt.c: Use it for passwd2des.
23875 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23877 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23879 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23880 Don't define if [__SYSCALL_WORDSIZE != 32].
23881 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23884 2012-05-21 Bruno Haible <bruno@clisp.org>
23885 Andreas Jaeger <aj@suse.de>
23887 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23888 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23889 inptr and inend for must_buffer_ch.
23890 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23891 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23892 * stdio-common/Makefile (tests): Remove bug15.
23893 (bug15-ENV): Remove macro.
23894 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23897 2012-05-19 Andreas Jaeger <aj@suse.de>
23898 Roland McGrath <roland@hack.frob.com>
23900 * manual/contrib.texi: Completely rewritten. It contains now an
23901 alphabetical list of contributors and their contributions.
23903 2012-05-21 Richard Henderson <rth@twiddle.net>
23905 * misc/getauxval.c (__getauxval): Use unsigned long int.
23906 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23907 (getauxval): Use unsigned long int.
23909 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23911 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23913 2012-05-21 Roland McGrath <roland@hack.frob.com>
23915 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23916 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23917 __alignof__ (long double).
23919 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23923 2012-05-20 Richard Henderson <rth@twiddle.net>
23925 * misc/getauxval.c: New file.
23926 * misc/sys/auxv.h: New file.
23927 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23928 (routines): Add getauxval.
23929 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23930 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23931 * elf/dl-sysdep.c (_dl_auxv): Remove.
23932 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23933 * elf/dl-support.c (_dl_auxv): New variable.
23934 (_dl_aux_init): Initialize it.
23935 * manual/startup.texi (Auxiliary Vector): New node.
23936 * sysdeps/generic/bits/hwcap.h: New file.
23937 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23938 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23939 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23940 * sysdeps/sparc/sysdep.h: ... here. Include it.
23941 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23954 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23958 2012-05-19 David S. Miller <davem@davemloft.net>
23960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23962 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23965 * math/s_ccosh.c: Include <float.h>
23966 (__ccosh): Avoid internal overflow calculating sinh and cosh
23967 values before multiplying by sin and cos values.
23968 * math/s_ccoshf.c: Likewise.
23969 * math/s_ccoshl.c: Likewise.
23970 * math/s_csin.c: Likewise.
23971 * math/s_csinf.c: Likewise.
23972 * math/s_csinl.c: Likewise.
23973 * math/s_csinh.c: Likewise.
23974 * math/s_csinhf.c: Likewise.
23975 * math/s_csinhl.c: Likewise.
23976 * math/libm-test.inc (ccos_test): Add more tests.
23977 (ccosh_test): Likewise.
23978 (csin_test): Likewise.
23979 (csinh_test): Likewise.
23980 * sysdeps/i386/fpu/libm-test-ulps: Update.
23981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23983 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23985 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23986 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23988 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23990 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23992 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23993 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23994 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23995 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23996 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23997 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23998 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23999 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24000 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24001 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24002 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24003 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24004 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24005 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24006 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24007 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24008 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24009 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24010 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24011 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24012 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24013 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24014 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24015 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24016 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24017 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24018 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24019 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24020 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24021 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24022 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24024 2012-05-18 Andreas Jaeger <aj@suse.de>
24026 * csu/.gitignore: Delete.
24028 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24030 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24031 (timex): Use __syscall_slong_t.
24033 2012-05-18 Andreas Jaeger <aj@suse.de>
24034 Carlos O'Donell <carlos_odonell@mentor.com>
24036 * manual/install.texi (Configuring and compiling): Update
24037 description about files modified in the source directory.
24038 * INSTALL: Regenerated.
24040 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24042 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24043 value. Use "or" to set return value to -1.
24044 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24045 negate return value.
24047 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24049 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24050 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24051 failure if the compiler has Graphite support disabled.
24052 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24054 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24055 CFLAGS-memmove.c): Likewise.
24056 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24059 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24061 * sysdeps/x86_64/x32/_itoa.h: New file.
24063 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24064 getdents system call only if kernel and user dirents have the
24065 same d_ino and d_off.
24067 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24068 LLONG_MAX != LONG_MAX.
24069 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24070 (_fitoa_word): Likewise.
24072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24074 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24075 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24076 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24078 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24079 include <bits/wordsize.h>. Check __x86_64__ instead of
24081 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24082 if __x86_64__ is defined. Use anonymous union on fpstate.
24084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24087 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24089 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24090 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24091 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24092 Refer to _rtld_local_ro instead of _rtld_global_ro.
24093 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24095 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24097 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24099 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24100 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24101 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24103 * sysdeps/powerpc/powerpc32/dl-machine.c
24104 (__elf_machine_runtime_setup) [PROF]: Don't reference
24107 2012-05-18 Andreas Jaeger <aj@suse.de>
24109 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24110 function only available for GCCs before 3.4 since GCC 3.4
24111 introduced a builtin.
24113 (llrintf): Likewise.
24114 (llrint): Likewise.
24121 (nearbyint): Likewise.
24122 (nearbyintf): Likewise.
24126 (floorf): Likewise.
24128 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24130 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24131 on both fields and cast pointer to __syscall_ulong_t.
24133 * bits/types.h (__fsword_t): New type.
24134 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24135 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24136 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24137 (__FSWORD_T_TYPE): Likewise.
24138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24139 (__FSWORD_T_TYPE): Likewise.
24140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24141 (__FSWORD_T_TYPE): Likewise.
24142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24143 (__FSWORD_T_TYPE): Likewise.
24144 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24145 __SWORD_TYPE with __fsword_t.
24146 (statfs64): Likewise.
24148 2012-05-17 David S. Miller <davem@davemloft.net>
24150 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24152 2012-05-17 Andreas Jaeger <aj@suse.de>
24154 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24157 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24159 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24161 2012-05-17 Andreas Jaeger <aj@suse.de>
24163 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24166 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24168 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24170 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24172 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24173 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24175 2012-05-17 Andreas Jaeger <aj@suse.de>
24176 Carlos O'Donell <carlos_odonell@mentor.com>
24179 * sysdeps/x86_64/multiarch/init-arch.h
24180 (bit_YMM_Usable): Rename to...
24181 (bit_AVX_Usable): ... this.
24182 (bit_FMA4_Usable): New macro.
24183 (bit_XMM_state): New macro.
24184 (bit_YMM_state): New macro.
24185 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24186 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24187 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24188 (CPUID_OSXSAVE): New macro.
24189 (CPUID_AVX): New macro.
24190 (CPUID_FMA4): New macro.
24191 (index_YMM_Usable): Rename to...
24192 (index_AVX_Usable): ... this.
24193 (HAS_AVX): Use HAS_ARCH_FEATURE.
24194 (HAS_FMA4): Likewise.
24195 (HAS_YMM_USABLE): Remove.
24196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24197 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24199 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24200 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24201 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24202 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24203 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24205 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24207 * math/libm-test.c: Support platforms without multiple rounding modes.
24208 * math/bug-nextafter.c: Support platforms without FP exceptions.
24209 * math/bug-nexttoward.c: Likewise.
24210 * math/test-fenv.c: Likewise.
24211 * math/test-misc.c: Likewise.
24212 * stdlib/bug-getcontext.c: Likewise.
24214 2012-05-17 Andreas Jaeger <aj@suse.de>
24216 * manual/examples/search.c (critter_cmp): Change signature to
24218 * manual/string.texi (Collation Functions): Likewise.
24220 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24222 * bits/types.h: Fold copyright years.
24223 * bits/typesizes.h: Likewise.
24224 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24226 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24228 * time/time.h: Likewise.
24230 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24233 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24234 in instead of returning them. Return void.
24235 (__libc_mallinfo): Accumulate over all arenas.
24236 (__malloc_stats): Adjust for change in int_mallinfo interface.
24238 2012-05-16 Roland McGrath <roland@hack.frob.com>
24241 * configure.in (NM): Add AC_CHECK_TOOL for it.
24242 (libc_extra_cflags): New substituted variable.
24243 Check for -fstack-protector being used implicitly.
24244 * configure: Regenerated.
24245 * config.make.in (config-extra-cflags): New variable,
24246 gets @libc_extra_cflags@.
24247 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24250 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24251 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24252 * configure: Regenerated.
24253 * config.make.in (CPPUNDEFS): New substituted variable.
24254 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24255 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24256 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24258 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24260 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24261 (mq_attr): Use __syscall_slong_t.
24263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24265 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24266 Check __x86_64__ instead of __WORDSIZE.
24267 (_STAT_VER_LINUX): Likewise.
24268 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24269 __syscall_ulong_t and __syscall_slong_t.
24270 (stat64): Likewise.
24272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24278 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24280 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24282 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24285 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24286 include <bits/wordsize.h>. Check __x86_64__ instead of
24288 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24290 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24292 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24293 include <bits/wordsize.h>. Check __x86_64__ instead of
24295 (user_regs_struct): Use "__extension__ unsigned long long"
24296 instead of "unsigned long" if __x86_64__ is defined.
24297 (user): Likewise. Pad after pointer field if __ILP32__ is
24300 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24302 * configure.in (makeinfo): Require version 4.5 or later. Allow
24304 * configure: Regenerated.
24305 * manual/install.texi (texinfo): Increase version requirement to
24307 * INSTALL: Regenerated.
24309 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24311 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24313 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24315 * sysdeps/x86_64/x32/ffs.c: New file.
24317 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24319 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24320 defined. Use __syscall_ulong_t.
24321 (shminfo): Use __syscall_ulong_t.
24322 (shm_info): Likewise.
24324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24327 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24329 (msgqnum_t): Use __syscall_ulong_t.
24330 (msglen_t): Likewise.
24331 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24334 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24335 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24337 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24339 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24340 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24342 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24345 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24346 include <bits/wordsize.h>. Check __x86_64__ instead of
24349 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24350 "unsigned long long int" if __x86_64__ is defined.
24351 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24354 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24355 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24359 (GET_PC): Cast to uintptr_t first.
24360 (GET_FRAME): Likewise.
24361 (GET_STACK): Likewise.
24363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24364 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24365 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24366 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24367 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24368 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24369 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24370 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24371 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24372 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24373 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24374 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24375 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24376 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24377 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24378 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24379 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24380 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24381 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24382 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24383 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24384 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24385 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24386 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24387 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24388 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24389 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24390 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24391 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24393 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24395 * Makerules (+depfiles): Also collect depfiles from .oS in
24397 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24398 .oS, $(libnldbl-routines)).
24400 * Makerules (native-compile-mkdep-flags): Define.
24401 * sunrpc/Makefile (extra-objs): Add $(addprefix
24402 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24403 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24404 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24405 calling $(make-target-directory).
24407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24409 * bits/types.h (__snseconds_t): Removed.
24410 * time/time.h (struct timespec): Replace __snseconds_t with
24412 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24413 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24416 (__SNSECONDS_T_TYPE): Likewise.
24417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24418 (__SNSECONDS_T_TYPE): Likewise.
24419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24420 (__SNSECONDS_T_TYPE): Likewise.
24422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24424 * sysdeps/mach/hurd/bits/typesizes.h
24425 (__SYSCALL_SLONG_TYPE): New macro.
24426 (__SYSCALL_ULONG_TYPE): Likewise.
24428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24430 * bits/types.h (__syscall_slong_t): New type.
24431 (__syscall_ulong_t): Likewise.
24433 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24434 (__SYSCALL_ULONG_TYPE): Likewise.
24435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24436 (__SYSCALL_SLONG_TYPE): Likewise.
24437 (__SYSCALL_ULONG_TYPE): Likewise.
24438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24439 (__SYSCALL_SLONG_TYPE): Likewise.
24440 (__SYSCALL_ULONG_TYPE): Likewise.
24441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24442 (__SYSCALL_SLONG_TYPE): Likewise.
24443 (__SYSCALL_ULONG_TYPE): Likewise.
24445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24447 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24448 Add sigaltstack-offsets.sym.
24449 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24450 <sigaltstack-offsets.h>.
24451 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24452 longjmp_msg pointer.
24453 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24454 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24456 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24458 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24460 * elf/stackguard-macros.h: Remove file.
24461 * sysdeps/generic/stackguard-macros.h: New file.
24462 * sysdeps/i386/stackguard-macros.h: Likewise.
24463 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24464 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24465 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24466 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24467 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24468 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24469 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24470 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24471 <elf/stackguard-macros.h>.
24474 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24475 __aligned__ in attribute.
24476 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24477 (gregset_t): Likewise.
24479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24481 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24482 * sysdeps/x86_64/64/Implies-after: Here. New file.
24483 * sysdeps/x86_64/x32/Implies-after: New file.
24485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24487 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24488 and access return value for _dl_profile_fixup. Use R10_LP to
24491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24493 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24497 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24498 * sysdeps/x86_64/x32/sysdep.h: New file.
24500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24502 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24503 * sysdeps/x86_64/setjmp.S: Likewise.
24505 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24507 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24508 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24509 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24511 remove unused global constant.
24513 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24515 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24516 include of <not-cancel.h>.
24518 2012-05-15 Roland McGrath <roland@hack.frob.com>
24520 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24522 2012-05-15 Jeff Law <law@redhat.com>
24523 Andreas Jaeger <aj@suse.de>
24526 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24528 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24529 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24530 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24531 code changing __hst_map_handle.map.
24533 2012-05-15 Roland McGrath <roland@hack.frob.com>
24535 * configure.in (sysnames): Look for Implies-before and Implies-after
24537 * configure: Regenerated.
24539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24541 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24542 8-byte data alignment with LP_SIZE alignment.
24544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24546 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24551 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24555 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24556 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24557 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24559 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24563 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24564 (stackinfo_sub_sp): Likewise.
24566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24578 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24581 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24583 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24587 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24588 into R11_LP and load __x86_64_shared_cache_size_half into
24591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24593 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24596 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24605 powerpc32/power7/fpu/s_logb.c via #include.
24606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24607 powerpc32/power7/fpu/s_logbf.c via #include.
24608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24609 powerpc32/power7/fpu/s_logbl.c via #include.
24611 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24613 * README.libm: Remove file.
24615 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24617 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24618 count for x32. Use R*_LP and omit operand-size suffix.
24620 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24622 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24623 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24624 * sysdeps/x86_64/x32/shlib-versions: New file.
24626 2012-05-14 Roland McGrath <roland@hack.frob.com>
24628 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24629 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24630 Use _dl_fatal_printf instead.
24632 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24634 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24635 set if not set by the user. Do not allow for being unset.
24636 * sysdeps/unix/sysv/linux/configure: Regenerated.
24638 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24641 the `q' suffix from lea and replace .quad with ASM_ADDR.
24643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24646 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24648 (PTR_DEMANGLE): Likewise.
24650 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24652 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24654 (ASM_ADDR): Likewise.
24655 (RAX_LP): Likewise.
24656 (RBP_LP): Likewise.
24657 (RBX_LP): Likewise.
24658 (RCX_LP): Likewise.
24659 (RDI_LP): Likewise.
24660 (RSI_LP): Likewise.
24661 (RSP_LP): Likewise.
24664 (R10_LP): Likewise.
24665 (R10_LP): Likewise.
24666 (R11_LP): Likewise.
24667 (R12_LP): Likewise.
24668 (R13_LP): Likewise.
24669 (R14_LP): Likewise.
24670 (R15_LP): Likewise.
24672 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24674 * sysdeps/x86_64/x32/dl-machine.h: New file.
24676 2012-05-14 Andreas Jaeger <aj@suse.de>
24678 * manual/Makefile (subdir): Remove export of subdir.
24679 (all): Remove target.
24680 (.PHONY): Remove all from list.
24681 (mkinstalldirs): Remove.
24682 (.PHONY): Remove installdirs from list.
24683 ($(inst_infodir)/libc.info): Use make-target-directory.
24684 (installdirs): Remove.
24685 (subdir_%): Remove.
24686 (glibc-targets): Remove.
24689 ($(objpfx)stubs ../po/manual.pot): Remove.
24690 ($(objpfx)stamp%): Remove.
24691 (make-target-directory): Remove.
24692 (subdir_install): Remove.
24693 (routines): Remove.
24700 * manual/.gitignore: Remove, it's not needed anymore.
24701 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24703 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24705 (texis): Renamed to $(objpfx)texis.
24706 (texis-path): New, contains path to generated files.
24707 (chapters.%): Use texis-path for complete path, add extra argument
24709 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24710 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24711 (summary,texi, stamp-summary): Use complete path of
24712 files. Generate files in build dir.
24713 (dir-add.texi): Build in build dir.
24714 (libm-err.texi,stamp-libm-err): Likewise.
24715 (version.texi, stamp-version): Likewise.
24716 (.%c.texi): Likewise.
24717 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24718 (mostlyclean): Remove target.
24719 (realclean): Remove target.
24720 (generated): Add new variable with contents from mostlyclean and
24721 realclean, remove entries duplicated in common-mostlyclean, add
24722 stamp-libm-err and stamp-version.
24723 (generated-dirs): Add libc directory.
24724 ($(inst_infodir)/libc.info): Install files from build dir.
24726 * manual/install.texi (Configuring and compiling): Adjust since
24727 the info files are not part of the tar ball anymore.
24729 2012-05-14 Andreas Jaeger <aj@suse.de>
24731 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24734 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24738 to 2.2.0 where earlier.
24739 * sysdeps/unix/sysv/linux/configure: Regenerated.
24740 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24741 Remove conditional code.
24742 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24743 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24744 Remove conditional code.
24745 [!__NR_lchown]: Likewise.
24746 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24747 [__NR_lchown]: Likewise.
24748 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24749 comment referencing __ASSUME_LCHOWN_SYSCALL.
24750 * sysdeps/unix/sysv/linux/i386/sigaction.c
24751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24753 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24754 Remove conditional code.
24755 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24756 (__protocol_available): Remove #if 0 code.
24757 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24759 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24760 * sysdeps/unix/sysv/linux/kernel-features.h
24761 (__ASSUME_GETCWD_SYSCALL): Don't define.
24762 (__ASSUME_REALTIME_SIGNALS): Likewise.
24763 (__ASSUME_PREAD_SYSCALL): Likewise.
24764 (__ASSUME_PWRITE_SYSCALL): Likewise.
24765 (__ASSUME_POLL_SYSCALL): Likewise.
24766 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24767 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24769 (__ASSUME_SIOCGIFNAME): Don't define.
24770 (__ASSUME_MSG_NOSIGNAL): Likewise.
24771 (__ASSUME_SENDFILE): Define unconditionally.
24772 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24773 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24775 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24776 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24777 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24778 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24780 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24781 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24786 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24795 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24798 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24801 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24806 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24807 Remove conditional code.
24808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24809 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24810 Remove conditional code.
24811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24812 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24813 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24814 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24815 Remove conditional code.
24816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24817 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24818 Remove conditional code.
24819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24820 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24821 Remove conditional code.
24822 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24823 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24824 Remove conditional code.
24825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24826 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24827 Remove conditional code.
24828 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24829 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24830 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24832 * sysdeps/unix/sysv/linux/sigaction.c
24833 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24834 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24835 * sysdeps/unix/sysv/linux/sigpending.c
24836 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24837 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24838 * sysdeps/unix/sysv/linux/sigprocmask.c
24839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24841 * sysdeps/unix/sysv/linux/sigsuspend.c
24842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24844 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24845 (__libc_missing_rt_sigs): Remove.
24846 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24847 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24848 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24849 Remove conditional code.
24850 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24851 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24853 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24854 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24855 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24856 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24858 2012-05-14 Andreas Jaeger <aj@suse.de>
24860 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24861 it's not used in glibc.
24862 (__coshm1): Likewise.
24863 (__acosh1p): Likewise.
24866 * manual/string.texi (Copying and Concatenation): Add missing
24867 variable in concat example.
24868 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24870 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24874 __builtin_clzl with __builtin_clzll.
24876 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24879 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24882 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24884 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24885 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24886 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24887 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24889 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24891 * NEWS: Update ia64 info.
24893 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24895 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24898 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24900 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24901 * sysdeps/unix/syscalls.list (dup3): Likewise.
24902 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24903 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24905 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24907 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24908 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24910 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24912 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24914 (TLS_IE): Use mov/add instead of movq/addq to load thread
24916 (TLS_GD_PREFIX): New.
24919 2012-05-11 David S. Miller <davem@davemloft.net>
24921 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24922 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24923 (_FPU_SETCW): Likewise.
24925 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24927 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24928 is 32-byte aligned.
24930 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24933 * iconvdata/gb18030.c: Update tables.
24934 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24935 characters specially.
24936 (BODY for TO_LOOP): Add encoding of missing ranges.
24938 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24941 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24942 * sysdeps/mach/hurd/dup3.c: Likewise.
24943 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24944 * sysdeps/powerpc/memmove.c:: Likewise.
24946 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24948 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24949 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24951 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24953 * elf/elf.h (R_X86_64_RELATIVE64): New.
24954 (R_X86_64_NUM): Updated.
24955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24956 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24957 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24958 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24959 tst-quad1pie tst-quad2pie
24960 (modules-names): Add tst-quadmod1 tst-quadmod2.
24961 ($(objpfx)tst-quad1): New dependency.
24962 ($(objpfx)tst-quad2): Likewise.
24963 ($(objpfx)tst-quad1pie): Likewise.
24964 ($(objpfx)tst-quad2pie): Likewise.
24965 * sysdeps/x86_64/tst-quad1.c: New file.
24966 * sysdeps/x86_64/tst-quad1pie.c: New file.
24967 * sysdeps/x86_64/tst-quad2.c: Likewise.
24968 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24969 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24970 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24971 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24972 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24976 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24977 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24978 * streams/stropts.h (t_scalar_t): Define type.
24980 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24981 (_PATH_PRESERVE): Set to "/var/lib".
24982 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24984 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24987 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24988 if __dir_mkfile succeeded.
24990 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24991 checking for _hurd_dtablesize. Unlock it right after having
24992 finished _hurd_dtable allocation.
24994 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24996 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24997 * sysdeps/mach/hurd/configure: Regenerated.
24998 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24999 special-casing to...
25000 * sysdeps/gnu/configure.in: ... this new file.
25001 * sysdeps/unix/sysv/linux/configure: Regenerated.
25002 * sysdeps/gnu/configure: New generated file.
25004 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25005 for Linux: use nsec instead of usec, as well as:
25006 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25007 members of type struct timespec.
25008 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25010 (struct stat64): Likewise.
25011 (_STATBUF_ST_NSEC): New macro.
25012 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25014 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25015 __strtoul_internal rather than strtoul.
25017 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25019 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25022 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25024 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25025 which preserves existing values.
25026 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25028 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25030 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25031 TIMEOUT values. Return EINVAL for NFDS values either negative or
25032 greater than FD_SETSIZE.
25034 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25036 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25037 allocated, call __vm_protect to finish enabling the existing space, and
25038 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25039 allocate the remainder.
25041 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25043 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25044 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25046 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25048 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25049 sysdeps/mach/hurd/readlink.c.
25051 * posix/tst-sysconf.c (posix_options): Only use
25052 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25053 _POSIX_SYNCHRONIZED_IO when they are defined
25054 * sysdeps/mach/hurd/bits/posix_opt.h:
25055 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25056 (_XOPEN_REALTIME): Undefine macro.
25057 (_XOPEN_REALTIME_THREADS): Undefine macro.
25058 (_XOPEN_SHM): Undefine macro.
25059 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25061 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25063 (_POSIX_ASYNC_IO): Undefine macro.
25064 (_POSIX_PRIORITIZED_IO): Undefine macro.
25065 (_POSIX_SPIN_LOCKS): Define macro to -1.
25067 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25068 SA_NODEFER, SA_RESETHAND.
25069 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25070 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25075 * elf/Makefile (pldd-modules): Define unconditionally.
25077 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25079 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25081 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25083 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25084 Return ENOENT when name is empty.
25085 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25087 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25089 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25091 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25093 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25095 Fix mlock in all cases except non-readable pages.
25096 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25097 instead of VM_PROT_ALL as parameter to __vm_wire function.
25099 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25100 (__mkdir): When path is `/', just fail with EEXIST.
25101 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25105 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25106 <sys/uio.h> (for writev).
25107 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25108 and <sys/param.h> (for MIN).
25110 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25112 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25113 REQUESTED_TIME. Properly set the remaining time and return EINTR
25116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25118 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25119 Depend on against $(link-rpcuserlibs).
25121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25123 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25124 (__libc_stack_end): Do not use attribute_relro.
25125 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25126 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25127 to libthread-provided value.
25128 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25134 * bits/libc-lock.h (__libc_once_get): New macro.
25135 * sysdeps/mach/bits/libc-lock.h: Likewise.
25136 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25138 instead of using implementation details.
25140 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25141 * libio/freopen.c: Likewise.
25142 * libio/freopen64.c: Likewise.
25143 * misc/syslog.c: Likewise.
25144 * nscd/connections.c: Likewise.
25145 * nscd/netgroupcache.c: Likewise.
25146 * sysdeps/posix/getcwd.c: Likewise.
25148 2012-05-10 Roland McGrath <roland@hack.frob.com>
25150 * math/w_ilogbf.c: Add #include <limits.h>.
25152 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25154 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25155 path instead of returning without unlocking.
25157 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25158 immediate-write ioctls.
25159 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25163 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25164 __builtin_frame_address instead of making assumptions about the
25165 location of the return address relative to DATA. Force early load of
25166 the return address.
25167 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25168 __builtin_frame_address.
25171 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25172 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25173 implement dup3 and do some further code clean-ups.
25174 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25175 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25179 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25181 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25182 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25183 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25184 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25185 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25188 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25189 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25190 when handler == SIG_ERR, not when handler != SIG_ERR.
25192 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25194 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25195 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25198 accept4 for GNU Hurd.
25199 * include/sys/socket.h (__libc_accept4): New prototype.
25200 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25201 to implement __libc_accept4.
25202 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25204 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25206 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25207 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25208 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25209 signal-defines.sym.
25211 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25213 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25217 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25218 assertion on O_CLOEXEC flag.
25219 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25220 * hurd/intern-fd.c: Likewise.
25221 * hurd/port2fd.c: Likewise.
25223 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25226 * bits/in.h (IPV6_PKTINFO): Define new macro.
25227 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25229 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25234 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25236 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25237 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25239 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25240 * math/libm-test.inc (logb_test) : Additional logb tests.
25242 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25243 Andreas Jaeger <aj@suse.de>
25245 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25246 * configure: Regenerated.
25247 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25248 * config.make.in (link-obsolete-rpc): New substituted variable.
25249 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25250 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25251 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25252 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25253 so that libc.a contains the symbols.
25254 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25255 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25256 * sunrpc/auth_none.c: Likewise.
25257 * sunrpc/auth_unix.c: Likewise.
25258 * sunrpc/authdes_prot.c: Likewise.
25259 * sunrpc/authuxprot.c: Likewise.
25260 * sunrpc/clnt_gen.c: Likewise.
25261 * sunrpc/clnt_perr.c: Likewise.
25262 * sunrpc/clnt_raw.c: Likewise.
25263 * sunrpc/clnt_simp.c: Likewise.
25264 * sunrpc/clnt_tcp.c: Likewise.
25265 * sunrpc/clnt_udp.c: Likewise.
25266 * sunrpc/clnt_unix.c: Likewise.
25267 * sunrpc/des_crypt.c: Likewise.
25268 * sunrpc/des_soft.c: Likewise.
25269 * sunrpc/get_myaddr.c: Likewise.
25270 * sunrpc/key_call.c: Likewise.
25271 * sunrpc/key_prot.c: Likewise.
25272 * sunrpc/netname.c: Likewise.
25273 * sunrpc/pm_getmaps.c: Likewise.
25274 * sunrpc/pm_getport.c: Likewise.
25275 * sunrpc/pmap_clnt.c: Likewise.
25276 * sunrpc/pmap_prot.c: Likewise.
25277 * sunrpc/pmap_prot2.c: Likewise.
25278 * sunrpc/pmap_rmt.c: Likewise.
25279 * sunrpc/publickey.c: Likewise.
25280 * sunrpc/rpc_cmsg.c: Likewise.
25281 * sunrpc/rpc_common.c: Likewise.
25282 * sunrpc/rpc_dtable.c: Likewise.
25283 * sunrpc/rpc_prot.c: Likewise.
25284 * sunrpc/rpc_thread.c: Likewise.
25285 * sunrpc/rtime.c: Likewise.
25286 * sunrpc/svc.c: Likewise.
25287 * sunrpc/svc_auth.c: Likewise.
25288 * sunrpc/svc_raw.c: Likewise.
25289 * sunrpc/svc_run.c: Likewise.
25290 * sunrpc/svc_tcp.c: Likewise.
25291 * sunrpc/svc_udp.c: Likewise.
25292 * sunrpc/svc_unix.c: Likewise.
25293 * sunrpc/svcauth_des.c: Likewise.
25294 * sunrpc/xcrypt.c: Likewise.
25295 * sunrpc/xdr.c: Likewise.
25296 * sunrpc/xdr_array.c: Likewise.
25297 * sunrpc/xdr_float.c: Likewise.
25298 * sunrpc/xdr_intXX_t.c: Likewise.
25299 * sunrpc/xdr_mem.c: Likewise.
25300 * sunrpc/xdr_rec.c: Likewise.
25301 * sunrpc/xdr_ref.c: Likewise.
25302 * sunrpc/xdr_sizeof.c: Likewise.
25303 * sunrpc/xdr_stdio.c: Likewise.
25305 2012-05-10 Roland McGrath <roland@hack.frob.com>
25307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25308 change. Update copyright years.
25310 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25312 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25314 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25315 Joseph Myers <joseph@codesourcery.com>
25316 Paul Pluzhnikov <ppluzhnikov@google.com>
25319 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25321 [cross-compiling] (extra-libs): Likewise.
25322 [cross-compiling] (extra-libs-others): Likewise.
25323 [cross-compiling] (librpcsvc-routines): Likewise.
25324 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25325 [cross-compiling] (omit-deps): Likewise.
25326 (sunrpc-CPPFLAGS): New variable.
25327 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25328 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25329 (cross-rpcgen-objs): New variable.
25330 (extra-objs): Append $(cross-rpcgen-objs).
25331 ($(cross-rpcgen-objs)): New rule.
25332 ($(objpfx)cross-rpcgen): Likewise.
25333 (rpcgen-cmd): Define to use $(built-program-file). Expand
25335 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25336 ($(objpfx)x%.stmp): Likewise.
25337 * sunrpc/proto.h [IS_IN_build] (_): Define.
25338 [IS_IN_build] (_libc_intl_domainname): Likewise.
25340 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25343 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25344 and R_X86_64_TPOFF64.
25346 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25348 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25349 sysdeps/unix/sysv/syscalls.list.
25352 * sysdeps/unix/sysv/syscalls.list: Remove file.
25354 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25357 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25358 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25359 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25360 (__LC_IDENTIFICATION): Make these macros useful in #if
25361 expressions, as required by C99.
25363 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25365 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25366 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25369 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25371 * stdlib/longlong.h: Updated from GCC.
25373 2012-05-09 Andreas Jaeger <aj@suse.de>
25375 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25376 default is first entry.
25377 (run_mode): Set type.
25378 (main): Remove informal message about syslog.
25379 (options): Fix typo.
25382 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25385 (llrintf): Likewise.
25386 (llrint): Likewise.
25389 (nearbyint): Likewise.
25390 (nearbyintf): Likewise.
25392 2012-05-09 Andreas Jaeger <aj@suse.de>
25393 Pedro Alves <palves@redhat.com>
25395 * nscd/nscd.c (run_mode): Use enum.
25396 (main): Cleanup coding style issue.
25398 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25399 Andreas Jaeger <aj@suse.de>
25401 * nscd/nscd.c (go_background): Replaced with...
25402 (run_mode): ... this.
25403 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25404 (options): Add -F --foreground.
25405 (main): Implement it.
25406 (parse_opt): Parse it.
25408 2012-05-09 Andreas Jaeger <aj@suse.de>
25411 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25412 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25413 -Wconversion warning.
25414 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25417 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25419 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25421 (LC_ALL): Use macro-int-constant.
25422 (LC_COLLATE): Likewise.
25423 (LC_CTYPE): Likewise.
25424 (LC_MESSAGES): Likewise.
25425 (LC_MONETARY): Likewise.
25426 (LC_NUMERIC): Likewise.
25427 (LC_TIME): Likewise.
25428 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25429 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25431 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25433 [C99-based standards] (float_t): Expect type.
25434 [C99-based standards] (double_t): Expect type.
25435 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25437 [C99-based standards] (HUGE_VALL): Likewise.
25438 [C99-based standards] (INFINITY): Likewise.
25439 [C99-based standards] (NAN): Likewise.
25440 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25441 [C99-based standards] (FP_NAN): Likewise.
25442 [C99-based standards] (FP_NORMAL): Likewise.
25443 [C99-based standards] (FP_SUBNORMAL): Likewise.
25444 [C99-based standards] (FP_ZERO): Likewise.
25445 [C99-based standards] (FP_FAST_FMA): Use
25446 optional-macro-int-constant. Specify type. Require == 1.
25447 [C99-based standards] (FP_FAST_FMAF): Likewise.
25448 [C99-based standards] (FP_FAST_FMAL): Likewise.
25449 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25450 [C99-based standards] (FP_ILOGBNAN): Likewise.
25451 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25453 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25454 [C99-based standards] (math_errhandling): Specify type.
25455 [ISO99 || ISO11] (signgam): Do not allow.
25456 [non-C99-based standards] (copysignf): Do not allow.
25457 [non-C99-based standards] (exp2f): Likewise.
25458 [non-C99-based standards] (log2f): Likewise.
25459 [non-C99-based standards] (modff): Allow.
25460 [non-C99-based standards] (erff): Do not allow.
25461 [non-C99-based standards] (erfcf): Likewise.
25462 [non-C99-based standards] (gammaf): Likewise.
25463 [non-C99-based standards] (hypotf): Likewise.
25464 [non-C99-based standards] (j0f): Likewise.
25465 [non-C99-based standards] (j1f): Likewise.
25466 [non-C99-based standards] (jnf): Likewise.
25467 [non-C99-based standards] (lgammaf): Likewise.
25468 [non-C99-based standards] (tgammaf): Likewise.
25469 [non-C99-based standards] (y0f): Likewise.
25470 [non-C99-based standards] (y1f): Likewise.
25471 [non-C99-based standards] (ynf): Likewise.
25472 [non-C99-based standards] (isnanf): Likewise.
25473 [non-C99-based standards] (acoshf): Likewise.
25474 [non-C99-based standards] (asinhf): Likewise.
25475 [non-C99-based standards] (atanhf): Likewise.
25476 [non-C99-based standards] (cbrtf): Likewise.
25477 [non-C99-based standards] (expm1f): Likewise.
25478 [non-C99-based standards] (ilogbf): Likewise.
25479 [non-C99-based standards] (log1pf): Likewise.
25480 [non-C99-based standards] (logbf): Likewise.
25481 [non-C99-based standards] (nextafterf): Likewise.
25482 [non-C99-based standards] (remainderf): Likewise.
25483 [non-C99-based standards] (rintf): Likewise.
25484 [non-C99-based standards] (scalbf): Likewise.
25485 [non-C99-based standards] (copysignl): Likewise.
25486 [non-C99-based standards] (exp2l): Likewise.
25487 [non-C99-based standards] (log2l): Likewise.
25488 [non-C99-based standards] (modfl): Allow.
25489 [non-C99-based standards] (erfl): Do not allow.
25490 [non-C99-based standards] (erfcl): Likewise.
25491 [non-C99-based standards] (gammal): Likewise.
25492 [non-C99-based standards] (hypotl): Likewise.
25493 [non-C99-based standards] (j0l): Likewise.
25494 [non-C99-based standards] (j1l): Likewise.
25495 [non-C99-based standards] (jnl): Likewise.
25496 [non-C99-based standards] (lgammal): Likewise.
25497 [non-C99-based standards] (tgammal): Likewise.
25498 [non-C99-based standards] (y0l): Likewise.
25499 [non-C99-based standards] (y1l): Likewise.
25500 [non-C99-based standards] (ynl): Likewise.
25501 [non-C99-based standards] (isnanl): Likewise.
25502 [non-C99-based standards] (acoshl): Likewise.
25503 [non-C99-based standards] (asinhl): Likewise.
25504 [non-C99-based standards] (atanhl): Likewise.
25505 [non-C99-based standards] (cbrtl): Likewise.
25506 [non-C99-based standards] (expm1l): Likewise.
25507 [non-C99-based standards] (ilogbl): Likewise.
25508 [non-C99-based standards] (log1pl): Likewise.
25509 [non-C99-based standards] (logbl): Likewise.
25510 [non-C99-based standards] (nextafterl): Likewise.
25511 [non-C99-based standards] (remainderl): Likewise.
25512 [non-C99-based standards] (rintl): Likewise.
25513 [non-C99-based standards] (scalbl): Likewise.
25514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25515 [non-C99-based standards] (FP_*): Do not allow.
25516 [C99-based standards] (FP_*): Change to
25517 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25518 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25520 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25521 (SIG_ERR): Likewise.
25522 [X/Open-based standards] (SIG_HOLD): Likewise.
25523 (SIG_IGN): Likewise.
25524 (SIGABRT): Use macro-int-constant. Specify type. Require
25526 (SIGFPE): Likewise.
25527 (SIGILL): Likewise.
25528 (SIGINT): Likewise.
25529 (SIGSEGV): Likewise.
25530 (SIGTER): Likewise.
25531 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25532 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25533 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25534 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25535 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25536 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25537 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25538 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25539 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25540 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25541 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25542 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25543 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25544 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25545 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25546 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25547 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25548 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25549 [X/Open-based standards] (SIGTRAP): Likewise.
25550 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25551 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25552 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25553 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25554 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25557 2012-05-08 Ian Wienand <ianw@vmware.com>
25560 * time/tzset.c (__tzset_parse_tz): Update default rules for
25561 daylight time changes in the Energy Policy Act of 2005.
25563 2012-05-09 Andreas Jaeger <aj@suse.de>
25566 * elf/ldconfig.c (parse_conf): Change string to make clear that
25567 ldconfig only issued a warning if ld.so.conf does not exist.
25569 2012-05-08 David S. Miller <davem@davemloft.net>
25571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25572 movxtod instead of popping the value on the stack.
25574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25576 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25578 * config.h.in: Add HAVE_ARM_PCS_VFP.
25580 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25583 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25584 checking but the checks are disabled for any reason.
25586 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25588 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25589 and ELF64_R_TYPE with ELFW(R_TYPE).
25591 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25593 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25594 (ulimit): Likewise.
25596 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25597 (settimeofday): Likewise.
25599 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25601 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25602 a struct th_u2 inside the union, and move tu_block/tu_code into
25603 a new th_u3 union of tu_block/tu_code inside of that. Move
25604 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25605 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25606 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25607 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25608 (th_stuff): Change to th_u1.tu_stuff.
25610 (th_msg): Change to th_u1.th_u2.tu_data.
25612 2012-05-07 David S. Miller <davem@davemloft.net>
25614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25617 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25618 (SETUP_PIC_REG): Use it.
25619 (SETUP_PIC_REG_LEAF): Use it.
25621 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25625 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25627 (EXPL_FINITE): Likewise.
25628 (FLDLOG): Likewise.
25629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25630 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25634 (EXPL_FINITE): Likewise.
25635 (FLDLOG): Likewise.
25636 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25637 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25639 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25640 test of -max_value argument for long double.
25641 * sysdeps/i386/fpu/libm-test-ulps: Update.
25642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25644 2012-05-06 David S. Miller <davem@davemloft.net>
25646 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25647 quad soft-float symbols whose references which are compiler
25649 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25651 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25655 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25657 (EXPL_FINITE): Likewise.
25658 (FLDLOG): Likewise.
25661 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25662 Adjust comments for base varying.
25663 (__expl_finite): Change alias to EXPL_FINITE.
25664 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25666 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25667 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25669 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25670 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25672 (EXPL_FINITE): Likewise.
25673 (FLDLOG): Likewise.
25676 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25677 Adjust comments for base varying.
25678 (__expl_finite): Change alias to EXPL_FINITE.
25679 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25684 * math/libm-test.inc (check_float_internal): Correct ulp
25685 calculation for subnormal expected results.
25687 2012-05-06 Andreas Jaeger <aj@suse.de>
25689 * Makeconfig (+math-flags): New, set to -frounding-math.
25690 (+cflags): Add +math-flags so that all of glibc gets compiled with
25693 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25695 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25697 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25703 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25704 (__ieee754_expl): Allow for and saturate large arguments.
25705 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25706 (u_threshold): Likewise.
25707 (__exp): Call __ieee754_exp before checking for overflow and
25709 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25710 (u_threshold): Likewise.
25711 (__expf): Call __ieee754_expf before checking for overflow and
25713 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25714 (u_threshold): Likewise.
25715 (__expl): Call __ieee754_expl before checking for overflow and
25717 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25718 (__ieee754_expl): Allow for and saturate large arguments.
25719 * math/libm-test.inc (exp_test): Add another test. Do not allow
25720 missing overflow exception on overflow.
25721 (expm1_test): Do not allow missing overflow exception on overflow.
25723 * sysdeps/i386/fpu/e_expl.c: Move to ...
25724 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25725 rather than using inline asm.
25726 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25727 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25728 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25730 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25733 (signal): Likewise.
25737 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25739 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25740 sysdeps/unix/common/syscalls.list.
25741 (fchmod): Likewise.
25742 (fchown): Likewise.
25743 (ftruncate): Likewise.
25744 (getrusage): Likewise.
25745 (gettimeofday): Likewise.
25746 (setpgid): Likewise.
25747 (setregid): Likewise.
25748 (setreuid): Likewise.
25749 (sigaction): Likewise.
25750 (truncate): Likewise.
25751 (vhangup): Likewise.
25752 * sysdeps/unix/common/syscalls.list: Remove file.
25753 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25754 * sysdeps/unix/sysv/linux/Implies: Likewise.
25756 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25758 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25760 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25764 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25767 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25770 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25773 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25776 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25779 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25782 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25786 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25790 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25793 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25797 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25801 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25803 * sysdeps/unix/common/bits/dirent.h: Remove file.
25804 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25806 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25807 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25808 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25809 * sysdeps/unix/bsd/isatty.c: Likewise.
25810 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25811 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25812 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25814 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25817 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25818 long double comparison inaccuracies.
25819 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25822 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25824 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25827 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25830 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25831 nonzero digits before rounding a hex value.
25832 * stdlib/tst-strtod.c (tests): Add another test.
25834 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25836 * sysdeps/s390/fpu/libm-test-ulps: Update.
25838 2012-05-03 Andreas Jaeger <aj@suse.de>
25840 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25841 does not get optimized out.
25842 (malloc_opt_barrier): New.
25844 2012-05-03 Andreas Jaeger <aj@suse.de>
25845 Roland McGrath <roland@hack.frob.com>
25847 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25848 intermediate file deletion.
25849 (generated): Add .symlist files.
25851 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25854 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25855 Redirect under this condition.
25856 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25857 [__USE_GNU] (__dprintf_chk): Not under this condition.
25858 [__USE_GNU] (__vdprintf_chk): Likewise.
25859 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25860 under this condition.
25861 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25862 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25863 [__USE_XOPEN2K8] (vdprintf): Likewise.
25864 [__USE_GNU] (__dprintf_chk): Not under this condition.
25865 [__USE_GNU] (__vdprintf_chk): Likewise.
25866 [__USE_GNU] (dprintf): Likewise.
25867 [__USE_GNU] (vdprintf): Likewise.
25869 2012-05-03 Roland McGrath <roland@hack.frob.com>
25871 * elf/Makefile (common-generated): Set this instead of generated for
25872 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25873 $(all-built-dso)-derived lists.
25875 2012-05-03 Andreas Jaeger <aj@suse.de>
25877 * sysdeps/i386/fpu/libm-test-ulps: Update.
25880 * FAQ.in: Likewise.
25881 * scripts/gen-FAQ.pl: Likewise.
25882 * manual/install.texi (Installation): Point to online location of
25884 * Makefile (files-for-dist): Remove FAQ.
25887 2012-05-02 Allan McRae <allan@archlinux.org>
25889 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25890 (LDFLAGS-reldepmod5.so): Likewise.
25891 (LDFLAGS-reldep6mod1.so): Likewise.
25892 (LDFLAGS-reldep6mod4.so): Likewise.
25893 (LDFLAGS-reldep8mod3.so): Likewise.
25894 (LDFLAGS-unload4mod1.so): Likewise.
25895 (LDFLAGS-unload4mod2.so): Likewise.
25896 (LDFLAGS-tst-initorder): Likewise.
25897 (LDFLAGS-tst-initordera2.so): Likewise.
25898 (LDFLAGS-tst-initordera3.so): Likewise.
25899 (LDFLAGS-tst-initordera4.so): Likewise.
25900 (LDFLAGS-tst-initorderb2.so): Likewise.
25901 (LDFLAGS-noload): Likewise.
25902 (LDFLAGS-next): Likewise.
25903 (LDFLAGS-order2mod1.so): Likewise.
25904 (LDFLAGS-order2mod2.so): Likewise.
25905 (LDFLAGS-tst-initorder2): Likewise.
25906 (LDFLAGS-tst-initorder2a.so): Likewise.
25907 (LDFLAGS-tst-initorder2b.so): Likewise.
25908 (LDFLAGS-tst-initorder2c.so): Likewise.
25909 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25911 2012-05-02 David S. Miller <davem@davemloft.net>
25913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25915 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25918 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25920 2012-05-02 Andreas Jaeger <aj@suse.de>
25922 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25923 since we manipulate rounding mode.
25924 (CPPFLAGS-test-idouble.c): Likewise.
25925 (CPPFLAGS-test-ifloat.c): Likewise.
25926 (CFLAGS-test-ldouble.c): Likewise.
25927 (CFLAGS-test-double.c): Likewise.
25928 (CFLAGS-test-float.c): Likewise.
25929 (CFLAGS-test-misc.c): Likewise.
25930 (CFLAGS-test-test-fenv.c): Likewise.
25932 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25937 comparisons to determine direction to adjust input.
25939 2012-05-01 Roland McGrath <roland@hack.frob.com>
25941 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25942 output to the target.
25944 * scripts/localplt.awk: New file.
25945 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25946 (check-localplt-CFLAGS): Variable removed.
25947 ($(all-built-dso:=.jmprel)): New static pattern rule.
25948 (generated): Add those targets.
25949 (localplt-built-dso): New variable.
25950 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25952 * elf/check-localplt.c: File removed.
25954 * scripts/check-execstack.awk: New file.
25955 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25956 (check-execstack-CFLAGS): Variable removed.
25957 ($(objpfx)check-execstack.h): Target removed.
25958 ($(objpfx)execstack-default): New target.
25959 (generated): Add that instead of check-execstack.h.
25960 ($(all-built-dso:=.phdr)): New static pattern rule.
25961 (generated): Add those targets.
25962 * elf/check-execstack.c: File removed.
25964 * scripts/check-textrel.awk: New file.
25965 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25966 (check-textrel-CFLAGS): Variable removed.
25967 (all-built-dso): Use := to define.o
25968 ($(all-built-dso:=.dyn)): New static pattern rule.
25969 (generated): Add those targets.
25970 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25971 * config.make.in (READELF): New substituted variable.
25972 * elf/check-textrel.c: File removed.
25974 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25976 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25978 * conform/data/ctype.h-data [C99-based standards] (isblank):
25980 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25981 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25983 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25984 Specify type. Require positive value.
25985 (EILSEQ): Likewise.
25986 (ERANGE): Likewise.
25987 [ISO || POSIX] (EILSEQ): Do not expect.
25988 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25989 Specify type. Require positive value.
25990 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25992 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25994 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25995 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25996 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25997 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25998 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25999 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26000 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26001 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26002 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26003 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26004 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26005 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26006 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26007 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26008 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26009 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26010 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26011 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26012 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26013 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26014 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26015 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26016 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26017 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26018 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26019 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26020 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26021 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26022 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26023 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26024 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26025 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26026 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26027 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26028 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26029 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26030 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26034 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26035 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26054 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26055 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26060 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26061 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26062 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26063 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26064 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26065 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26066 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26068 (FLT_ROUNDS): Expect as macro, not constant.
26069 (FLT_MANT_DIG): Use macro-int-constant.
26070 (DBL_MANT_DIG): Likewise.
26071 (LDBL_MANT_DIG): Likewise.
26072 (FLT_DIG): Likewise.
26073 (DBL_DIG): Likewise.
26074 (LDBL_DIG): Likewise.
26075 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26076 (DBL_MIN_EXP): Likewise.
26077 (LDBL_MIN_EXP): Likewise.
26078 (FLT_MAX_EXP): Use macro-int-constant.
26079 (DBL_MAX_EXP): Likewise.
26080 (LDBL_MAX_EXP): Likewise.
26081 (FLT_MAX_10_EXP): Likewise.
26082 (DBL_MAX_10_EXP): Likewise.
26083 (LDBL_MAX_10_EXP): Likewise.
26084 (FLT_MAX): Use macro-constant.
26085 (DBL_MAX): Likewise.
26086 (LDBL_MAX): Likewise.
26087 (FLT_EPSILON): Use macro-constant. Give upper bound.
26088 (DBL_EPSILON): Likewise.
26089 (LDBL_EPSILON): Likewise.
26090 (FLT_MIN): Likewise.
26091 (DBL_MIN): Likewise.
26092 (LDBL_MIN): Likewise.
26093 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26094 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26095 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26096 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26097 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26098 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26099 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26100 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26101 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26102 [ISO11] (FLT_TRUE_MIN): Likewise.
26103 [ISO11] (LDBL_TRUE_MIN): Likewise.
26104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26105 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26106 (SCHAR_MIN): Use macro-int-constant. Specify type.
26107 (SCHAR_MAX): Likewise.
26108 (UCHAR_MAX): Likewise.
26109 (CHAR_MIN): Likewise.
26110 (CHAR_MAX): Likewise.
26111 (MB_LEN_MAX): Use macro-int-constant.
26112 (SHRT_MIN): Use macro-int-constant. Specify type.
26113 (SHRT_MAX): Likewise.
26114 (USHRT_MAX): Likewise.
26115 (INT_MAX): Likewise.
26116 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26118 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26120 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26122 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26123 bound negative. Suffix upper bound with "L".
26124 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26126 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26128 [C99-based standards] (LLONG_MAX): Likewise.
26129 [C99-based standards] (ULLONG_MAX): Likewise.
26130 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26132 [ISO11] (max_align_t): Require type.
26133 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26135 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26136 from $CFLAGS, without defining away __attribute__ calls.
26137 (checknamespace): Use $CFLAGS_namespace.
26139 * conform/conformtest.pl (@keywords): Only include C99 keywords
26140 for standards based on C99 or C11.
26142 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26144 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26147 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26148 usability of symbols in #if.
26150 * conform/conformtest.pl: If macro or constant types start
26151 "promoted:", expect the symbol to be of the following type
26152 promoted by the integer promotions.
26154 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26155 in one place. Also handle "macro-constant".
26157 * conform/conformtest.pl: Only accept expected macro values with
26158 "==". Parse all "macro" lines in one place.
26159 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26161 * conform/conformtest.pl: Handle braced types on "constant" lines
26162 instead of handling "typed-constant".
26163 * conform/data/signal.h-data: Use "constant" instead of
26166 * conform/conformtest.pl: Handle "optional-" at start of lines in
26167 one place rather than duplicating several cases. Handle each
26168 format of "macro" line with initial "optional-".
26170 * conform/conformtest.pl: Only accept expected constant or
26171 optional-constant values with "==". Parse all "constant" lines in
26172 one place. Parse all "optional-constant" lines in one place.
26173 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26174 * conform/data/fmtmsg.h-data: Likewise.
26175 * conform/data/netinet/in.h-data: Likewise.
26176 * conform/data/tar.h-data: Likewise.
26177 * conform/data/limits.h-data: Use "==" form on "constant" and
26178 "optional-constant" lines.
26180 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26181 Use -std=c99 for XOPEN2K.
26182 (@knownproblems): Remove.
26183 (newtoken): Don't check %isknown.
26185 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26186 Do not expect macro.
26187 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26199 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26200 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26217 [XPG3] (acosh): Likewise.
26218 [XPG3] (asinh): Likewise.
26219 [XPG3] (atanh): Likewise.
26220 [XPG3] (cbrt): Likewise.
26221 [XPG3] (expm1): Likewise.
26222 [XPG3] (ilogb): Likewise.
26223 [XPG3] (log1p): Likewise.
26224 [XPG3] (logb): Likewise.
26225 [XPG3] (nextafter): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26228 [XPG3] (remainder): Likewise.
26229 [XPG3] (rint): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26237 [UNIX98 || XOPEN2K] (scalb): Expect.
26238 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26239 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26320 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26330 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26331 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26371 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26372 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26373 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26374 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26376 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26377 _XOPEN_SOURCE_EXTENDED for XPG4.
26379 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26381 * Makeconfig (localtime): Remove variable.
26382 (inst_localtime-file): Likewise.
26384 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26405 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26409 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26410 comparisons to determine direction to adjust input.
26411 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26412 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26413 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26417 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26422 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26424 * math/libm-test.inc (nexttoward_test): Add more tests.
26426 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26429 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26430 in version GLIBC_2.1, not GLIBC_2.0.
26431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26434 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26437 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26439 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26440 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26441 * math/libm-test.inc (acos_test): Add more tests.
26442 (asin_test): Likewise.
26443 * sysdeps/i386/fpu/libm-test-ulps: Update.
26444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26447 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26449 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26450 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26451 * math/libm-test.inc (acos_test_tonearest): New function.
26452 (acos_test_towardzero): Likewise.
26453 (acos_test_downward): Likewise.
26454 (acos_test_upward): Likewise.
26455 (asin_test_tonearest): Likewise.
26456 (asin_test_towardzero): Likewise.
26457 (asin_test_downward): Likewise.
26458 (asin_test_upward): Likewise.
26459 (main): Call the new functions.
26460 * sysdeps/i386/fpu/libm-test-ulps: Update.
26461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26465 * math/e_exp10.c: Include <float.h>.
26466 (__ieee754_exp10): Handle underflow here rather than multiplying
26467 large negative argument by M_LN10.
26468 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26470 * math/e_exp10l.c: Include <float.h>.
26471 (__ieee754_exp10l): Handle underflow here rather than multiplying
26472 large negative argument by M_LN10l.
26473 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26474 spurious overflow exception on underflow.
26476 2012-04-29 Marek Polacek <polacek@redhat.com>
26478 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26479 (__fortify_function): New macro.
26480 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26481 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26482 __extern_always_inline.
26483 * libio/bits/stdio2.h: Likewise.
26484 * libio/bits/stdio.h: Likewise.
26485 * string/string.h: Likewise.
26486 * string/bits/string3.h: Likewise.
26487 * include/stdio.h: Likewise.
26488 * stdlib/bits/stdlib.h: Likewise.
26489 * stdlib/stdlib.h: Likewise.
26490 * rt/bits/mqueue2.h: Likewise.
26491 * rt/mqueue.h: Likewise.
26492 * posix/bits/unistd.h: Likewise.
26493 * posix/unistd.h: Likewise.
26494 * io/bits/poll2.h: Likewise.
26495 * io/bits/fcntl2.h: Likewise.
26496 * io/fcntl.h: Likewise.
26497 * io/sys/poll.h: Likewise.
26498 * misc/bits/syslog.h: Likewise.
26499 * misc/bits/syslog-ldbl.h: Likewise.
26500 * misc/sys/syslog.h: Likewise.
26501 * socket/bits/socket2.h: Likewise.
26502 * socket/sys/socket.h: Likewise.
26503 * debug/tst-chk1.c: Likewise.
26504 * wcsmbs/bits/wchar2.h: Likewise.
26505 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26506 * wcsmbs/wchar.h: Likewise.
26508 2012-04-29 Andreas Jaeger <aj@suse.de>
26510 * Makerules (tests): Remove enable-check-abi protection.
26511 (check-abi-warn): Remove.
26512 (check-abi-%): Remove check-abi-warn usage.
26514 * configure.in: Remove check-abi configure option.
26515 * configure: Regenerated.
26516 * config.make.in (enable-check-abi): Remove.
26518 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26521 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26522 double functions to double *_finite functions.
26525 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26526 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26528 * stdio-common/Makefile (tests): Add tst-sprintf3.
26529 * stdio-common/tst-sprintf3.c: New file.
26531 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26532 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26534 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26536 * conform/conformtest.pl: Remove duplicate typed-constant
26539 2012-04-28 David S. Miller <davem@davemloft.net>
26541 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26542 (check-abi-%): Remove AWK script prerequisite and explicit
26544 (check-abi): Rewrite to just diff the symlist with the abilist.
26545 (config-tls, config-abi-config): Delete, no longer used.
26546 (update-abi-%): Remove AWK script and explicit abilist directory.
26547 (update-abi): Rewrite to simply compare and conditionally copy the
26548 symlist and the sysdep abilist file. Remove update-abi-config
26550 * abilist/ld.abilist: Remove.
26551 * abilist/libBrokenLocale.abilist: Remove.
26552 * abilist/libanl.abilist: Remove.
26553 * abilist/libcrypt.abilist: Remove.
26554 * abilist/libdl.abilist: Remove.
26555 * abilist/librt.abilist: Remove.
26556 * abilist/libthread_db.abilist: Remove.
26557 * abilist/libutil.abilist: Remove.
26558 * scripts/extract-abilist.awk: Remove.
26559 * scripts/merge-abilist.awk: Remove.
26560 * sysdeps/generic/libcidn.abilist: New file.
26561 * sysdeps/generic/libnss_compat.abilist: New file.
26562 * sysdeps/generic/libnss_db.abilist: New file.
26563 * sysdeps/generic/libnss_dns.abilist: New file.
26564 * sysdeps/generic/libnss_files.abilist: New file.
26565 * sysdeps/generic/libnss_hesiod.abilist: New file.
26566 * sysdeps/generic/libnss_nis.abilist: New file.
26567 * sysdeps/generic/libnss_nisplus.abilist: New file.
26568 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26569 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26570 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26573 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26574 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26575 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26576 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26577 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26578 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26579 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26580 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26582 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26583 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26584 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26585 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26587 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26588 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26589 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26590 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26591 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26592 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26594 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26595 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26596 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26598 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26702 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26703 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26706 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26707 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26708 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26709 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26710 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26711 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26712 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26713 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26714 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26766 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26768 * conform/conformtest.pl: Fix typo in handling typed-constant from
26771 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26773 * README: Cut down references to pre-2.6 Linux kernels and
26774 Linuxthreads. Update lists of configurations in libc and ports
26775 and sort alphabetically. Say "or newer" with Linux kernel version
26778 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26780 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26783 * math/libm-test.inc (logb_test_downward): New test to expose
26784 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26787 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26790 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26792 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26793 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26795 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26797 * sysdeps/unix/i386/brk.S: Remove file.
26798 * sysdeps/unix/i386/dl-brk.S: Likewise.
26799 * sysdeps/unix/i386/pipe.S: Likewise.
26800 * sysdeps/unix/i386/sigreturn.S: Likewise.
26801 * sysdeps/unix/i386/syscall.S: Likewise.
26802 * sysdeps/unix/i386/vfork.S: Likewise.
26803 * sysdeps/unix/i386/wait.S: Likewise.
26805 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26806 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26808 * configure.in (arm*-none*): Do not allow without
26809 --enable-hacker-mode.
26810 (netbsd*): Remove case setting base_os.
26811 (386bsd*): Likewise.
26812 (freebsd*): Likewise.
26815 (sunos*): Likewise.
26816 (ultrix*): Likewise.
26817 (newsos*): Likewise.
26818 (dynix*): Likewise.
26824 (minix*): Likewise.
26825 (irix4*): Likewise.
26826 (irix6*): Likewise.
26827 (solaris[2-9]*): Likewise.
26829 * configure: Regenerated.
26831 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26834 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26835 overflow or cancellation in calculating denominator.
26836 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26837 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26838 down expression to avoid unexpected rounding in newer GCCs.
26839 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26841 2012-04-26 David S. Miller <davem@davemloft.net>
26843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26844 long-double compat symbols.
26845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26859 2012-04-25 David S. Miller <davem@davemloft.net>
26861 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26862 HWCAP_* values only after the memory barriers have been defined.
26863 (atomic_full_barrier): Define.
26864 (atomic_read_barrier): Define.
26865 (atomic_write_barrier): Define.
26867 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26869 * shlib-versions: Add libgcc_s version information.
26870 * sysdeps/generic/libgcc_s.h: Remove.
26871 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26873 * sysdeps/gnu/unwind-resume.c: Likewise.
26874 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26876 2012-04-25 David S. Miller <davem@davemloft.net>
26878 * sysdeps/unix/sparc/brk.S: Delete.
26879 * sysdeps/unix/sparc/dl-brk.S: Delete.
26880 * sysdeps/unix/sparc/pipe.S: Delete.
26881 * sysdeps/unix/sparc/sysdep.S: Delete.
26882 * sysdeps/unix/sparc/sysdep.h: Delete.
26883 * sysdeps/unix/sparc/vfork.S: Delete.
26884 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26885 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26887 ret_ERRVAL, r0, r1, MOVE): Define.
26888 (JUMPTARGET): Remove.
26889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26890 sysdeps/unix/sparc/sysdep.h
26891 (ENTRY, END): Remove.
26892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26894 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26896 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26897 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26900 * timezone/README: Update upstream location and email address for
26902 * timezone/zdump.c: Update from tzcode 2012b.
26903 * timezone/zic.c: Likewise.
26905 * configure.in (libc_cv_as_needed): Remove test.
26906 * configure: Regenerated.
26907 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26908 conditional definition.
26909 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26910 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26911 * config.make.in (have-as-needed): Remove variable.
26913 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26914 Paul Pluzhnikov <ppluzhnikov@google.com>
26916 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26919 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26921 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26922 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26923 * sysdeps/sh/strlen.S: Likewise.
26925 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26927 * sysdeps/unix/fork.S: Remove file.
26928 * sysdeps/unix/i386/fork.S: Likewise.
26929 * sysdeps/unix/sparc/fork.S: Likewise.
26931 * sysdeps/unix/system.c: Remove file.
26932 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26934 * sysdeps/unix/getegid.S: Remove file.
26935 * sysdeps/unix/geteuid.S: Likewise.
26937 2012-04-24 Roland McGrath <roland@hack.frob.com>
26939 * scripts/check-localplt.awk: New file.
26940 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26942 * scripts/data/localplt-generic.data: Add a comment.
26944 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26945 NODE when __dir_mkfile failed.
26946 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26947 Reported by Ludovic Courtès <ludo@gnu.org>.
26949 2012-04-24 Andreas Jaeger <aj@suse.de>
26951 * Makerules (common-clean): Also remove gen-as-const-headers
26954 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26956 * Makerules (native-compile): Do not change working directory for
26957 build. Use $(OUTPUT_OPTION) in command.
26958 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26960 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26963 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26964 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26965 * math/libm-test.inc (floor_test): Add more tests.
26966 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26968 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26970 * sysdeps/unix/getdents.c: Remove file.
26971 * sysdeps/unix/sysv/getdents.c: Likewise.
26972 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26974 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26975 sysdeps/unix/mman/syscalls.list.
26977 (mprotect): Likewise.
26979 (munmap): Likewise.
26980 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26981 * sysdeps/unix/mman/syscalls.list: Remove.
26982 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26984 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26985 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26986 * configure: Regenerated.
26987 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26988 $(libgcc_s_suffix).
26989 * config.make.in (libgcc_s_suffix): Remove variable.
26991 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26993 * sysdeps/unix/sysv/gethostname.c: Move to ...
26994 * sysdeps/posix/gethostname.c: ... here.
26996 * sysdeps/unix/execve.S: Remove file.
26998 * sysdeps/unix/_exit.S: Remove file.
27000 2012-04-23 Andreas Jaeger <aj@suse.de>
27003 * manual/Makefile: Remove make dist support, there's no
27004 need for a stand-alone documentation tar ball.
27005 (TEXI2DVI): Define always, it's not in Makeconfig.
27008 (edition): Removed.
27009 (glibc-doc-$(edition).tar): Removed
27013 (ETAGS): Remove, it's in Makeconfig.
27014 (move-if-change): Remove, it's in Makeconfig.
27016 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27019 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27020 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27021 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27022 (strtod_l, strtof_l, strtold_l): Remove __wur.
27023 It is not necessarily an error to ignore strtol's return value.
27024 One can reliably look at the stored endptr to decide whether
27025 the number had valid syntax.
27027 2012-04-21 Andreas Jaeger <aj@suse.de>
27030 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27032 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27034 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27035 * sysdeps/unix/sysv/Versions: Remove file.
27037 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27042 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27046 version from __vm86.
27048 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27050 * sysdeps/unix/common/lxstat.c: Remove file.
27051 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27053 * sysdeps/unix/sysv/Makefile: Remove file.
27055 * sysdeps/unix/sysv/direct.h: Remove file.
27057 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27058 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27059 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27060 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27061 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27062 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27063 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27065 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27067 * sysdeps/unix/xmknod.c: Remove file.
27068 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27070 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27072 * sysdeps/unix/sysv/i386/time.S: Remove file.
27074 * sysdeps/unix/fxstat.c: Remove file.
27075 * sysdeps/unix/xstat.c: Likewise.
27076 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27078 * sysdeps/unix/sysv/sigaction.c: Remove file.
27080 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27081 (sysdep_headers): Remove variable.
27082 [termio.h not in sysdep_headers] (generated): Likewise.
27083 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27084 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27085 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27086 * sysdeps/unix/sysv/tcflow.c: Likewise.
27087 * sysdeps/unix/sysv/tcflush.c: Likewise.
27088 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27089 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27090 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27091 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27092 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27094 * sysdeps/unix/siglist.c: Remove file.
27096 * sysdeps/unix/getppid.S: Remove file.
27098 * sysdeps/unix/mkdir.c: Remove file.
27099 * sysdeps/unix/rmdir.c: Likewise.
27101 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27103 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27105 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27106 errlist-compat value.
27108 2012-04-18 David S. Miller <davem@davemloft.net>
27110 * sysdeps/generic/memcopy.h (reg_char): Delete.
27111 * debug/strcat_chk.c: Use char, not reg_char.
27112 * debug/strcpy_chk.c: Likewise.
27113 * debug/strncat_chk.c: Likewise.
27114 * debug/strncpy_chk.c: Likewise.
27115 * string/memchr.c: Likewise.
27116 * string/memrchr.c: Likewise.
27117 * string/rawmemchr.c: Likewise.
27118 * string/strcat.c: Likewise.
27119 * string/strchr.c: Likewise.
27120 * string/strchrnul.c: Likewise.
27121 * string/strcmp.c: Likewise.
27122 * string/strcpy.c: Likewise.
27123 * string/strncat.c: Likewise.
27124 * string/strncmp.c: Likewise.
27125 * string/strncpy.c: Likewise.
27127 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27129 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27130 __builtin_memcopy is called when src and dest ranges are known to not
27133 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27135 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27136 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27137 fwd_align_merge macro call.
27138 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27139 bwd_align_merge macro call.
27140 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27142 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27145 bwd_align_merge macros.
27146 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27147 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27150 2012-04-18 David S. Miller <davem@davemloft.net>
27152 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27154 2012-04-18 Andreas Jaeger <aj@suse.de>
27157 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27158 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27159 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27162 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27165 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27166 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27167 Adjust for changed ldbl-128 files.
27169 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27170 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27171 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27173 2012-04-17 David S. Miller <davem@davemloft.net>
27175 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27177 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27179 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27180 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27181 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27182 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27183 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27184 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27186 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27189 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27190 * math/libm-test.inc: Add ilogb errno and exception tests.
27191 * math/w_ilogb.c: New file: ilogb wrapper.
27192 * math/w_ilogbf.c: New file: ilogbf wrapper.
27193 * math/w_ilogbl.c: New file: ilogbl wrapper.
27194 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27195 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27196 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27197 exception being thrown with 0.0 as argument.
27198 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27199 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27200 exception being thrown with 0.0 as argument.
27201 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27202 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27203 exception being thrown with 0.0 as argument.
27204 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27205 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27206 exception being thrown with 0.0 as argument.
27207 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27208 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27209 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27210 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27212 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27213 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27214 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27215 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27217 2012-04-17 Petr Baudis <pasky@ucw.cz>
27219 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27222 2012-04-16 Marek Polacek <polacek@redhat.com>
27224 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27226 2012-04-16 Marek Polacek <polacek@redhat.com>
27228 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27229 operands of fdivp instruction.
27231 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27233 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27234 * elf/tst-auditmod3b.c: Likewise.
27235 * elf/tst-auditmod4b.c: Likewise.
27236 * elf/tst-auditmod5b.c: Likewise.
27237 * elf/tst-auditmod6b.c: Likewise.
27238 * elf/tst-auditmod6c.c: Likewise.
27239 * elf/tst-auditmod7b.c: Likewise.
27240 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27241 * sysdeps/x86_64/preconfigure.in: Likewise.
27242 * sysdeps/x86_64/preconfigure: Regenerated.
27244 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27246 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27249 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27252 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27254 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27257 * locale/iso-639.def: Fix gl language name. Spotted by
27260 2012-04-12 Roland McGrath <roland@hack.frob.com>
27263 * libio/libio.h (__io_write_fn): Update comment.
27265 2012-04-12 Petr Baudis <pasky@ucw.cz>
27268 * stdio.texi (Hook Functions): The user provided writer function
27269 is not allowed to return -1.
27271 2012-04-11 David S. Miller <davem@davemloft.net>
27273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27275 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27277 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27278 Add a leading slash to rtkaio.
27280 2012-04-11 Jim Meyering <meyering@redhat.com>
27283 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27284 It is not necessarily an error to ignore fwrite's return
27285 value. One can reliably use ferror to test for errors after
27288 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27290 * bits/types.h (__snseconds_t): New type.
27291 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27293 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27295 (__SNSECONDS_T_TYPE): Likewise.
27296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27297 (__SNSECONDS_T_TYPE): Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27299 (__SNSECONDS_T_TYPE): Likewise.
27301 2012-04-10 Andreas Jaeger <aj@suse.de>
27304 * manual/time.texi (Processor Time): Return type of times is
27305 elapsed real time since an arbitrary point in the past.
27306 (CPU Time): Move CLK_TCK from here...
27307 (Processor Time): ...to here. Correct description.
27308 * manual/conf.texi (Constants for Sysconf): Correct description of
27311 2012-04-10 David S. Miller <davem@davemloft.net>
27314 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27315 where the is a gap between DT_REL(A) and DT_JMPREL.
27317 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27319 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27320 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27321 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27323 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27325 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27326 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27327 (dl_main): Handle --inhibit-cache.
27328 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27330 * elf/dl-load.c (_dl_map_object): Use it.
27331 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27333 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27336 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27337 (__ieee754_powl): Saturate large exponents rather than testing for
27338 overflow of y*log2(x).
27339 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27340 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27344 * math/s_ctan.c: Include <float.h>.
27345 (__ctan): Avoid internal overflow or cancellation in calculating
27347 * math/s_ctanf.c: Likewise.
27348 * math/s_ctanl.c: Likewise.
27349 * math/s_ctanh.c: Likewise.
27350 * math/s_ctanhf.c: Likewise.
27351 * math/s_ctanhl.c: Likewise.
27352 * math/libm-test.inc (ctan_test): Add more tests.
27353 (ctanh_test): Likewise.
27354 * sysdeps/i386/fpu/libm-test-ulps: Update.
27355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27357 2012-04-09 Andreas Jaeger <aj@suse.de>
27360 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27361 is an optional BSD extension.
27364 * manual/stdio.texi (Opening Streams): Document additional fopen
27367 2012-04-09 Roland McGrath <roland@hack.frob.com>
27369 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27370 %eax without telling the compiler.
27372 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27375 * manual/install.texi: Use sourceware.org.
27377 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27380 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27381 (__ieee754_pow): Generate overflow and underflow using huge*huge
27382 and tiny*tiny rather than just returning constant infinity or zero
27383 for large exponents.
27384 * math/libm-test.inc (pow_test): Require overflow exceptions for
27385 applicable cases of large exponents.
27388 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27389 (__ieee754_pow): Use iterative multiplication algorithm only for
27390 integer exponents with absolute value below 1024. Check for odd
27391 integer exponents when using algorithm for real exponents.
27392 * math/libm-test.inc (pow_test): Add more tests.
27393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27395 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27398 * math/libm-test.inc (exp_test): Do not allow overflow exception
27401 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27404 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27405 instead of __kernel_standard_f.
27407 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27409 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27410 * sysdeps/x86_64/memset_chk.S: Likewise.
27412 2012-04-08 Andreas Jaeger <aj@suse.de>
27415 * manual/startup.texi (Environment Access): Describe return value
27416 for putenv and setenv.
27419 * manual/filesys.texi (Directory Entries): Add description for
27423 * manual/filesys.texi (Directory Entries): Clarify that it's file
27424 system not operating system in the description of DT_UNKNOWN.
27427 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27429 2012-04-08 Stephen Compall <s11@member.fsf.org>
27432 * manual/llio.texi (Opening and Closing Files): Add cross
27433 reference to explain mode argument.
27435 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27437 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27438 * sysdeps/x86_64/memset_chk.S: Likewise.
27440 2012-04-07 David S. Miller <davem@davemloft.net>
27442 * elf/elf.h (R_SPARC_WDISP10): Define.
27443 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27446 R_SPARC_SIZE64 and R_SPARC_H34.
27448 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27451 conditions and remove no longer applicable assertion.
27453 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27455 * bits/byteswap.h: Include <features.h>.
27456 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27457 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27459 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27461 * bits/byteswap.h (__bswap_16): Removed.
27462 Include <bits/byteswap-16.h> to get __bswap_16.
27463 * sysdeps/i386/bits/byteswap.h: Likewise.
27464 * sysdeps/s390/bits/byteswap.h: Likewise.
27465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27466 * bits/byteswap-16.h: New file.
27467 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27468 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27469 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27470 * string/Makefile (headers): Add bits/byteswap-16.h.
27472 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27475 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27477 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27478 * nss/tst-nss-static.c: New.
27480 2012-04-06 Robert Millan <rmh@gnu.org>
27483 * manual/llio.texi (File Position Primitive): lseek
27484 refers to WHENCE when it really means OFFSET.
27486 2012-04-06 Andreas Jaeger <aj@suse.de>
27488 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27489 strncmp declarations.
27491 * abilist/libc.abilist: Add __poll and __ppoll.
27493 2012-04-05 David S. Miller <davem@davemloft.net>
27495 * scripts/check-local-headers.sh: Accept a host triplet in the
27496 path matched by the exclude regexp.
27498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27500 * sysdeps/powerpc/powerpc32/dl-machine.h
27501 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27502 * sysdeps/s390/s390-32/dl-machine.h
27503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27504 * sysdeps/sparc/sparc32/dl-machine.h
27505 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27506 * sysdeps/sparc/sparc64/dl-machine.h
27507 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27509 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27511 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27512 undefined symbol errors.
27514 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27517 2012-04-05 Michael Matz <matz@suse.de>
27520 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27522 2012-04-05 Andreas Jaeger <aj@suse.de>
27525 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27528 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27530 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27531 which ROUND is no valid rounding mode.
27533 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27535 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27537 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27539 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27541 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27542 an exception using FPU order intentionally.
27544 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27546 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27547 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27548 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27549 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27551 2012-04-05 Simon Josefsson <simon@josefsson.org>
27554 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27555 EINVAL when BUFLEN is too smal.
27557 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27560 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27561 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27563 2012-04-03 Andreas Jaeger <aj@suse.de>
27566 * manual/setjmp.texi (System V contexts): Fix sentence.
27569 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27570 New macro for this case.
27571 [!__GNUC__] (__bswap_64): New inline function for this case.
27572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27573 * bits/byteswap.h: Likewise.
27574 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27575 ull, guard with __GLIBC_HAVE_LONG_LONG.
27577 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27578 __GLIBC_HAVE_LONG_LONG.
27580 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27581 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27583 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27586 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27587 inptr and inend, rather than using last_ch.
27589 2012-04-02 David S. Miller <davem@davemloft.net>
27591 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27592 * stdio-common/printf-parse.h (read_int): Change return type to
27593 'int', return -1 on INT_MAX overflow.
27594 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27595 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27596 overflows INT_MAX. Check for overflow of in-format-string precision
27597 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27598 SIZE_MAX not INT_MAX for integer overflow test.
27599 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27600 skip the construct in the format string but do not record anything.
27601 * stdio-common/bug22.c: Adjust to test both width/prevision
27602 INT_MAX overflow as well as total length INT_MAX overflow. Check
27603 explicitly for proper errno values.
27605 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27607 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27609 * string/test-strcmp.c [! WIDE]: Likewise.
27610 * time/tst-mktime2.c: Likewise for INT_MAX.
27611 * string/test-string.h: #include <sys/param.h> for MIN.
27613 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27614 * sysdeps/i386/init-first.c (init): Likewise.
27615 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27616 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27617 * sysdeps/sh/init-first.c (init): Likewise.
27619 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27621 * po/ru.po: Update from translation team.
27622 * po/vi.po: Likewise.
27624 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27626 * resolv/nss_dns/dns-host.c: Merge copyright years.
27628 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27630 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27631 Optimize memcpy with prefetch if
27632 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27633 src, dst pointers have unequal 16 byte alignments.
27635 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27638 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27639 from a CNAME entry and return the minimum ttl for the query.
27640 (gaih_getanswer_slice): Likewise.
27642 2012-03-30 Jeff Law <law@redhat.com>
27644 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27646 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27647 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27649 * resolv/nss_dns/dns-host.c: Update copyright year.
27651 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27653 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27654 requests to save a system call. Fix check that all bytes are sent.
27656 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27657 comments for sendmmsg.
27659 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27662 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27663 with only 1 character between 0x0041 and 0x01b0.
27664 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27665 * wcsmbs/tst-mbsnrtowcs.c: New file.
27667 2012-03-29 David S. Miller <davem@davemloft.net>
27669 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27670 small copies by hand.
27672 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27675 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27676 _nss_compat_initgroups_dyn): Fall back to malloc/free
27677 for large group memberships.
27679 2012-03-28 David S. Miller <davem@davemloft.net>
27681 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27682 that branches into memcpy.
27683 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27686 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27689 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27690 implementation too.
27691 * sysdeps/sparc/mempcpy.S: New file.
27693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27694 the IFUNC routine in the libc case.
27695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27697 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27698 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27699 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27700 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27701 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27702 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27703 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27704 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27706 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27707 loop to 256 bytes instead of 64 bytes and fix test signedness.
27709 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27710 * sysdeps/sparc/sparc32/Makefile: rather than here...
27711 * sysdeps/sparc/sparc64/Makefile: and here.
27713 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27715 * malloc/mallocbug.c: Avoid warnings about unused variables.
27717 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27720 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27721 in the right place. Discard and retry query if response is
27722 larger than input buffer size.
27724 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27729 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27730 x for large integer exponent.
27731 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27732 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27733 sign of result as needed afterwards.
27734 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27735 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27736 result for underflowing pow the same as for overflow.
27737 (__kernel_standard_l): Handle powl overflow and underflow here
27738 rather than calling __kernel_standard.
27739 * math/libm-test.inc (pow_test): Add more tests.
27754 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27755 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27756 (__kernel_standard_l): New function.
27757 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27759 * math/w_acosl.c (__acosl): Likewise.
27760 * math/w_asinl.c (__asinl): Likewise.
27761 * math/w_atan2l.c (__atan2l): Likewise.
27762 * math/w_atanhl.c (__atanhl): Likewise.
27763 * math/w_coshl.c (__coshl): Likewise.
27764 * math/w_exp10l.c (__exp10l): Likewise.
27765 * math/w_exp2l.c (__exp2l): Likewise.
27766 * math/w_fmodl.c (__fmodl): Likewise.
27767 * math/w_hypotl.c (__hypotl): Likewise.
27768 * math/w_j0l.c (__j0l, __y0l): Likewise.
27769 * math/w_j1l.c (__j1l, __y1l): Likewise.
27770 * math/w_jnl.c (__jnl, __ynl): Likewise.
27771 * math/w_lgammal.c (__lgammal): Likewise.
27772 * math/w_log10l.c (__log10l): Likewise.
27773 * math/w_log2l.c (__log2l): Likewise.
27774 * math/w_logl.c (__logl): Likewise.
27775 * math/w_powl.c (__powl): Likewise.
27776 * math/w_remainderl.c (__remainderl): Likewise.
27777 * math/w_scalbl.c (sysv_scalbl): Likewise.
27778 * math/w_sinhl.c (__sinhl): Likewise.
27779 * math/w_sqrtl.c (__sqrtl): Likewise.
27780 * math/w_tgammal.c (__tgammal): Likewise.
27781 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27782 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27783 * math/libm-test.inc (acos_test): Add more tests.
27784 (acosh_test): Likewise.
27785 (asin_test): Likewise.
27786 (atanh_test): Likewise.
27787 (exp_test): Likewise.
27788 (exp10_test): Likewise.
27789 (exp2_test): Likewise.
27790 (expm1_test): Likewise.
27791 (lgamma_test): Likewise.
27792 (log_test): Likewise.
27793 (log10_test): Likewise.
27794 (log1p_test): Likewise.
27795 (log2_test): Likewise.
27796 (pow_test): Do not allow some spurious overflow exceptions.
27797 (sqrt_test): Add more tests.
27798 (tgamma_test): Likewise.
27799 (y0_test): Likewise.
27800 (y1_test): Likewise.
27801 (yn_test): Likewise.
27803 2012-03-27 Anton Blanchard <anton@samba.org>
27805 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27807 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27808 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27809 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27811 2012-03-27 David S. Miller <davem@davemloft.net>
27813 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27815 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27816 have-as-vis3 check.
27818 2012-03-27 Andreas Jaeger <aj@suse.de>
27820 * sysdeps/x86_64/elf/configure.in: Moved to ...
27821 * sysdeps/x86_64/configure.in: ... here.
27822 * sysdeps/x86_64/elf/start.S: Moved to ...
27823 * sysdeps/x86_64/start.S: ... here.
27824 * sysdeps/x86_64/elf/configure: Delete.
27826 * sysdeps/x86_64/configure.in: Merge contents from
27827 sysdeps/i386/configure.in (without i686 check).
27829 * sysdeps/i386/elf/Versions: Merge into ...
27830 * sysdeps/i386/Versions: ... this.
27831 * sysdeps/i386/elf/Versions: Delete file.
27832 * sysdeps/i386/elf/start.S: Moved to ...
27833 * sysdeps/i386/start.S: ...here.
27834 * sysdeps/i386/elf/configure.in: Merge into...
27835 * sysdeps/i386/configure.in: ...here.
27836 * sysdeps/i386/elf/configure.in: Delete file.
27837 * sysdeps/i386/elf/configure: Delete file.
27839 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27840 * debug/backtracesyms.c: ... here.
27841 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27842 * debug/backtracesymsfd.c: ... here.
27843 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27844 * sysdeps/generic/ifunc-sel.h: ... here.
27846 * sysdeps/unix/i386/start.c: Delete file.
27847 * sysdeps/unix/sparc/start.c: Delete file.
27848 * sysdeps/unix/start.c: Delete file.
27850 * sysdeps/sh/elf/configure.in: Moved to ...
27851 * sysdeps/sh/configure.in: ... here.
27852 * sysdeps/sh/elf/start.S: Moved to ...
27853 * sysdeps/sh/start.S: ... here.
27854 * sysdeps/sh/elf/configure: Delete file.
27856 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27857 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27858 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27859 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27860 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27861 * sysdeps/powerpc/powerpc64/start.S: here.
27862 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27863 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27864 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27865 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27866 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27868 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27869 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27870 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27871 * sysdeps/powerpc/powerpc32/start.S: ... here.
27872 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27873 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27874 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27876 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27877 * sysdeps/powerpc/ifunc-sel.h: ... here.
27878 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27879 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27881 * sysdeps/sparc/elf/configure.in: Moved to ...
27882 * sysdeps/sparc/configure.in: ... here.
27883 * sysdeps/sparc/elf/configure: Delete file.
27884 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27885 * sysdeps/sparc/sparc32/start.S: ... here.
27886 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27887 * sysdeps/sparc/sparc64/start.S: ... here.
27888 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27889 * sysdeps/sparc/sparc32/Makefile: ... this.
27890 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27891 * sysdeps/sparc/sparc64/Makefile: ... this.
27893 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27894 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27895 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27896 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27897 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27898 * sysdeps/s390/s390-32/setjmp.S: ... here.
27899 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27900 * sysdeps/s390/s390-32/configure.in: ... here.
27901 * sysdeps/s390/s390-32/elf/configure: Delete file.
27902 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27903 * sysdeps/s390/s390-32/start.S: ... here.
27905 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27906 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27907 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27908 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27909 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27910 * sysdeps/s390/s390-64/setjmp.S: ... here.
27911 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27912 * sysdeps/s390/s390-64/configure.in: ... here
27913 * sysdeps/s390/s390-64/elf/configure: Delete file.
27914 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27915 * sysdeps/s390/s390-64/start.S: ... here.
27916 * sysdeps/s390/s390-64/elf/configure: Delete.
27918 * configure.in: Remove support for elf directories in sysdeps.
27920 * configure: Regenerated.
27921 * sysdeps/i386/configure: Regenerated.
27922 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27923 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27924 * sysdeps/s390/s390-32/configure: Regenerated.
27925 * sysdeps/s390/s390-64/configure: Regenerated.
27926 * sysdeps/sh/configure: Regenerated.
27927 * sysdeps/sparc/configure: Regenerated.
27928 * sysdeps/x86_64/configure: Regenerated.
27930 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27934 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27935 denormal result into account.
27937 2012-03-25 Roland McGrath <roland@hack.frob.com>
27939 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27940 Reported by Allan McRae <allan@archlinux.org>.
27942 2012-03-23 Jeff Law <law@redhat.com>
27944 * nss/getnssent.c (__nss_getent): Fix typo.
27946 2012-03-23 David S. Miller <davem@davemloft.net>
27948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27950 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27952 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27953 to pad to uint64_t for each field.
27954 (dl_tls_index): Replace unsigned long with uint64_t.
27956 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27957 Paul Pluzhnikov <ppluzhnikov@google.com>
27960 * grp/Makefile (otherlibs): Don't set it.
27961 * inet/Makefile (otherlibs): Likewise.
27962 * login/Makefile (otherlibs): Likewise.
27963 * nscd/Makefile (otherlibs): Likewise.
27964 * posix/Makefile (otherlibs): Likewise.
27965 * pwd/Makefile (otherlibs): Likewise.
27966 * rt/Makefile (otherlibs): Likewise.
27967 * sunrpc/Makefile (otherlibs): Likewise.
27968 * nss/Makefile (otherlibs): Likewise.
27969 Add libnss_files to routines and static-only-routines.
27970 ($(objpfx)getent): Remove rule.
27971 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27972 static-only-routines.
27974 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27977 * math/s_cexp.c: Include <float.h>.
27978 (__cexp): Handle exp result overflowing not necessarily
27979 overflowing both real and imaginary parts of result.
27980 * math/s_cexpf.c: Likewise.
27981 * math/s_cexpl.c: Likewise.
27982 * math/libm-test.inc (cexp_test): Add more tests.
27983 * sysdeps/i386/fpu/libm-test-ulps: Update.
27984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27986 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27988 * include/link.h (ELFW): New macro.
27989 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27990 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27992 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27994 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27997 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27999 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28001 (struct La_x32_retval): Likewise.
28003 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28005 * sysdeps/x86_64/preconfigure.in: New file.
28006 * sysdeps/x86_64/preconfigure: New generated file.
28008 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28011 * math/e_exp2l.c: Include <float.h>.
28012 (__ieee754_exp2l): Handle overflow and underflow cases
28013 separately. Only pass fractional part of argument to
28015 * math/libm-test.inc (exp2_test): Add more tests.
28017 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28018 negating x to take absolute value.
28019 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28021 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28022 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28024 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28025 computing low part if x was negated.
28026 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28028 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28030 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28031 la_x32_gnu_pltexit.
28032 (pltexit): Cast int_retval to ptrdiff_t.
28033 * elf/tst-auditmod3b.c: Likewise.
28034 * elf/tst-auditmod4b.c: Likewise.
28035 * elf/tst-auditmod5b.c: Likewise.
28036 * elf/tst-auditmod6b.c: Likewise.
28037 * elf/tst-auditmod6c.c: Likewise.
28038 * elf/tst-auditmod7b.c: Likewise.
28040 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28041 and x32_gnu_pltexit.
28043 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28044 __ELF_NATIVE_CLASS.
28045 (La_x32_regs): New macro.
28046 (La_x32_retval): Likewise.
28047 (la_x32_gnu_pltenter): New function prototype.
28048 (la_x32_gnu_pltexit): Likewise.
28050 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28057 * configure.in (libc_cv_cc_nofma): Check for option to disable
28058 generation of FMA instructions.
28059 * configure: Regenerate.
28060 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28061 * sysdeps/ieee754/dbl-64/Makefile: New file.
28062 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28063 Remove brandred-fma4.
28064 (CFLAGS-brandred-fma4.c): Remove.
28065 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28066 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28068 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28071 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28073 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28074 LLONG_MAX != LONG_MAX.
28075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28076 (_fitoa_word): Likewise.
28077 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28078 LLONG_MAX != LONG_MAX.
28079 * stdio-common/_itowa.h: Include <_itoa.h>.
28080 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28081 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28082 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28083 only if not defined.
28084 (_ITOA_WORD_TYPE): Likewise.
28085 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28086 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28088 2012-03-21 David S. Miller <davem@davemloft.net>
28090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28092 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28094 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28095 of x86_64 when setting libc_cv_slibdir, libdir and
28097 * sysdeps/unix/sysv/linux/configure: Regenerated.
28099 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28101 * manual/lang.texi (Old Varargs): Remove section.
28102 (How Variadic): Update menu.
28103 (va_start): Do not mention varargs.h.
28105 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28106 Joseph Myers <joseph@codesourcery.com>
28108 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28110 * configure: Regenerated.
28112 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28114 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28115 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28118 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28121 * Makefile (files-for-dist): Remove NOTES.
28122 (NOTES): Remove rule.
28123 * README: Don't refer to NOTES.
28124 * manual/creature.texi: Don't include macros.texi.
28125 * manual/intro.texi (creature.texi): Remove comment referring to
28128 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28129 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28130 * configure: Regenerated.
28131 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28132 LIBC_TRY_CC_OPTION.
28133 (libc_cv_as_i686): Likewise.
28134 (libc_cv_cc_avx): Likewise.
28135 (libc_cv_cc_sse2avx): Likewise.
28136 (libc_cv_cc_fma4): Likewise.
28137 (libc_cv_cc_novzeroupper): Likewise.
28138 * sysdeps/i386/configure: Regenerated.
28141 * sysdeps/i386/fpu/s_cexp.S: Remove.
28142 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28143 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28144 * math/libm-test.inc (cexp_test): Add more tests.
28145 * sysdeps/i386/fpu/libm-test-ulps: Update.
28146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28148 2012-03-21 Allan McRae <allan@archlinux.org>
28150 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28152 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28155 * math/w_exp2.c: Do not include <float.h>.
28156 (o_threshold, u_threshold): Remove.
28157 (__exp2): Calculate result before checking finiteness and calling
28159 * math/w_exp2f.c: Likewise.
28160 * math/w_exp2l.c: Likewise.
28161 * math/libm-test.inc (exp2_test): Require overflow exception for
28165 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28166 range of signed 64-bit integers before using fistpll. Remove
28167 checks for whether integers fit in mantissa bits.
28168 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28169 the range of signed 32-bit integers before using fistpl. Remove
28170 checks for whether integers fit in mantissa bits.
28171 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28172 (__ieee754_powl): Test for y outside the range of signed 64-bit
28173 integers before using fistpll. Reduce 64-bit values to 63-bit
28175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28176 divide-by-zero is raised for zero to large negative powers.
28177 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28178 (__ieee754_powl): Test for y outside the range of signed 64-bit
28179 integers before using fistpll. Reduce 64-bit values to 63-bit
28181 * math/libm-test.inc (pow_test): Add more tests.
28183 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28185 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28186 <stdio-common/_itoa.h>.
28187 * debug/segfault.c: Likewise.
28188 * elf/dl-cache.c: Likewise.
28189 * elf/dl-minimal.c: Likewise.
28190 * elf/dl-misc.c: Likewise.
28191 * elf/dl-sysdep.c: Likewise.
28192 * elf/dl-version.c: Likewise.
28193 * elf/rtld.c: Likewise.
28194 * hurd/hurdsock.c: Likewise.
28195 * hurd/lookup-retry.c: Likewise.
28196 * malloc/malloc.c: Likewise.
28197 * malloc/mtrace.c: Likewise.
28198 * nscd/nscd_getgr_r.c: Likewise.
28199 * nscd/nscd_getpw_r.c: Likewise.
28200 * nscd/nscd_getserv_r.c: Likewise.
28201 * posix/getopt_init.c: Likewise.
28202 * posix/wordexp.c: Likewise.
28203 * stdio-common/_itoa.c: Likewise.
28204 * stdio-common/printf_fphex.c: Likewise.
28205 * stdio-common/vfprintf.c: Likewise.
28206 * string/_strerror.c: Likewise.
28207 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28208 * sysdeps/i386/i686/hp-timing.h: Likewise.
28209 * sysdeps/mach/_strerror.c: Likewise.
28210 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28211 * sysdeps/mach/hurd/sethostid.c: Likewise.
28212 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28213 * sysdeps/mach/xpg-strerror.c: Likewise.
28214 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28216 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28217 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28218 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28219 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28220 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28221 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28222 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28223 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28224 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28225 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28226 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28227 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28228 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28229 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28230 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28231 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28232 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28233 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28236 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28238 * stdio-common/_itoa.h: Moved to ...
28239 * sysdeps/generic/_itoa.h: Here.
28241 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28243 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28244 instead of "_itoa.h" and "_itowa.h".
28245 * stdio-common/vfprintf.: Likewise.
28247 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28249 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28251 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28252 (__signbit): Likwise.
28253 (llrintf): Likwise.
28256 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28258 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28261 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28263 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28264 OVERFLOW_EXCEPTION_OK.
28265 * math/libm-test.inc ("Philosophy"): Update comment about
28267 (OVERFLOW_EXCEPTION): Define.
28268 (OVERFLOW_EXCEPTION_OK): Likewise.
28269 (INVALID_EXCEPTION_OK): Renumber.
28270 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28271 (IGNORE_ZERO_INF_SIGN): Likewise.
28272 (test_exceptions): Handle FE_OVERFLOW.
28273 (exp10_test): Expect overflow exceptions.
28274 (exp2_test): Likewise.
28275 (expm1_test): Likewise.
28276 (nextafter_test): Likewise.
28277 (pow_test): Likewise.
28278 (scalbn_test): Likewise.
28279 (scalbln_test): Likewise.
28281 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28283 * sysdeps/x86_64/bits/atomic.h
28284 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28286 (atomic_exchange_acq): Likewise.
28287 (__arch_exchange_and_add_body): Likewise.
28288 (__arch_add_body): Likewise.
28289 (atomic_add_negative): Likewise.
28290 (atomic_add_zero): Likewise.
28292 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28294 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28295 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28297 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28299 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28300 Check __x86_64__ instead of __WORDSIZE.
28302 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28304 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28306 2012-03-19 David S. Miller <davem@davemloft.net>
28308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28310 * sysdeps/sparc/fpu/fenv_private.h: New file.
28311 * sysdeps/sparc/fpu/math_private.h: Use it.
28312 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28314 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28315 (libc_feholdexcept_setroundl): Remove.
28316 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28318 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28319 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28323 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28324 int64_t instead of long int.
28325 (INSERT_WORDS64): Likwise.
28327 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28329 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28330 _Unwind_GetCFA return to _Unwind_Ptr first.
28332 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28335 * math/s_clog.c: Include <float.h>.
28336 (__clog): Scale large or subnormal inputs.
28337 * math/s_clogf.c: Likewise.
28338 * math/s_clogl.c: Likewise.
28339 * math/s_clog10.c: Include <float.h>.
28340 (M_LOG10_2): Define.
28341 (__clog10): Scale large or subnormal inputs.
28342 * math/s_clog10f.c: Likewise.
28343 * math/s_clog10l.c: Likewise.
28344 * math/libm-test.inc (clog_test): Add more tests.
28345 (clog10_test): Likewise.
28346 * sysdeps/i386/fpu/libm-test-ulps: Update.
28347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28350 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28352 * math/libm-test.inc (atan2_test): Add another test.
28354 * Makerules (common-objdir-compile): Remove.
28355 * sysdeps/unix/Makefile (config-generated): Do not add
28356 $(unix-generated) to variable.
28357 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28358 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28360 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28362 [generic bits/local_lim.h] (before-compile): Do not append to
28364 [generic bits/local_lim.h] (common-generated): Likewise.
28365 [generic sys/param.h] (before-compile): Do not append to variable.
28366 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28367 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28368 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28369 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28371 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28372 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28373 [generic sys/param.h] ($(addprefix
28374 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28375 [generic sys/param.h] (common-generated): Do not append to
28377 [generic sys/param.h] (sysdep_headers): Likewise.
28378 [generic bits/errno.h] (before-compile): Do not append to
28380 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28382 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28383 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28384 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28385 [generic bits/errno.h] (common-generated): Do not append to
28387 [generic bits/ioctls.h] (before-compile): Do not append to
28389 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28391 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28392 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28393 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28395 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28396 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28397 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28398 [generic bits/ioctls.h] (common-generated): Do not append to
28400 [generic sys/syscall.h] (syscall.h): Remove variable.
28401 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28403 [generic sys/syscall.h] (before-compile): Do not append to
28405 [generic sys/syscall.h] (common-generated): Likewise.
28406 * sysdeps/unix/errnos-tmpl.c: Remove file.
28407 * sysdeps/unix/errnos.awk: Likewise.
28408 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28409 * sysdeps/unix/ioctls.awk: Likewise.
28410 * sysdeps/unix/mk-local_lim.c: Likewise.
28411 * sysdeps/unix/snarf-ioctls: Likewise.
28413 2012-03-19 Richard Henderson <rth@twiddle.net>
28415 * sysdeps/i386/fpu/fenv_private.h: New file.
28416 * sysdeps/i386/fpu/math_private.h: Use it.
28417 (math_opt_barrier, math_force_eval): Remove.
28418 (libc_feholdexcept_setround_53bit): Remove.
28419 (libc_feupdateenv_53bit): Remove.
28420 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28421 (math_opt_barrier, math_force_eval): Remove.
28422 (libc_feholdexcept): Remove.
28423 (libc_feholdexcept_setround): Remove.
28424 (libc_fetestexcept, libc_fesetenv): Remove.
28425 (libc_feupdateenv_test): Remove.
28426 (libc_feupdateenv, libc_feholdsetround): Remove.
28427 (libc_feresetround): Remove.
28429 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28430 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28432 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28433 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28434 (libc_feupdateenv_testl): New.
28435 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28436 (libc_feupdateenv_testf): New.
28437 (libc_feupdateenv): Use libc_feupdateenv_test.
28438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28439 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28441 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28442 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28443 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28444 (libc_feresetround_noex): New.
28445 (libc_feresetround_noexf): New.
28446 (libc_feresetround_noexl): New.
28447 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28448 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28449 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28450 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28452 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28453 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28455 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28456 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28457 SET_RESTORE_ROUND_NOEX.
28458 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28459 SET_RESTORE_ROUND_NOEXF.
28460 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28461 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28462 (libc_feholdsetroundf): New.
28463 (libc_feresetround, libc_feresetroundf): New.
28465 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28466 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28467 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28469 * sysdeps/generic/math_private.h: Include <fenv.h>.
28470 (default_libc_feholdexcept): New.
28471 (default_libc_feholdexcept_setround): New.
28472 (default_libc_fesetenv, default_libc_feupdateenv): New.
28473 (libc_feholdexcept): Only define if undefined.
28474 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28475 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28476 (libc_feholdexcept_setroundl): Likewise.
28477 (libc_feholdexcept_setround_53bit): Likewise.
28478 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28479 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28480 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28481 (libc_feupdateenv_53bit): Likewise.
28482 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28483 (libc_feholdexcept): Convert from macro to inline function.
28484 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28485 (libc_fesetenv, libc_feupdateenv): Likewise.
28487 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28488 not previously defined.
28489 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28490 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28491 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28492 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28493 * sysdeps/ieee754/flt-32/math_private.h: New file.
28494 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28495 math_private.h below SET_FLOAT_WORD.
28496 (__isnan, __isinf_ns, __finite): Remove.
28497 (__isnanf, __isinf_nsf, __finitef): Remove.
28499 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28503 2012-03-17 David S. Miller <davem@davemloft.net>
28506 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28509 2012-03-16 David S. Miller <davem@davemloft.net>
28511 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28517 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28518 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28519 sysdep_routines when subdir is sysvipc.
28520 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28521 __getshmlba helper.
28523 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28525 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28527 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28532 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28534 (__lround): Renamed to ...
28535 (__llround): This. Replace long int with long long int.
28536 Define lround functions as aliases of llround functions.
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28539 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28541 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28542 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28543 adresses to uintptr_t. Replace "long int" and "unsigned long
28544 int" with "greg_t" on va_arg.
28546 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28548 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28549 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28551 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28552 Move e_machine check before EI_CLASS check. Handle x32
28553 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28554 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28555 SKIP_EM_IA_64 and include
28556 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28558 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28559 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28560 (add_system_dir): New macro.
28562 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28563 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28565 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28576 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28578 * math/w_j0f.c (j0f): Likewise.
28580 * math/w_j0l.c (__j0l): Likewise.
28582 * math/w_j1.c (j1): Likewise.
28584 * math/w_j1f.c (j1f): Likewise.
28586 * math/w_j1l.c (__j1l): Likewise.
28588 * math/w_jn.c (jn): Likewise.
28590 * math/w_jnf.c (jnf): Likewise.
28592 * math/w_jnl.c (__jnl): Likewise.
28594 * math/libm-test.inc (j0_test): Add more tests.
28595 (j1_test): Likewise.
28596 (jn_test): Likewise. Add trailing semicolon to existing test.
28597 (y0_test): Likewise.
28598 (y1_test): Likewise.
28599 * sysdeps/i386/fpu/libm-test-ulps: Update.
28600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28605 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28606 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28607 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28608 (__tanl): Set errno for infinite argument.
28609 * sysdeps/i386/fpu/mptan.c: Remove.
28610 * sysdeps/i386/fpu/s_tan.S: Likewise.
28611 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28612 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28613 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28614 * math/libm-test.inc (tan_test): Add more tests and enable more
28615 tests for double and long double.
28616 * sysdeps/i386/fpu/libm-test-ulps: Update.
28617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28619 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28621 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28622 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28624 2012-03-16 Roland McGrath <roland@hack.frob.com>
28626 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28627 * configure.in: Use it for both main tree and add-ons.
28628 * configure: Regenerated.
28630 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28632 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28634 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28636 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28640 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28641 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28646 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28648 != 0 for prec == 2.
28649 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28650 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28651 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28652 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28653 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28654 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28655 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28656 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28657 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28658 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28659 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28660 * math/libm-test.inc (cos_test): Add more tests and enable more
28661 tests for long double.
28662 (sin_test): Likewise.
28663 (sincos_test): Likewise.
28664 * sysdeps/i386/fpu/libm-test-ulps: Update.
28665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28667 2012-03-16 David S. Miller <davem@davemloft.net>
28669 * sysdeps/sparc/fpu/math_private.h: New file.
28671 2012-03-15 David S. Miller <davem@davemloft.net>
28673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28687 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28688 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28690 * sysdeps/sparc/sparc-ifunc.h: New file.
28691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28736 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28738 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28742 2012-03-15 Andreas Jaeger <aj@suse.de>
28745 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28746 ieee754/flt-32 implementation for sin, cos and sincos.
28747 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28748 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28749 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28750 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28751 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28752 ieee754/flt-32 implementation for tan.
28754 * math/libm-test.inc (cos_test): Enable some large input tests for
28756 (sin_test): Likewise.
28757 (sincos_test): Likewise.
28758 (tan_test): Add tests for large input.
28760 * sysdeps/i386/fpu/libm-test-ulps: Update.
28762 2012-03-15 Andreas Jaeger <aj@suse.de>
28765 * math/libm-test.inc (cos_test): Add more test cases.
28766 (sin_test): Likewise.
28767 (sincos_test): Likewise.
28769 2012-03-15 Andreas Jaeger <aj@suse.de>
28772 * math/libm-test.inc (cos_test): Add a test case for large input
28774 (sin_test): Likewise.
28775 (sincos_test): Likewise.
28777 2012-03-15 Andreas Jaeger <aj@suse.de>,
28778 Joseph Myers <joseph@codesourcery.com>
28781 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28782 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28783 * sysdeps/i386/fpu/branred.c: Likewise.
28784 * sysdeps/i386/fpu/dosincos.c: Likewise.
28785 * sysdeps/i386/fpu/mpa.c: Likewise.
28786 * sysdeps/i386/fpu/s_cos.S: Likewise.
28787 * sysdeps/i386/fpu/s_sin.S: Likewise.
28788 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28789 * sysdeps/i386/fpu/sincos32.c: Likewise.
28791 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28793 (libc_feupdateenv_53bit): Define.
28794 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28796 (libc_feupdateenv_53bit): Define.
28798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28799 53 bit (without extend i386 double precision).
28801 * math/libm-test.inc (sincos_test): Add tests for large input.
28805 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28807 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28811 2012-03-15 David S. Miller <davem@davemloft.net>
28813 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28814 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28815 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28816 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28841 fmin/fmax sysdep routines.
28842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28844 2012-03-14 David S. Miller <davem@davemloft.net>
28846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28918 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28923 * sysdeps/sparc/configure.in: New file.
28924 * sysdeps/sparc/configure: Generate.
28925 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28926 * configure: Regenerate.
28927 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28928 * config.make.in (have-as-vis3): New.
28929 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28930 available use -Av9d instead of -Av9a.
28931 * sysdeps/sparc/sparc64/Makefile: Likewise.
28932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28947 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28948 fzeros/fnegs to load 0x80000000 into a float register instead of
28950 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28952 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28956 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28957 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28958 ($(inst_includedir)/bits/syscall.h): Remove rule.
28959 ($(objpfx)bits/syscall.d): Include instead of
28960 $(objpfx)syscall-list.d.
28961 (generated): Change syscall-list.h and syscall-list.d to
28962 bits/syscall.h and bits/syscall.d.
28964 2012-03-14 Roland McGrath <roland@hack.frob.com>
28967 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28969 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28972 * math/s_csqrt.c: Include <float.h>.
28973 (__csqrt): Scale large or subnormal inputs.
28974 * math/s_csqrtf.c: Likewise.
28975 * math/s_csqrtl.c: Likewise.
28976 * math/libm-test.inc (csqrt_test): Add more tests.
28977 * sysdeps/i386/fpu/libm-test-ulps: Update.
28978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28981 * math/libm-test.inc (hypot_test): Add more tests.
28983 2012-03-13 David S. Miller <davem@davemloft.net>
28986 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28987 double-precision for the calculation instead of scaling.
28989 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28992 manipulate bits before adding and subtracting TWO52[sx].
28993 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28996 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28998 2012-03-13 David S. Miller <davem@davemloft.net>
29000 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29001 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29003 rtld-global-offsets.h
29004 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29006 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29009 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29011 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29012 'err' in the ifdef scope in which it is actually used.
29014 * nss/nss_db/db-init.c: Include string.h
29016 2012-03-12 David S. Miller <davem@davemloft.net>
29018 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29019 masking out of the most significant byte of random value used.
29020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29021 Fix coding style in previous change.
29023 * sysdeps/unix/sysv/linux/kernel-features.h
29024 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29025 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29027 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29030 2012-03-11 David S. Miller <davem@davemloft.net>
29032 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29033 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29035 for 'resultvar' otherwise things get truncated on 64-bit.
29037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29038 Fix masking out of the most significant byte of random value used.
29040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29042 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29046 2012-03-09 David S. Miller <davem@davemloft.net>
29048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29049 variables with appropriate CPP guards.
29050 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29051 frame pointer, not the stack pointer. Correct layout comments. Fix test
29052 on resulting framesize and the management of the outregs buffer for pltexit.
29053 Preserve floating point return values across _dl_call_pltexit call.
29054 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29055 framesize and the management of the outregs buffer for pltexit.
29056 Preserve floating point return values across _dl_call_pltexit
29058 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29059 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29060 (print_exit): Fix format string for return register value.
29062 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29064 * sunrpc/Makefile (others): Add rpcgen.
29065 ($(objpfx)rpcgen): Remove special build rule and dependency on
29067 * sunrpc/rpcgen.c: New file.
29069 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29072 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29073 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29074 * sysdeps/i386/crti.S: Likewise.
29075 * sysdeps/i386/crtn.S: Likewise.
29076 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29077 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29078 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29079 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29080 * sysdeps/sh/crti.S: Likewise.
29081 * sysdeps/sh/crtn.S: Likewise.
29082 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29085 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29087 * locale/programs/locfile-kw.gperf: Likewise.
29088 * locale/programs/charmap-kw.h: Regenerated.
29089 * locale/programs/locfile-kw.h: Likewise.
29092 * intl/plural.y: Replace FSF snail mail address with URL.
29093 * intl/plural.c: Regenerated.
29095 2012-03-09 Richard Henderson <rth@twiddle.net>
29097 * include/math_private.h: Remove file.
29098 * math/math_private.h: Move file ...
29099 * sysdeps/generic/math_private.h: ... here.
29101 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29102 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29103 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29105 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29106 and <math_private.h>.
29107 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29108 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29109 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29110 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29111 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29173 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29174 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29178 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29181 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29187 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29188 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29190 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29191 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29194 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29199 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29200 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29202 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29203 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29204 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29205 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29207 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29208 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29209 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29210 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29211 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29219 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29220 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29221 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29222 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29223 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29224 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29225 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29230 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29231 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29232 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29234 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29235 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29236 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29237 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29238 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29239 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29240 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29241 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29242 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29243 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29244 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29245 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29247 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29249 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29250 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29251 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29255 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29256 * sysdeps/ieee754/k_standard.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29334 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29371 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29374 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29376 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29380 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29384 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29390 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29399 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29400 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29401 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29406 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29407 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29412 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29416 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29417 * sysdeps/ieee754/s_lib_version.c: Likewise.
29418 * sysdeps/ieee754/s_matherr.c: Likewise.
29419 * sysdeps/ieee754/s_signgam.c: Likewise.
29420 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29421 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29422 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29423 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29424 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29425 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29426 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29427 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29428 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29429 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29430 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29431 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29432 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29433 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29434 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29435 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29436 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29437 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29442 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29444 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29445 * sunrpc/rpc_main.c: Likewise.
29446 * sunrpc/rpc_svcout.c: Likewise.
29448 2012-03-09 David S. Miller <davem@davemloft.net>
29450 * include/math_private.h: New file.
29452 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29454 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29455 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29456 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29457 from <bits/socket_type.h>.
29458 (enum __socket_type): Don't define here.
29459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29461 bits/socket_type.h.
29464 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29465 checking __USE_GNU.
29467 * Makerules ($(inst_includedir)/%.h): New rule.
29468 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29469 (install-others): Remove variable setting.
29470 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29472 2012-03-08 Richard Henderson <rth@twiddle.net>
29474 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29475 from macro to inline function; merge with the
29476 !__LIBC_INTERNAL_MATH_INLINES version.
29477 (__ieee754_sqrtf): Likewise.
29479 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29480 to inline function.
29481 (__rintf, __floor, __floorf): Likewise.
29483 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29484 macro to inline function.
29485 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29488 not <math/math_private.h>.
29490 2012-03-08 David S. Miller <davem@davemloft.net>
29492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29494 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29496 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29498 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29500 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29501 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29503 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29505 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29506 be defined individually, they must be defined as a block. Define
29507 S for printing a string instead of hidint the different by using a
29508 macro for adding the 'l'.
29509 * stdio-common/tst-fphex-wide.c: Adjust.
29511 2012-03-07 Marek Polacek <polacek@redhat.com>
29513 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29515 2012-03-08 Marek Polacek <polacek@redhat.com>
29518 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29519 * stdio-common/tst-fphex.c: Define a few macros to make the
29520 test reusable. Use them.
29521 * stdio-common/tst-fphex-wide.c: New file.
29523 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29526 * manual/macros.texi (gnusystems): New macro.
29527 (nongnusystems): Likewise.
29528 (gnulinuxhurdsystems): Likewise.
29529 (gnuhurdsystems): Likewise..
29530 (gnulinuxsystems): Likewise.
29531 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29532 variants of the GNU system, not "GNU system".
29533 * manual/conf.texi: Likewise.
29534 * manual/errno.texi: Likewise. Update example of errno macro
29536 * manual/filesys.texi: Likewise.
29537 (getumask): Document as specific to GNU/Hurd.
29538 * manual/install.texi: Likewise. Reword some references to
29540 * manual/intro.texi: Likewise.
29541 * manual/io.texi: Likewise.
29542 (File Name Portability): Detail which constraints are inapplicable
29543 to all GNU systems and which are only inapplicable to GNU/Hurd.
29544 * manual/job.texi: Likewise.
29545 * manual/llio.texi: Likewise.
29546 (O_NOCTTY): Document as present on GNU/Linux.
29547 * manual/maint.texi: Likewise.
29548 * manual/memory.texi: Likewise.
29549 * manual/pattern.texi: Likewise.
29550 * manual/pipe.texi: Likewise.
29551 * manual/process.texi: Likewise.
29552 * manual/resource.texi: Likewise.
29553 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29555 * manual/setjmp.texi: Likewise.
29556 * manual/signal.texi: Likewise.
29557 * manual/startup.texi: Likewise.
29558 * manual/stdio.texi: Likewise.
29559 * manual/terminal.texi: Likewise.
29560 (ONLCR): Document as POSIX.
29561 (OXTABS): Document availability on GNU/Linux as XTABS.
29562 (ONOEOT): Document availability separately from other bits.
29563 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29564 * manual/time.texi: Likewise.
29565 * manual/users.texi: Likewise.
29566 * INSTALL: Regenerated.
29567 * sysdeps/gnu/errlist.c: Regenerated.
29569 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29570 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29571 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29573 * configure: Regenerated.
29575 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29577 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29578 default includes instead of AC_HEADER_CHECK.
29579 * sysdeps/i386/configure: Regenerated.
29582 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29583 * math/s_cacoshf.c (__cacoshf): Likewise.
29584 * math/s_cacoshl.c (__cacoshl): Likewise.
29585 * math/s_casinh.c (__casinh): Set signs of result from argument.
29586 * math/s_casinhf.c (__casinhf): Likewise.
29587 * math/s_casinhl.c (__casinhl): Likewise.
29588 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29589 (casinh_test): Add more tests.
29590 * sysdeps/i386/fpu/libm-test-ulps: Update.
29591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29593 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29595 * po/zh_TW.po: Update from translation team.
29597 * login/Makefile (distribute): Remove variable.
29598 * catgets/Makefile: Likewise.
29599 * mach/Makefile: Likewise.
29600 * malloc/Makefile: Likewise.
29601 * misc/Makefile: Likewise.
29602 * iconv/Makefile: Likewise.
29603 * nscd/Makefile: Likewise.
29604 * hurd/Makefile: Likewise.
29605 * manual/Makefile: Likewise.
29606 * locale/Makefile: Likewise.
29607 * intl/Makefile: Likewise.
29608 * conform/Makefile: Likewise.
29609 * nss/Makefile: Likewise.
29610 * time/Makefile: Likewise.
29611 * soft-fp/Makefile: Likewise.
29612 * dirent/Makefile: Likewise.
29613 * gmon/Makefile: Likewise.
29614 * po/Makefile: Likewise.
29615 * rt/Makefile: Likewise.
29616 * socket/Makefile: Likewise.
29617 * math/Makefile: Likewise.
29618 * signal/Makefile: Likewise.
29619 * debug/Makefile: Likewise.
29620 * elf/Makefile: Likewise.
29621 * timezone/Makefile: Likewise.
29622 * stdlib/Makefile: Likewise.
29623 * iconvdata/Makefile: Likewise.
29624 * sunrpc/Makefile: Likewise.
29625 * io/Makefile: Likewise.
29626 * argp/Makefile: Likewise.
29627 * inet/Makefile: Likewise.
29628 * hesiod/Makefile: Likewise.
29629 * grp/Makefile: Likewise.
29630 * csu/Makefile: Likewise.
29631 * wctype/Makefile: Likewise.
29632 * crypt/Makefile: Likewise.
29633 * libio/Makefile: Likewise.
29634 * string/Makefile: Likewise.
29635 * nis/Makefile: Likewise.
29636 * resolv/Makefile: Likewise.
29637 * stdio-common/Makefile: Likewise.
29638 * wcsmbs/Makefile: Likewise.
29639 * dlfcn/Makefile: Likewise.
29640 * posix/Makefile: Likewise.
29643 * timezone/Makefile: Don't install timezone files, just the programs
29646 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29648 * nss/databases.def: Add missing gshadow entry.
29650 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29652 2012-03-06 Marek Polacek <polacek@redhat.com>
29655 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29656 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29657 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29658 * stdio-common/tst-long-dbl-fphex.c: New file.
29660 2012-03-06 David S. Miller <davem@davemloft.net>
29662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29663 (set_obp_int): New function.
29664 (get_obp_int): New function.
29665 (__get_clockfreq_via_dev_openprom): Likewise.
29666 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29667 Avoid unused variable warnings on 'val' and use builtin_expect.
29668 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29670 (INLINE_CLONE_SYSCALL): Likewise.
29672 2012-03-05 David S. Miller <davem@davemloft.net>
29674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29676 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29680 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29681 only for |x| >= 40.
29682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29684 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29687 Replace gettimeofday with __vdso_gettimeofday.
29689 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29690 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29691 __vdso_clock_gettime and __vdso_getcpu.
29693 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29694 time with __vdso_time.
29696 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29698 * manual/lang.texi (size_t): Note types to which size_t may be
29699 equivalent with the GNU C Library, but do not describe when
29700 differences between them are significant.
29702 2012-03-05 Andreas Jaeger <aj@suse.de>
29704 * sysdeps/i386/fpu/libm-test-ulps: Update.
29706 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29709 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29710 (__ieee754_pow): Save and restore rounding mode and use
29711 round-to-nearest for main computations.
29712 * math/libm-test.inc (pow_test_tonearest): New function.
29713 (pow_test_towardzero): Likewise.
29714 (pow_test_downward): Likewise.
29715 (pow_test_upward): Likewise.
29716 (main): Call the new functions.
29717 * sysdeps/i386/fpu/libm-test-ulps: Update.
29718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29721 * math/libm-test.inc (cosh_test_tonearest): New function.
29722 (cosh_test_towardzero): Likewise.
29723 (cosh_test_downward): Likewise.
29724 (cosh_test_upward): Likewise.
29725 (sinh_test_tonearest): Likewise.
29726 (sinh_test_towardzero): Likewise.
29727 (sinh_test_downward): Likewise.
29728 (sinh_test_upward): Likewise.
29729 (main): Call the new functions.
29730 * sysdeps/i386/fpu/libm-test-ulps: Update.
29731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29733 2012-03-05 Tom de Vries <tom@codesourcery.com>
29735 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29736 default stack guard is set in last bytes.
29737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29739 2012-03-05 Kees Cook <keescook@chromium.org>
29741 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29744 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29745 possibly allocate from heap instead of stack.
29746 * stdio-common/bug-vfprintf-nargs.c: New file.
29747 * stdio-common/Makefile (tests): Add nargs overflow test.
29749 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29753 2012-03-03 Marek Polacek <polacek@redhat.com>
29755 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29756 * math/math_private.h: Likewise.
29757 * stdlib/tst-strtod.c: Likewise.
29758 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29759 * sysdeps/x86_64/bits/atomic.h: Likewise.
29761 2012-03-02 David S. Miller <davem@davemloft.net>
29763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29767 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29768 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29769 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29770 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29772 2012-03-02 Roland McGrath <roland@hack.frob.com>
29775 * manual/examples/README: New file, says the example source files
29776 can be used under GPL>=2.
29777 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29778 line containing just "*/".
29779 * manual/examples/add.c: Add copyright header (GPL>=2).
29780 * manual/examples/argp-ex1.c: Likewise.
29781 * manual/examples/argp-ex2.c: Likewise.
29782 * manual/examples/argp-ex3.c: Likewise.
29783 * manual/examples/argp-ex4.c: Likewise.
29784 * manual/examples/atexit.c: Likewise.
29785 * manual/examples/db.c: Likewise.
29786 * manual/examples/dir.c: Likewise.
29787 * manual/examples/dir2.c: Likewise.
29788 * manual/examples/execinfo.c: Likewise.
29789 * manual/examples/filecli.c: Likewise.
29790 * manual/examples/filesrv.c: Likewise.
29791 * manual/examples/fmtmsgexpl.c: Likewise.
29792 * manual/examples/genpass.c: Likewise.
29793 * manual/examples/inetcli.c: Likewise.
29794 * manual/examples/inetsrv.c: Likewise.
29795 * manual/examples/isockad.c: Likewise.
29796 * manual/examples/longopt.c: Likewise.
29797 * manual/examples/memopen.c: Likewise.
29798 * manual/examples/memstrm.c: Likewise.
29799 * manual/examples/mkfsock.c: Likewise.
29800 * manual/examples/mkisock.c: Likewise.
29801 * manual/examples/mygetpass.c: Likewise.
29802 * manual/examples/pipe.c: Likewise.
29803 * manual/examples/popen.c: Likewise.
29804 * manual/examples/rprintf.c: Likewise.
29805 * manual/examples/search.c: Likewise.
29806 * manual/examples/select.c: Likewise.
29807 * manual/examples/setjmp.c: Likewise.
29808 * manual/examples/sigh1.c: Likewise.
29809 * manual/examples/sigusr.c: Likewise.
29810 * manual/examples/stpcpy.c: Likewise.
29811 * manual/examples/strdupa.c: Likewise.
29812 * manual/examples/strftim.c: Likewise.
29813 * manual/examples/strncat.c: Likewise.
29814 * manual/examples/subopt.c: Likewise.
29815 * manual/examples/swapcontext.c: Likewise.
29816 * manual/examples/termios.c: Likewise.
29817 * manual/examples/testopt.c: Likewise.
29818 * manual/examples/testpass.c: Likewise.
29819 * manual/examples/timeval_subtract.c: Likewise.
29822 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29824 * manual/timeval_subtract.c.texi: ... here, new file.
29826 2012-03-02 David S. Miller <davem@davemloft.net>
29828 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29830 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29833 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29834 (__sin): Save and restore rounding mode and use round-to-nearest
29835 for all computations.
29836 (__cos): Save and restore rounding mode and use round-to-nearest
29837 for all computations.
29838 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29840 (tan): Save and restore rounding mode and use round-to-nearest for
29842 * math/libm-test.inc (cos_test_tonearest): New function.
29843 (cos_test_towardzero): Likewise.
29844 (cos_test_downward): Likewise.
29845 (cos_test_upward): Likewise.
29846 (sin_test_tonearest): Likewise.
29847 (sin_test_towardzero): Likewise.
29848 (sin_test_downward): Likewise.
29849 (sin_test_upward): Likewise.
29850 (tan_test_tonearest): Likewise.
29851 (tan_test_towardzero): Likewise.
29852 (tan_test_downward): Likewise.
29853 (tan_test_upward): Likewise.
29854 (main): Call the new functions.
29855 * sysdeps/i386/fpu/libm-test-ulps: Update.
29856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29859 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29860 small n, then large n, before computing and testing k+n.
29861 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29866 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29867 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29873 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29874 * math/libm-test.inc (scalbn_test): Add more tests.
29875 (scalbln_test): Likewise.
29877 * manual/filesys.texi (mode_t): Describe constraints on size and
29878 signedness, not exact equivalence to a particular type.
29880 (ino64_t): Likewise.
29882 (nlink_t): Likewise.
29883 (blkcnt_t): Likewise.
29884 (blkcnt64_t): Likewise.
29885 * manual/llio.texi (off_t): Likewise.
29888 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29889 (__ieee754_exp): Save and restore rounding mode and use
29890 round-to-nearest for all computations.
29891 * math/libm-test.inc (exp_test_tonearest): New function.
29892 (exp_test_towardzero): Likewise.
29893 (exp_test_downward): Likewise.
29894 (exp_test_upward): Likewise.
29895 (main): Call the new functions.
29896 * sysdeps/i386/fpu/libm-test-ulps: Update.
29897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29899 2012-03-01 Chris Demetriou <cgd@google.com>
29901 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29902 have predictable order.
29904 2012-03-01 David S. Miller <davem@davemloft.net>
29906 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29908 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29909 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29910 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29911 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29913 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29914 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29915 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29917 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29918 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29919 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29920 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29921 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29926 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29929 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29930 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29931 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29932 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29933 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29935 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29936 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29937 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29938 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29939 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29943 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29945 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29946 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29947 * sysdeps/sparc/elf/configure: Regenerated.
29949 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29951 * configure.in (AS, LD): Require binutils 2.20 or later.
29952 * configure: Regenerated.
29953 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29954 as required minimum version.
29955 * INSTALL: Regenerated.
29959 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29960 before squaring exponent.
29961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29962 bottom long double and 27 bits of top long double before squaring
29964 * math/libm-test.inc (erfc_test): Add more tests.
29965 * sysdeps/i386/fpu/libm-test-ulps: Update.
29966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29969 2012-03-01 Kai Tietz <ktietz@redhat.com>
29971 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29972 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29973 containing bit-fields.
29974 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29975 * soft-fp/single.h (_FP_UNION_S): Likewise.
29976 * soft-fp/double.h (_FP_UNION_D): Likewise.
29978 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29981 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29982 not include ../strcmp.S.
29983 [USE_AS_STRNCASECMP_L]: Likewise.
29984 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29985 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29986 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29987 (__strncasecmp_l_ia32): Define as alias to
29988 __strncasecmp_l_nonascii.
29991 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29992 * sysdeps/i386/fpu/libm-test-ulps: Update.
29993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29995 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29998 2012-02-29 Jeff Law <law@redhat.com>
30000 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30001 out of bounds read.
30003 2012-02-29 Marek Polacek <polacek@redhat.com>
30006 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30007 * elf/Makefile: Add rules to run tst-unused-dep.out.
30009 2012-02-28 David S. Miller <davem@davemloft.net>
30011 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30012 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30014 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30015 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30016 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30018 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30020 * math/libm-test.inc (llround_test): Move one test from
30021 lround_test. Use TEST_f_L in moved test.
30022 (lround_test): Move misplaced test to llround_test. Add testcase
30025 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30027 * sysdeps/x86_64/fpu/e_expf.S: New file.
30028 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30030 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30033 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30034 of remain_len that may cause incomplete multi-byte character and
30036 * posix/bug-regex33.c: New file.
30037 * posix/Makefile (tests): Add bug-regex33.
30039 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30041 * manual/macros.texi: New file.
30042 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30043 * manual/libc.texinfo: Include macros.texi.
30044 * manual/creatute.texi: Likewise.
30045 * manual/install.texi: Likewise.
30046 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30047 @glibcadj{} in references to the GNU C Library.
30048 * manual/charset.texi: Likewise.
30049 * manual/conf.texi: Likewise.
30050 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30051 when not using those macros.
30052 * manual/creature.texi: Likewise.
30053 * manual/crypt.texi: Likewise.
30054 * manual/errno.texi: Likewise.
30055 * manual/filesys.texi: Likewise.
30056 * manual/header.texi: Likewise.
30057 * manual/install.texi: Likewise.
30058 * manual/intro.texi: Likewise.
30059 * manual/io.texi: Likewise.
30060 * manual/job.texi: Likewise.
30061 * manual/lang.texi: Likewise.
30062 * manual/libc.texiinfo: Likewise.
30063 * manual/llio.texi: Likewise.
30064 * manual/locale.texi: Likewise.
30065 * manual/maint.texi: Likewise.
30066 * manual/math.texi: Likewise.
30067 * manual/memory.texi: Likewise.
30068 * manual/message.texi: Likewise.
30069 * manual/nss.texi: Likewise.
30070 * manual/pattern.texi: Likewise.
30071 * manual/process.texi: Likewise.
30072 * manual/resource.texi: Likewise.
30073 * manual/search.texi: Likewise.
30074 * manual/setjmp.texi: Likewise.
30075 * manual/signal.texi: Likewise.
30076 * manual/socket.texi: Likewise.
30077 * manual/startup.texi: Likewise.
30078 * manual/stdio.texi: Likewise.
30079 * manual/string.texi: Likewise.
30080 * manual/sysinfo.texi: Likewise.
30081 * manual/syslog.texi: Likewise.
30082 * manual/terminal.texi: Likewise.
30083 * manual/time.texi: Likewise.
30084 * manual/users.texi: Likewise.
30085 * INSTALL: Regenerated.
30086 * NOTES: Regenerated.
30087 * sysdeps/gnu/errlist.c: Regenerated.
30089 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30091 * include/dirent.h: Include <dirstream.h> before
30094 2012-02-28 David S. Miller <davem@davemloft.net>
30096 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30097 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30098 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30099 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30101 2012-02-27 David S. Miller <davem@davemloft.net>
30103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30105 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30106 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30109 frame pointer instead of stack pointer relative arg slot.
30110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30111 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30112 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30114 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30117 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30119 2012-02-27 David S. Miller <davem@davemloft.net>
30121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30125 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30126 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30127 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30128 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30130 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30132 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30133 later. Allow versions 5-9.
30134 * configure: Regenerated.
30135 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30136 required minimum version and 4.6 as recommended version. Do not
30137 mention bugs in GCC 2.7 and 2.8.
30138 * INSTALL: Regenerated.
30140 2012-02-27 David S. Miller <davem@davemloft.net>
30142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30146 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30147 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30148 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30149 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30151 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30152 manipulate bits before adding and subtracting TWO112[sx].
30153 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30155 2012-02-27 Roland McGrath <roland@hack.frob.com>
30158 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30159 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30160 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30161 being in POSIX, because they are in 1003.1-2008.
30163 * rt/tst-aio.c: Include <fcntl.h>.
30164 * rt/tst-aio7.c: Likewise.
30165 * rt/tst-aio64.c: Likewise.
30167 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30169 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30171 * manual/install.texi (--with-headers): Describe headers as
30172 interface headers, not private headers.
30173 (Specific advice for GNU/Linux systems): Describe use of headers
30174 from "make headers_install", not private headers from older
30176 * INSTALL: Regenerated.
30177 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30179 * sysdeps/unix/sysv/linux/configure: Regenerated.
30181 * manual/llio.texi (fclean): Remove documentation.
30183 * manual/Makefile (libc-texi-generated): New variable. Include
30185 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30186 $(libc-texi-generated), not duplicated list of files.
30187 (version.texi, stamp-version): New rules.
30188 (realclean): Remove $(libc-texi-generated), not individual files
30189 from that list. Do not remove dir-add.texinfo.
30190 * manual/libc.texinfo: Comment out uses of edition numbers and
30191 references to printed manual. Remove last-updated dates.
30192 (EDITION): Comment out.
30194 (VERSION, UPDATED): Remove.
30195 (version.texi): Include.
30197 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30199 * sysdeps/posix/spawni.c: Include <signal.h>.
30200 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30201 * sysdeps/pthread/aio_fsync.c: Likewise.
30203 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30205 * conform/Makefile (tests): Run only when not cross-compiling and
30206 when fast-check is not defined.
30208 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30209 * conform/data/limits.h-data: Fixes for POSIX2008.
30210 * conform/run-conformtest.sh: Run all tests.
30211 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30213 * include/bits/dlfcn.h: Likewise.
30214 * include/langinfo.h: Likewise.
30215 * include/monetary.h: Likewise.
30216 * include/sys/poll.h: Likewise.
30218 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30220 * posix/spawn.h: Define __need_sigset_t.
30221 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30222 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30223 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30224 to get sigevent_t only.
30225 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30226 only for __USE_GNU.
30227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30228 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30229 process_vm_writev only for __USE_GNU.
30230 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30232 * conform/Makefile: For now ignore errors from run-conformtest.
30233 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30234 POSIX to avoid namespace pollution. Don't prepend headers.
30235 * conform/data/aio.h-data: Fixes for POSIX testing.
30236 * conform/data/fcntl.h-data: Likewise.
30237 * conform/data/glob.h-data: Likewise.
30238 * conform/data/grp.h-data: Likewise.
30239 * conform/data/pthread.h-data: Likewise.
30240 * conform/data/pwd.h-data: Likewise.
30241 * conform/data/signal.h-data: Likewise.
30242 * conform/data/spawn.h-data: Likewise.
30243 * conform/data/stdio.h-data: Likewise.
30244 * conform/data/stdlib.h-data: Likewise.
30245 * conform/data/stropts.h-data: Likewise.
30246 * conform/data/sys/mman.h-data: Likewise.
30247 * conform/data/sys/stat.h-data: Likewise.
30248 * conform/data/sys/types.h-data: Likewise.
30249 * conform/data/sys/wait.h-data: Likewise.
30250 * conform/data/time.h-data: Likewise.
30251 * conform/data/unistd.h-data: Likewise.
30252 * conform/data/utime.h-data: Likewise.
30254 * io/sys/stat.h: fchmod was always in POSIX.
30255 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30256 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30257 * rt/aio.h: Define __need_timespec before including <time.h>.
30258 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30259 struct. Add forward declaration of pthread_attr_t and use it in
30261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30263 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30264 always remove CLK_TCK definition.
30266 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30268 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30270 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30272 * conform/run-conformtest.sh: New file.
30273 * conform/Makefile: Run run-conformtest for tests.
30274 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30277 * conform/data/uchar.h-data: New file.
30278 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30279 * conform/data/arpa/inet.h-data: Likewise.
30280 * conform/data/assert.h-data: Likewise.
30281 * conform/data/complex.h-data: Likewise.
30282 * conform/data/cpio.h-data: Likewise.
30283 * conform/data/ctype.h-data: Likewise.
30284 * conform/data/dirent.h-data: Likewise.
30285 * conform/data/dlfcn.h-data: Likewise.
30286 * conform/data/errno.h-data: Likewise.
30287 * conform/data/fcntl.h-data: Likewise.
30288 * conform/data/float.h-data: Likewise.
30289 * conform/data/fmtmsg.h-data: Likewise.
30290 * conform/data/fnmatch.h-data: Likewise.
30291 * conform/data/ftw.h-data: Likewise.
30292 * conform/data/glob.h-data: Likewise.
30293 * conform/data/grp.h-data: Likewise.
30294 * conform/data/iconv.h-data: Likewise.
30295 * conform/data/inttypes.h-data: Likewise.
30296 * conform/data/langinfo.h-data: Likewise.
30297 * conform/data/libgen.h-data: Likewise.
30298 * conform/data/limits.h-data: Likewise.
30299 * conform/data/locale.h-data: Likewise.
30300 * conform/data/math.h-data: Likewise.
30301 * conform/data/monetary.h-data: Likewise.
30302 * conform/data/mqueue.h-data: Likewise.
30303 * conform/data/ndbm.h-data: Likewise.
30304 * conform/data/net/if.h-data: Likewise.
30305 * conform/data/netdb.h-data: Likewise.
30306 * conform/data/netinet/in.h-data: Likewise.
30307 * conform/data/nl_types.h-data: Likewise.
30308 * conform/data/poll.h-data: Likewise.
30309 * conform/data/pthread.h-data: Likewise.
30310 * conform/data/pwd.h-data: Likewise.
30311 * conform/data/regex.h-data: Likewise.
30312 * conform/data/sched.h-data: Likewise.
30313 * conform/data/search.h-data: Likewise.
30314 * conform/data/semaphore.h-data: Likewise.
30315 * conform/data/setjmp.h-data: Likewise.
30316 * conform/data/signal.h-data: Likewise.
30317 * conform/data/spawn.h-data: Likewise.
30318 * conform/data/stdarg.h-data: Likewise.
30319 * conform/data/stdio.h-data: Likewise.
30320 * conform/data/stdlib.h-data: Likewise.
30321 * conform/data/string.h-data: Likewise.
30322 * conform/data/strings.h-data: Likewise.
30323 * conform/data/stropts.h-data: Likewise.
30324 * conform/data/sys/ipc.h-data: Likewise.
30325 * conform/data/sys/mman.h-data: Likewise.
30326 * conform/data/sys/msg.h-data: Likewise.
30327 * conform/data/sys/resource.h-data: Likewise.
30328 * conform/data/sys/select.h-data: Likewise.
30329 * conform/data/sys/sem.h-data: Likewise.
30330 * conform/data/sys/shm.h-data: Likewise.
30331 * conform/data/sys/socket.h-data: Likewise.
30332 * conform/data/sys/stat.h-data: Likewise.
30333 * conform/data/sys/statvfs.h-data: Likewise.
30334 * conform/data/sys/time.h-data: Likewise.
30335 * conform/data/sys/timeb.h-data: Likewise.
30336 * conform/data/sys/times.h-data: Likewise.
30337 * conform/data/sys/types.h-data: Likewise.
30338 * conform/data/sys/uio.h-data: Likewise.
30339 * conform/data/sys/un.h-data: Likewise.
30340 * conform/data/sys/utsname.h-data: Likewise.
30341 * conform/data/sys/wait.h-data: Likewise.
30342 * conform/data/syslog.h-data: Likewise.
30343 * conform/data/tar.h-data: Likewise.
30344 * conform/data/termios.h-data: Likewise.
30345 * conform/data/utime.h-data: Likewise.
30346 * conform/data/utmpx.h-data: Likewise.
30347 * conform/data/varargs.h-data: Likewise.
30348 * conform/data/wchar.h-data: Likewise.
30349 * conform/data/wctype.h-data: Likewise.
30350 * conform/data/wordexp.h-data: Likewise.
30352 * include/stropts.h: New file.
30353 * include/uchar.h: New file.
30354 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30355 * include/assert.h: Likewise.
30356 * include/ctype.h: Likewise.
30357 * include/dirent.h: Likewise.
30358 * include/dlfcn.h: Likewise.
30359 * include/fcntl.h: Likewise.
30360 * include/fnmatch.h: Likewise.
30361 * include/glob.h: Likewise.
30362 * include/grp.h: Likewise.
30363 * include/libio.h: Likewise.
30364 * include/locale.h: Likewise.
30365 * include/math.h: Likewise.
30366 * include/net/if.h: Likewise.
30367 * include/netdb.h: Likewise.
30368 * include/netinet/in.h: Likewise.
30369 * include/pthread.h: Likewise.
30370 * include/pwd.h: Likewise.
30371 * include/regex.h: Likewise.
30372 * include/sched.h: Likewise.
30373 * include/search.h: Likewise.
30374 * include/setjmp.h: Likewise.
30375 * include/signal.h: Likewise.
30376 * include/stdio.h: Likewise.
30377 * include/stdlib.h: Likewise.
30378 * include/string.h: Likewise.
30379 * include/sys/cdefs.h: Likewise.
30380 * include/sys/mman.h: Likewise.
30381 * include/sys/msg.h: Likewise.
30382 * include/sys/resource.h: Likewise.
30383 * include/sys/select.h: Likewise.
30384 * include/sys/socket.h: Likewise.
30385 * include/sys/stat.h: Likewise.
30386 * include/sys/statvfs.h: Likewise.
30387 * include/sys/time.h: Likewise.
30388 * include/sys/times.h: Likewise.
30389 * include/sys/uio.h: Likewise.
30390 * include/sys/utsname.h: Likewise.
30391 * include/sys/wait.h: Likewise.
30392 * include/termios.h: Likewise.
30393 * include/time.h: Likewise.
30394 * include/ulimit.h: Likewise.
30395 * include/unistd.h: Likewise.
30396 * include/utime.h: Likewise.
30397 * include/wchar.h: Likewise.
30398 * include/wctype.h: Likewise.
30399 * include/wordexp.h: Likewise.
30401 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30403 * time/time.h: TIME_UTC must be a macro.
30404 Make timespec_get available for ISO C11 only as well.
30406 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30408 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30409 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30413 * configure.in: Use -o not -a in test for unsupported multi-arch.
30415 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30417 * manual/texinfo.tex: Update to version 2012-01-19.16.
30419 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30421 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30423 2012-02-24 Roland McGrath <roland@hack.frob.com>
30426 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30427 * manual/fdl-1.3.texi: New file.
30428 * manual/fdl-1.1.texi: File removed.
30431 * manual/libc.texinfo (FDL_VERSION): New @set.
30432 Use it for mention of FDL in cover text.
30433 (Documentation License): Use it in @include file name.
30435 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30436 Roland McGrath <roland@hack.frob.com>
30439 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30440 not LONG_LONG_MAX and LONG_LONG_MIN.
30441 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30442 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30444 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30446 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30450 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30451 manipulate bits before adding and subtracting TWO23[sx].
30452 * math/libm-test.inc (nearbyint_test): Add more tests.
30454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30457 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30458 bits before adding and subtracting TWO23[sx].
30459 * math/libm-test.inc (rint_test): Add more tests.
30460 (rint_test_tonearest): Likewise.
30461 (rint_test_towardzero): Likewise.
30462 (rint_test_downward): Likewise.
30463 (rint_test_upward: Likewise.
30465 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30468 * include/stdc-predef.h: New file. Extracted from features.h.
30469 * include/features.h: Include stdc-predef.h.
30470 * Makefile (headers): Add stdc-predef.h.
30471 * CONFORMANCE (Compiler limitations): Update.
30473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30475 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30477 2012-02-21 David S. Miller <davem@davemloft.net>
30479 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30480 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30482 2012-02-20 David S. Miller <davem@davemloft.net>
30484 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30485 using a normal save/restore sequence, rather than allocating a
30486 dummy stack frame just to store a frame pointer and restore.
30487 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30489 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30491 * manual/install.texi: Fix stray word in line-wrapped comment.
30493 2012-02-20 David S. Miller <davem@davemloft.net>
30495 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30496 both binutils and gcc support GOTDATA.
30498 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30499 "rd %pc" in the PIC register setup sequences.
30501 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30502 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30503 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30504 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30505 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30510 (SYSCALL_ERROR_HANDLER): Likewise.
30511 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30512 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30514 (SYSCALL_ERROR_HANDLER): Likewise.
30516 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30517 (HAVE_GCC_GOTDATA): New.
30518 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30519 relocation support in both binutils and gcc.
30520 * sysdeps/sparc/elf/configure: Regenerate.
30522 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30523 * sysdeps/sparc/sparc32/elf/configure: Delete.
30524 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30525 * sysdeps/sparc/sparc64/elf/configure: Delete.
30526 * sysdeps/sparc/elf/configure.in: New file.
30527 * sysdeps/sparc/elf/configure: Generate.
30529 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30530 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30531 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30532 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30533 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30535 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30537 * manual/install.texi: Do not mention specific glibc version
30539 * manual/libc.texinfo (VERSION, UPDATED): Update.
30540 (@copying): Use @copyright{} and range of years.
30542 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30545 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30546 [crti.S not in sysdirs] (generated): Do not append.
30547 [crti.S not in sysdirs] (omit-deps): Likewise.
30548 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30549 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30550 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30551 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30552 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30554 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30555 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30556 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30557 * csu/defs.awk: Remove file.
30558 * sysdeps/generic/initfini.c: Likewise.
30559 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30561 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30564 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30566 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30567 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30568 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30571 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30573 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30574 (__EPOLL_PACKED): Define to empty if not defined by
30576 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30580 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30582 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30583 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30584 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30585 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30587 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30591 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30593 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30596 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30597 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30600 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30605 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30607 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30608 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30610 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30612 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30615 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30617 * math/w_acos.c: Use non-signaling floating-point comparisons.
30618 * math/w_acosf.c: Likewise.
30619 * math/w_acosh.c: Likewise.
30620 * math/w_acoshf.c: Likewise.
30621 * math/w_acoshl.c: Likewise.
30622 * math/w_acosl.c: Likewise.
30623 * math/w_asin.c: Likewise.
30624 * math/w_asinf.c: Likewise.
30625 * math/w_asinl.c: Likewise.
30626 * math/w_atanh.c: Likewise.
30627 * math/w_atanhf.c: Likewise.
30628 * math/w_atanhl.c: Likewise.
30629 * math/w_exp2.c: Likewise.
30630 * math/w_exp2f.c: Likewise.
30631 * math/w_exp2l.c: Likewise.
30632 * math/w_j0.c: Likewise.
30633 * math/w_j0f.c: Likewise.
30634 * math/w_j0l.c: Likewise.
30635 * math/w_j1.c: Likewise.
30636 * math/w_j1f.c: Likewise.
30637 * math/w_j1l.c: Likewise.
30638 * math/w_jn.c: Likewise.
30639 * math/w_jnf.c: Likewise.
30640 * math/w_log.c: Likewise.
30641 * math/w_log10.c: Likewise.
30642 * math/w_log10f.c: Likewise.
30643 * math/w_log10l.c: Likewise.
30644 * math/w_log2.c: Likewise.
30645 * math/w_log2f.c: Likewise.
30646 * math/w_log2l.c: Likewise.
30647 * math/w_logf.c: Likewise.
30648 * math/w_logl.c: Likewise.
30649 * math/w_sqrt.c: Likewise.
30650 * math/w_sqrtf.c: Likewise.
30651 * math/w_sqrtl.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30656 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30658 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30661 * manual/string.texi (strnlen): Use correct parameter name in
30662 equivalent expression.
30664 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30667 * manual/users.texi (seteuid): Consistently use neweuid for
30670 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30673 * manual/nss.texi (Services in the NSS configuration): Correct
30674 list of services in example configuration file.
30676 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30679 * manual/arith.texi: Remove statements about negative zero
30680 behaving identically to zero.
30682 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30685 * manual/install.texi: Do not document upgrading from libc5.
30687 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30690 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30692 2012-02-18 David S. Miller <davem@davemloft.net>
30694 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30695 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30696 %o7 across the call.
30697 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30700 SETUP_PIC_REG_LEAF.
30701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30702 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30703 * sysdeps/sparc/crtn.S: Likewise.
30705 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30707 * aout/Makefile: Remove.
30709 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30712 * manual/examples/argp-ex1.c (main): Format definition in GNU
30714 * manual/examples/argp-ex2.c (main): Likewise.
30715 * manual/examples/argp-ex3.c (main): Likewise.
30716 * manual/examples/argp-ex4.c (main): Likewise.
30717 * manual/examples/longopt.c (main): Use new-style prototype
30719 * manual/examples/strncat.c (main): Specify return type and use
30720 (void) for arguments.
30721 * manual/examples/subopt.c (main): Use char **argv argument.
30723 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30726 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30729 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30732 * manual/string.texi (strchr): Change when strchrnul is
30735 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30738 * manual/locale.texi (setlocale): Document LOCPATH.
30740 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30743 * manual/process.texi (execle): Move @dots{} before last argument.
30745 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30748 * manual/charset.texi (Generic Charset Conversion): Fix typo
30749 (LC_TYPE -> LC_CTYPE).
30751 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30754 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30755 (scalbnf): Likewise.
30756 (scalbnl): Likewise.
30757 (scalbln): Likewise.
30758 (scalblnf): Likewise.
30759 (scalblnl): Likewise.
30760 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30761 (vwarnx): Likewise.
30764 * manual/filesys.texi (telldir): Use braces around return type.
30765 * manual/llio.texi (mmap): Add space after comma.
30766 (mmap64): Likewise.
30767 * manual/math.texi (jn): Use @var{} on parameter names.
30773 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30775 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30777 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30778 (sched_get_priority_max): Likewise.
30779 * manual/signal.texi (sigvec): Add space after comma.
30780 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30782 (if_indextoname): Likewise.
30783 (if_freenameindex): Likewise.
30784 (sendto): Use ',' instead of '.' in prototype.
30785 * manual/startup.texi (syscall): Use @dots{} instead of literal
30787 * manual/stdio.texi (__fpending): Separate initial words of
30788 paragraph from @deftypefun line.
30789 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30791 (vsyslog): Use @var{} on parameter names.
30792 * manual/terminal.texi (stty): Use @var{} on parameter names.
30793 * manual/users.texi (getutmp): Use @var{} on parameter names.
30794 (getutmpx): Likewise.
30796 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30799 * manual/stdio.texi (fopen): Fix typos in description of
30802 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30805 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30806 get clock_id definition.
30808 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30811 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30812 (madvise): Cast every argument to void on its own.
30814 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30817 * manual/startup.texi (Exit Status): Fix typo.
30819 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30822 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30823 * manual/examples/argp-ex2.c: Likewise.
30824 * manual/examples/argp-ex3.c: Likewise.
30826 2012-02-16 Richard Henderson <rth@redhat.com>
30828 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30829 * sysdeps/s390/s390-32/initfini.c: Remove.
30830 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30831 * sysdeps/s390/s390-64/initfini.c: Remove.
30833 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30835 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30836 compiler output for sysdeps/generic/initfini.c.
30837 * sysdeps/sh/elf/initfini.c: Remove file.
30839 2012-02-16 David S. Miller <davem@davemloft.net>
30842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30844 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30845 * sysdeps/sparc/crti.S: New file.
30846 * sysdeps/sparc/crtn.S: New file.
30847 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30848 * sysdeps/sparc/sparc64/Makefile: Likewise.
30850 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30853 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30855 2012-02-15 Roland McGrath <roland@hack.frob.com>
30858 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30860 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30861 (write, read, close): Likewise.
30862 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30864 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30866 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30867 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30868 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30869 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30871 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30875 2012-02-14 Marek Polacek <polacek@redhat.com>
30877 * sysdeps/x86_64/crti.S: New file.
30878 * sysdeps/x86_64/crtn.S: New file.
30879 * sysdeps/x86_64/elf/initfini.c: Remove file.
30881 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30883 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30884 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30885 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30886 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30888 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30892 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30894 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30895 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30896 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30897 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30899 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30903 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30905 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30906 __feraiseexcept instead of feraiseexcept.
30908 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30909 nanosleep invocations.
30910 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30911 strings, and add error checking for a nanosleep invocations.
30913 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30915 Replace FSF snail mail address with URLs, as per GNU coding standards.
30916 Most of the snail mail addresses were wrong anyway, and omitting
30917 them makes the source code easier to maintain. Almost all of the
30918 changes are to license notices and to locale LC_IDENTIFICATION
30919 addresses, except for this one:
30920 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30921 not its snail mail address.
30923 2012-02-09 Richard Henderson <rth@twiddle.net>
30925 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30926 of kernel-features.h.
30928 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30930 2012-02-08 Marek Polacek <polacek@redhat.com>
30932 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30933 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30934 * sysdeps/gnu/_G_config.h: Likewise.
30935 * sysdeps/generic/_G_config.h: Likewise.
30937 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30939 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30943 * sysdeps/powerpc/powerpc32/crti.S: New file.
30944 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30945 * sysdeps/powerpc/powerpc64/crti.S: New file.
30946 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30948 * Makeconfig (have-initfini): Don't set.
30949 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30950 * configure.in (nopic_initfini): Don't substitute.
30951 * config.h.in (HAVE_INITFINI): Don't #undef.
30952 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30953 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30955 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30957 Support crti.S and crtn.S provided directly by architectures.
30958 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30959 [crti.S in sysdirs] (omit-deps): Likewise.
30960 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30961 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30962 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30963 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30964 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30965 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30966 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30967 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30968 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30969 compiler output for sysdeps/generic/initfini.c.
30970 * sysdeps/i386/elf/Makefile: Remove file.
30971 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30973 2012-02-07 Marek Polacek <polacek@redhat.com>
30975 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30976 * sysdeps/gnu/_G_config.h: Likewise.
30977 * sysdeps/mach/hurd/_G_config.h: Likewise.
30979 2012-02-07 Marek Polacek <polacek@redhat.com>
30981 * math/Makefile (tests): Add tst-CMPLX2.
30982 * math/tst-CMPLX2.c: New file.
30984 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30986 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30988 * math/libm-test.inc (jn_test): Add missing L suffix.
30990 2012-02-06 Marek Polacek <polacek@redhat.com>
30992 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30993 * sysdeps/i386/fpu/e_powf.S: Likewise.
30994 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30995 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30996 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30997 * sysdeps/i386/fpu/e_pow.S: Likewise.
30998 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30999 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31000 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31001 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31002 * sysdeps/i386/fpu/e_log2.S: Likewise.
31003 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31004 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31005 * sysdeps/i386/fpu/e_powl.S: Likewise.
31006 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31007 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31008 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31009 * sysdeps/i386/fpu/e_logl.S: Likewise.
31010 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31011 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31012 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31013 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31015 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31016 * sysdeps/i386/fpu/e_log.S: Likewise.
31017 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31019 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31020 * sysdeps/i386/fpu/e_logf.S: Likewise.
31021 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31023 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31024 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31025 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31026 * sysdeps/i386/fpu/e_log10.S: Likewise.
31027 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31028 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31029 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31030 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31031 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31032 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31033 * sysdeps/i386/asm-syntax.h: Likewise.
31034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31036 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31037 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31038 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31039 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31040 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31041 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31043 * sysdeps/powerpc/sysdep.h: Likewise.
31044 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31045 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31047 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31050 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31052 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31054 * sysdeps/i386/sysdep.h: Include <features.h>.
31055 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31058 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31060 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31062 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31065 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31067 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31068 (SETUP_PIC_REG): Use GET_PC_THUNK.
31069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31072 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31074 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31075 for non-PIC compilation.
31076 (SETUP_PIC_REG): Add .p2align directive.
31077 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31078 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31079 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31080 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31081 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31082 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31083 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31092 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31093 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31099 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31100 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31103 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31109 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31112 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31113 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31114 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31116 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31117 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31119 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31121 * math/tst-CMPLX.c: Include <stdio.h>.
31123 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31125 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31127 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31128 * sysdeps/sparc/bits/mathdef.h: Likewise.
31130 2012-01-31 Marek Polacek <polacek@redhat.com>
31132 * libio/libio.h: Don't define _PARAMS.
31133 * locale/programs/config.h: Don't define PARAMS.
31134 * stdlib/strtol_l.c: Likewise.
31135 (__strtol_l): Remove PARAMS from the prototype.
31137 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31139 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31140 names. Just use the correct names. Remove unnecessary wrapper
31142 * malloc/arena.c: Likewise.
31143 * malloc/hooks.c: Likewise.
31145 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31146 ARENA_TEST says not to. Simplify test for creation of a new arena.
31147 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31149 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31151 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31153 (update_get_addr): New function.
31154 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31155 GET_ADDR_MODULE parameter.
31157 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31159 * crypt/cert.c: Remove __STDC__ conditionals.
31160 * crypt/crypt-entry.c: Likewise.
31161 * crypt/crypt_util.c: Likewise.
31162 * libio/filedoalloc.c: Likewise.
31163 * libio/fileops.c: Likewise.
31164 * libio/genops.c: Likewise.
31165 * libio/iofclose.c: Likewise.
31166 * libio/iofdopen.c: Likewise.
31167 * libio/iofopen.c: Likewise.
31168 * libio/iofopen64.c: Likewise.
31169 * libio/iogetdelim.c: Likewise.
31170 * libio/iopopen.c: Likewise.
31171 * libio/obprintf.c: Likewise.
31172 * libio/oldfileops.c: Likewise.
31173 * libio/oldiofclose.c: Likewise.
31174 * libio/oldiofdopen.c: Likewise.
31175 * libio/oldiofopen.c: Likewise.
31176 * libio/oldiopopen.c: Likewise.
31177 * libio/wfiledoalloc.c: Likewise.
31178 * libio/wgenops.c: Likewise.
31179 * locale/programs/xmalloc.c: Likewise.
31180 * misc/syslog.c: Likewise.
31181 * stdio-common/xbug.c: Likewise.
31182 * string/memchr.c: Likewise.
31183 * string/memcmp.c: Likewise.
31184 * string/memrchr.c: Likewise.
31185 * string/rawmemchr.c: Likewise.
31186 * sysdeps/posix/getcwd.c: Likewise.
31187 * time/strftime_l.c: Likewise.
31189 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31191 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31192 * config.make.in (config-cflags-sse2avx): Define.
31193 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31196 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31198 * scripts/config.guess: Update from upstream config git repository.
31199 * scripts/config.sub: Likewise.
31201 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31203 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31205 (R_TILEPRO_*, R_TILEGX_*): New macros.
31207 * scripts/firstversions.awk: Fix bug in version range handling.
31209 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31211 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31213 * include/sys/epoll.h: New file.
31214 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31217 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31219 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31220 Avoid unnecessary __WORDSIZE == 64 test.
31221 (fmaxf): Use VEX format if possible.
31226 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31227 * math/math_private.h: Remove libc_fegetround* and
31229 * sysdeps/i386/configure.in: Check for -msse2avx.
31230 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31231 also if SSE2AVX is defined.
31232 Remove libc_fegetround* and libc_fesetround*.
31233 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31234 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31240 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31243 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31245 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31247 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31249 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31251 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31254 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31256 * Makeconfig (libm): Define.
31257 * elf/Makefile: Add rules to build and run tst-relsort1.
31258 * elf/tst-relsort1.c: New file.
31259 * elf/tst-relsort1mod1.c: New file.
31260 * elf/tst-relsort1mod2.c: New file.
31262 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31264 * math/s_ldexp.c: Remove __STDC__ conditionals.
31265 * math/s_ldexpf.c: Likewise.
31266 * math/s_ldexpl.c: Likewise.
31267 * math/s_nextafter.c: Likewise.
31268 * math/s_nexttowardf.c: Likewise.
31269 * math/s_significand.c: Likewise.
31270 * math/s_significandf.c: Likewise.
31271 * math/s_significandl.c: Likewise.
31272 * math/w_jnl.c: Likewise.
31273 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31274 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31275 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31276 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31277 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31279 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31280 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31281 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31282 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31283 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31285 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31286 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31288 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31289 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31290 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31292 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31293 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31294 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31295 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31297 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31298 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31299 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31300 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31301 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31304 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31306 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31307 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31308 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31309 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31310 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31311 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31312 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31313 * sysdeps/ieee754/k_standard.c: Likewise.
31314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31316 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31317 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31319 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31323 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31325 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31326 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31327 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31328 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31333 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31338 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31339 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31340 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31345 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31349 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31350 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31366 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31368 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31369 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31370 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31371 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31372 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31374 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31375 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31378 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31380 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31383 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31385 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31386 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31388 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31389 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31390 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31392 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31393 * sysdeps/ieee754/s_matherr.c: Likewise.
31394 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31395 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31397 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31399 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31401 * crypt/md5.h: Remove __STDC__ conditionals.
31402 * libio/libioP.h: Likewise.
31403 * locale/programs/config.h: Likewise.
31404 * sysdeps/generic/sysdep.h: Likewise.
31405 * sysdeps/i386/asm-syntax.h: Likewise.
31406 * sysdeps/s390/asm-syntax.h: Likewise.
31407 * sysdeps/unix/sysdep.h: Likewise.
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31411 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31413 * libio/libio.h: Remove __STDC__ conditionals.
31414 * malloc/obstack.h: Likewise.
31415 * math/complex.h: Likewise.
31416 * math/math.h: Likewise.
31417 * sysdeps/generic/_G_config.h: Likewise.
31418 * sysdeps/gnu/_G_config.h: Likewise.
31419 * sysdeps/mach/hurd/_G_config.h: Likewise.
31420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31421 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31422 * sysdeps/sparc/bits/mathdef.h: Likewise.
31424 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31427 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31428 Clean up HAS_* macros.
31429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31430 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31435 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31440 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31442 * elf/tst-unique3.cc (gets): Remove declaration.
31443 * elf/tst-unique3lib.cc (gets): Likewise.
31444 * elf/tst-unique3lib2.cc (gets): Likewise.
31445 * elf/tst-unique4.cc (gets): Likewise.
31447 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31449 * include/stdio.h: Add C++ protection. Add gets declarations and
31451 * debug/tst-chk1.c: Don't declare gets here.
31452 * stdio-common/tst-gets.c: Likewise.
31454 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31456 * posix/glob: Remove directory.
31458 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31460 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31462 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31464 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31465 of the non-standard EPFNOSUPPORT.
31467 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31469 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31470 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31471 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31473 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31475 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31477 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31479 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31481 * nscd/grpcache.c (cache_addgr): Likewise.
31482 * nscd/hstcache.c (cache_addhst): Likewise.
31483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31484 * nscd/pwdcache.c (cache_addpw): Likewise.
31485 * nscd/servicescache.c (cache_addserv): Likewise.
31487 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31489 * malloc/malloc.c: Various cleanups.
31490 * malloc/hooks.c: Likewise.
31492 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31493 * stdlib/bug-fmtmsg1.c: New file.
31495 * stdlib/fmtmsg.c (init): Add missing unlock.
31496 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31498 2012-01-12 Marek Polacek <polacek@redhat.com>
31500 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31503 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31505 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31507 macro to ensure uniqueness of label name.
31508 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31509 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31511 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31513 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31516 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31520 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31522 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31524 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31525 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31526 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31528 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31530 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31531 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31535 * math/bits/math-finite.h: Add ldexp support.
31537 2012-01-10 Marek Polacek <polacek@redhat.com>
31539 * locale/programs/localedef.h (show_archive_content): Add noreturn
31542 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31544 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31546 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31548 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31550 * io/Makefile (headers): Add bits/poll2.h.
31552 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31555 typo #include statement.
31557 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31559 * include/sys/cdefs.h: Define __attribute_alloc_size.
31560 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31561 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31562 * elf/pldd.c: Likewise.
31563 * iconv/iconv_charmap.c: Likewise.
31564 * iconv/iconvconfig.c: Likewise.
31565 * iconv/strtab.c: Likewise.
31566 * locale/programs/locale.c: Likewise.
31567 * locale/programs/localedef.h: Likewise.
31568 * locale/programs/simple-hash.c: Likewise.
31569 * nscd/nscd.h: Likewise.
31570 * nss/makedb.c: Likewise.
31571 * sysdeps/generic/ldconfig.h: Likewise.
31572 * locale/programs/localedef.c: Remove xmalloc prototype.
31573 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31575 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31580 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31582 * math/Makefile (tests): Add tst-CMPLX.
31583 * math/tst-CMPLX.c: New file.
31585 * math/complex.h (CMPLXL): Fix typo.
31587 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31588 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31590 * debug/tst-chk1.c: Add poll and ppoll tests.
31591 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31592 * include/sys/poll.h: Add hidden proto for ppoll.
31593 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31594 * sysdeps/mach/hurd/ppoll.c: Likewise.
31595 * io/ppoll.c: Likewise.
31596 * debug/poll_chk.c: New file.
31597 * debug/ppoll_chk.c: New file.
31598 * include/bits/poll2.h: New file.
31599 * io/bits/poll2.h: New file.
31602 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31604 * configure.in: static is always set to yes. Remove.
31605 * config.make.in: Don't set build-static.
31606 * Makeconfig: Remove use of build-static.
31607 * dlfcn/Makefile: Likewise.
31608 * elf/Makefile: Likewise.
31609 * math/Makefile: Likewise.
31610 * misc/Makefile: Likewise.
31611 * nptl/Makefile: Likewise.
31612 * sysdeps/mach/hurd/Makefile: Likewise.
31614 * configure.in: PWD_P is not used anymore.
31615 * config.make.in: Remove PWD_P entry.
31617 * configure.in: Remove last remnants of RANLIB.
31618 No need to check for signed size_t anymore.
31619 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31621 Remove __builtin_expect test because we require at least gcc 3.4.
31622 * aclocal.m4: Likewise.
31624 * wcsmbs/mbrtoc16.c: Implement using towc function.
31625 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31626 * wcsmbs/wcsmbsload.c: Likewise.
31627 * iconv/gconv_simple.c: Likewise.
31628 * iconv/gconv_int.h: Likewise.
31629 * iconv/gconv_builtin.h: Likewise.
31630 * iconv/iconv_prog.c: Remove CHAR16 handling.
31632 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31634 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31636 * configure.in: Remove --with-elf and --enable-bounded options.
31637 Dont set base_machine for ia64. More non-ELF conditions removed.
31638 Remove testing and setting of leading underscore information.
31639 * config.make.in (build-bounded): Set to no.
31640 * config.h.in: Remove NO_UNDERSCORES entry.
31641 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31643 * csu/start.c: Remove !NO_UNDERSCORE code.
31644 * locale/localeinfo.h: Likewise.
31645 * sysdeps/generic/machine-gmon.h: Likewise.
31646 * sysdeps/generic/sysdep.h: Likewise.
31647 * sysdeps/i386/sysdep.h: Likewise.
31648 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31649 * sysdeps/mach/sysdep.h: Likewise.
31650 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31651 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31652 * sysdeps/sh/sysdep.h: Likewise.
31653 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31654 * sysdeps/unix/i386/sysdep.S: Likewise.
31655 * sysdeps/unix/sparc/start.c: Likewise.
31656 * sysdeps/unix/sparc/sysdep.S: Likewise.
31657 * sysdeps/unix/sparc/sysdep.h: Likewise.
31658 * sysdeps/unix/start.c: Likewise.
31659 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31660 * sysdeps/x86_64/sysdep.h: Likewise.
31662 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31665 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31667 * argp/argp-fmtstream.h: Use const instead __const.
31668 * argp/argp.h: Likewise.
31669 * assert/assert.h: Likewise.
31670 * bits/fenv.h: Likewise.
31671 * bits/sched.h: Likewise.
31672 * bits/sigset.h: Likewise.
31673 * bits/sigthread.h: Likewise.
31674 * catgets/nl_types.h: Likewise.
31675 * conform/data/pthread.h-data: Likewise.
31676 * crypt/crypt-private.h: Likewise.
31677 * crypt/crypt.h: Likewise.
31678 * crypt/crypt_util.c: Likewise.
31679 * ctype/ctype.h: Likewise.
31680 * debug/execinfo.h: Likewise.
31681 * debug/mbsnrtowcs_chk.c: Likewise.
31682 * debug/mbsrtowcs_chk.c: Likewise.
31683 * debug/wcsnrtombs_chk.c: Likewise.
31684 * debug/wcsrtombs_chk.c: Likewise.
31685 * debug/wcstombs_chk.c: Likewise.
31686 * dirent/dirent.h: Likewise.
31687 * dlfcn/dlfcn.h: Likewise.
31688 * elf/neededtest4.c: Likewise.
31689 * grp/grp.h: Likewise.
31690 * gshadow/gshadow.h: Likewise.
31691 * iconv/gconv.h: Likewise.
31692 * iconv/gconv_int.h: Likewise.
31693 * iconv/gconv_simple.c: Likewise.
31694 * iconv/iconv.h: Likewise.
31695 * iconv/loop.c: Likewise.
31696 * iconv/skeleton.c: Likewise.
31697 * include/aio.h: Likewise.
31698 * include/aliases.h: Likewise.
31699 * include/argz.h: Likewise.
31700 * include/arpa/inet.h: Likewise.
31701 * include/assert.h: Likewise.
31702 * include/dirent.h: Likewise.
31703 * include/dlfcn.h: Likewise.
31704 * include/execinfo.h: Likewise.
31705 * include/fcntl.h: Likewise.
31706 * include/fenv.h: Likewise.
31707 * include/glob.h: Likewise.
31708 * include/grp.h: Likewise.
31709 * include/libintl.h: Likewise.
31710 * include/mntent.h: Likewise.
31711 * include/netdb.h: Likewise.
31712 * include/pwd.h: Likewise.
31713 * include/rpc/netdb.h: Likewise.
31714 * include/sched.h: Likewise.
31715 * include/search.h: Likewise.
31716 * include/shadow.h: Likewise.
31717 * include/signal.h: Likewise.
31718 * include/stdio.h: Likewise.
31719 * include/stdlib.h: Likewise.
31720 * include/string.h: Likewise.
31721 * include/sys/socket.h: Likewise.
31722 * include/sys/stat.h: Likewise.
31723 * include/sys/statfs.h: Likewise.
31724 * include/sys/statvfs.h: Likewise.
31725 * include/sys/syslog.h: Likewise.
31726 * include/sys/time.h: Likewise.
31727 * include/sys/uio.h: Likewise.
31728 * include/time.h: Likewise.
31729 * include/unistd.h: Likewise.
31730 * include/utmp.h: Likewise.
31731 * include/wchar.h: Likewise.
31732 * include/wctype.h: Likewise.
31733 * inet/aliases.h: Likewise.
31734 * inet/arpa/inet.h: Likewise.
31735 * inet/netinet/ether.h: Likewise.
31736 * inet/netinet/in.h: Likewise.
31737 * intl/libintl.h: Likewise.
31738 * io/bits/fcntl2.h: Likewise.
31739 * io/fcntl.h: Likewise.
31740 * io/ftw.h: Likewise.
31741 * io/sys/poll.h: Likewise.
31742 * io/sys/stat.h: Likewise.
31743 * io/sys/statfs.h: Likewise.
31744 * io/sys/statvfs.h: Likewise.
31745 * io/utime.h: Likewise.
31746 * libio/bits/stdio.h: Likewise.
31747 * libio/bits/stdio2.h: Likewise.
31748 * libio/libio.h: Likewise.
31749 * libio/libioP.h: Likewise.
31750 * libio/stdio.h: Likewise.
31751 * locale/lc-ctype.c: Likewise.
31752 * locale/locale.h: Likewise.
31753 * login/utmp.h: Likewise.
31754 * malloc/arena.c: Likewise.
31755 * malloc/malloc.c: Likewise.
31756 * malloc/malloc.h: Likewise.
31757 * malloc/mcheck.c: Likewise.
31758 * malloc/mtrace.c: Likewise.
31759 * math/bits/mathcalls.h: Likewise.
31760 * math/fenv.h: Likewise.
31761 * math/math_private.h: Likewise.
31762 * misc/bits/error.h: Likewise.
31763 * misc/bits/syslog.h: Likewise.
31764 * misc/err.h: Likewise.
31765 * misc/error.h: Likewise.
31766 * misc/fstab.h: Likewise.
31767 * misc/mntent.h: Likewise.
31768 * misc/regexp.h: Likewise.
31769 * misc/search.h: Likewise.
31770 * misc/sgtty.h: Likewise.
31771 * misc/sys/mman.h: Likewise.
31772 * misc/sys/syslog.h: Likewise.
31773 * misc/sys/uio.h: Likewise.
31774 * misc/sys/xattr.h: Likewise.
31775 * misc/ttyent.h: Likewise.
31776 * nis/rpcsvc/ypclnt.h: Likewise.
31777 * nss/nss.h: Likewise.
31778 * posix/bits/unistd.h: Likewise.
31779 * posix/fnmatch.h: Likewise.
31780 * posix/glob.h: Likewise.
31781 * posix/sched.h: Likewise.
31782 * posix/spawn.h: Likewise.
31783 * posix/sys/wait.h: Likewise.
31784 * posix/unistd.h: Likewise.
31785 * posix/wordexp.h: Likewise.
31786 * pwd/pwd.h: Likewise.
31787 * resolv/netdb.h: Likewise.
31788 * resource/sys/resource.h: Likewise.
31789 * rt/aio.h: Likewise.
31790 * rt/bits/mqueue2.h: Likewise.
31791 * rt/mqueue.h: Likewise.
31792 * shadow/shadow.h: Likewise.
31793 * signal/signal.h: Likewise.
31794 * socket/send.c: Likewise.
31795 * socket/sendto.c: Likewise.
31796 * socket/sys/socket.h: Likewise.
31797 * stdio-common/printf.h: Likewise.
31798 * stdlib/bits/stdlib.h: Likewise.
31799 * stdlib/fmtmsg.h: Likewise.
31800 * stdlib/monetary.h: Likewise.
31801 * stdlib/stdlib.h: Likewise.
31802 * stdlib/ucontext.h: Likewise.
31803 * streams/stropts.h: Likewise.
31804 * string/argz.h: Likewise.
31805 * string/bits/string2.h: Likewise.
31806 * string/string.h: Likewise.
31807 * string/strings.h: Likewise.
31808 * sunrpc/rpc/auth.h: Likewise.
31809 * sunrpc/rpc/auth_des.h: Likewise.
31810 * sunrpc/rpc/clnt.h: Likewise.
31811 * sunrpc/rpc/netdb.h: Likewise.
31812 * sunrpc/rpc/pmap_clnt.h: Likewise.
31813 * sunrpc/rpc/xdr.h: Likewise.
31814 * sysdeps/generic/inttypes.h: Likewise.
31815 * sysdeps/generic/net/if.h: Likewise.
31816 * sysdeps/generic/sys/swap.h: Likewise.
31817 * sysdeps/gnu/net/if.h: Likewise.
31818 * sysdeps/gnu/utmpx.h: Likewise.
31819 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31820 * sysdeps/i386/i486/bits/string.h: Likewise.
31821 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31822 * sysdeps/s390/bits/string.h: Likewise.
31823 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31824 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31825 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31826 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31827 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31828 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31829 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31830 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31831 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31832 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31833 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31834 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31835 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31836 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31837 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31838 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31839 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31842 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31843 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31844 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31845 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31846 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31847 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31848 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31849 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31851 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31852 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31853 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31854 * sysvipc/sys/ipc.h: Likewise.
31855 * sysvipc/sys/msg.h: Likewise.
31856 * sysvipc/sys/sem.h: Likewise.
31857 * sysvipc/sys/shm.h: Likewise.
31858 * termios/termios.h: Likewise.
31859 * time/sys/time.h: Likewise.
31860 * time/time.h: Likewise.
31861 * wcsmbs/bits/wchar2.h: Likewise.
31862 * wcsmbs/uchar.h: Likewise.
31863 * wcsmbs/wchar.h: Likewise.
31864 * wctype/wctype.h: Likewise.
31867 * Makeconfig: Remove all but ELF support including AIX support.
31868 * Makerules: Likewise.
31869 * config.h.in: Likewise.
31870 * config.make.in: Likewise.
31871 * configure: Likewise.
31872 * configure.in: Likewise.
31873 * csu/Makefile: Likewise.
31874 * csu/version.c: Likewise.
31875 * debug/Makefile: Likewise.
31876 * dlfcn/Makefile: Likewise.
31877 * elf/Makefile: Likewise.
31878 * extra-lib.mk: Likewise.
31879 * iconv/Makefile: Likewise.
31880 * include/libc-symbols.h: Likewise.
31881 * include/shlib-compat.h: Likewise.
31882 * resolv/Makefile: Likewise.
31883 * resolv/res_libc.c: Likewise.
31884 * rt/Makefile: Likewise.
31885 * sysdeps/i386/asm-syntax.h: Likewise.
31886 * sysdeps/i386/sysdep.h: Likewise.
31887 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31888 * sysdeps/mach/sysdep.h: Likewise.
31889 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31890 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31891 * sysdeps/s390/asm-syntax.h: Likewise.
31892 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31894 * sysdeps/sh/sysdep.h: Likewise.
31895 * sysdeps/unix/sparc/sysdep.h: Likewise.
31896 * sysdeps/wordsize-32/divdi3.c: Likewise.
31897 * sysdeps/x86_64/sysdep.h: Likewise.
31899 * argp/Versions: Remove _argp_unlock_xxx.
31902 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31903 * abilist/libBrokenLocale.abilist: Likewise.
31904 * abilist/libanl.abilist: Likewise.
31905 * abilist/libc.abilist: Likewise.
31906 * abilist/libcrypt.abilist: Likewise.
31907 * abilist/libdl.abilist: Likewise.
31908 * abilist/libm.abilist: Likewise.
31909 * abilist/libnsl.abilist: Likewise.
31910 * abilist/libpthread.abilist: Likewise.
31911 * abilist/libresolv.abilist: Likewise.
31912 * abilist/librt.abilist: Likewise.
31913 * abilist/libthread_db.abilist: Likewise.
31914 * abilist/libutil.abilist: Likewise.
31915 * abilist/libnss_db.abilist: New file.
31917 * scripts/abilist.awk: Add support for indirect functions.
31919 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31921 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31923 * shlib-versions: Remove entries for ports architectures.
31925 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31927 * elf/stackguard-macros.h: Remove support for IA-64.
31928 * elf/tst-auditmod1.c: Likewise.
31929 * sysdeps/generic/ldsodefs.h: Likewise.
31931 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31932 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31936 * configure.in: Remove --enable-omitfp support.
31938 * config.make.in: Likewise.
31939 * Makeconfig: Likewise.
31940 * manual/install.texi: Likewise.
31942 In case anyone cares, the IA-64 architecture could move to ports.
31943 * sysdeps/ia64/*: Removed.
31944 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31945 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31948 * configure.in: Remove entries for unsupported architectures.
31951 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31952 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31954 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31955 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31956 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31957 fall back to using wcrtomb.
31958 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31959 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31961 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31962 * wcsmbs/tst-c16c32-1.c: New file.
31964 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31967 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31969 * elf/tst-unique3.cc: Add explicit declaration of gets.
31970 * elf/tst-unique3lib.cc: Likewise.
31971 * elf/tst-unique3lib2.cc: Likewise.
31972 * elf/tst-unique4.cc: Likewise.
31974 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31976 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31979 * assert/assert.h (static_assert): Don't define for C++.
31980 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31981 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31983 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31985 * iconv/loop.c (single loop): Fix assertion in storing of
31988 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31990 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31992 * posix/getconf.c: Update copyright year.
31993 * nss/getent.c: Likewise.
31994 * nss/makedb.c: Likewise.
31995 * iconv/iconvconfig.c: Likewise.
31996 * iconv/iconv_prog.c: Likewise.
31997 * elf/ldconfig.c: Likewise.
31998 * elf/pldd.c: Likewise.
31999 * elf/sotruss.ksh: Likewise.
32000 * catgets/gencat.c: Likewise.
32001 * csu/version.c: Likewise.
32002 * elf/ldd.bash.in: Likewise.
32003 * elf/sprof.c (print_version): Likewise.
32004 * locale/programs/locale.c: Likewise.
32005 * locale/programs/localedef.c: Likewise.
32006 * login/programs/pt_chown.c: Likewise.
32007 * nscd/nscd.c (print_version): Likewise.
32008 * debug/xtrace.sh: Likewise.
32009 * malloc/memusage.sh: Likewise.
32010 * malloc/mtrace.pl: Likewise.
32011 * debug/catchsegv.sh: Likewise.
32013 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32015 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32018 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32021 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32022 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32024 * iconv/gconv_int.h: Likewise.
32025 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32026 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32027 from libc for GLIBC_2.16.
32028 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32029 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32030 * wcsmbs/uchar.h: Really define mbstate_t.
32031 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32032 * wcsmbs/c16rtomb.c: New file.
32033 * wcsmbs/mbrtoc16.c: New file.
32034 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32035 for C/POSIX locale.
32036 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32037 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32039 * wcsmbs/wchar.h: Add missing __restrict.
32041 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32044 * time/Makefile (routines): Add timespec_get.
32045 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32046 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32047 timespec for ISO C11.
32048 * time/timespec_get.c: New file.
32049 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32050 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32053 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32054 * stdlib/stdlib.h: Declare aligned_alloc.
32055 * Versions.def: Add GLIBC_2.16 for libc.
32056 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32059 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32062 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32066 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32069 * assert/assert.h (static_assert): Define.
32071 * version.h: Update for 2.16 development version.
32074 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32077 * version.h (RELEASE): Bump for 2.15 release.
32078 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32080 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32081 Patch by Marek Polacek <mpolacek@redhat.com>.
32083 * bits/byteswap.h: Protect long long constants with __extension__.
32084 * sysdeps/i386/bits/byteswap.h: Likewise.
32085 * sysdeps/ia64/bits/byteswap.h: Likewise.
32086 * sysdeps/s390/bits/byteswap.h: Likewise.
32087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32089 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32093 destination buffer.
32094 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32096 2011-12-23 Marek Polacek <polacek@redhat.com>
32098 * elf/dl-addr.c (determine_info): Add inline keyword.
32099 * elf/tst-auditmod4b.c (check_avx): Likewise.
32100 * elf/tst-auditmod6b.c (check_avx): Likewise.
32101 * elf/tst-auditmod6c.c (check_avx): Likewise.
32102 * elf/tst-auditmod7b.c (check_avx): Likewise.
32104 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32106 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32109 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32112 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32113 processing for last bytes.
32115 2011-08-06 Bruno Haible <bruno@clisp.org>
32118 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32119 U+0385, not to U+1FEE.
32122 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32123 entry for U+00A5 U+0301.
32125 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32128 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32129 buffer for the output is too small.
32131 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32135 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32136 SSE flags if possible.
32138 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32142 processing for last bytes.
32144 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32146 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32147 (syscall-list-default-options, syscall-list-default-condition)
32148 (syscall-list-includes): Define.
32149 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32150 list of ABIs and options and #if conditions for each ABI. Do not
32151 handle common syscalls between ABIs specially.
32152 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32154 (syscall-list-variants, syscall-list-32bit-options)
32155 (syscall-list-32bit-condition, syscall-list-64bit-options)
32156 (syscall-list-64bit-condition): Define.
32157 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32158 (syscall-list-variants, syscall-list-32bit-options)
32159 (syscall-list-32bit-condition, syscall-list-64bit-options)
32160 (syscall-list-64bit-condition): Define.
32161 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32163 (syscall-list-variants, syscall-list-32bit-options)
32164 (syscall-list-32bit-condition, syscall-list-64bit-options)
32165 (syscall-list-64bit-condition): Define.
32166 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32168 (syscall-list-variants, syscall-list-32bit-options)
32169 (syscall-list-32bit-condition, syscall-list-64bit-options)
32170 (syscall-list-64bit-condition): Define.
32172 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32174 * locale/iso-639.def: Add brx entry.
32177 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32178 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32180 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32181 __feraiseexcept_renamed.
32183 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32186 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32187 EPOLLET with unsigned values.
32188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32191 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32192 to large cancellation.
32193 * math/s_cacoshf.c: Likewise.
32194 * math/s_cacoshl.c: Likewise.
32196 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32200 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32201 * math/s_cacoshf.c: Likewise.
32202 * math/s_cacoshl.c: Likewise.
32204 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32207 * iconv/gconv.h: Define __GCONV_SWAP.
32208 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32209 * iconvdata/utf-16.c: Likewise.
32210 * iconvdata/utf-32.c: Likewise.
32212 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32216 numerator after shifting it by one limb.
32218 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32220 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32221 under [__USE_EXTERN_INLINES].
32223 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32226 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32228 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32230 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32231 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32233 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32234 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32235 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32236 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32237 for strncasecmp/strncasecmp_l compilation.
32238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32239 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32241 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32244 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32247 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32250 * time/tzfile.c (__tzfile_read): Check values from file header.
32252 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32254 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32255 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32256 * powerpc/powerpc32/dl-start.S: Likewise.
32257 * powerpc/powerpc32/elf/start.S: Likewise.
32258 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32259 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32260 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32261 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32262 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32263 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32264 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32265 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32266 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32267 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32268 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32269 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32270 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32271 * powerpc/powerpc32/memset.S: Likewise.
32272 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32273 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32274 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32275 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32276 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32277 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32278 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32279 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32280 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32281 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32282 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32283 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32284 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32286 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32288 * math/libm-test.inc: Added more nearbyint tests.
32289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32292 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32294 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32296 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32299 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32301 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32302 Add wcscpy-ssse3 wcscpy-c.
32303 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32304 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32305 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32306 * sysdeps/x86_64/wcschr.S: New file.
32307 * sysdeps/x86_64/wcsrchr.S: New file.
32308 * string/test-strcmp.c: Remove checking of wcscmp function for
32310 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32311 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32312 wcsrchr-sse2 wcsrchr-c.
32313 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32314 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32315 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32316 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32317 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32318 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32319 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32320 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32321 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32322 * wcsmbc/wcschr.c (WCSCHR): New macro.
32324 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32326 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32327 * wcsmbs/test-wcsrchr.c: New file.
32328 * string/test-strrchr.c: Add wcsrchr support.
32330 * wcsmbs/test-wcscpy.c: New file.
32331 * string/test-strcpy.c: Add wcscpy support.
32334 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32336 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32339 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32342 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32344 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32346 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32347 Minor optimizations.
32349 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32350 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32351 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32353 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32355 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32356 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32357 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32358 for gcc to avoid warnings.
32359 * inet/Makefile (tests): Add tst-checks.
32360 * inet/tst-checks.c: New file.
32362 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32365 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32368 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32369 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32371 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32373 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32375 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32378 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32380 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32382 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32383 conditional on GCC version.
32384 (__arch_compare_and_exchange_val_8_acq)
32385 (__arch_compare_and_exchange_val_16_acq)
32386 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32387 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32388 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32390 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32392 * sysdeps/sh/backtrace.c: New file.
32394 2011-12-02 Andreas Schwab <schwab@redhat.com>
32396 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32399 2011-12-01 Andreas Schwab <schwab@redhat.com>
32401 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32402 falling back to utime.
32404 2011-11-30 Andreas Schwab <schwab@redhat.com>
32406 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32407 expectations for float.
32409 2011-11-29 Andreas Schwab <schwab@redhat.com>
32411 * locale/weight.h (findidx): Add parameter len.
32412 * locale/weightwc.h (findidx): Likewise.
32413 * posix/fnmatch_loop.c (FCT): Adjust caller.
32414 * posix/regcomp.c (build_equiv_class): Likewise.
32415 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32416 * posix/regexec.c (check_node_accept_bytes): Likewise.
32417 * string/strcoll_l.c (STRCOLL): Likewise.
32418 * string/strxfrm_l.c (STRXFRM): Likewise.
32420 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32422 * Makefile.in: Remove CVSOPT handling.
32423 * configure.in: Remove use of AC_REVISION.
32424 * iconvdata/Makefile (distribute): No need to filter out CVS.
32425 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32428 2011-11-16 Andreas Schwab <schwab@redhat.com>
32430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32431 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32432 [USE_AS_STRNCASECMP_L]: Likewise.
32433 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32434 NO_TLS_DIRECT_SEG_REFS.
32435 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32436 Fix argument offsets for non-PIC.
32437 [USE_AS_STRNCASECMP_L]: Likewise.
32438 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32439 NO_TLS_DIRECT_SEG_REFS.
32441 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32443 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32445 * locale/loadlocale.c (_nl_load_locale): Likewise.
32447 2011-11-15 Andreas Schwab <schwab@redhat.com>
32449 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32450 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32451 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32452 (SYSCALL_GETTIME): Set errno on error.
32454 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32455 count references to noai6ai_cached.
32457 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32459 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32461 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32462 FD_CLOEXEC for /proc/self/maps.
32464 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32465 FD_CLOEXEC for /proc/meminfo.
32467 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32470 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32471 FD_CLOEXEC for given file.
32473 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32475 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32476 FD_CLOEXEC for /etc/hosts.
32477 (_gethtent): Likewise.
32479 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32481 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32482 cancellation and set FD_CLOEXEC for /etc/netgroup.
32484 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32485 reading /etc/publickey.
32487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32488 allow cancellation when reading /etc/group.
32490 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32492 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32494 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32495 when using data file.
32497 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32499 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32500 (write_nis_obj): Use "c" and "e" in fopen.
32502 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32504 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32506 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32508 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32510 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32513 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32515 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32517 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32519 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32520 file parsing and set FD_CLOEXEC.
32522 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32524 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32526 2011-11-14 Andreas Schwab <schwab@redhat.com>
32528 * malloc/arena.c (arena_get2): Don't call reused_arena when
32529 _int_new_arena failed.
32531 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32533 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32534 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32536 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32539 to compile strcasecmp and strncasecmp.
32540 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32541 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32545 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32547 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32548 locale-defines.sym to gen-as-const-headers.
32549 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32550 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32552 to compile strcasecmp and strncasecmp.
32553 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32554 strcasecmp_l and strncasecmp_l.
32555 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32556 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32557 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32559 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32560 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32561 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32562 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32563 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32564 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32565 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32567 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32569 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32570 result of SYSDEP_GETTIME_CPU to retval.
32571 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32572 parameter list to macro. Remove trailing semicolon. Adjust users.
32574 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32577 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32581 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32582 from unused variable.
32584 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32586 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32589 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32592 * sunrpc/rpc_prot.c (rejected): Fix case value.
32594 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32595 unsigned long long int to avoid warnings in shift.
32597 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32599 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32602 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32603 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32604 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32606 * nis/nis_table.c (nis_list): Use variable of correct type for
32607 result of __follow_path call.
32609 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32611 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32612 of math functions ceil, trunc, floor, round, and sqrt, when
32613 avaliable on the platform.
32614 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32616 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32617 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32618 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32620 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32622 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32623 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32625 2011-11-11 Roland McGrath <roland@hack.frob.com>
32627 * include/unistd.h: Fix __readlink return type.
32628 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32630 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32632 * stdlib/ucontext.h: Undo last change for makecontext.
32634 2011-11-11 Andreas Schwab <schwab@redhat.com>
32636 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32638 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32639 * setjmp/setjmp.h: Mark functions as non-leaf.
32640 * setjmp/bits/setjmp2.h: Likewise.
32641 * stdlib/ucontext.h: Likewise.
32643 2011-11-10 Andreas Schwab <schwab@redhat.com>
32645 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32646 (reused_arena): Don't check arena limit.
32647 (arena_get2): Atomically check arena limit.
32649 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32651 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32652 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32657 2011-11-07 Andreas Schwab <schwab@redhat.com>
32659 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32660 handler when locking.
32662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32663 Fix size of allocated buffer.
32665 2011-11-04 Andreas Schwab <schwab@redhat.com>
32668 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32669 declarations for long double functions.
32670 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32672 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32674 2011-11-03 Andreas Schwab <schwab@redhat.com>
32676 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32679 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32682 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32684 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32686 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32688 * include/alloca.h (stackinfo_alloca_round): Define.
32689 (extend_alloca): Use it.
32690 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32691 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32694 * scripts/check-local-headers.sh: Ignore libaudit.h.
32696 * nscd/Makefile (extra-objs): Make recursively expanded.
32698 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32700 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32703 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32704 * posix/tst-rfc3484-2.c: Likewise.
32705 * posix/tst-rfc3484-3.c: Likewise.
32707 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32709 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32711 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32712 process_vm_writev from libc using GLIBC_2.15 version.
32714 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32716 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32718 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32721 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32724 * nss/getent.c (initgroups_keys): Show error message in case no group
32727 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32728 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32729 __bump_nl_timestamp.
32730 * nscd/connections (nscd_init): When host database is served open
32731 netlink socket and request notification about configuration changes.
32732 (main_loop_poll): Track netlink file descriptor and bump timestamp
32733 in case data becomes available.
32734 (main_loop_epoll): Likewise.
32735 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32736 (database_pers_head): Add extra_data fileds.
32737 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32739 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32742 in6ai data, call __free_in6ai.
32743 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32744 Add -DHAVE_NETLINK.
32745 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32746 interface information. Reuse previous data if netlink timestamp
32748 (__bump_nl_timestamp): New function.
32749 (__free_in6ai): New function.
32751 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32753 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32754 close_not_cancel_no_status here.
32755 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32757 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32760 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32763 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32764 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32765 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32767 2011-07-03 Andreas Jaeger <aj@suse.de>
32770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32771 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32772 * math/libm-test.inc (sin_test): Add test case.
32774 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32777 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32780 * elf/chroot_canon.c (chroot_canon): Cleanups.
32782 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32785 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32788 * string/test-strchr.c: Make usable for strchrnul testing.
32789 * string/test-strchrnul.c: New file.
32790 * string/Makefile (strop-tests): Add strchrnul.
32792 * po/it.po: Update from translation team.
32793 * po/es.po: Likewise.
32795 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32798 the three constants needed as parameters. Drop the others.
32799 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32800 __m128i_strloadu_tolower.
32801 Create and initialize variable zero and use it in all the places
32802 where _mm_setzero_si128 was used.
32804 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32805 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32806 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32809 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32812 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32813 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32814 __mpranred, __mptan.
32815 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32816 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32817 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32818 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32819 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32820 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32821 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32822 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32823 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32825 2011-10-28 Andreas Schwab <schwab@redhat.com>
32827 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32828 redefine if SHARED.
32829 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32832 wide char related routines to wcsmbs subdir.
32834 2011-10-27 Andreas Schwab <schwab@redhat.com>
32837 * misc/sys/cdefs.h (__THROWNL): Define.
32838 * posix/unistd.h: Use __THREADNL instead of __THREAD
32839 for memory synchronization functions.
32841 2011-10-26 Roland McGrath <roland@hack.frob.com>
32844 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32846 * manual/stdio.texi (Obstack Streams): Node removed.
32848 2011-10-26 Andreas Schwab <schwab@redhat.com>
32850 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32851 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32852 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32854 * math/math_private.h (math_force_eval): Allow non-addressable
32856 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32858 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32860 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32861 file is not needed.
32863 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32870 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32872 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32873 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32874 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32875 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32876 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32877 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32878 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32879 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32880 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32881 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32882 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32883 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32885 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32886 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32887 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32888 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32889 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32890 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32892 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32893 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32896 place. Use VEX encoding when compiling for AVX.
32898 2011-10-25 Andreas Schwab <schwab@redhat.com>
32900 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32901 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32903 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32905 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32907 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32908 useless if() expression.
32909 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32918 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32920 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32921 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32922 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32923 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32925 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32926 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32927 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32929 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32931 2011-10-25 Andreas Schwab <schwab@redhat.com>
32933 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32935 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32937 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32939 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32940 .text section. Avoid duplicate constants.
32941 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32949 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32951 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32953 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32956 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32958 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32961 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32962 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32965 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32966 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32967 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32968 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32974 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32975 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32976 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32977 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32979 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32984 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32985 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32987 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32989 * sysdeps/x86_64/dla.h: Move to ...
32990 * sysdeps/x86_64/fpu/dla.h: ...here.
32991 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32992 situations. Use __builtin_fma only for gcc 4.6 and up.
32994 * config.make.in: Add have-mfma4 entry.
32995 * configure.in: Substitute libc_cv_cc_fma4.
32996 * math/Makefile (dbl-only-routines): Add sincostab.
32997 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32998 Use __sincostab not sincos.
32999 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33006 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33007 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33008 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33009 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33012 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33014 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33015 define aliases when function name is a macro.
33016 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33017 sysdeps/ieee754/dbl-64/sincos.tbl.
33018 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33019 fma4-enabled routines.
33020 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33021 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33022 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33023 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33024 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33025 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33029 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33030 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33031 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33032 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33035 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33036 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33037 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33038 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33040 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33041 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33043 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33047 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33048 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33049 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33051 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33062 2011-10-24 Andreas Schwab <schwab@redhat.com>
33064 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33066 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33070 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33074 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33075 Remove unused variable magic_bits.
33076 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33078 * string/strnlen.c: Define and use STRNLEN macro.
33079 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33080 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33082 * wcsmbs/wcslen.c: Define and use WCSLEN.
33083 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33084 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33085 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33086 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33087 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33088 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33089 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33091 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33094 strnlen-sse2-no-bsf.
33095 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33097 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33098 Add strnlen support.
33099 (USE_AS_STRNLEN): New macro.
33100 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33102 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33103 * sysdeps/x86_64/wcslen.S: New file.
33105 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33107 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33108 XMM-moves are used for copying on small sizes.
33110 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33112 * wcsmbs/Makefile (strop-tests): Add wcschr.
33113 * wcsmbs/test-wcschr.c: New file.
33114 * string/test-strchr.c: Update.
33115 Add wcschr support.
33118 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33120 * wcsmbs/Makefile (strop-tests): Add wcslen.
33121 * wcsmbs/test-wcslen.c: New file.
33122 * string/test-strlen.c: Update.
33123 Add wcslen support.
33126 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33128 * po/it.po: Update from translation team.
33130 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33132 * sysdeps/x86_64/wcscmp.S: Update.
33133 Fix wrong comparison semantics.
33134 wcscmp shall use signed comparison not unsigned.
33135 Don't use substraction to avoid overflow bug.
33136 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33137 * wcsmbc/wcscmp.c: Likewise.
33138 * string/test-strcmp.c: Likewise.
33139 Add new tests to check cases with negative values.
33141 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33143 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33144 * sysdeps/x86_64/dla.h: ...here. New file.
33145 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33155 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33158 __ynl_finite aliases.
33160 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33164 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33166 [DLA_FMA] (EMULV): Use DLA_FMA.
33167 [DLA_FMA] (MUL12): Use EMULV.
33168 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33169 that are not needed.
33170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33178 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33180 * math/s_nan.c: Undef __nan.
33181 * math/s_nanf.c: Undef __nanf.
33182 * math/s_nanl.c: Undef __nanl.
33183 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33186 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33188 * math/s_catan.c: Add branch predictions.
33189 * math/s_catanf.c: Likewise.
33190 * math/s_catanh.c: Likewise.
33191 * math/s_catanhf.c: Likewise.
33192 * math/s_catanhl.c: Likewise.
33193 * math/s_catanl.c: Likewise.
33194 * math/s_cexp.c: Likewise.
33195 * math/s_cexpf.c: Likewise.
33196 * math/s_cexpl.c: Likewise.
33197 * math/s_clog.c: Likewise.
33198 * math/s_clog10.c: Likewise.
33199 * math/s_clog10f.c: Likewise.
33200 * math/s_clog10l.c: Likewise.
33201 * math/s_clogf.c: Likewise.
33202 * math/s_clogl.c: Likewise.
33203 * math/s_csqrt.c: Likewise.
33204 * math/s_csqrtf.c: Likewise.
33205 * math/s_csqrtl.c: Likewise.
33206 * math/s_ctanf.c: Likewise.
33207 * math/s_ctanh.c: Likewise.
33208 * math/s_ctanhf.c: Likewise.
33209 * math/s_ctanhl.c: Likewise.
33210 * math/s_ctanl.c: Likewise.
33212 * math/math_private.h: Define __nan, __nanf, __nanl.
33213 * math/s_cacosh.c: Include <math_private.h>.
33214 * math/s_cacoshl.c: Likewise.
33215 * math/s_casinh.c: Likewise.
33216 * math/s_casinhf.c: Likewise.
33217 * math/s_casinhl.c: Likewise.
33218 * math/s_ccos.c: Rely entire on ccosh.
33219 * math/s_ccosf.c: Rely entire on ccoshf.
33220 * math/s_ccosl.c: Rely entirely on ccoshl.
33221 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33222 Remove tests for FE_INVALID.
33223 * math/s_ccoshf.c: Likewise.
33224 * math/s_ccoshl.c: Likewise.
33225 * math/s_csin.c: Likewise.
33226 * math/s_csinf.c: Likewise.
33227 * math/s_csinh.c Likewise.
33228 * math/s_csinhf.c: Likewise.
33229 * math/s_csinhl.c: Likewise.
33230 * math/s_csinl.c: Likewise.
33231 * math/s_ctan.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33233 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33236 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33239 compilation problems.
33241 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33244 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33246 * sysdeps/i386/configure.in: Test for -mfma4 option.
33247 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33248 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33249 COMMON_CPUID_INDEX_80000001.
33250 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33251 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33252 use it if FMA3 is not supported.
33253 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33255 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33256 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33258 2011-10-20 Andreas Schwab <schwab@redhat.com>
33261 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33262 it would create a cycle with a link time dependency.
33264 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33266 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33268 * string/Makefile (strop-tests): Add rawmemchr.
33269 * string/test-rawmemchr.c: New file.
33271 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33273 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33274 when compiling str{,n}casecmp and when AVX is available. Hook up
33275 new optimized code in initializers.
33277 2011-10-19 Andreas Schwab <schwab@redhat.com>
33279 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33280 __feraiseexcept instead of feraiseexcept.
33282 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33284 * math/math_private.h: Define defaults for libc_fetestexcept and
33286 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33287 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33288 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33289 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33290 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33291 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33292 libc_fetestexcept and libc_feupdateenv.
33294 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33295 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33296 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33297 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33298 libc_feholdexcept_setround.
33300 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33301 Add s_nearbyint-c and s_nearbyintf-c.
33302 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33303 nearbyintf inlines.
33304 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33305 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33306 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33307 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33309 * math/math_private.h: Define defaults for libc_fegetround,
33310 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33311 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33312 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33313 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33314 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33315 standard functions.
33316 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33317 Remove comments and hacks for old compiler versions.
33318 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33319 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33320 libc_feholdexceptl.
33322 2011-10-18 Andreas Schwab <schwab@redhat.com>
33324 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33325 (__feraiseexcept_renamed): Add __NTH.
33326 (feraiseexcept): Add __NTH. Rename local variables to fix
33327 namespace violations.
33329 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33333 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33335 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33336 recently added interfaces.
33337 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33339 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33340 about macro parameter expansion.
33342 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33343 __NO_MATH_INLINES is defined. Cleanups.
33345 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33346 and __floorf is target has SSE4.1.
33347 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33348 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33349 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33350 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33352 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33354 (floorf): Likewise.
33356 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33358 2011-10-17 Andreas Schwab <schwab@redhat.com>
33360 * misc/sys/cdefs.h: Fix last change.
33362 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33365 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33367 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33369 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33371 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33377 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33378 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33379 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33380 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33381 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33382 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33383 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33384 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33385 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33386 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33387 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33388 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33389 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33390 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33392 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33393 ceil, ceilf, floor, floorf.
33395 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33396 Perform IRELATIVE relocations last.
33398 * elf/do-rel.h: Add another parameter nrelative, replacing the
33399 local variable with the same name. Change name of the function
33400 to end in Rel or Rela (uppercase).
33401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33402 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33403 elf_dynamic_do_##reloc function.
33405 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33407 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33408 is sufficient, at least on modern CPUs.
33410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33412 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33413 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33415 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33417 * math/bits/math-finite.h: Add entries for exp.
33418 * math/e_expl.c: Add __*_finite alias.
33419 * sysdeps/i386/fpu/e_exp.S: Likewise.
33420 * sysdeps/i386/fpu/e_expf.S: Likewise.
33421 * sysdeps/i386/fpu/e_expl.c: Likewise.
33422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33423 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33426 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33427 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33428 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33430 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33431 is sufficient, at least on modern CPUs.
33433 * ctype/ctype-info.c (__ctype_init): Define.
33434 * include/ctype.h (__ctype_init): Declare.
33435 (__ctype_b_loc): The variable is always initialized.
33436 (__ctype_toupper_loc): Likewise.
33437 (__ctype_tolower_loc): Likewise.
33438 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33439 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33441 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33443 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33445 * configure.in: Also look in $cxxmachine/include for C++ system
33448 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33450 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33451 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33452 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33453 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33455 (USE_AS_WMEMCMP): New macro.
33457 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33458 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33459 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33460 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33462 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33463 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33464 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33465 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33466 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33467 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33468 (USE_AS_WMEMCMP): New macro.
33469 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33470 * sysdeps/string/test-memcmp.c: Update.
33471 Fix simple_wmemcmp.
33473 * wcsmbs/wmemcmp.c: Update.
33474 (WMEMCMP): New macro.
33477 2011-10-12 Andreas Jaeger <aj@suse.de>
33480 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33482 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33484 * libio/iofwide.c (do_length): Avoid warning.
33486 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33488 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33490 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33492 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33493 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33494 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33495 * sysdeps/i386/i686/fpu/e_log.S: New file.
33496 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33497 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33499 * ctype/ctype.h: Add support for inlined isXXX functions when
33500 compiling C++ code.
33502 2011-10-14 Andreas Schwab <schwab@redhat.com>
33504 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33506 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33508 2011-10-13 Roland McGrath <roland@hack.frob.com>
33511 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33513 2011-10-13 Andreas Schwab <schwab@redhat.com>
33515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33516 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33519 * sysdeps/x86_64/memrchr.S: Check for zero size.
33521 * string/stratcliff.c: Add memrchr tests.
33523 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33526 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33527 rawmemchr-sse2 rawmemchr-sse2-bsf.
33528 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33529 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33530 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33531 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33532 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33534 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33535 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33536 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33537 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33538 * string/memrchr.c (MEMRCHR): New macro.
33540 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33542 Add integration with gcc's -ffinite-math-only and optimize wrapper
33544 * Versions.def: Define GLIBC_2.15 version for libm.
33545 * math/Makefile (headers): Add bits/math-finite.h.
33546 * math/bits/math-finite.h: New file.
33547 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33548 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33549 * math/e_acoshl.c: Add __*_finite alias.
33550 * math/e_acosl.c: Likewise.
33551 * math/e_asinl.c: Likewise.
33552 * math/e_atan2l.c: Likewise.
33553 * math/e_atanhl.c: Likewise.
33554 * math/e_coshl.c: Likewise.
33555 * math/e_exp10.c: Likewise.
33556 * math/e_exp10f.c: Likewise.
33557 * math/e_exp10l.c: Likewise.
33558 * math/e_exp2l.c: Likewise.
33559 * math/e_fmodl.c: Likewise.
33560 * math/e_gammal_r.c: Likewise.
33561 * math/e_hypotl.c: Likewise.
33562 * math/e_j0l.c: Likewise.
33563 * math/e_j1l.c: Likewise.
33564 * math/e_jnl.c: Likewise.
33565 * math/e_lgammal_r.c: Likewise.
33566 * math/e_log10l.c: Likewise.
33567 * math/e_log2l.c: Likewise.
33568 * math/e_logl.c: Likewise.
33569 * math/e_powl.c: Likewise.
33570 * math/e_sinhl.c: Likewise.
33571 * math/e_sqrtl.c: Likewise.
33572 * math/e_scalb.c: Completely rewritten and optimized.
33573 * math/e_scalbf.c: Likewise.
33574 * math/e_scalbl.c: Likewise.
33575 * math/w_acos.c: Likewise.
33576 * math/w_acosf.c: Likewise.
33577 * math/w_acosl.c: Likewise.
33578 * math/w_acosh.c: Likewise.
33579 * math/w_acoshf.c: Likewise.
33580 * math/w_acoshl.c: Likewise.
33581 * math/w_asin.c: Likewise.
33582 * math/w_asinf.c: Likewise.
33583 * math/w_asinl.c: Likewise.
33584 * math/w_atan2.c: Likewise.
33585 * math/w_atan2f.c: Likewise.
33586 * math/w_atan2l.c: Likewise.
33587 * math/w_atanh.c: Likewise.
33588 * math/w_atanhf.c: Likewise.
33589 * math/w_atanhl.c: Likewise.
33590 * math/w_exp10.c: Likewise.
33591 * math/w_exp10f.c: Likewise.
33592 * math/w_exp10l.c: Likewise.
33593 * math/w_fmod.c: Likewise.
33594 * math/w_fmodf.c: Likewise.
33595 * math/w_fmodl.c: Likewise.
33596 * math/w_j0.c: Likewise.
33597 * math/w_j0f.c: Likewise.
33598 * math/w_j0l.c: Likewise.
33599 * math/w_j1.c: Likewise.
33600 * math/w_j1f.c: Likewise.
33601 * math/w_j1l.c: Likewise.
33602 * math/w_jn.c: Likewise.
33603 * math/w_jnf.c: Likewise.
33604 * math/w_log.c: Likewise.
33605 * math/w_logf.c: Likewise.
33606 * math/w_logl.c: Likewise.
33607 * math/w_log10.c: Likewise.
33608 * math/w_log10f.c: Likewise.
33609 * math/w_log10l.c: Likewise.
33610 * math/w_log2.c: Likewise.
33611 * math/w_log2f.c: Likewise.
33612 * math/w_log2l.c: Likewise.
33613 * math/w_pow.c: Likewise.
33614 * math/w_powf.c: Likewise.
33615 * math/w_powl.c: Likewise.
33616 * math/w_remainder.c: Likewise.
33617 * math/w_remainderf.c: Likewise.
33618 * math/w_remainderl.c: Likewise.
33619 * math/w_scalb.c: Likewise.
33620 * math/w_scalbf.c: Likewise.
33621 * math/w_scalbl.c: Likewise.
33622 * math/w_sqrt.c: Likewise.
33623 * math/w_sqrtf.c: Likewise.
33624 * math/w_sqrtl.c: Likewise.
33625 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33626 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33628 * math/math_private.h: Declare __kernel_standard_f.
33629 * math/w_cosh.c: Remove cruft and optimize a bit.
33630 * math/w_coshf.c: Likewise.
33631 * math/w_coshl.c: Likewise.
33632 * math/w_exp2.c: Likewise.
33633 * math/w_exp2f.c: Likewise.
33634 * math/w_exp2l.c: Likewise.
33635 * math/w_hypot.c: Likewise.
33636 * math/w_hypotf.c: Likewise.
33637 * math/w_hypotl.c: Likewise.
33638 * math/w_lgamma.c: Likewise.
33639 * math/w_lgamma_r.c: Likewise.
33640 * math/w_lgammaf.c: Likewise.
33641 * math/w_lgammaf_r.c: Likewise.
33642 * math/w_lgammal.c: Likewise.
33643 * math/w_lgammal_r.c: Likewise.
33644 * math/w_sinh.c: Likewise.
33645 * math/w_sinhf.c: Likewise.
33646 * math/w_sinhl.c: Likewise.
33647 * math/w_tgamma.c: Likewise.
33648 * math/w_tgammaf.c: Likewise.
33649 * math/w_tgammal.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33652 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33653 Minor optimizations. Pretty printing. Remove cruft.
33654 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33656 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33657 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33658 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33659 * sysdeps/i386/fpu/e_asin.S: Likewise.
33660 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33661 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33662 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33663 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33664 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33665 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33667 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33668 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33669 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33670 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33671 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33672 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33673 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33674 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33675 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33676 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33677 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33678 * sysdeps/i386/fpu/e_log.S: Likewise.
33679 * sysdeps/i386/fpu/e_log10.S: Likewise.
33680 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33681 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33682 * sysdeps/i386/fpu/e_log2.S: Likewise.
33683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33685 * sysdeps/i386/fpu/e_logf.S: Likewise.
33686 * sysdeps/i386/fpu/e_logl.S: Likewise.
33687 * sysdeps/i386/fpu/e_pow.S: Likewise.
33688 * sysdeps/i386/fpu/e_powf.S: Likewise.
33689 * sysdeps/i386/fpu/e_powl.S: Likewise.
33690 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33691 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33692 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33693 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33694 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33695 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33696 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33697 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33698 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33723 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33724 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33725 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33726 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33727 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33728 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33729 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33730 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33731 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33732 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33733 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33734 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33735 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33736 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33737 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33738 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33739 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33790 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33791 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33792 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33793 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33794 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33795 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33796 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33797 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33798 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33799 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33800 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33801 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33802 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33807 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33808 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33809 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33810 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33811 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33812 (__isnanf): Likewise.
33813 (__isinf_ns): Likewise.
33814 (__isinf_nsf): Likewise.
33815 (__finite): Likewise.
33816 (__finitef): Likewise.
33817 (__ieee754_sqrt): Define as macro.
33818 (__ieee754_sqrtf): Define as macro.
33819 (__ieee754_sqrtl): Define as macro.
33820 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33822 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33823 __FINITE_MATH_ONLY__ consistent.
33824 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33826 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33828 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33833 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33835 * po/ja.po: Update from translation team.
33837 2011-10-08 Roland McGrath <roland@hack.frob.com>
33839 * locale/programs/locarchive.c (prepare_address_space): New function.
33840 (create_archive, enlarge_archive, open_archive): Use it.
33842 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33843 inside [SHARED], where it is used.
33845 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33847 * nss/getent.c (netgroup_keys): Remove unused variable.
33848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33850 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33852 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33856 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33857 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33858 * math/Makefile (libm-calls): Add s_isinf_ns.
33859 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33860 * math/multc3.c: Likewise.
33861 * math/s_casin.c: Likewise.
33862 * math/s_casinf.c: Likewise.
33863 * math/s_casinl.c: Likewise.
33864 * math/s_ccos.c: Likewise.
33865 * math/s_ccosf.c: Likewise.
33866 * math/s_ccosl.c: Likewise.
33867 * math/s_ctan.c: Likewise.
33868 * math/s_ctanf.c: Likewise.
33869 * math/s_ctanh.c: Likewise.
33870 * math/s_ctanhf.c: Likewise.
33871 * math/s_ctanhl.c: Likewise.
33872 * math/s_ctanl.c: Likewise.
33873 * math/w_fmod.c: Likewise.
33874 * math/w_fmodf.c: Likewise.
33875 * math/w_fmodl.c: Likewise.
33876 * math/w_remainder.c: Likewise.
33877 * math/w_remainderf.c: Likewise.
33878 * math/w_remainderl.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33880 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33883 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33884 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33885 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33886 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33888 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33890 * stdio-common/printf_fphex.c: Likewise.
33891 * stdio-common/printf_size.c: Likewise.
33893 * math/e_exp10.c: Include math_private.h using <...> not "...".
33894 * math/e_exp10f.c: Likewise.
33895 * math/e_exp10l.c: Likewise.
33896 * math/e_exp2l.c: Likewise.
33897 * math/e_j0l.c: Likewise.
33898 * math/e_j1l.c: Likewise.
33899 * math/e_jnl.c: Likewise.
33900 * math/e_lgammal_r.c: Likewise.
33901 * math/e_rem_pio2l.c: Likewise.
33902 * math/e_scalb.c: Likewise.
33903 * math/e_scalbf.c: Likewise.
33904 * math/e_scalbl.c: Likewise.
33905 * math/k_cosl.c: Likewise.
33906 * math/k_sinl.c: Likewise.
33907 * math/k_tanl.c: Likewise.
33908 * math/s_cacoshf.c: Likewise.
33909 * math/s_catan.c: Likewise.
33910 * math/s_catanf.c: Likewise.
33911 * math/s_catanh.c: Likewise.
33912 * math/s_catanhf.c: Likewise.
33913 * math/s_catanhl.c: Likewise.
33914 * math/s_catanl.c: Likewise.
33915 * math/s_ccosh.c: Likewise.
33916 * math/s_ccoshf.c: Likewise.
33917 * math/s_ccoshl.c: Likewise.
33918 * math/s_cexp.c: Likewise.
33919 * math/s_cexpf.c: Likewise.
33920 * math/s_cexpl.c: Likewise.
33921 * math/s_clog.c: Likewise.
33922 * math/s_clog10.c: Likewise.
33923 * math/s_clog10f.c: Likewise.
33924 * math/s_clog10l.c: Likewise.
33925 * math/s_clogf.c: Likewise.
33926 * math/s_clogl.c: Likewise.
33927 * math/s_csin.c: Likewise.
33928 * math/s_csinf.c: Likewise.
33929 * math/s_csinh.c: Likewise.
33930 * math/s_csinhf.c: Likewise.
33931 * math/s_csinhl.c: Likewise.
33932 * math/s_csinl.c: Likewise.
33933 * math/s_csqrt.c: Likewise.
33934 * math/s_csqrtf.c: Likewise.
33935 * math/s_csqrtl.c: Likewise.
33936 * math/s_ctan.c: Likewise.
33937 * math/s_ctanf.c: Likewise.
33938 * math/s_ctanh.c: Likewise.
33939 * math/s_ctanhf.c: Likewise.
33940 * math/s_ctanhl.c: Likewise.
33941 * math/s_ctanl.c: Likewise.
33942 * math/s_ldexp.c: Likewise.
33943 * math/s_ldexpf.c: Likewise.
33944 * math/s_ldexpl.c: Likewise.
33945 * math/s_significand.c: Likewise.
33946 * math/s_significandf.c: Likewise.
33947 * math/s_significandl.c: Likewise.
33948 * math/w_acos.c: Likewise.
33949 * math/w_acosf.c: Likewise.
33950 * math/w_acosh.c: Likewise.
33951 * math/w_acoshf.c: Likewise.
33952 * math/w_acoshl.c: Likewise.
33953 * math/w_acosl.c: Likewise.
33954 * math/w_asin.c: Likewise.
33955 * math/w_asinf.c: Likewise.
33956 * math/w_asinl.c: Likewise.
33957 * math/w_atan2.c: Likewise.
33958 * math/w_atan2f.c: Likewise.
33959 * math/w_atan2l.c: Likewise.
33960 * math/w_atanh.c: Likewise.
33961 * math/w_atanhf.c: Likewise.
33962 * math/w_atanhl.c: Likewise.
33963 * math/w_cosh.c: Likewise.
33964 * math/w_coshf.c: Likewise.
33965 * math/w_coshl.c: Likewise.
33966 * math/w_dremf.c: Likewise.
33967 * math/w_exp10.c: Likewise.
33968 * math/w_exp10f.c: Likewise.
33969 * math/w_exp10l.c: Likewise.
33970 * math/w_exp2.c: Likewise.
33971 * math/w_exp2f.c: Likewise.
33972 * math/w_fmod.c: Likewise.
33973 * math/w_fmodf.c: Likewise.
33974 * math/w_fmodl.c: Likewise.
33975 * math/w_hypot.c: Likewise.
33976 * math/w_hypotf.c: Likewise.
33977 * math/w_hypotl.c: Likewise.
33978 * math/w_j0.c: Likewise.
33979 * math/w_j0f.c: Likewise.
33980 * math/w_j0l.c: Likewise.
33981 * math/w_j1.c: Likewise.
33982 * math/w_j1f.c: Likewise.
33983 * math/w_j1l.c: Likewise.
33984 * math/w_jn.c: Likewise.
33985 * math/w_jnf.c: Likewise.
33986 * math/w_jnl.c: Likewise.
33987 * math/w_lgamma.c: Likewise.
33988 * math/w_lgamma_r.c: Likewise.
33989 * math/w_lgammaf.c: Likewise.
33990 * math/w_lgammaf_r.c: Likewise.
33991 * math/w_lgammal.c: Likewise.
33992 * math/w_lgammal_r.c: Likewise.
33993 * math/w_log.c: Likewise.
33994 * math/w_log10.c: Likewise.
33995 * math/w_log10f.c: Likewise.
33996 * math/w_log10l.c: Likewise.
33997 * math/w_log2.c: Likewise.
33998 * math/w_log2f.c: Likewise.
33999 * math/w_log2l.c: Likewise.
34000 * math/w_logf.c: Likewise.
34001 * math/w_logl.c: Likewise.
34002 * math/w_pow.c: Likewise.
34003 * math/w_powf.c: Likewise.
34004 * math/w_powl.c: Likewise.
34005 * math/w_remainder.c: Likewise.
34006 * math/w_remainderf.c: Likewise.
34007 * math/w_remainderl.c: Likewise.
34008 * math/w_scalb.c: Likewise.
34009 * math/w_scalbf.c: Likewise.
34010 * math/w_scalbl.c: Likewise.
34011 * math/w_sinh.c: Likewise.
34012 * math/w_sinhf.c: Likewise.
34013 * math/w_sinhl.c: Likewise.
34014 * math/w_sqrt.c: Likewise.
34015 * math/w_sqrtf.c: Likewise.
34016 * math/w_sqrtl.c: Likewise.
34017 * math/w_tgamma.c: Likewise.
34018 * math/w_tgammaf.c: Likewise.
34019 * math/w_tgammal.c: Likewise.
34021 * po/ja.po: Update from translation team.
34023 2011-09-29 Andreas Jaeger <aj@suse.de>
34026 * sunrpc/netname.c (netname2host): Fix logic.
34030 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34032 * math/w_remainder.c (__remainder): Likewise.
34033 * math/w_remainderf.c (__remainderf): Likewise.
34034 * math/libm-test.inc (remainder_test): Add test cases.
34036 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34038 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34041 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34043 * string/test-memcmp.c: Avoid unncessary #defines.
34044 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34046 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34048 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34049 Use new sse2 version for core i3 - i7 as it's faster
34050 than sse42 version.
34051 (bit_Prefer_PMINUB_for_stringop): New.
34052 * sysdeps/x86_64/rawmemchr.S: Update.
34053 Replace with faster SSE2 version.
34054 * sysdeps/x86_64/memrchr.S: New file.
34055 * sysdeps/x86_64/memchr.S: Update.
34056 Replace with faster SSE2 version.
34058 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34060 * elf/dl-load.c (lose): Add cast to avoid warning.
34062 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34064 * po/ca.po: Update from translation team.
34066 * inet/getnetgrent_r.c: Hook up nscd.
34067 * nscd/Makefile (routines): Add nscd_netgroup.
34068 (nscd-modules): Add netgroupcache.
34069 (CFLAGS-netgroupcache.c): Define.
34070 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34071 (cache_search): Add const to second parameter.
34072 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34074 (dbs): Add netgrdb entry.
34075 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34076 (verify_persistent_db): Handle netgrdb.
34077 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34078 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34080 (netgroup_response_header): Define.
34081 (innetgroup_response_header): Define.
34082 (datahead): Add netgroup_response_header and innetgroup_response_header
34084 * nscd/nscd.conf: Add entries for netgroup cache.
34085 * nscd/nscd.h (dbtype): Add netgrdb.
34086 (_PATH_NSCD_NETGROUP_DB): Define.
34087 (netgroup_iov_disabled): Declare.
34088 (xmalloc, xcalloc, xrealloc): Move declarations here.
34089 (cache_search): Adjust prototype.
34090 Add netgroup-related prototypes.
34091 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34092 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34093 (__nscd_innetgr): Declare.
34094 * nscd/selinux.c (perms): Use access_vector_t as element type and
34095 add netgroup-related initializers.
34096 * nscd/netgroupcache.c: New file.
34097 * nscd/nscd_netgroup.c: New file.
34098 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34099 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34100 For four parameters use innetgr.
34101 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34102 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34103 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34104 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34106 * nscd/connections.c (register_traced_file): Don't register file
34107 for disabled databases.
34109 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34111 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34113 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34114 from tree and freeing node.
34116 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34118 * nss/nsswitch.c (__nss_database_lookup): Handle
34119 nss_parse_service_list out of memory case.
34121 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34123 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34124 out of memory case.
34126 2011-10-04 Andreas Schwab <schwab@redhat.com>
34128 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34129 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34131 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34132 elf_machine_rela, elf_machine_lazy_rel.
34133 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34134 (ELF_DYNAMIC_DO_REL): Likewise.
34135 (ELF_DYNAMIC_DO_RELA): Likewise.
34136 (ELF_DYNAMIC_RELOCATE): Likewise.
34137 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34138 to ELF_DYNAMIC_DO_REL.
34139 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34140 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34141 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34144 skip_ifunc, don't call ifunc function if non-zero.
34145 (elf_machine_rela): Likewise.
34146 (elf_machine_lazy_rel): Likewise.
34147 (elf_machine_lazy_rela): Likewise.
34148 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34149 (elf_machine_lazy_rel): Likewise.
34150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34152 (elf_machine_lazy_rel): Likewise.
34153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34155 (elf_machine_lazy_rel): Likewise.
34156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34157 (elf_machine_lazy_rel): Likewise.
34158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34159 (elf_machine_lazy_rel): Likewise.
34160 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34161 (elf_machine_lazy_rel): Likewise.
34162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34163 (elf_machine_lazy_rel): Likewise.
34164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34165 (elf_machine_lazy_rel): Likewise.
34166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34167 (elf_machine_lazy_rel): Likewise.
34169 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34171 * nss/nss_files/files-init.c (_nss_files_init): Use static
34172 initialization for all the *_traced_file variables.
34174 2011-09-28 Andreas Schwab <schwab@redhat.com>
34176 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34178 2011-09-27 Roland McGrath <roland@hack.frob.com>
34181 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34183 2011-09-27 Andreas Schwab <schwab@redhat.com>
34185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34186 Reread the line before reparsing it.
34188 2011-09-26 Andreas Schwab <schwab@redhat.com>
34190 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34192 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34193 Maxim Kuvyrkov <maxim@codesourcery.com>
34194 Joseph Myers <joseph@codesourcery.com>
34196 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34197 if needed for __stack_chk_guard.
34199 2011-09-19 Roland McGrath <roland@hack.frob.com>
34201 * sysdeps/posix/spawni.c (script_execute): Always define it.
34202 It will be optimized away if unused.
34203 (maybe_script_execute): New function.
34204 (__spawni): Call it.
34206 * Makerules: Don't include tls.make.
34207 (config-tls): Always set to thread.
34208 * tls.make.c: File removed.
34210 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34212 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34213 * config.make.in (CPPFLAGS-config): New substituted variable.
34215 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34217 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34220 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34221 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34223 2011-09-15 Roland McGrath <roland@hack.frob.com>
34225 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34226 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34228 (CALL_FAIL): Likewise.
34229 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34230 (CALL_FAIL): Macro removed.
34231 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34233 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34235 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34236 for __FINITE_MATH_ONLY__ == 1.
34238 2011-09-15 Andreas Schwab <schwab@redhat.com>
34240 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34241 __ieee754_sqrt instead of sqrt.
34242 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34243 __ieee754_sqrtf instead of sqrtf.
34244 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34245 __floorf instead of floorf.
34246 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34247 __floorf, __truncf instead of floorf, truncf.
34249 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34251 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34253 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34254 __extern_always_inline.
34255 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34258 2011-09-14 Andreas Schwab <schwab@redhat.com>
34260 * elf/rtld.c (dl_main): Also relocate in dependency order when
34261 doing symbol dependency testing.
34263 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34266 Always define `refsym'.
34268 2011-09-13 Andreas Schwab <schwab@redhat.com>
34270 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34271 (__FD_ELT): Renamed from __FDELT.
34272 * misc/bits/select2.h (__FD_ELT): Likewise.
34273 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34274 __FD_MASK instead of __FDELT, __FDMASK.
34275 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34277 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34280 * elf/Makefile (gen-ldd): Fix pattern.
34282 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34283 (init_tls): Likewise.
34285 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34287 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34289 2011-09-12 Andreas Schwab <schwab@redhat.com>
34291 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34292 `struct cmsghdr *' instead of `void *'.
34293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34296 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34298 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34300 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34301 ldd_rewrite_script.
34303 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34305 * configure.in: Remove --with-tls option.
34306 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34307 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34308 out in case it is missing.
34309 * sysdeps/ia64/elf/configure.in: Likewise.
34310 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34311 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34312 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34313 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34314 * sysdeps/sh/elf/configure.in: Likewise.
34315 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34316 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34317 * sysdeps/x86_64/elf/configure.in: Likewise.
34318 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34319 * sysdeps/mach/hurd/tls.h: Likewise.
34322 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34325 * configure.in: Fix use of AC_INIT.
34327 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34329 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34331 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34333 * malloc/hooks.c: Likewise.
34336 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34337 variables statically.
34338 (narenas): Initialize.
34339 (list_lock): Initialize.
34340 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34341 initializtion of main_arena and list_lock. Small cleanups.
34342 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34343 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34344 Add initializers to main_arena and mp_.
34345 (malloc_state): Remove pagesize member. Change all users to use
34348 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34349 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34350 is always initialized.
34352 * malloc/malloc.c: Removed unused configurations and dead code.
34353 * malloc/arena.c: Likewise.
34354 * malloc/hooks.c: Likewise.
34355 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34357 * include/tls.h: Removed. USE___THREAD must always be defined.
34358 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34359 * elf/dl-libc.c: Likewise.
34360 * elf/dl-tsd.c: Likewise.
34361 * include/errno.h: Likewise.
34362 * include/netdb.h: Likewise.
34363 * include/resolv.h: Likewise.
34364 * inet/herrno-loc.c: Likewise.
34365 * inet/herrno.c: Likewise.
34366 * malloc/arena.c: Likewise.
34367 * malloc/hooks.c: Likewise.
34368 * malloc/malloc.c: Likewise.
34369 * resolv/res-state.c: Likewise.
34370 * resolv/res_libc.c: Likewise.
34371 * sysdeps/i386/dl-machine.h: Likewise.
34372 * sysdeps/ia64/dl-machine.h: Likewise.
34373 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34374 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34375 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34376 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34377 * sysdeps/sh/dl-machine.h: Likewise.
34378 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34379 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34380 * sysdeps/unix/i386/sysdep.S: Likewise.
34381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34382 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34387 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34392 * sysdeps/x86_64/dl-machine.h: Likewise.
34393 * tls.make.c: Likewise.
34395 * configure.in: Remove --with-__thread option. Make tests for
34396 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34397 tls_model attribute fail if no support is available. Remove
34399 * Makeconfig: Adjust for dropped configure option. All features are
34401 * Makerules: Likewise.
34402 * Versions.def: Likewise.
34403 * argp/argp-fmtstream.c: Likewise.
34404 * argp/argp-fmtstream.h: Likewise.
34405 * argp/argp-help.c: Likewise.
34406 * assert/assert.c: Likewise.
34407 * config.h.in: Likewise.
34408 * config.make.in: Likewise.
34409 * configure: Likewise.
34410 * configure.in: Likewise.
34411 * csu/Versions: Likewise.
34412 * csu/init.c: Likewise.
34413 * elf/tst-audit2.c: Likewise.
34414 * elf/tst-tls10.c: Likewise.
34415 * elf/tst-tls10.h: Likewise.
34416 * elf/tst-tls11.c: Likewise.
34417 * elf/tst-tls12.c: Likewise.
34418 * elf/tst-tls14.c: Likewise.
34419 * elf/tst-tlsmod11.c: Likewise.
34420 * elf/tst-tlsmod12.c: Likewise.
34421 * elf/tst-tlsmod13.c: Likewise.
34422 * elf/tst-tlsmod13a.c: Likewise.
34423 * elf/tst-tlsmod14a.c: Likewise.
34424 * elf/tst-tlsmod15b.c: Likewise.
34425 * elf/tst-tlsmod16a.c: Likewise.
34426 * elf/tst-tlsmod16b.c: Likewise.
34427 * elf/tst-tlsmod7.c: Likewise.
34428 * elf/tst-tlsmod8.c: Likewise.
34429 * elf/tst-tlsmod9.c: Likewise.
34430 * gmon/gmon.c: Likewise.
34431 * grp/fgetgrent_r.c: Likewise.
34432 * grp/putgrent.c: Likewise.
34433 * hurd/fopenport.c: Likewise.
34434 * include/libc-symbols.h: Likewise.
34435 * include/tls.h: Likewise.
34436 * intl/gettextP.h: Likewise.
34437 * intl/loadinfo.h: Likewise.
34438 * locale/global-locale.c: Likewise.
34439 * locale/localeinfo.h: Likewise.
34440 * mach/devstream.c: Likewise.
34441 * malloc/arena.c: Likewise.
34442 * malloc/set-freeres.c: Likewise.
34443 * misc/err.c: Likewise.
34444 * misc/getttyent.c: Likewise.
34445 * misc/mntent_r.c: Likewise.
34446 * posix/getopt.c: Likewise.
34447 * posix/wordexp.c: Likewise.
34448 * pwd/fgetpwent_r.c: Likewise.
34449 * resolv/Versions: Likewise.
34450 * resolv/res_hconf.c: Likewise.
34451 * shadow/fgetspent_r.c: Likewise.
34452 * shadow/putspent.c: Likewise.
34453 * stdio-common/printf_fphex.c: Likewise.
34454 * stdio-common/tmpfile.c: Likewise.
34455 * stdlib/abort.c: Likewise.
34456 * stdlib/fmtmsg.c: Likewise.
34457 * sunrpc/auth_unix.c: Likewise.
34458 * sunrpc/clnt_perr.c: Likewise.
34459 * sunrpc/clnt_tcp.c: Likewise.
34460 * sunrpc/clnt_udp.c: Likewise.
34461 * sunrpc/clnt_unix.c: Likewise.
34462 * sunrpc/openchild.c: Likewise.
34463 * sunrpc/svc_simple.c: Likewise.
34464 * sunrpc/svc_tcp.c: Likewise.
34465 * sunrpc/svc_udp.c: Likewise.
34466 * sunrpc/svc_unix.c: Likewise.
34467 * sunrpc/xdr.c: Likewise.
34468 * sunrpc/xdr_array.c: Likewise.
34469 * sunrpc/xdr_rec.c: Likewise.
34470 * sunrpc/xdr_ref.c: Likewise.
34471 * sunrpc/xdr_stdio.c: Likewise.
34473 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34475 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34477 2011-07-03 Andreas Jaeger <aj@suse.de>
34479 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34480 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34481 regenerate with gen-libm-tests.pl.
34483 2010-05-12 Petr Baudis <pasky@suse.cz>
34486 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34487 around j0() zero points by switching to j1().
34488 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34493 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34497 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34500 Patch in part by Pavel Roskin <proski@gnu.org>.
34503 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34505 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34506 Free memory block if necessary.
34509 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34510 be NULL. Don't lock in this case.
34512 2011-09-09 Roland McGrath <roland@hack.frob.com>
34514 * elf/elf.h (ELFOSABI_GNU): New macro.
34515 (ELFOSABI_LINUX): Define to that.
34517 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34519 * string/strncat.c (strncat): Undef the symbol in case it has been
34520 defined in bits/string.h.
34522 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34524 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34526 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34529 2011-08-17 Andreas Jaeger <aj@suse.de>
34531 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34533 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34534 Ian Lance Taylor <iant@google.com>
34536 * math/libm-test.inc (lround_test): New testcase.
34537 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34539 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34541 * Makefile: Remove support for automatic cvs check-ins.
34542 * Makerules: Likewise.
34543 * config.make.in: Likewise.
34544 * configure.in: Likewise.
34545 * intl/Makefile: Likewise.
34546 * locale/Makefile: Likewise.
34547 * po/Makefile: Likewise.
34548 * posix/Makefile: Likewise.
34549 * sysdeps/gnu/Makefile: Likewise.
34550 * sysdeps/mach/hurd/Makefile: Likewise.
34551 * sysdeps/sparc/sparc32/Makefile: Likewise.
34554 * posix/Makefile (bug-regex32-ENV): Define.
34555 Patch by John Stanley <jpsinthemix@verizon.net>.
34557 * misc/Makefile (headers): Add bits/select2.h.
34558 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34559 * misc/bits/select2.h: New file.
34560 * include/bits/select2.h: New file.
34561 * debug/Makefile (routines): Add fdelt_chk.
34562 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34563 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34565 * debug/fdelt_chk.c: New file.
34567 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34568 * wcsmbs/test-wmemcmp.c: Likewise.
34569 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34570 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34572 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34574 * string/Makefile (strop-tests): Add memcmp.
34575 * string/test-wmemcmp.c: New file.
34576 * string/test-memcmp.c: Add wmemcmp support.
34578 2011-09-08 Roland McGrath <roland@hack.frob.com>
34581 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34584 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34585 garbage value in a __mach_port_mod_refs call in the cases of the
34586 task-self and thread-self ports.
34588 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34590 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34592 2011-09-08 Andreas Schwab <schwab@redhat.com>
34594 * elf/dl-load.c (lose): Check for non-null L.
34596 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34598 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34600 * elf/dl-libc.c (dlerror_run): Pass back error code from
34604 * elf/dl-load.c (lose): Free l_origin if it is valid.
34606 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34608 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34610 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34611 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34612 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34613 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34615 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34617 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34618 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34619 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34620 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34621 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34622 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34623 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34624 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34625 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34626 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34628 2011-08-15 Alan Modra <amodra@gmail.com>
34631 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34632 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34633 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34634 ppc_mcount to static-only-routines.
34635 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34637 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34638 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34640 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34642 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34643 for finite and infinity parameters.
34645 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34648 and add nop instructions for throughput optimization.
34649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34651 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34653 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34654 aligned copy for power7 with vector-scalar instructions.
34655 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34657 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34662 2011-09-07 Andreas Schwab <schwab@redhat.com>
34665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34668 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34670 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34671 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34672 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34673 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34676 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34679 Forgot to demangle the pointer.
34681 * sysdeps/i386/sysdep.h: Define atom_text_section.
34682 * sysdeps/x86_64/sysdep.h: Likewise.
34683 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34684 section with atom_text_section.
34685 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34686 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34687 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34692 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34693 already be defined. Change to take two parameters and don't assign
34694 result to variable. Adjust all users.
34695 Define INTERNAL_GETTIME if not already defined.
34696 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34699 HAVE_CLOCK_GETTIME_VSYSCALL.
34700 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34703 gettimeofday vsyscall, just use time.
34705 2011-09-06 Andreas Schwab <schwab@redhat.com>
34707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34710 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34712 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34716 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34717 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34718 syscall if possible.
34720 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34722 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34723 e_ident. Don't pass to find_mapsXX.
34724 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34726 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34729 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34730 * sysdeps/x86_64/multiarch/strchr.S: Update.
34731 Check bit_slow_BSF bit.
34732 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34733 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34734 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34736 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34739 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34741 (tryshell): Define.
34742 (__spawni): Change last parameter to be flag. Test
34743 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34744 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34745 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34746 * posix/spawni.c: Likewise.
34747 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34748 * posix/spawnp.c: Likewise. Change normal version to use
34749 SPAWN_XFLAGS_USE_PATH.
34750 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34751 SPAWN_XFLAGS_TRY_SHELL.
34754 * posix/glob.h: Remove gcc 1.x support.
34757 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34759 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34762 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34764 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34765 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34766 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34767 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34768 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34769 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34771 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34773 * sysdeps/x86_64/wcscmp.S: New file.
34775 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34776 wcscmp-c wcscmp-sse2
34777 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34778 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34779 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34780 * wcsmbs/wcscmp.c: Allow renaming.
34782 2011-09-05 David S. Miller <davem@davemloft.net>
34784 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34785 stack slot, rather than the struct return pointer slot.
34786 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34787 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34789 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34791 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34793 * po/ja.po: Update from translation team.
34796 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34797 kernel in 64-bit binaries.
34799 2011-09-01 David S. Miller <davem@davemloft.net>
34801 * elf/elf.h (HWCAP_SPARC_*): Move to..
34802 * sysdeps/sparc/sysdep.h: this new file and add new values.
34803 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34804 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34805 _DL_HWCAP_COUNT to 24.
34806 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34808 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34809 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34810 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34812 instead of magic constants.
34813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34815 2011-08-31 David S. Miller <davem@davemloft.net>
34817 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34819 Reimplement to do errno handling inline.
34820 (SYSCALL_ERROR_HANDLER): New macro.
34821 (__SYSCALL_STRING): Do not do errno handling in asm.
34822 (__CLONE_SYSCALL_STRING): Delete.
34823 (__INTERNAL_SYSCALL_STRING): Delete.
34824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34825 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34826 (PSEUDO): Reimplement to do errno handling inline.
34827 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34828 (SYSCALL_ERROR_HANDLER): New macro.
34829 (__SYSCALL_STRING): Do not do errno handling in asm.
34830 (__CLONE_SYSCALL_STRING): Delete.
34831 (__INTERNAL_SYSCALL_STRING): Delete.
34832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34833 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34835 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34836 (inline_syscall*): Add 'err' argument.
34837 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34838 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34839 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34840 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34842 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34843 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34845 2011-08-30 Andreas Schwab <schwab@redhat.com>
34847 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34849 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34851 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34854 2011-08-24 David S. Miller <davem@davemloft.net>
34856 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34858 2011-08-24 Andreas Schwab <schwab@redhat.com>
34860 * elf/Makefile: Add rules to build and run unload8 test.
34861 * elf/unload8.c: New file.
34862 * elf/unload8mod1.c: New file.
34863 * elf/unload8mod1x.c: New file.
34864 * elf/unload8mod2.c: New file.
34865 * elf/unload8mod3.c: New file.
34867 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34870 2011-08-23 David S. Miller <davem@davemloft.net>
34872 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34873 subtract stack bias.
34874 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34875 %sp not %fp in calculations.
34876 (_JMPBUF_UNWINDS_ADJ): Likewise.
34878 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34879 (aio_suspend): Call it to force an exception region around the
34880 AIO_MISC_WAIT() invocation.
34882 2011-08-23 Andreas Schwab <schwab@redhat.com>
34884 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34887 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34889 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34891 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34892 and <dl-machine.h>.
34893 (Elf64_FuncDesc): Remove.
34895 2011-08-22 David S. Miller <davem@davemloft.net>
34897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34898 sigaltstack check, add missing cfi directives.
34899 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34900 missing cfi directives, and sigaltstack handling.
34902 2011-08-16 Andreas Schwab <schwab@redhat.com>
34905 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34906 object is seen twice.
34907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34909 * elf/Makefile (distribute): Add tst-initorder2.c.
34910 (tests): Add tst-initorder2.
34911 (modules-names): Add tst-initorder2a tst-initorder2b
34912 tst-initorder2c tst-initorder2d. Add rules to build them.
34913 ($(objpfx)tst-initorder2.out): New rule.
34914 * elf/tst-initorder2.c: New file.
34915 * elf/tst-initorder2.exp: New file.
34917 2011-08-22 Andreas Schwab <schwab@redhat.com>
34919 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34921 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34922 dependencies back to end of function.
34924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34925 $(elfobjdir)/ld.so.
34927 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34930 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34932 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34933 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34934 of __vdso_gettimeofday.
34935 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34936 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34938 (_libc_vdso_platform_setup): Remove initialization of
34939 __vdso_gettimeofday and __vdso_time.
34941 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34943 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34944 and fgetc_unlocked.
34945 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34948 * elf/dl-open.c (add_to_global): Report additions to the global scope
34949 for LD_DEBUG=scopes.
34950 (dl_open_worker): Also print scope of newly loaded dependencies.
34951 (_dl_show_scope): Indicate if there is no scope.
34954 * stdio-common/Makefile (tests): Add bug24.
34955 * stdio-common/bug24.c: New file.
34957 2011-08-19 Andreas Jaeger <aj@suse.de>
34960 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34961 non-existant file when using close-on-exec mode.
34963 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34966 the very first instruction.
34968 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34969 the CFI state in the end.
34970 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34971 inclusion of dl-trampoline.h.
34972 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34974 2011-08-19 Andreas Schwab <schwab@redhat.com>
34976 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34977 expectations for long double.
34979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34980 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34982 2011-08-14 David S. Miller <davem@davemloft.net>
34984 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34985 artificual limit depends upon the system page size.
34987 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34989 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34990 * resolv/Makefile: Define CFLAGS-libresolv.
34992 2011-08-17 Andreas Schwab <schwab@redhat.com>
34994 * nss/makedb.c (compute_tables): Make variables used in nested
34997 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34999 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35000 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35001 if buffer was too small.
35003 * elf/pldd.c (main): Attach to all threads in the process.
35004 Rewrite /proc handling to use *at functions.
35006 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35008 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35009 specifies first scope to show.
35010 (dl_open_worker): Update callers. Move printing scope of new
35011 object to before the relocation.
35012 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35013 * sysdeps/generic/ldsodefs.h: Update declaration.
35015 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35016 string for the scope number.
35018 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35020 * nscd/servicescache.c (cache_addserv): Make sure written is always
35023 2011-08-14 Roland McGrath <roland@hack.frob.com>
35025 * sysdeps/i386/i486/bits/atomic.h
35026 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35027 statement expression, so as to suppress "set but not used" warning.
35028 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35030 * string/strncat.c (STRNCAT): Use prototype definition.
35032 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35033 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35035 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35036 (localedef-modules): Add localedef.
35037 (locale-modules): Add locale.
35039 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35040 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35041 to avoid a warning.
35043 2011-08-14 David S. Miller <davem@davemloft.net>
35045 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35046 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35048 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35050 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35051 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35052 * elf/rtld.c (dl_main): Set l_name of vDSO.
35053 Call _dl_show_scope when DL_DEBUG_SCOPES.
35054 (process_dl_debug): Recognize scopes flag and also set it for all.
35055 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35056 Declare _dl_show_scope.
35058 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35059 (do_dlopen): Pass caller_dlopen to dl_open.
35060 (__libc_dlopen_mode): Initialize caller_dlopen.
35062 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35063 of libc. Make tolower call locale-independent. Optimize a bit by
35064 using isdigit instead of isalnum.
35065 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35067 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35069 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35070 was a dependency or dynamically loaded.
35072 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35074 * intl/l10nflist.c: Allow architecture-specific pop function.
35075 * sysdeps/x86_64/l10nflist.c: New file.
35077 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35080 2011-08-10 Andreas Schwab <schwab@redhat.com>
35082 * include/dirent.h: Add libc_hidden_proto for scandirat and
35083 scandirat64. Don't declare __scandirat64.
35084 * dirent/scandirat.c: Add libc_hidden_def.
35085 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35086 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35088 2011-08-10 David S. Miller <davem@davemloft.net>
35090 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35092 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35093 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35096 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35098 * Versions.def [libc]: Add GLIBC_2.15.
35099 * dirent/Makefile (routines): Add scandirat and scandirat64.
35100 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35102 * dirent/dirent.h: Declare scandirat and scandirat64.
35103 * dirent/scandirat.c: New file.
35104 * dirent/scandirat64.c: New file.
35105 * sysdeps/wordsize-64/scandirat.c: New file.
35106 * sysdeps/wordsize-64/scandirat64.c: New file.
35107 * dirent/opendir.c: Define opendirat.
35108 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35110 * dirent/scandir64.c: Adjust for scandir.c change.
35111 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35112 __scandirat64, and __scandir_cancel_handler.
35113 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35114 additional parameter and use openat instead of open (outside of ld.so).
35115 Add new __opendir as wrapper around __opendirat.
35116 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35117 here without requiring old scandirat implementation.
35119 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35121 * dirent/scandir.c (cancel_handler): Renamed to
35122 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35123 defined. Adjust users.
35124 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35127 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35129 * string/test-string.h (IMPL): Use __STRING to expand name and then
35132 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35135 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35137 * string/Makefile: Update.
35138 (strop-tests): Append strncat.
35139 * string/test-wcscmp.c: New file.
35140 New comprehensive test for wcscmp.
35141 * string/test-strcmp.c: Update.
35142 (WIDE): New define.
35144 2011-07-22 Andreas Schwab <schwab@redhat.com>
35146 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35149 2011-07-26 Andreas Schwab <schwab@redhat.com>
35151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35152 encoding to ACE if AI_IDN.
35154 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35156 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35157 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35159 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35162 Fix overflow bug in strncat.
35163 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35165 * string/test-strncat.c: Update.
35166 Add new tests for checking overflow bugs.
35168 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35171 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35172 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35173 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35175 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35176 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35177 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35178 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35181 (USE_AS_STRCAT): Define.
35182 Add strcat and strncat support.
35183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35185 2011-07-25 Andreas Schwab <schwab@redhat.com>
35187 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35188 __n bigger than INT_MAX+1.
35189 (__strncmp_g): Likewise.
35191 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35193 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35194 * libio/stido.h: Likewise.
35196 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35201 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35204 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35208 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35213 (_dl_x86_64_save_sse): Likewise.
35215 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35219 (_dl_x86_64_save_sse): Likewise.
35221 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35223 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35225 2011-07-21 Andreas Schwab <schwab@redhat.com>
35227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35229 (_dl_x86_64_save_sse): Use correct AVX check.
35231 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35234 bug in strncpy/strncat.
35235 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35237 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35239 * string/tester.c (test_strcat): Add tests for different alignments
35240 of source and destination.
35241 (test_strncat): Likewise.
35243 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35246 * posix/glob.c (glob): Check passed in values before using them in
35247 expressions to avoid some overflows.
35248 (glob_in_dir): Likewise.
35251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35252 check for AVX enablement so that we don't crash with old kernels and
35254 * elf/tst-audit4.c: Add same checks here.
35255 * elf/tst-audit6.c: Likewise.
35257 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35259 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35261 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35263 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35265 * po/cs.po: Update from translation team.
35266 * po/bg.po: Likewise.
35268 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35270 * misc/sys/cdefs.h: Add support for const attribute.
35271 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35272 to gnu_dev_{major,minor,makedev} functions.
35274 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35276 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35278 2011-07-20 Andreas Schwab <schwab@redhat.com>
35280 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35283 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35286 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35287 register in order to avoid conflicts with the soft frame pointer
35288 being held in r11 when necessary.
35289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35290 (INTERNAL_VSYSCALL_NCS): Likewise.
35292 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35294 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35295 * elf/dl-fini.c (_dl_fini): Adjust caller.
35296 * elf/dl-close.c (_dl_close_worker): Likewise.
35297 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35299 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35301 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35302 "aux_cache->nlibs < 0".
35304 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35305 in the reload-count case.
35307 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35310 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35311 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35312 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35313 * sysdeps/x86_64/multiarch/strcat.S: New file.
35314 * sysdeps/x86_64/multiarch/strncat.S: New file.
35315 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35317 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35318 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35320 (USE_AS_STRCAT): Define.
35321 Add strcat and strncat support.
35322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35324 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35325 * string/strncat.c: Update.
35326 (USE_AS_STRNCAT): Define.
35327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35328 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35330 * sysdeps/x86_64/multiarch/init-arch.h
35331 (bit_Prefer_PMINUB_for_stringop): New.
35332 (index_Prefer_PMINUB_for_stringop): Likewise.
35333 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35334 bit_Prefer_PMINUB_for_stringop.
35336 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35338 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35340 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35341 of casting of buffer.
35342 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35343 buffer32 and buffer64.
35344 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35345 writes instead of casting of buffer.
35346 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35348 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35351 2011-07-19 Andreas Schwab <schwab@redhat.com>
35353 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35355 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35357 * nscd/nscd.c (termination_handler): Don't do anything for a database
35358 if it has not yet been initialized.
35360 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35362 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35364 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35366 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35368 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35370 * po/nl.po: Update from translation team.
35371 * po/sv.po: Likewise.
35373 2011-07-16 Roland McGrath <roland@hack.frob.com>
35375 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35376 now disallowed by GCC.
35378 * configure.in (use-default-link): Default to yes if a test -shared
35379 link meets our qualifications.
35380 * configure: Regenerated.
35382 * config.make.in (output-format): New variable.
35383 * configure.in: Check for ld --print-output-format support.
35384 * configure: Regenerated.
35385 * Makerules ($(common-objpfx)format.lds)
35386 [$(output-format) != unknown]: Just use $(output-format),
35387 instead of the linker-script munging.
35389 2011-07-14 Roland McGrath <roland@hack.frob.com>
35391 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35392 of $(common-objpfx)shlib.lds.
35393 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35395 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35396 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35398 * configure.in (-z relro check): Adjust test code to add a large
35399 writable data section after it.
35400 * configure: Regenerated.
35402 2011-07-11 Roland McGrath <roland@hack.frob.com>
35404 * configure.in (-z relro check): Fix test code to make the variable
35406 * configure: Regenerated.
35408 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35410 * nscd/nscd.h (struct traced_file): Define.
35411 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35412 elements. Add traced_files.
35413 (inotify_fd): Declare.
35414 (register_traced_file): Declare.
35415 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35416 (inotify_fd): Export.
35417 (resolv_conf_descr): Remove.
35418 (nscd_init): Move inotify descriptor creation to main.
35419 Don't register files for notification here.
35420 (register_traced_file): New function.
35421 (invalidate_cache): Don't use reset_res to determine whether to call
35422 res_init, go through the list of registered files.
35423 (main_loop_poll): The inotify descriptors are now stored in the
35424 structures for the traced files.
35425 (main_loop_epoll): Likewise
35426 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35427 to __nss_disable_nscd.
35428 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35429 for a database anymore. Check the records for all the registered
35431 * nss/Makefile (libnss_files-routines): Add files-init.
35432 (libnss_db-routines): Add db-init.
35433 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35434 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35435 * nss/nss_db/db-init.c: New file.
35436 * nss/nss_files/files-init.c: New file.
35437 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35438 __nss_lookup_function.
35439 (__nss_lookup_function): Call nss_load_library.
35440 (nss_load_all_libraries): New function.
35441 (__nss_disable_nscd): Take parameter with callback function for files
35442 to register. Set is_nscd. Load all the DSOs for the NSS modules
35443 used for the cached services.
35444 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35445 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35446 options for features to all the files in nscd.
35448 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35450 2011-07-10 Roland McGrath <roland@hack.frob.com>
35452 * csu/elf-init.c (__libc_csu_init): Comment typo.
35454 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35456 * po/pl.po: Update from translation team.
35457 * po/ja.po: Likewise.
35458 * po/ru.po: Likewise.
35459 * po/ko.po: Likewise.
35460 * po/fr.po: Likewise.
35462 2011-07-09 Roland McGrath <roland@hack.frob.com>
35464 * configure.in (.ctors/.dtors header and trailer check):
35465 Use an empirical test on a built program.
35466 * configure: Regenerated.
35468 * configure.in (-z relro check): Use an empirical test on a built DSO.
35469 Detect, but do not require, on ia64.
35470 * configure: Regenerated.
35472 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35473 Update tests that use readelf to use $READELF instead.
35474 * configure: Regenerated.
35476 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35478 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35479 if the result is not used.
35481 2011-07-05 Andreas Jaeger <aj@suse.de>
35484 * stdlib/tst-strtod.c: Add testcase.
35486 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35488 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35489 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35490 The latter has a higher limit. Take additional parameter to pass to
35492 (__pathconf): Pass file to __statfs_link_max.
35493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35495 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35499 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35500 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35502 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35503 (__statfs_filesize_max): Likewise.
35504 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35506 2011-07-05 Andreas Jaeger <aj@suse.de>
35508 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35510 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35512 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35514 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35517 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35519 * Makefile (strop-tests): Add strncat.
35520 * string/test-strncat.c: New file.
35522 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35524 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35526 2011-06-21 Andreas Jaeger <aj@suse.de>
35528 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35529 Copy rule from iconvdata/Makefile.
35531 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35534 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35535 but no long options are defined, just return 'W'.
35537 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35540 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35542 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35544 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35546 (innetgr): Likewise.
35548 2011-07-05 Roland McGrath <roland@hack.frob.com>
35550 * config.make.in (install_root): Default to $(DESTDIR).
35552 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35556 2011-07-02 Roland McGrath <roland@hack.frob.com>
35558 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35560 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35561 containing directory rather than embedding absolute directory names.
35563 * scripts/check-local-headers.sh: Rewritten using awk.
35564 Match by word, not by line. Print error messages for matches.
35565 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35567 * Makerules [shlib-lds-flags empty]:
35568 ($(common-objpfx)libc_pic.opts): New target.
35569 ($(common-objpfx)libc_pic.os.clean): New target.
35570 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35572 * config.make.in (OBJCOPY): New variable.
35573 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35574 * configure: Regenerated.
35576 * config.make.in (use-default-link): New variable.
35577 * configure.in (use_default_link): Grok --with-default-link to set it.
35578 * configure: Regenerated.
35579 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35580 (shlib-lds, shlib-lds-flags): Define to empty.
35582 * Makerules (shlib-lds): New variable.
35583 (shlib-lds-flags): New variable.
35584 (build-shlib, build-moduile, build-module-asneeded): Use it.
35585 ($(common-objpfx)libc.so): Use $(shlib-lds).
35586 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35587 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35589 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35590 DT_FLAGS/DT_FLAGS_1 with zero flags.
35592 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35593 linker script munging.
35595 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35597 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35599 * crypt/sha512.c (sha512_process_block): Perform total addition using
35600 128-bit if possible.
35601 (__sha512_finish_ctx): Likewise.
35602 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35604 * crypt/sha256.c (SWAP64): Define.
35605 (sha256_process_block): Perform total addition using 64-bit if
35607 (__sha256_finish_ctx): Likewise.
35609 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35611 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35613 * nscd/hstcache.c (cache_addhst): Likewise.
35614 * nscd/grpcache.c (cache_addgr): Likewise.
35615 * nscd/aicache.c (addhstaiX): Likewise
35616 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35618 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35620 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35622 * nscd/hstcache.c (cache_addhst): Likewise.
35623 * nscd/grpcache.c (cache_addgr): Likewise.
35624 * nscd/aicache.c (addhstaiX): Likewise
35626 2011-07-01 Andreas Schwab <schwab@redhat.com>
35628 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35629 domain only when needed.
35631 2011-06-30 Andreas Schwab <schwab@redhat.com>
35633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35634 is always restored.
35636 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35638 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35639 are re-adding the entry.
35640 * nscd/servicescache.c (cache_addserv): Likewise.
35642 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35644 * sysdeps/generic/dl-irel.h: fix protection against multiple
35646 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35648 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35651 * malloc/memusage.sh: Fix quoting in message.
35652 * debug/xtrace.sh: Likewise.
35654 * configure.in: Remove support for --experimental-malloc option, make
35656 * config.make.in: Likewise.
35657 * malloc/Makefile: Likewise.
35659 2011-06-27 Andreas Schwab <schwab@redhat.com>
35661 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35662 two-byte characters.
35664 2011-06-27 Roland McGrath <roland@hack.frob.com>
35666 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35667 AC_CACHE_CHECK invocation.
35668 * configure: Regenerated.
35670 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35672 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35675 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35676 bit from old_res_options.
35678 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35680 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35681 value type for setfct.
35683 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35686 __gettimeofday instead of gettimeofday.
35688 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35690 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35692 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35694 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35699 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35702 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35703 strcpy-sse2-unaligned strncpy-sse2-unaligned
35704 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35705 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35706 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35707 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35708 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35711 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35712 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35713 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35714 (STRCPY): Support SSE2 and SSSE3 versions.
35716 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35719 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35720 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35721 kernels which artificially limit size of requests.
35723 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35726 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35727 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35728 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35729 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35730 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35731 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35732 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35733 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35735 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35736 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35737 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35738 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35739 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35741 Enable unaligned load optimization for Intel Core i3, i5 and i7
35743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35745 (index_Fast_Unaligned_Load): Define.
35746 (HAS_FAST_UNALIGNED_LOAD): Define.
35748 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35750 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35752 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35756 until it is clear that the information is realy needed.
35757 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35759 2011-06-22 Andreas Schwab <schwab@redhat.com>
35761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35763 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35766 /sys/devices/system/cpu/online if it is usable.
35768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35769 reading the information from the /proc filesystem to once a second.
35771 2011-06-21 Andreas Jaeger <aj@suse.de>
35773 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35774 NULL after inclusion of kernel headers.
35776 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35778 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35779 calls to internal_setent.
35782 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35783 addresses using gethostbyname4_r ignore IPv4 addresses.
35785 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35786 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35788 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35790 2011-06-20 David S. Miller <davem@davemloft.net>
35792 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35794 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35796 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35797 (elf_irel): Use it.
35798 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35799 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35800 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35801 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35802 * sysdeps/x86_64/dl-irel.h: Likewise.
35804 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35805 * elf/dl-sym.c: Likewise.
35807 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35809 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35810 need to dereference resplen2.
35812 2011-06-14 Andreas Schwab <schwab@redhat.com>
35814 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35816 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35818 * Makeconfig: Define vardbdir and inst_vardbdir.
35819 * nss/Makefile: Add rules to install db-Makefile.
35821 * nss/nss_db/db-XXX.c: Cleanup.
35823 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35824 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35826 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35827 * nss/makedb.c: Implement -g option to specify that value strings
35828 are generated and should not be added to table iterated over for
35830 * nss/nss_db/db-initgroups.c: New file.
35832 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35835 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35836 (internal_getgrouplist): Adjust to name change.
35837 Update use_initgroups_entry if this is not the first call.
35838 * nss/databases.def: Add initgroups entry.
35840 * nss/makedb.c (compute_tables): Check result of multiple hash table
35841 sizes to minimize maximum chain length.
35843 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35845 * Versions.def: Add entry for libnss_db.
35846 * shlib-versions: Likewise.
35847 * nss/Makefile: Add rules to build libnss_db.
35848 * nss/Versions: Add libnss_db information. Organize libnss_files
35850 * nss/db-Makefile: Add gshadow support. Change rules for the new
35851 makedb progra. Some minor improvements to generate smaller files.
35852 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35854 * nss/makedb.c: ...here.
35855 Improve database format to be smaller and require less memory at
35857 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35859 * nss/nss_db/db-netgrp.c: Likewise.
35860 * nss/nss_db/db-open.c: Likewise.
35861 * nss/nss_files/flies-XXX.x: Adjust comments.
35862 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35863 * nss/nss_files/files-grp.c: Likewise.
35864 * nss/nss_files/files-hosts.c: Likewise.
35865 * nss/nss_files/files-network.c: Likewise.
35866 * nss/nss_files/files-proto.c: Likewise.
35867 * nss/nss_files/files-pwd.c: Likewise.
35868 * nss/nss_files/files-rpc.c: Likewise.
35869 * nss/nss_files/files-service.c: Likewise.
35870 * nss/nss_files/files-sgrp.c: Likewise.
35871 * nss/nss_files/files-spwd.c: Likewise.
35872 * nss/nss_db/db-alias.c: Removed.
35873 * nss/nss_db/dummy-db.h: Removed.
35875 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35877 * nss/makedb.c: Rewritten to not use database library.
35878 * nss/Makefile: Update to build new makedb program.
35880 2011-06-14 Andreas Jaeger <aj@suse.de>
35882 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35883 memset declaration.
35885 2011-06-10 Andreas Schwab <schwab@redhat.com>
35887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35890 2011-06-10 Roland McGrath <roland@hack.frob.com>
35892 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35893 * elf/Makefile ($(objpfx)ld.so): Likewise.
35895 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35896 Don't list ld.so twice in dependencies.
35898 * posix/bug-regex31.c: Include <stdlib.h>.
35900 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35902 * nis/nss_compat/compat-spwd.c
35903 (getspent_next_nss_netgr): Remove unused variable.
35904 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35906 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35907 nonmembers" output to use the right array.
35909 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35911 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35913 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35914 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35915 * catgets/gencat.c (read_input_file): Likewise.
35916 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35918 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35919 variable definition inside #if's controlling its use.
35921 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35923 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35925 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35927 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35930 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35932 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35933 * configure: Regenerated.
35935 * Makerules: Revert last change.
35936 * elf/Makefile: Likewise.
35938 2011-06-09 Roland McGrath <roland@hack.frob.com>
35940 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35941 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35942 (reloc-link): Likewise.
35944 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35946 * elf/Makefile: Add rules to build pldd.
35947 * elf/pldd.c: New file.
35948 * elf/pldd-xx.c: New file.
35950 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35952 * version.h: Update for 2.15 development version.
35954 2011-06-07 David S. Miller <davem@davemloft.net>
35956 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35959 elf_machine_lazy_rel): Likewise.
35960 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35962 elf_machine_lazy_rel): Likewise.
35963 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35964 dl_hwcap via passed in argument.
35965 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35968 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35970 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35972 2011-06-06 Roland McGrath <roland@hack.frob.com>
35975 * manual/fdl-1.1.texi: New file, verbatim from:
35976 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35977 * manual/lgpl-2.1.texi: New file, verbatim from:
35978 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35979 * manual/Makefile (licenses): New variable, list those new file names.
35981 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35983 * manual/fdl.texi: File removed.
35984 * manual/lesser.texi: File removed.
35985 * manual/libc.texinfo (Copying, Documentation License):
35986 Use new @include file names, put @appendix directive before @include.
35988 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35991 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35992 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35993 (mq_open): Add __NTH.
35995 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35998 Assume Intel Core i3/i5/i7 processor if AVX is available.
36000 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36005 2011-05-31 Andreas Schwab <schwab@redhat.com>
36007 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36008 memory. Use alloca_account. Fix memory leak when retrying.
36010 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36012 * version.h (RELEASE): Bump for 2.14 release.
36013 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36015 * config.make.in (RANLIB): Remove entry.
36017 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36019 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36020 (libc.pot): Work around missing support for .ksh extension in xgettext.
36023 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36024 if both request failed.
36025 (send_dg): In case of server errors clear resplen or *resplen2.
36028 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36029 when there are multiple maps.
36030 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36031 (_dl_fini): Remove test here.
36033 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36035 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36038 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36039 bit from old_res_options.
36040 (gaih_inet): Likewise.
36043 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36046 * resolv/res_init.c (res_setoptions): Make the code more compact.
36049 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36053 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36055 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36058 * malloc/malloc.h: Declare malloc hook variables as volatile.
36060 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36064 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36065 raise in the comment.
36066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36068 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36070 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36073 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36074 grow the buffers more if it already has to be sufficient.
36075 (build_wcs_upper_buffer): Likewise.
36076 * posix/regexec.c (check_matching): Likewise.
36077 (clean_state_log_if_needed): Likewise.
36078 (extend_buffers): Don't enlarge buffers beyond size of the input
36080 Patches mostly by Emil Wojak <emil@wojak.eu>.
36081 * posix/bug-regex32.c: New file.
36082 * posix/Makefile (tests): Add bug-regex32.
36084 * locale/findlocale.c (_nl_find_locale): Return right away if
36085 _nl_explode_name failed.
36086 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36088 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36090 * debug/xtrace.sh: Unify messages.
36091 * malloc/memusage.sh: Likewise.
36094 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36095 time symbol from vDSO. Substitute with vsyscall if not available.
36096 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36099 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36100 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36101 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36102 Add sendmmsg and internal_sendmmsg.
36103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36104 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36105 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36107 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36108 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36111 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36114 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36115 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36121 * iconvdata/Makefile (tests): Add bug-iconv9.
36122 * iconvdata/bug-iconv9.c: New file.
36124 2011-05-27 Andreas Schwab <schwab@redhat.com>
36127 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36129 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36132 (struct user_regs_struct): Change intcs field back to cs.
36134 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36136 * po/ja.po: Update from translation team.
36138 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36141 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36144 2011-05-20 Andreas Schwab <schwab@redhat.com>
36146 * stdlib/longlong.h: Update from GCC.
36148 2011-05-23 Andreas Schwab <schwab@redhat.com>
36150 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36152 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36153 Add parameter name.
36154 (__sysconf): Pass it down.
36156 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36159 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36162 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36163 add in in __libc_use_alloca calls. Adjust callers.
36164 (glob): Use malloc in some situations.
36166 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36167 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36170 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36172 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36173 and CLOCK_BOOTTIME_ALARM.
36176 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36179 * string/_strerror.c (__strerror_r): Print negative errors as signed
36183 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36184 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36185 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36187 * configure.in: Fix typo in redirection and correct removal of test
36188 files in two cases.
36191 * locale/setlocale.c (new_composite_name): Fix test to check for
36192 identical name of all categories.
36195 * libio/filedoalloc.c (local_isatty): New function.
36196 (_IO_file_doallocate): Use local_isatty.
36197 * stdio-common/perror.c (perror): In case a new stream is used
36198 forward the stream error.
36199 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36202 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36207 * include/alloca.h (extend_alloca_account): Define.
36210 * posix/regex.h: Fix comments with documentation of user-accessible
36211 fields after compilation and describe correct free'ing of pattern
36212 after re_compile_pattern.
36213 Patch by Reuben Thomas <rrt@sc3d.org>.
36215 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36217 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36218 and -mno-altivec to prevent the compiler from using Altivec and/or
36219 VSX instructions when the corresponding registers are not available.
36221 2011-05-19 Andreas Schwab <schwab@redhat.com>
36223 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36225 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36227 * libio/freopen.c (freopen): Use __dup2, not dup2.
36228 * libio/freopen64.c (freopen64): Likewise.
36230 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36233 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36234 * math/Makefile (tests): Add test-powl.
36235 (CFLAGS-test-powl.c): Define.
36236 * math/test-powl.c: New file.
36238 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36240 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36242 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36245 * iconvdata/gb18030.c: Update to GB18020-2005.
36247 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36249 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36250 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36251 Patch by Aharon Robbins <arnold@skeeve.com>.
36254 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36258 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36259 through underflows.
36262 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36263 point to strings before performing equality test for error_one_per_line
36267 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36270 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36271 (struct user_fpregs_struct): Avoid __uint*_t types.
36274 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36275 symbol info. Use it instead of calling _dl_addr locally.
36276 (lock_and_info): New function.
36277 (tr_freehook): Call lock_and_info and pass symbol info as additional
36278 parameter to tr_where.
36279 (tr_mallochook): Likewise.
36280 (tr_reallochook): Likewise.
36281 (tr_memalignhook): Likewise.
36283 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36284 used and couldn't be at all thread-safe.
36286 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36288 * libio/freopen.c (freopen): Don't close old file descriptor
36289 before the new one is opened. Instead dup the new file descriptor
36290 to the old one after the new stream is created.
36291 * libio/freopen64.c (freopen64): Likewise.
36292 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36293 * libio/fileops.c (_IO_new_file_close_it): Handle new
36294 _IO_FLAGS2_NOCLOSE flag.
36295 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36296 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36297 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36298 _IO_FLAGS2_NOCLOSE flag.
36299 * include/unistd.h: Add hidden_proto for dup3.
36300 Define __have_dup3.
36301 * io/dup3.c: Define hidden symbol.
36302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36305 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36306 when an incomplete long option is used.
36307 * posix/tst-getopt_long1.c: New file.
36308 * posix/Makefile (tests): Add tst-getopt_long1.
36311 * scripts/config.guess: Update from autoconf-2.68.
36312 * scripts/config.sub: Likewise.
36315 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36317 (has_cpuclock): ...this. New function.
36318 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36319 macro here based on has_cpuclock code.
36322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36323 First byte (not low byte) is now always NUL.
36324 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36327 Use non-cancelable interfaces.
36330 * locale/iso-639.def: Add entry for Sorani.
36333 * include/stdlib.h: Move include protection to the right place.
36334 Define abort_msg_s. Declare __abort_msg with it.
36335 * stdlib/abort.c (__abort_msg): Adjust type.
36336 * assert/assert.c (__assert_fail_base): New function. Majority
36337 of code from __assert_fail. Allocate memory for __abort_msg with
36339 (__assert_fail): Now call __assert_fail_base.
36340 * assert/assert-perr.c: Remove bulk of implementation. Use
36341 __assert_fail_base.
36342 * include/assert.hL Declare __assert_fail_base.
36343 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36345 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36347 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36351 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36352 until all modules are registered in the DTV.
36353 * elf/Makefile: Add rules to build and run tst-tls19.
36354 * elf/tst-tls19.c: New file.
36355 * elf/tst-tls19mod1.c: New file.
36356 * elf/tst-tls19mod2.c: New file.
36357 * elf/tst-tls19mod3.c: New file.
36358 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36361 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36365 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36366 two-byte sequence errors.
36367 * iconvdata/Makefile (tests): Add bug-iconv8.
36368 * iconvdata/bug-iconv8.c: New file.
36371 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36374 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36377 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36378 (dummy_getcfa): New function.
36379 (init): Get _Unwind_GetCFA address, use dummy if not found.
36380 (backtrace_helper): In recursion check, also check whether CFA changes.
36381 (__backtrace): Completely initialize arg.
36383 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36384 storing incomplete byte sequence in state object. Avoid testing for
36385 guaranteed too small input if we know there is enough data available.
36387 2011-05-11 Andreas Schwab <schwab@redhat.com>
36389 * Makeconfig (+link-pie): Indent.
36390 * Rules (binaries-pie): Define if $(have-fpie) and
36392 (binaries-shared): Also filter out $(binaries-pie).
36393 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36394 * nscd/Makefile (others-pie): Add nscd.
36395 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36396 ($(objpfx)nscd): Remove command override.
36397 * login/Makefile (others-pie): Add pt_chown.
36398 ($(objpfx)pt_chown): Remove command override.
36399 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36400 remove command overrides.
36402 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36404 * libio/tst_putwc.c: Fix error messages.
36407 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36408 currently writing and seek to current position when not.
36409 * libio/Makefile (tests): Add bug-fclose1.
36410 * libio/bug-fclose1.c: New file.
36412 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36415 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36416 don't set DF_1_NODELETE here.
36417 (do_lookup_x): When entering new entry test for copy relocation
36418 and if necessary set DF_1_NODELETE flag.
36419 * elf/tst-unique4.cc: New file.
36420 * elf/tst-unique4.h: New file.
36421 * elf/tst-unique4lib.cc: New file.
36422 * elf/Makefile: Add rules to build and run tst-unique4.
36423 Patch by Piotr Bury <pbury@goahead.com>.
36425 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36428 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36431 * misc/mntent_r.c (addmntent): Flush the stream after the output
36434 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36435 (is_trusted_path_normalize): Skip initial colon. Append slash
36436 to empty buffer. Duplicate is_trusted_path code but allow
36437 constructed patch to be prefix.
36438 (is_dst): Allow $ORIGIN followed by /.
36439 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36440 Correct testing of result of is_trusted_path_normalize
36441 (decompose_rpath): Fix warning.
36443 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36446 * grp/initgroups.c (internal_getgrouplist): When we found the service
36447 list through the initgroups entry in nsswitch.conf do not always
36448 continue on a successful lookup. Don't always use the
36449 __nss_group_database value if it is set.
36450 * nss/nsswitch.conf (initgroups): Change action for successful db
36451 lookup to continue for compatibility.
36453 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36456 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36458 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36460 * iconvdata/tst-tables.sh: Likewise.
36461 * iconvdata/cp770.c: New file.
36462 * iconvdata/cp771.c: New file.
36463 * iconvdata/cp772.c: New file.
36464 * iconvdata/cp773.c: New file.
36465 * iconvdata/cp774.c: New file.
36466 * iconvdata/testdata/CP770: New file.
36467 * iconvdata/testdata/CP770..UTF8: New file.
36468 * iconvdata/testdata/CP771: New file.
36469 * iconvdata/testdata/CP771..UTF8: New file.
36470 * iconvdata/testdata/CP772: New file.
36471 * iconvdata/testdata/CP772..UTF8: New file.
36472 * iconvdata/testdata/CP773: New file.
36473 * iconvdata/testdata/CP773..UTF8: New file.
36474 * iconvdata/testdata/CP774: New file.
36475 * iconvdata/testdata/CP774..UTF8: New file.
36477 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36479 * iconvdata/gen-8bit-gap.sh: Likewise.
36480 * iconvdata/gen-8bit.sh: Likewise.
36482 * locale/iso-639.def: Add ary entry.
36485 * locale/C-translit.h.in: Add U20A1 transliteration.
36488 * locale/iso-639.def: Add wae entry.
36489 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36492 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36496 * locale/C-translit.h.in: Add entry for U20B9.
36497 Patch by pravin.d.s@gmail.com.
36499 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36502 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36503 ENAMETOOLONG use generic getcwd.
36504 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36505 in rtld. Use *stat64.
36506 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36507 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36508 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36509 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36510 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36511 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36512 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36513 __fstatat64 macros.
36514 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36515 * dirent/rewinddir.c: Add libc_hidden_def.
36516 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36517 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36519 * include/dirent.h (__alloc_dir): Add flags parameter.
36520 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36521 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36523 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36524 from fdopendir if O_CLOEXEC is already set.
36526 2011-03-15 Alan Modra <amodra@gmail.com>
36528 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36529 l_tls_firstbyte_offset non-zero. Save padding offset in
36530 l_tls_firstbyte_offset for later use.
36531 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36532 freeing static tls block.
36534 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36536 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36537 where #ifdef was intended. The intent is to prevent ARG_MAX from
36538 being defined by the kernel headers.
36540 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36543 * resolv/resolv.h: Define RES_NOTLDQUERY.
36544 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36545 no-tld-query and set RES_NOTLDQUERY.
36546 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36547 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36548 modern BIND to search name as TLD unless forbidden.
36550 2011-05-07 Petr Baudis <pasky@suse.cz>
36551 Ulrich Drepper <drepper@gmail.com>
36554 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36555 (is_trusted_path): ...to here.
36556 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36557 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36558 using is_trusted_path_normalize() in setuid scripts.
36560 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36562 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36563 __BEGIN/__END_DECLS.
36565 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36568 NSS_STATUS_NOTFOUND if no record was found.
36570 2011-05-05 Andreas Schwab <schwab@redhat.com>
36572 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36573 (headers-not-in-tirpc): Remove rpc/netdb.h
36574 * resolv/netdb.h: Revert last change.
36576 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36578 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36579 circular dependency between libgcc.a and libc.a.
36581 2011-05-05 Andreas Schwab <schwab@redhat.com>
36583 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36584 * nis/Makefile: Don't install rpcsvc/*.
36585 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36586 instead of <rpc/types.h>.
36587 (MAXHOSTNAMELEN): Define.
36589 2011-05-03 Andreas Schwab <schwab@redhat.com>
36591 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36593 2011-04-28 Maciej Babinski <mbabinski@google.com>
36596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36597 gethostbyname4_r when IPv6 results are possible.
36599 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36602 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36603 _PC_PIPE_BUF handling.
36605 2011-04-30 Bruno Haible <bruno@clisp.org>
36608 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36609 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36611 * inet/getnameinfo.c (getnameinfo): Likewise.
36613 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36615 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36616 to groups setting in database lookup.
36617 * nss/nsswitch.conf: Add initgroups entry.
36619 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36622 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36624 Patch by Eric Blake <eblake@redhat.com>.
36626 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36628 * sunrpc/Makefile (need-export-routines): Add svc_run.
36629 (routines): Remove svc_run.
36630 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36631 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36632 * sunrpc/svc_run.c (svc_run): Likewise.
36633 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36635 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36638 problem in reallocation in last patch.
36640 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36642 * sunrpc/Makefile: Move inclusion of Rules.
36644 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36646 * nss/nss_files/files-initgroups.c: New file.
36647 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36648 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36649 _nss_files_initgroups_dyn.
36651 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36653 * elf/elf.h (R_ARM_IRELATIVE): Define.
36655 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36657 * po/ru.po: Update from translation team.
36659 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36661 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36664 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36668 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36671 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36673 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36677 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36678 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36679 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36681 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36684 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36686 * stdlib/bug-getcontext.c: New file.
36687 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36689 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36691 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36692 instructions into .machine "z9-109".
36693 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36694 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36696 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36698 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36699 between environment variables and auxiliary vector.
36701 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36703 * Makefile: Add rules to build linkobj/libc.so.
36704 * include/libc-symbols.h: Define libc_hidden_nolink.
36705 * include/rpc/auth.h: Mark functions which are to be hidden.
36706 * include/rpc/auth_des.h: Likewise.
36707 * include/rpc/auth_unix.h: Likewise.
36708 * include/rpc/clnt.h: Likewise.
36709 * include/rpc/des_crypt.h: Likewise.
36710 * include/rpc/key_prot.h: Likewise.
36711 * include/rpc/pmap_clnt.h: Likewise.
36712 * include/rpc/pmap_prot.h: Likewise.
36713 * include/rpc/pmap_rmt.h: Likewise.
36714 * include/rpc/rpc_msg.h: Likewise.
36715 * include/rpc/svc.h: Likewise.
36716 * include/rpc/svc_auth.h: Likewise.
36717 * include/rpc/xdr.h: Likewise.
36718 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36719 * nss/Makefile: Likewise.
36720 * sunrpc/Makefile: Don't install headers. Build library with normal
36721 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36722 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36723 for the compat linking library. Remove use of INTDEF/INTUSE.
36724 * sunrpc/auth_none.c: Likewise.
36725 * sunrpc/auth_unix.c: Likewise.
36726 * sunrpc/authdes_prot.c: Likewise.
36727 * sunrpc/authuxprot.c: Likewise.
36728 * sunrpc/clnt_gen.c: Likewise.
36729 * sunrpc/clnt_perr.c: Likewise.
36730 * sunrpc/clnt_raw.c: Likewise.
36731 * sunrpc/clnt_simp.c: Likewise.
36732 * sunrpc/clnt_tcp.c: Likewise.
36733 * sunrpc/clnt_udp.c: Likewise.
36734 * sunrpc/clnt_unix.c: Likewise.
36735 * sunrpc/des_crypt.c: Likewise.
36736 * sunrpc/des_soft.c: Likewise.
36737 * sunrpc/get_myaddr.c: Likewise.
36738 * sunrpc/key_call.c: Likewise.
36739 * sunrpc/key_prot.c: Likewise.
36740 * sunrpc/netname.c: Likewise.
36741 * sunrpc/pm_getmaps.c: Likewise.
36742 * sunrpc/pm_getport.c: Likewise.
36743 * sunrpc/pmap_clnt.c: Likewise.
36744 * sunrpc/pmap_prot.c: Likewise.
36745 * sunrpc/pmap_prot2.c: Likewise.
36746 * sunrpc/pmap_rmt.c: Likewise.
36747 * sunrpc/publickey.c: Likewise.
36748 * sunrpc/rpc_cmsg.c: Likewise.
36749 * sunrpc/rpc_common.c: Likewise.
36750 * sunrpc/rpc_dtable.c: Likewise.
36751 * sunrpc/rpc_prot.c: Likewise.
36752 * sunrpc/rpc_thread.c: Likewise.
36753 * sunrpc/rtime.c: Likewise.
36754 * sunrpc/svc.c: Likewise.
36755 * sunrpc/svc_auth.c: Likewise.
36756 * sunrpc/svc_authux.c: Likewise.
36757 * sunrpc/svc_raw.c: Likewise.
36758 * sunrpc/svc_run.c: Likewise.
36759 * sunrpc/svc_simple.c: Likewise.
36760 * sunrpc/svc_tcp.c: Likewise.
36761 * sunrpc/svc_udp.c: Likewise.
36762 * sunrpc/svc_unix.c: Likewise.
36763 * sunrpc/svcauth_des.c: Likewise.
36764 * sunrpc/xcrypt.c: Likewise.
36765 * sunrpc/xdr.c: Likewise.
36766 * sunrpc/xdr_array.c: Likewise.
36767 * sunrpc/xdr_float.c: Likewise.
36768 * sunrpc/xdr_intXX_t.c: Likewise.
36769 * sunrpc/xdr_mem.c: Likewise.
36770 * sunrpc/xdr_rec.c: Likewise.
36771 * sunrpc/xdr_ref.c: Likewise.
36772 * sunrpc/xdr_sizeof.c: Likewise.
36773 * sunrpc/xdr_stdio.c: Likewise.
36775 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36778 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36779 * sysdeps/ia64/dl-tls.h: Likewise.
36780 * sysdeps/powerpc/dl-tls.h: Likewise.
36781 * sysdeps/s390/dl-tls.h: Likewise.
36782 * sysdeps/sh/dl-tls.h: Likewise.
36783 * sysdeps/sparc/dl-tls.h: Likewise.
36784 * sysdeps/x86_64/dl-tls.h: Likewise.
36785 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36787 2011-03-14 Andreas Schwab <schwab@redhat.com>
36789 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36790 rpath element also skip the following colon.
36791 (expand_dynamic_string_token): Add is_path parameter and pass
36792 down to DL_DST_REQUIRED and _dl_dst_substitute.
36793 (decompose_rpath): Call expand_dynamic_string_token with
36794 non-zero is_path. Ignore empty rpaths.
36795 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36798 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36803 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36806 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36807 Patch by Filipe David Manana <fdmanana@apache.org>.
36809 2011-04-07 Andreas Schwab <schwab@redhat.com>
36811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36812 Maintain aligned stack.
36813 (CHECK_RSP): Remove unused macro.
36815 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36817 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36820 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36822 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36824 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36826 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36829 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36830 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36831 * sysdeps/x86_64/memmove.c: New file.
36832 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36833 (memcpy): Renamed to ...
36834 (__new_memcpy): This.
36835 (memcpy): Provide GLIBC_2_14 memcpy.
36836 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36837 (memcpy): Provide GLIBC_2_2_5 memcpy.
36839 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36842 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36844 2011-03-30 Andreas Schwab <schwab@redhat.com>
36846 * misc/syncfs.c: New file.
36847 * misc/Makefile (routines): Add syncfs.
36848 * posix/unistd.h: Declare syncfs.
36849 * sysdeps/unix/syscalls.list: Add syncfs.
36851 2011-04-01 Andreas Schwab <schwab@redhat.com>
36853 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36860 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36863 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36867 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36873 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36874 sync_file_range.c with -fexceptions.
36875 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36876 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36877 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36878 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36879 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36880 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36882 sync_file_range as cancellation point
36883 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36884 now a wrapper around __call_sync_file_range with cancellation handling.
36885 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36886 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36887 function name to __call_sync_file_range.
36888 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36889 Add call_sync_file_range.
36891 2011-04-01 Andreas Schwab <schwab@redhat.com>
36893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36896 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36898 * iconv/iconv.h: Fix typo in comment.
36899 * io/fcntl.h: Likewise.
36900 * libio/stdio.h: Likewise.
36901 * posix/spawn.h: Likewise.
36902 * posix/unistd.h: Likewise.
36903 * stdlib/stdlib.h: Likewise.
36904 * time/time.h: Likewise.
36905 * wcsmbs/wchar.h: Likewise.
36907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36908 open_by_handle): Add.
36909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36910 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36911 Augment a few comments.
36912 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36917 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36920 * io/fcntl.h (AT_EMPTY_PATH): Define.
36922 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36924 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36925 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36926 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36928 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36929 * Versions.def: Add GLIBC_2.14.
36930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36933 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36935 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36937 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36939 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36942 * string/test-strncmp.c (do_page_test): New function.
36943 (check2): Likewise.
36944 (test_main): Call check2.
36945 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36947 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36951 Handle cache information in CPU leaf 4.
36952 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36954 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36957 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36958 character representation.
36959 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36961 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36963 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36964 END(__isnan) to END(__isnanf) to match function entry point/label
36965 EALIGN(__isnanf,...).
36967 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36969 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36971 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36974 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36975 copy from the symbol referenced in the relocation to initialize the
36977 Patch by Piotr Bury <pbury@goahead.com>.
36978 * elf/Makefile: Add rules to build and tst-unique3.
36979 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36980 * elf/tst-unique3.cc: New file.
36981 * elf/tst-unique3.h: New file.
36982 * elf/tst-unique3lib.cc: New file.
36983 * elf/tst-unique3lib2.cc: New file.
36985 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36987 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36989 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36990 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36993 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36995 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36996 to-be-loaded object along a path to loader is ld.so.
36998 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36999 Ulrich Drepper <drepper@gmail.com>
37001 * sysdeps/x86_64/memset.S: After aligning destination, code
37002 branches to different locations depending on the value of
37003 misalignment, when multiarch is enabled. Fix this.
37005 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37007 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37008 Set _x86_64_preferred_memory_instruction for AMD processsors.
37009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37010 Set bit_Prefer_SSE_for_memop for AMD processors.
37012 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37014 * libio/fmemopen.c (fmemopen): Optimize a bit.
37016 2011-03-03 Andreas Schwab <schwab@redhat.com>
37018 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37020 2011-03-03 Roland McGrath <roland@redhat.com>
37022 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37024 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37026 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37027 __bzero_ultra1 instead of __memset_ultra1.
37029 2011-02-23 Andreas Schwab <schwab@redhat.com>
37030 Ulrich Drepper <drepper@gmail.com>
37033 * include/link.h (struct link_map): Add l_orig_initfini.
37034 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37035 returning unsuccessfully.
37036 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37037 close of a file loaded at startup, restore the original l_initfini
37039 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37040 list, store the pointer.
37041 * elf/Makefile ($(objpfx)noload-mem): New rule.
37042 (noload-ENV): Define.
37043 (tests): Add $(objpfx)noload-mem.
37044 * elf/noload.c: Include <memcheck.h>.
37045 (main): Call mtrace. Close all opened handles.
37047 2011-02-17 Andreas Schwab <schwab@redhat.com>
37050 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37051 dependencies are missing.
37053 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37055 Fix __if_freereq crash: Unlike the generic version which uses free,
37057 * sysdeps/mach/hurd/ifreq.h: New file.
37059 2011-01-27 Petr Baudis <pasky@suse.cz>
37060 Ulrich Drepper <drepper@gmail.com>
37063 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37064 to extend_alloca().
37065 * stdio-common/bug23.c: New file.
37066 * stdio-common/Makefile (tests): Add bug23.
37068 2010-09-28 Andreas Schwab <schwab@redhat.com>
37069 Ulrich Drepper <drepper@gmail.com>
37072 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37073 before performing relro protection. At old place add assertion
37074 to make sure nothing changed.
37076 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37077 Glauber de Oliveira Costa <glommer@gmail.com>
37079 * elf/elf.h: Add new ARM TLS relocs.
37081 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37084 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37086 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37088 * sysdeps/wordsize-64/tst-writev.c: New file.
37090 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37092 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37093 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37094 insns in _dl_start to prevent a TOC reference before relocs are
37097 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37100 * Makeconfig: Remove RANLIB definition.
37101 * Makerules: Don't use RANLIB.
37102 * aclocal.m4: Remove ranlib test.
37103 * configure.in: No need to check for ranlib.
37104 * elf/rtld-Rules: Don't use RANLIB.
37106 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37108 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37110 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37111 inclusion protection macro.
37113 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37114 SIGRTMIN and SIGRTMAX and print information in that case only when
37115 SIGRTMIN is defined.
37117 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37119 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37120 arginfo fn returning -1.
37122 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37123 and thousands string is zero terminated.
37125 2011-02-03 Andreas Schwab <schwab@redhat.com>
37127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37128 sysdeps/unix/sysv/linux/bits/socket.h.
37130 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37132 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37133 (__CPU_COUNT): Remove old macros.
37134 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37135 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37136 (__CPU_ALLOC, __CPU_FREE): Add macros.
37137 (__sched_cpualloc, __sched_cpufree): Add declarations.
37139 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37141 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37142 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37143 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37144 (readdhstai): Return value of addhstaiX call.
37145 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37146 (addgrbyX): Return value returned by cache_addgr.
37147 (readdgrbyname): Return value returned by addgrbyX.
37148 (readdgrbygid): Likewise.
37149 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37150 (addpwbyX): Return value returned by cache_addpw.
37151 (readdpwbyname): Return value returned by addhstbyX.
37152 (readdpwbyuid): Likewise.
37153 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37154 (addservbyX): Return value returned by cache_addserv.
37155 (readdservbyname): Return value returned by addservbyX:
37156 (readdservbyport): Likewise.
37157 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37158 (addhstbyX): Return value returned by cache_addhst.
37159 (readdhstbyname): Return value returned by addhstbyX.
37160 (readdhstbyaddr): Likewise.
37161 (readdhstbynamev6): Likewise.
37162 (readdhstbyaddrv6): Likewise.
37163 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37164 (readdinitgroups): Return value returned by addinitgroupsX.
37165 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37166 (prune_cache): Keep track of timeout value of re-added entries.
37167 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37168 * nscd/nscd.h: Adjust prototypes of readd* functions.
37170 2011-02-04 Roland McGrath <roland@redhat.com>
37172 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37173 (nis_stats): Likewise.
37174 * nis/nis_modify.c (nis_modify): Likewise.
37175 * nis/nis_remove.c (nis_remove): Likewise.
37176 * nis/nis_add.c (nis_add): Likewise.
37178 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37180 * posix/fnmatch_loop.c: Add some consts.
37182 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37184 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37187 * config.make.in (config-cflags-novzeroupper): Define.
37188 * configure.in: Substitute libc_cv_cc_novzeroupper.
37189 * elf/Makefile (AVX-CFLAGS): Define.
37190 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37191 (CFLAGS-tst-auditmod4a.c): Likewise.
37192 (CFLAGS-tst-auditmod4b.c): Likewise.
37193 (CFLAGS-tst-auditmod6b.c): Likewise.
37194 (CFLAGS-tst-auditmod6c.c): Likewise.
37195 (CFLAGS-tst-auditmod7b.c): Likewise.
37196 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37198 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37200 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37201 function to the callback.
37202 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37204 2011-02-02 Andreas Schwab <schwab@redhat.com>
37206 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37209 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37212 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37214 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37216 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37219 * elf/Makefile: Add rules to build and run new test.
37220 * elf/tst-initorder.c: New file.
37221 * elf/tst-initorder.exp: New file.
37222 * elf/tst-initordera1.c: New file.
37223 * elf/tst-initordera2.c: New file.
37224 * elf/tst-initordera3.c: New file.
37225 * elf/tst-initordera4.c: New file.
37226 * elf/tst-initorderb1.c: New file.
37227 * elf/tst-initorderb2.c: New file.
37228 * elf/tst-order-a1.c: New file.
37229 * elf/tst-order-a2.c: New file.
37230 * elf/tst-order-a3.c: New file.
37231 * elf/tst-order-a4.c: New file.
37232 * elf/tst-order-b1.c: New file.
37233 * elf/tst-order-b2.c: New file.
37234 * elf/tst-order-main.c: New file.
37235 New test case by George Gensure <werkt0@gmail.com>.
37237 2010-10-01 Andreas Schwab <schwab@redhat.com>
37239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37240 decoding ACE if AI_CANONIDN.
37242 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37244 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37246 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37248 * version.h (RELEASE): Bump for 2.13 release.
37249 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37251 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37253 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37255 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37262 * posix/getconf.c: Update copyright year.
37263 * catgets/gencat.c: Likewise.
37264 * csu/version.c: Likewise.
37265 * debug/catchsegv.sh: Likewise.
37266 * debug/xtrace.sh: Likewise.
37267 * elf/ldconfig.c: Likewise.
37268 * elf/ldd.bash.in: Likewise.
37269 * elf/sprof.c (print_version): Likewise.
37270 * iconv/iconv_prog.c: Likewise.
37271 * iconv/iconvconfig.c: Likewise.
37272 * locale/programs/locale.c: Likewise.
37273 * locale/programs/localedef.c: Likewise.
37274 * malloc/memusage.sh: Likewise.
37275 * malloc/mtrace.pl: Likewise.
37276 * nscd/nscd.c (print_version): Likewise.
37277 * nss/getent.c: Likewise.
37279 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37280 PF_CAIF, and PF_ALG.
37281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37283 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37285 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37286 (modules-names): Use them.
37287 (ifunc-test-modules, ifunc-pie-tests): Define.
37288 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37289 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37290 (test-extras): Likewise.
37291 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37292 $(compile-command.c).
37293 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37294 (all-built-dso): Define.
37295 (check-textrel.out, check-execstack.out): Depend on it.
37297 * configure.in: Don't override --enable-multi-arch.
37299 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37302 * nscd/hstcache.c (tryagain): Define.
37303 (cache_addhst): Return tryagain not notfound for temporary errors.
37304 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37307 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37310 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37311 to make the syscall.
37312 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37315 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37316 and fall back to matching as normal character if the string ends before
37317 the matching ']' is found. This is what POSIX requires.
37318 * posix/testfnm.c: Adjust test result.
37319 * posix/globtest.sh: Adjust test result. Add new test.
37320 * posix/tst-fnmatch.input: Likewise.
37321 * posix/tst-fnmatch2.c: Add new test.
37323 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37325 * elf/Makefile (check-execstack): Revert last change. Depend on
37327 (check-execstack.h): New target.
37328 (generated): Add check-execstack.h.
37329 * elf/check-execstack.c: Include "check-execstack.h".
37330 (main): Revert last change.
37331 (handle_file): Return zero if GNU_STACK is absent and
37332 DEFAULT_STACK_PERMS doesn't include PF_X.
37334 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37336 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37337 in child fails because the descriptor is already closed.
37338 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37339 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37340 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37343 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37347 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37348 temporary buffer used to handle multi lookups locally.
37349 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37351 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37353 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37356 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37358 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37359 alignment for SSE2.
37361 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37364 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37365 characters. When rounding increased number of integer digits recompute
37367 * stdio-common/tst-grouping.c: New file.
37368 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37370 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37372 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37373 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37375 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37377 * bits/select.h: Likewise.
37379 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37381 * po/ja.po: Update from translation team.
37383 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37386 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37387 implementation just like for lxstat, fxstatat, et al.
37389 2010-12-27 Jim Meyering <meyering@redhat.com>
37392 * posix/regexec.c (build_trtable): Return failure indication upon
37393 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37395 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37398 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37399 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37400 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37401 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37404 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37407 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37408 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37410 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37412 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37413 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37414 script has SORT_BY_INIT_PRIORITY.
37415 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37416 NO_CTORS_DTORS_SECTIONS is defined.
37417 * elf/soinit.c: Likewise.
37418 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37419 NO_CTORS_DTORS_SECTIONS is defined.
37420 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37421 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37422 * sysdeps/sh/init-first.c: Likewise.
37423 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37425 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37427 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37428 always use the slow path.
37430 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37432 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37433 similar rule which adds the sysdep directories to the header search in
37434 order to pick up the correct platform stackinfo.h.
37435 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37436 perform test if it is, otherwise return successfully without testing.
37437 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37438 DEFAULT_STACK_PERMS define in stackinfo.h.
37439 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37440 defined in stackinfo.h.
37441 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37442 DEFAULT_STACK_PERMS defined in stackinfo.h.
37443 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37444 * sysdeps/ia64/stackinfo.h: Likewise.
37445 * sysdeps/s390/stackinfo.h: Likewise.
37446 * sysdeps/sh/stackinfo.h: Likewise.
37447 * sysdeps/sparc/stackinfo.h: Likewise.
37448 * sysdeps/x86_64/stackinfo.h: Likewise.
37449 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37450 PF_X for powerpc64. Retain PF_X for powerpc32.
37452 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37454 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37456 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37457 GETDENTS_64BIT_ALIGNED.
37459 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37461 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37463 2010-12-10 Andreas Schwab <schwab@redhat.com>
37465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37468 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37469 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37471 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37472 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37474 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37477 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37480 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37482 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37484 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37486 * po/it.po: Update from translation team.
37488 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37493 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37495 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37497 2010-11-24 Andreas Schwab <schwab@redhat.com>
37499 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37501 (gaih_getanswer_slice): Likewise.
37503 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37507 2010-05-31 Petr Baudis <pasky@suse.cz>
37510 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37511 silently even in the chroot mode.
37513 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37515 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37516 last patch a bit. Pretty printing
37518 2010-05-31 Petr Baudis <pasky@suse.cz>
37521 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37522 initialization of skip_initgroups_dyn.
37524 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37529 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37531 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37533 2010-11-11 Andreas Schwab <schwab@redhat.com>
37535 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37536 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37537 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37538 ($(objpfx)tst-fnmatch-mem): New rule.
37539 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37540 * posix/tst-fnmatch.c (main): Call mtrace.
37542 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37545 Support Intel processor model 6 and model 0x2c.
37547 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37552 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37555 * string/test-strncasecmp.c (check_result): New function.
37556 (do_one_test): Use it.
37557 (check1): New function.
37558 (test_main): Use it.
37559 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37560 Support strcasecmp and strncasecmp.
37562 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37565 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37566 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37568 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37570 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37574 * sysdeps/x86_64/multiarch/bzero.S: New file.
37575 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37576 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37577 * sysdeps/x86_64/multiarch/memset.S: New file.
37578 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37580 Set bit_Prefer_SSE_for_memop for Intel processors.
37581 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37583 (index_Prefer_SSE_for_memop): Define.
37584 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37586 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37588 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37589 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37591 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37594 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37595 (__x86_64_raw_data_cache_size_half): Likewise.
37596 (__x86_64_raw_shared_cache_size): Likewise.
37597 (__x86_64_raw_shared_cache_size_half): Likewise.
37599 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37600 (__x86_64_raw_data_cache_size_half): Likewise.
37601 (__x86_64_raw_shared_cache_size): Likewise.
37602 (__x86_64_raw_shared_cache_size_half): Likewise.
37603 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37604 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37605 and __x86_64_raw_shared_cache_size_half. Round
37606 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37607 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37608 to multiple of 256 bytes.
37610 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37613 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37614 of inacessible symlinks. Verify result of symlink before returning it.
37615 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37616 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37618 2010-10-28 Erich Ritz <erichritz@gmail.com>
37620 * math/math.h (isinf): Fix typo in comment.
37622 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37624 * po/da.po: Update from translation team.
37626 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37628 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37629 is added to the list.
37631 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37632 Ulrich Drepper <drepper@gmail.com>
37634 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37635 the global list here. Move code to...
37636 (_dl_add_to_namespace_list): ...here. New function.
37637 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37638 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37639 * elf/dl-load.c (lose): Don't remove the element from the list.
37640 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37641 (_dl_map_object): Likewise.
37643 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37646 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37647 into all bytes of SSE register.
37648 Patch by Richard Li <richardpku@gmail.com>.
37650 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37653 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37656 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37658 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37659 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37660 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37661 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37666 2010-10-22 Andreas Schwab <schwab@redhat.com>
37668 * include/dlfcn.h (__RTLD_SECURE): Define.
37669 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37670 mode & __RTLD_SECURE instead.
37671 (open_path): Rename preloaded parameter to secure.
37672 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37673 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37674 * elf/dl-deps.c (openaux): Likewise.
37675 * elf/rtld.c (struct map_args): Remove is_preloaded.
37676 (map_doit): Don't use it.
37677 (dl_main): Likewise.
37678 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37679 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37681 2010-09-09 Andreas Schwab <schwab@redhat.com>
37683 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37684 (sysd-rules-targets): Remove duplicates.
37685 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37686 rtld-%.$o dependency.
37688 2010-10-18 Andreas Schwab <schwab@redhat.com>
37690 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37691 _dl_map_object do it.
37693 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37695 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37696 fast fma builtins, define the macros in the C99 standard.
37697 (FP_FAST_FMAF): Likewise.
37698 (FP_FAST_FMAL): Likewise.
37699 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37701 * bits/mathdef.h: Update copyright year.
37702 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37704 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37706 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37707 builtins, define the macros in the C99 standard.
37708 (FP_FAST_FMAF): Likewise.
37709 (FP_FAST_FMAL): Likewise.
37710 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37712 (FP_FAST_FMAF): Likewise.
37714 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37717 * math/libm-test.inc (fma_test): Some new testcases.
37718 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37720 y and infinite z. Do multiplication by C already in long double.
37721 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37723 y and infinite z. Do bitwise or of inexact bit into u.d.
37724 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37725 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37726 * sysdeps/i386/fpu/s_fma.S: Removed.
37727 * sysdeps/i386/fpu/s_fmal.S: Removed.
37729 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37732 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37734 computation is not scheduled after fetestexcept. Fix value
37735 of minimum denormal long double.
37737 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37740 * math/libm-test.inc (fma_test): Add some more tests.
37741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37744 2010-10-15 Andreas Schwab <schwab@redhat.com>
37746 * scripts/data/localplt-s390-linux-gnu.data: New file.
37747 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37749 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37752 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37753 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37755 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37757 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37759 if one of x and y is very large and the other is subnormal.
37760 * sysdeps/s390/fpu/s_fmaf.c: New file.
37761 * sysdeps/s390/fpu/s_fma.c: New file.
37762 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37763 * sysdeps/powerpc/fpu/s_fma.S: New file.
37764 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37765 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37766 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37768 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37771 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37774 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37775 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37776 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37777 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37778 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37781 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37784 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37785 * posix/bug-regex31.input: Add test case.
37787 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37789 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37790 * posix/bug-regex31.input: New file.
37793 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37794 (parse_sub_exp): Fix last change, use postorder.
37796 * posix/bug-regex31.c: New file.
37797 * posix/Makefile: Add rules to build and run bug-regex31.
37799 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37802 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37805 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37806 to have entries in sys_siglist.
37809 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37812 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37815 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37816 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37817 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37818 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37819 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37820 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37821 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37822 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37823 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37824 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37825 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37826 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37827 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37828 * math/ftestexcept.c (fetestexcept): Likewise.
37829 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37830 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37831 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37832 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37833 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37834 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37837 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37840 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37843 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37845 * string/bug-strstr1.c: New file.
37846 * string/Makefile: Add rules to build and run bug-strstr1.
37848 2010-10-05 Eric Blake <eblake@redhat.com>
37851 * string/str-two-way.h (two_way_long_needle): Always clear memory
37852 when skipping input due to the shift table.
37854 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37857 * malloc/mcheck.c: Handle large requests.
37860 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37861 for strncmp and strncasecmp.
37862 * string/stratcliff.c: Add tests for strcmp and strncmp.
37863 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37865 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37867 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37870 2010-09-30 Andreas Jaeger <aj@suse.de>
37872 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37873 (CGROUP_SUPER_MAGIC): Define.
37874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37875 Handle btrfs and cgroup file systems.
37876 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37879 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37881 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37882 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37884 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37887 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37888 trying to locate the ELF header.
37890 2010-09-27 Andreas Schwab <schwab@redhat.com>
37893 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37894 Mask out sign-bit copies when constructing f_fsid.
37896 2010-09-24 Petr Baudis <pasky@suse.cz>
37898 * debug/stack_chk_fail_local.c: Add missing licence exception.
37899 * debug/warning-nop.c: Likewise.
37901 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37903 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37904 implementing getdents64 using getdents syscall, set d_type if
37905 __ASSUME_GETDENTS32_D_TYPE.
37907 2010-09-16 Andreas Schwab <schwab@redhat.com>
37909 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37910 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37912 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37915 * posix/unistd.h: Undo change of feature selection for ftruncate from
37918 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37920 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37923 2010-09-20 Andreas Schwab <schwab@redhat.com>
37925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37929 2010-09-14 Andreas Schwab <schwab@redhat.com>
37931 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37932 variables after CHECK_SP call.
37933 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37935 2010-09-13 Andreas Schwab <schwab@redhat.com>
37936 Ulrich Drepper <drepper@redhat.com>
37938 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37939 re-relocationg ld.so.
37940 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37941 _dl_init_paths call.
37942 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37945 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37947 * resolv/res_init.c (__res_vinit): Count the default server we added.
37949 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37950 Ulrich Drepper <drepper@redhat.com>
37953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37954 (____longjmp_chk): Use %ebx for saving value across system call.
37957 2010-09-06 Andreas Schwab <schwab@redhat.com>
37959 * manual/Makefile: Don't mix pattern rules with normal rules.
37961 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37963 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37965 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37966 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37967 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37968 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37972 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37975 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37976 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37978 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37980 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37981 * sysdeps/x86_64/addmul_1.S: Likewise.
37982 * sysdeps/x86_64/lshift.S: Likewise.
37983 * sysdeps/x86_64/mul_1.S: Likewise.
37984 * sysdeps/x86_64/rshift.S: Likewise.
37985 * sysdeps/x86_64/sub_n.S: Likewise.
37986 * sysdeps/x86_64/submul_1.S: Likewise.
37988 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37990 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37991 Define __sched_param instead of SCHED_* and sched_param when
37992 <bits/sched.h> is included with __need_schedparam defined.
37993 * bits/sched.h [__need_schedparam]
37994 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37995 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37996 (__defined_schedparam): Define to 1.
37997 (__sched_param): New structure, identical to sched_param.
37998 (__need_schedparam): Undefine.
38000 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38002 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38003 (epoll_create1): Declare.
38005 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38007 2010-08-31 Andreas Schwab <schwab@redhat.com>
38010 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38011 shifting retval into place.
38013 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38015 * nis/rpcsvc/nis.h: Update copyright notice.
38016 * nis/rpcsvc/nis.x: Likewise.
38017 * nis/rpcsvc/nis_callback.h: Likewise.
38018 * nis/rpcsvc/nis_callback.x: Likewise.
38019 * nis/rpcsvc/nis_object.x: Likewise.
38020 * nis/rpcsvc/nis_tags.h: Likewise.
38021 * nis/rpcsvc/yp.h: Likewise.
38022 * nis/rpcsvc/yp.x: Likewise.
38023 * nis/rpcsvc/ypupd.h: Likewise.
38024 * nis/yp_xdr.c: Likewise.
38025 * nis/ypupdate_xdr.c: Likewise.
38027 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38028 mainly the body of pmap_getport. Add parameters to specify timeouts.
38029 (pmap_getport): Use __libc_rpc_getport.
38030 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38031 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38032 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38034 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38039 2010-08-27 Roland McGrath <roland@redhat.com>
38041 * sysdeps/i386/i686/multiarch/Makefile
38042 (CFLAGS-varshift.c): New variable.
38044 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38046 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38047 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38051 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38053 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38055 * sysdeps/x86_64/strlen.S: Unroll the loop.
38056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38057 strlen-sse2 strlen-sse2-bsf.
38058 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38059 __strlen_no_bsf if bit_Slow_BSF is set.
38060 (__strlen_sse42): Removed.
38061 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38062 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38064 2010-08-25 Roland McGrath <roland@redhat.com>
38066 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38067 * sysdeps/x86_64/multiarch/varshift.c: New file.
38068 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38069 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38070 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38073 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38076 strlen-sse2 strlen-sse2-bsf.
38077 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38078 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38079 (__strlen_sse2): Removed.
38080 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38083 bit_Slow_BSF for Atom.
38084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38085 (index_Slow_BSF): Define.
38086 (HAS_SLOW_BSF): Define.
38088 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38091 * resolv/res_init.c (__res_vinit): When no server address at all
38092 is given default to loopback.
38094 2010-08-24 Roland McGrath <roland@redhat.com>
38096 * configure.in: Remove config-name.h generation.
38097 * configure: Regenerated.
38098 * config-name.in: File removed.
38099 * scripts/config-uname.sh: New file.
38100 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38101 ($(objdir)config-name.h): New target.
38103 * sunrpc/rpc_parse.h: Avoid nested comment.
38105 2010-08-24 Richard Henderson <rth@redhat.com>
38106 Ulrich Drepper <drepper@redhat.com>
38107 H.J. Lu <hongjiu.lu@intel.com>
38109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38111 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38112 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38113 _mm_alignr_epi8 with _mm_loadu_si128.
38114 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38115 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38116 (__m128i_shift_right): Removed.
38117 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38118 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38119 * sysdeps/x86_64/multiarch/varshift.h: New file.
38120 * sysdeps/x86_64/multiarch/varshift.S: New file.
38122 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38124 * configure.in: Move assembler checks to before sysdep dir checking.
38126 2010-08-20 Petr Baudis <pasky@suse.cz>
38128 * LICENSES: Sync the sunrpc license.
38130 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38132 * sunrpc/auth_des.c: Update copyright notice once again.
38133 * sunrpc/auth_none.c: Likewise.
38134 * sunrpc/auth_unix.c: Likewise.
38135 * sunrpc/authdes_prot.c: Likewise.
38136 * sunrpc/authuxprot.c: Likewise.
38137 * sunrpc/bindrsvprt.c: Likewise.
38138 * sunrpc/clnt_gen.c: Likewise.
38139 * sunrpc/clnt_perr.c: Likewise.
38140 * sunrpc/clnt_raw.c: Likewise.
38141 * sunrpc/clnt_simp.c: Likewise.
38142 * sunrpc/clnt_tcp.c: Likewise.
38143 * sunrpc/clnt_udp.c: Likewise.
38144 * sunrpc/clnt_unix.c: Likewise.
38145 * sunrpc/des_crypt.c: Likewise.
38146 * sunrpc/des_soft.c: Likewise.
38147 * sunrpc/get_myaddr.c: Likewise.
38148 * sunrpc/getrpcport.c: Likewise.
38149 * sunrpc/key_call.c: Likewise.
38150 * sunrpc/key_prot.c: Likewise.
38151 * sunrpc/openchild.c: Likewise.
38152 * sunrpc/pm_getmaps.c: Likewise.
38153 * sunrpc/pm_getport.c: Likewise.
38154 * sunrpc/pmap_clnt.c: Likewise.
38155 * sunrpc/pmap_prot.c: Likewise.
38156 * sunrpc/pmap_prot2.c: Likewise.
38157 * sunrpc/pmap_rmt.c: Likewise.
38158 * sunrpc/rpc/auth.h: Likewise.
38159 * sunrpc/rpc/auth_unix.h: Likewise.
38160 * sunrpc/rpc/clnt.h: Likewise.
38161 * sunrpc/rpc/des_crypt.h: Likewise.
38162 * sunrpc/rpc/key_prot.h: Likewise.
38163 * sunrpc/rpc/netdb.h: Likewise.
38164 * sunrpc/rpc/pmap_clnt.h: Likewise.
38165 * sunrpc/rpc/pmap_prot.h: Likewise.
38166 * sunrpc/rpc/pmap_rmt.h: Likewise.
38167 * sunrpc/rpc/rpc.h: Likewise.
38168 * sunrpc/rpc/rpc_des.h: Likewise.
38169 * sunrpc/rpc/rpc_msg.h: Likewise.
38170 * sunrpc/rpc/svc.h: Likewise.
38171 * sunrpc/rpc/svc_auth.h: Likewise.
38172 * sunrpc/rpc/types.h: Likewise.
38173 * sunrpc/rpc/xdr.h: Likewise.
38174 * sunrpc/rpc_clntout.c: Likewise.
38175 * sunrpc/rpc_cmsg.c: Likewise.
38176 * sunrpc/rpc_common.c: Likewise.
38177 * sunrpc/rpc_cout.c: Likewise.
38178 * sunrpc/rpc_dtable.c: Likewise.
38179 * sunrpc/rpc_hout.c: Likewise.
38180 * sunrpc/rpc_main.c: Likewise.
38181 * sunrpc/rpc_parse.c: Likewise.
38182 * sunrpc/rpc_parse.h: Likewise.
38183 * sunrpc/rpc_prot.c: Likewise.
38184 * sunrpc/rpc_sample.c: Likewise.
38185 * sunrpc/rpc_scan.c: Likewise.
38186 * sunrpc/rpc_scan.h: Likewise.
38187 * sunrpc/rpc_svcout.c: Likewise.
38188 * sunrpc/rpc_tblout.c: Likewise.
38189 * sunrpc/rpc_util.c: Likewise.
38190 * sunrpc/rpc_util.h: Likewise.
38191 * sunrpc/rpcinfo.c: Likewise.
38192 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38193 * sunrpc/rpcsvc/key_prot.x: Likewise.
38194 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38195 * sunrpc/rpcsvc/mount.x: Likewise.
38196 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38197 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38198 * sunrpc/rpcsvc/rex.x: Likewise.
38199 * sunrpc/rpcsvc/rstat.x: Likewise.
38200 * sunrpc/rpcsvc/rusers.x: Likewise.
38201 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38202 * sunrpc/rpcsvc/spray.x: Likewise.
38203 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38204 * sunrpc/rtime.c: Likewise.
38205 * sunrpc/svc.c: Likewise.
38206 * sunrpc/svc_auth.c: Likewise.
38207 * sunrpc/svc_authux.c: Likewise.
38208 * sunrpc/svc_raw.c: Likewise.
38209 * sunrpc/svc_run.c: Likewise.
38210 * sunrpc/svc_simple.c: Likewise.
38211 * sunrpc/svc_tcp.c: Likewise.
38212 * sunrpc/svc_udp.c: Likewise.
38213 * sunrpc/svc_unix.c: Likewise.
38214 * sunrpc/svcauth_des.c: Likewise.
38215 * sunrpc/xcrypt.c: Likewise.
38216 * sunrpc/xdr.c: Likewise.
38217 * sunrpc/xdr_array.c: Likewise.
38218 * sunrpc/xdr_float.c: Likewise.
38219 * sunrpc/xdr_mem.c: Likewise.
38220 * sunrpc/xdr_rec.c: Likewise.
38221 * sunrpc/xdr_ref.c: Likewise.
38222 * sunrpc/xdr_sizeof.c: Likewise.
38223 * sunrpc/xdr_stdio.c: Likewise.
38225 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38228 2010-08-19 Andreas Schwab <schwab@redhat.com>
38230 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38232 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38234 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38235 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38236 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38237 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38238 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38239 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38240 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38241 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38243 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38244 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38245 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38246 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38247 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38249 2010-07-26 Anton Blanchard <anton@samba.org>
38251 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38252 * malloc/arena.c (heap_trim): Likewise.
38254 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38256 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38259 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38261 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38263 * sysdeps/i386/elf/Makefile: New file.
38265 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38267 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38268 from fanotify_init.
38269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38272 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38274 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38276 * sysdeps/multiarch/strcmp.S: Likewise.
38278 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38280 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38281 strncase_l-nonascii.
38282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38283 Add strncase_l-ssse3.
38284 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38285 * sysdeps/x86_64/strcmp.S: Likewise.
38286 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38287 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38288 * sysdeps/x86_64/strncase.S: New file.
38289 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38290 * sysdeps/x86_64/strncase_l.S: New file.
38291 * string/Makefile (strop-tests): Add strncasecmp.
38292 * string/test-strncasecmp.c: New file.
38294 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38297 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38298 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38300 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38302 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38304 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38306 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38307 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38308 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38310 2010-05-01 Alan Modra <amodra@gmail.com>
38312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38313 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38314 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38315 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38316 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38317 tidying. Don't tail-call __sigjmp_save for static lib.
38318 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38320 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38321 (CALL_MCOUNT): Add eh info, and nop after bl.
38322 (TAIL_CALL_SYSCALL_ERROR): New macro.
38323 (PSEUDO_RET): Use it.
38324 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38325 Correct save location of integer regs and cr.
38326 (_dl_profile_resolve): Correct cr save location. Delete nops
38327 after bl when SHARED. Reduce cfi size a little by better
38328 placement of cfi directives.
38329 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38330 make a stack frame. Instead use parm save area as a temp.
38331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38332 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38334 Don't make a stack frame for parent, use parm save area.
38335 Increase child stack frame to 112 bytes. Don't save unused reg,
38336 and adjust reg usage. Set up cfi on error recovery and
38337 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38339 (__makecontext): Add dummy nop after jump to exit.
38340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38341 Use correct parm save area and cr save, reduce stack frame.
38342 Correct cfi for possible PSEUDO_RET frame setup.
38343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38344 Branch to local label emitted by PSEUDO_RET rather than
38347 2010-08-12 Andreas Schwab <schwab@redhat.com>
38350 * locale/programs/locale.c (print_assignment): New function.
38351 (show_locale_vars): Use it.
38353 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38355 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38357 (struct statfs64): Likewise.
38358 (_STATFS_F_FLAGS): Define.
38359 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38361 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38362 (ST_VALID): Define locally.
38363 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38364 __statvfs_getflags, use the provided value.
38365 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38366 __ASSUME_STATFS_F_FLAGS.
38368 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38370 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38371 Add sys/fanotify.h.
38372 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38373 fanotify_mask for GLIBC_2.13.
38374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38375 fanotify_init and fanotify_mark.
38376 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38377 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38379 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38381 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38382 prlimit64 for GLIBC_2.13.
38383 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38385 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38388 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38389 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38393 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38396 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38397 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38399 * nss/Makefile: Add rules to build and run tst-nss-test1.
38400 * shlib-versions: Add entry for libnss_test1.
38401 * nss/nss_test1.c: New file.
38402 * nss/tst-nss-test1.c: New file.
38404 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38405 (__nss_configure_lookup): Set appropriate entry in
38406 __nss_configure_lookup to true.
38407 * nss/nsswitch.h: Define enum with indeces of databases in
38408 databases and __nss_database_custom arrays. Declare
38409 __nss_database_custom.
38410 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38411 to avoid using nscd when custom rules are installed.
38412 * nss/getXXbyYY_r.c: Likewise.
38413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38415 * nss/nss_files/files-parse.c: Whitespace fixes.
38417 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38420 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38421 * posix/fnmatch_loop.c: Likewise.
38423 2010-07-17 Andi Kleen <ak@linux.intel.com>
38425 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38426 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38427 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38428 * Versions.def [GLIBC_2.13]: Add.
38430 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38433 Also fail if tpwd after pwuid call is NULL.
38435 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38437 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38438 when converting to ms.
38440 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38442 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38443 EOPNOTSUPP errors with ENOTTY.
38444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38445 EOPNOTSUPP errors with ENOTTY.
38447 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38449 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38450 Add strcasecmp_l-ssse3.
38451 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38453 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38455 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38457 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38459 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38461 * string/Makefile (strop-tests): Add strcasecmp.
38462 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38463 strcasecmp_l-nonascii.
38464 (gen-as-const-headers): Add locale-defines.sym.
38465 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38466 * sysdeps/x86_64/strcasecmp.S: New file.
38467 * sysdeps/x86_64/strcasecmp_l.S: New file.
38468 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38469 * sysdeps/x86_64/locale-defines.sym: New file.
38470 * string/test-strcasecmp.c: New file.
38472 * string/test-strcasestr.c: Test both ends of the range of characters.
38473 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38475 2010-07-29 Roland McGrath <roland@redhat.com>
38478 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38480 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38482 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38485 2010-07-27 Andreas Schwab <schwab@redhat.com>
38487 * manual/memory.texi (Malloc Tunable Parameters): Document
38490 2010-07-26 Roland McGrath <roland@redhat.com>
38493 * configure.in (-fgnu89-inline check): Set and substitute
38494 gnu89_inline, not libc_cv_gnu89_inline.
38495 * configure: Regenerated.
38496 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38498 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38500 * string/test-strnlen.c: New file.
38501 * string/Makefile (strop-tests): Add strnlen.
38502 * string/tester.c (test_strnlen): Add a few more test cases.
38503 * string/tst-strlen.c: Better error reporting.
38505 * sysdeps/x86_64/strnlen.S: New file.
38507 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38510 lower-latency instructions.
38512 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38514 * string/test-strcasestr.c: New file.
38515 * string/test-strstr.c: New file.
38516 * string/Makefile (strop-tests): Add strstr and strcasestr.
38517 * string/str-two-way.h: Don't undefine MAX.
38518 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38520 2010-07-21 Andreas Schwab <schwab@redhat.com>
38522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38523 strcasestr-nonascii.
38524 (CFLAGS-strcasestr-nonascii.c): Define.
38525 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38526 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38527 Remove unused attribute.
38529 2010-07-20 Roland McGrath <roland@redhat.com>
38531 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38532 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38533 ld.so.cache was broken. With it, there is no way to disable dsocaps
38534 like LD_HWCAP_MASK can disable hwcaps.
38536 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38538 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38540 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38542 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38543 call in strcasestr.
38544 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38545 __strcasestr_sse42_nonascii.
38546 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38547 strcasestr-nonascii.c.
38548 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38550 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38553 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38554 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38555 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38557 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38562 2010-07-06 Andreas Schwab <schwab@redhat.com>
38565 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38568 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38570 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38571 _PC_PIPE_BUF using F_GETPIPE_SZ.
38573 2010-07-05 Roland McGrath <roland@redhat.com>
38575 * manual/arith.texi (Rounding Functions): Fix rint description
38576 implicit in round description.
38578 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38580 * elf/Makefile: Fix linking for a few tests to make recent linker
38583 2010-06-30 Andreas Schwab <schwab@redhat.com>
38585 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38586 $(common-objpfx)libc_nonshared.a.
38588 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38590 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38591 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38592 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38593 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38594 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38595 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38596 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38597 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38612 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38613 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38614 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38615 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38616 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38617 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38618 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38619 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38620 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38621 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38622 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38623 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38639 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38641 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38642 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38643 * string/memmove.c (memmove): Renamed to ...
38644 (MEMMOVE): ...this. Default to memmove.
38645 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38646 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38649 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38650 mempcpy-ssse3-back memmove-ssse3-back.
38651 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38654 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38655 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38656 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38657 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38658 * sysdeps/x86_64/multiarch/memmove.c: New file.
38659 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38660 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38661 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38662 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38663 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38666 (index_Fast_Copy_Backward): Define.
38667 (HAS_ARCH_FEATURE): Define.
38668 (HAS_FAST_REP_STRING): Define.
38669 (HAS_FAST_COPY_BACKWARD): Define.
38671 2010-06-21 Andreas Schwab <schwab@redhat.com>
38673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38674 Restore proper fallback handling.
38676 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38679 * posix/group_member.c (__group_member): Correct checking loop.
38681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38682 OOM in getpwuid_r correctly. Return error number when the caller
38683 should return, otherwise -1.
38684 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38685 call returning > 0 value.
38686 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38688 2010-06-07 Andreas Schwab <schwab@redhat.com>
38690 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38691 libc_nonshared.a from targets in modules-names.
38693 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38695 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38698 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38700 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38705 2010-06-02 Andreas Schwab <schwab@redhat.com>
38707 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38709 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38711 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38718 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38720 2010-06-14 Roland McGrath <roland@redhat.com>
38722 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38724 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38726 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38727 __REDIRECT followed by __THROW.
38728 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38729 * posix/getopt.h (getopt): Likewise.
38731 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38733 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38734 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38735 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38737 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38738 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38740 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38744 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38748 Properly check family and model.
38750 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38752 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38754 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38756 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38758 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38760 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38763 2010-05-19 Andreas Schwab <schwab@redhat.com>
38765 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38768 2010-05-21 Andreas Schwab <schwab@redhat.com>
38770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38771 and internal_recvmmsg.
38772 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38773 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38774 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38775 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38777 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38778 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38779 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38781 2010-05-20 Andreas Schwab <schwab@redhat.com>
38783 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38785 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38787 POWER7 optimizations.
38788 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38789 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38791 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38793 * version.h: Update for 2.13 development version.
38795 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38797 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38798 exceptions. Return 0.
38800 2010-05-07 Roland McGrath <roland@redhat.com>
38802 * elf/ldconfig.c (main): Add a const.
38804 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38806 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38807 (args_options): Add no-idn option.
38808 (ahosts_keys_int): Add idn_flags to ai_flags.
38809 (parse_option): Handle 'i' option to clear idn_flags.
38811 * malloc/malloc.c (_int_free): Possible race in the most recently
38812 added check. Only act on the data if no current modification
38815 See ChangeLog.17 for earlier changes.