1 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3 * timezone/Makefile: Delete $(have-ksh) check.
4 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5 * timezone/tzselect.ksh: Add +x mode bits.
7 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10 (ANON_INODE_FS_MAGIC): Likewise.
11 (BDEVFS_MAGIC): Likewise.
12 (BINFMTFS_MAGIC): Likewise.
13 (BTRFS_TEST_MAGIC): Likewise.
14 (CRAMFS_MAGIC_WEND): Likewise.
15 (DEBUGFS_MAGIC): Likewise.
16 (ECRYPTFS_SUPER_MAGIC): Likewise.
17 (EXT3_SUPER_MAGIC): Likewise.
18 (EXT4_SUPER_MAGIC): Likewise.
19 (FUTEXFS_SUPER_MAGIC): Likewise.
20 (HOSTFS_SUPER_MAGIC): Likewise.
21 (HUGETLBFS_MAGIC): Likewise.
22 (MINIX3_SUPER_MAGIC): Likewise.
23 (MTD_INODE_FS_MAGIC): Likewise.
24 (NILFS_SUPER_MAGIC): Likewise.
25 (OPENPROM_SUPER_MAGIC): Likewise.
26 (PIPEFS_MAGIC): Likewise.
27 (PSTOREFS_MAGIC): Likewise.
28 (QNX6_SUPER_MAGIC): Likewise.
29 (RAMFS_MAGIC): Likewise.
30 (REISERFS_SUPER_MAGIC_STRING): Likewise.
31 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33 (SECURITYFS_MAGIC): Likewise.
34 (SELINUX_MAGIC): Likewise.
35 (SMACK_MAGIC): Likewise.
36 (SOCKFS_MAGIC): Likewise.
37 (SQUASHFS_MAGIC): Likewise.
38 (STACK_END_MAGIC): Likewise.
39 (TMPFS_MAGIC): Likewise.
40 (USBDEVICE_SUPER_MAGIC): Likewise.
41 (V9FS_MAGIC): Likewise.
42 (XENFS_SUPER_MAGIC): Likewise.
43 (CRAMFS_MAGIC): Fix typo in comment.
44 (EXT2_SUPER_MAGIC): Update comment.
45 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47 2014-02-08 Joseph Myers <joseph@codesourcery.com>
49 * sysdeps/arm: Move directory from ports/sysdeps/arm.
50 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51 * sysdeps/unix/sysv/linux/arm: Move directory from
52 ports/sysdeps/unix/sysv/linux/arm.
53 * README: Update listing for arm-*-linux-gnueabi.
55 * README: Remove mention of am33.
57 2014-02-07 Roland McGrath <roland@hack.frob.com>
59 * bits/sigset.h (__sigemptyset): Use a statement expression rather
60 than the comma operator, to avoid "rhs of comma has no effect"
62 (__sigfillset, __sigandset, __sigorset): Likewise.
63 * include/signal.h (__sigemptyset): Likewise.
64 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
66 2014-02-07 Allan McRae <allan@archlinux.org>
68 * version.h (RELEASE): Set to "development".
69 (VERSION): Set to "2.19.90"
70 * NEWS: Add 2.20 section.
72 2014-02-06 Carlos O'Donell <carlos@redhat.com>
75 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
77 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79 * manual/contrib.texi: Update entry for Carlos O'Donell,
80 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
82 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
84 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
86 * sysdeps/unix/sysv/linux/kernel-features.h
87 [__LINUX_KERNEL_VERSION >= 0x020621]
88 (__ASSUME_PROC_PID_TASK_COMM): Define.
90 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
92 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
93 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
94 Leonard and Allan McRae.
96 2014-02-04 David S. Miller <davem@davemloft.net>
98 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
101 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
130 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
132 * nptl/shlib-versions: Change powerpc*le start to 2.17.
133 * shlib-versions: Likewise.
135 2014-02-04 Roland McGrath <roland@hack.frob.com>
136 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
139 (abilist-pattern): New variable, set to %-le.abilist.
141 * Makerules (abilist-pattern): New variable.
142 (vpath): Use $(abilist-pattern) in place of %.abilist.
143 (check-abi-% pattern rule): Likewise.
144 (check-abi, update-abi): Likewise.
146 2014-02-04 Eric Wong <normalperson@yhbt.net>
148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
150 2014-02-04 Eric Wong <normalperson@yhbt.net>
152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
154 2014-02-03 Carlos O'Donell <carlos@redhat.com>
156 * manual/startup.texi: Add next, previous, and top entries for
157 the `Program Arguments' and `Environment Variables' nodes.
159 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
161 * manual/macros.texi: Add comments before MTASC-safety macros.
163 * manual/users.texi: Document MTASC-safety properties.
165 * manual/threads.texi (pthread_key_create, pthread_key_delete,
166 pthread_getspecific, pthread_setspecific): Format with
167 @deftypefun, and add @safety note.
168 * manual/signal.texi: Move comments that analyze the above
169 functions to their home place.
171 2014-02-03 Allan McRae <allan@archlinux.org>
173 * po/sl.po: Update Slovenian translation from translation project.
175 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
177 * manual/time.texi (timegm): Add missing blank after @c.
178 Reported by Joseph Myers <joseph@codesourcery.com>.
180 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
182 * manual/check-safety.sh: New.
183 * manual/Makefile ($(objpfx)stamp-summary): Run it.
185 * manual/terminal.texi: Document MTASC-safety properties.
187 * manual/filesys.texi: Document MTASC-safety properties.
189 * manual/errno.texi: Document MTASC-safety properties.
191 * manual/intro.texi: Document safety identifiers and
194 * manual/string.texi (wcstok): Fix prototype.
195 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
197 * manual/time.texi: Document MTASC-safety properties.
199 * manual/string.texi: Document MTASC-safety properties.
201 * manual/threads.texi: Document MTASC-safety properties.
203 * manual/stdio.texi: Document MTASC-safety properties.
205 * manual/syslog.texi: Document MTASC-safety properties.
207 * manual/sysinfo.texi: Document MTASC-safety properties.
209 * manual/startup.texi: Document MTASC-safety properties.
211 * manual/socket.texi: Document MTASC-safety properties.
213 * manual/signal.texi: Document MTASC-safety properties.
215 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
217 * manual/setjmp.texi: Document MTASC-safety properties.
219 * manual/search.texi: Document MTASC-safety properties.
221 * manual/resource.texi: Document MTASC-safety properties.
223 * manual/process.texi: Document MTASC-safety properties.
225 * manual/platform.texi: Document MTASC-safety properties.
227 * manual/pipe.texi: Document MTASC-safety properties.
229 * manual/pattern.texi: Document MTASC-safety properties.
231 * manual/message.texi: Document MTASC-safety properties.
234 * manual/memory.texi: Document MTASC-safety properties.
236 * manual/math.texi: Document MTASC-safety properties.
238 * manual/locale.texi: Document MTASC-safety properties.
240 * manual/llio.texi: Document MTASC-safety properties.
242 * manual/libdl.texi: New.
244 * manual/lang.texi: Document MTASC-safety properties.
246 * manual/job.texi: Document MTASC-safety properties.
248 * manual/getopt.texi: Document MTASC-safety properties.
250 * manual/ctype.texi: Document MTASC-safety properties.
252 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
255 * csu/libc-tls.c (static_map): Remove variable.
256 (__libc_setup_tls): Use main executable's link map for TLS data.
257 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
258 casing for LM_ID_BASE and GL(dl_nns).
259 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
260 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
261 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
262 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
263 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
265 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
268 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
270 * manual/debug.texi: Document MTASC-safety properties.
272 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
275 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
276 of __x86_64__ when disabling x87 inline functions.
278 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
280 * manual/charset.texi: Document MTASC-safety properties.
282 * manual/crypt.texi: Document MTASC-safety properties.
284 * manual/conf.texi: Document MTASC-safety properties.
286 * manual/arith.texi: Document MTASC-safety properties.
288 * manual/argp.texi: Document MTASC-safety properties.
290 * manual/macros.texi: Introduce macros to document multi
291 thread, asynchronous signal and asynchronous cancellation
293 * manual/intro.texi: Introduce the properties themselves.
295 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
297 * sysdeps/sh/sh4/Makefile: New file.
299 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
301 * math/gen-libm-test.pl ($srcdir): New variable.
302 ($auto_input): Use it.
304 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
307 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
308 access beyond array bounds when parsing netgroups file.
310 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
311 the old buffer before realloc.
313 2014-01-27 Allan McRae <allan@archlinux.org>
315 * po/fr.po: Update French translation from translation project.
317 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
319 * sysdeps/sh/libm-test-ulps: Regenerate.
321 2014-01-24 David S. Miller <davem@davemloft.net>
323 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
325 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
327 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
328 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
330 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
333 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
334 string pointers after reallocation.
336 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
338 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
339 __SH4A__ instead of __SH_FPU_ANY__.
341 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
343 * sysdeps/sh/fpu_control.h: New file.
344 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
346 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
347 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
348 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
349 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
350 * sysdeps/sh/sys/ucontext.h: Remove.
351 * sysdeps/sh/sys: Remove directory.
353 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
355 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
357 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
358 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
360 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
363 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
365 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
369 Adjust the vDSO correctly for internal calls.
370 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
372 2014-01-20 Allan McRae <allan@archlinux.org>
374 * po/ca.po: Update Catalan translation from translation project.
376 2014-01-16 Mike Frysinger <vapier@gentoo.org>
378 * sysdeps/s390/sotruss-lib.c: New file.
380 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
384 (__GI___gettimeofday): Alias for a different internal symbol to avoid
385 local calls issues by not having a PLT stub required for IFUNC calls.
386 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
388 2014-01-16 Joseph Myers <joseph@codesourcery.com>
390 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
391 * math/test-fpucw-static.c: Likewise.
393 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
396 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
398 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
400 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
401 implementation for powerpc.
403 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
406 * sysdeps/posix/system.c (__libc_system): Do not enable
407 asynchronous cancellation.
409 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
412 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
413 handling only for numbers special also in the IEEE case.
415 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
419 2014-01-11 Allan McRae <allan@archlinux.org>
421 * po/bg.po: Update Bulgarian translation from translation project.
423 * po/de.po: Update German translation from translation project.
425 2014-01-10 Roland McGrath <roland@hack.frob.com>
427 * sysdeps/generic/gcc-compat.h: New file.
429 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
431 * benchtests/asin-inputs: Correct slow inputs.
432 * benchtests/acos-inputs: Likewise.
434 2014-01-10 Allan McRae <allan@archlinux.org>
436 * po:sv.po: Update Swedish translation from translation project.
438 * po/vi.po: Update Vietnamese translation from translation project.
440 * po/eo.po: Update Esperanto translation from translation project.
442 * po/cs.po: Update Czech translation from translation project.
444 * po/nl.po: Update Dutch translation from translation project.
446 * po/pl.po: Update Polish translation from translation project.
448 * po/ru.po: Update Russian translation from translation project.
450 * po/uk.po: Update Ukrainian translation from translation project.
452 2014-01-08 Brooks Moses <bmoses@google.com>
454 * elf/dl-load.c: Fix comment typo.
456 2014-01-08 Carlos O'Donell <carlos@redhat.com>
458 * po/header.pot: Rename to...
459 * po/pot.header: ... this.
460 * po/Makefile: Use pot.header.
462 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
463 Maxim Kuvyrkov <maxim@kugelworks.com>
466 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
467 SRC and DEST against LEN.
469 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
472 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
474 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
476 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
480 2014-01-08 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
484 for large positive arguments.
486 2014-01-07 Joseph Myers <joseph@codesourcery.com>
488 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
490 * math/auto-libm-test-in: Mark various tests with
491 xfail-rounding:ldbl-128ibm.
492 * math/auto-libm-test-out: Regenerated.
495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
496 Increase overflow threshold.
498 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
501 * stdio-common/vfprintf.c: Check for integer overflow.
503 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
505 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
506 the first argument and return value of __tls_get_addr_internal.
508 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
510 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
511 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
513 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
515 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
516 * sysdeps/s390/rtld-global-offsets.sym: New file.
517 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
519 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
520 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
521 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
523 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
524 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
530 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
531 halfs of GPRs for high_gprs contexts.
532 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
533 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
535 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
537 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
539 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
540 for high GPRs (uc_high_gprs) and for future extensions
542 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
543 for future extensions (__reserved).
544 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
546 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
547 SC_HIGHGPRS offset definition.
548 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
549 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
551 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
553 * Versions.def: Add GLIBC_2.19 for libpthread.
554 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
555 siglongjmp for libpthread with GLIBC_2.19 symver.
556 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
557 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
558 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
559 * sysdeps/s390/__longjmp.c: New file.
560 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
561 * sysdeps/s390/longjmp.c: New file.
562 * sysdeps/s390/setjmp.S: New file.
563 * sysdeps/s390/sigjmp.S: New file.
564 * sysdeps/s390/v1-longjmp.c: New file.
565 * sysdeps/s390/v1-setjmp.h: New file.
566 * sysdeps/s390/v1-sigjmp.c: New file.
567 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
568 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
570 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
571 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
572 versioned symbols for ____longjmp_chk.
573 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
583 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
584 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
585 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
586 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
587 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
588 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
589 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
590 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
591 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
592 * sysdeps/s390/rtld-__longjmp.c: New file.
593 * sysdeps/s390/rtld-setjmp.S: New file.
595 2014-01-06 Joseph Myers <joseph@codesourcery.com>
598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
599 Return -__logl (x) for small positive arguments without evaluating
602 2014-01-06 Mike Frysinger <vapier@gentoo.org>
604 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
606 (__ptrace_peeksiginfo_args): ... this.
607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
611 2014-01-06 Allan McRae <allan@archlinux.org>
613 * inet/netinet/in.h: Fix typo in comment.
615 2014-01-05 Andreas Jaeger <aj@suse.de>
617 * sysdeps/i386/fpu/libm-test-ulps: Update.
619 2014-01-05 Allan McRae <allan@archlinux.org>
621 * po/libc.pot: Regenerated.
623 * malloc/memusagestat.c: Fix gettext call formatting.
625 2014-01-04 Sami Kerola <kerolasa@iki.fi>
627 * nscd/nscd.c: Improve usage() output.
629 2014-01-04 Mike Frysinger <vapier@gentoo.org>
631 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
632 * sysdeps/unix/sysv/linux/configure: Regenerated.
633 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
634 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
636 2014-01-03 Joseph Myers <joseph@codesourcery.com>
639 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
640 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
642 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
645 extra tokens at end of #undef directive.
646 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
647 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
648 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
650 2014-01-03 Joseph Myers <joseph@codesourcery.com>
652 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
654 * math/auto-libm-test-in: Mark various tests with
655 xfail-rounding:ldbl-128ibm.
656 * math/auto-libm-test-out: Regenerated.
658 2014-01-02 Joseph Myers <joseph@codesourcery.com>
661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
662 numbers with subnormal high part when calculating exponent.
665 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
669 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
671 (__ieee754_acoshl): Use __log1pl not __log1p.
673 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
675 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
676 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
677 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
678 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
679 Convert to GNU style.
680 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
681 mem2mem_check, mem2chunk_check, top_check, realloc_check,
682 memalign_check, __malloc_set_state): Likewise.
683 * malloc/mallocbug.c (main): Likewise.
684 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
685 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
686 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
687 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
688 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
689 * malloc/malloc.h: Likewise.
690 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
691 memalignhook, reallochook, mabort): Likewise.
692 * malloc/mcheck.h: Likewise.
693 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
694 mmap64, mremap, munmap, dest): Likewise.
695 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
696 * malloc/morecore.c (__default_morecore): Likewise.
697 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
698 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
699 _obstack_allocated_p, obstack_free, _obstack_memory_used,
700 print_and_abort): Likewise.
701 * malloc/obstack.h: Likewise.
702 * malloc/set-freeres.c (__libc_freeres): Likewise.
703 * malloc/tst-mallocstate.c (main): Likewise.
704 * malloc/tst-mtrace.c (main): Likewise.
705 * malloc/tst-realloc.c (do_test): Likewise.
707 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
710 * nscd/netgroupcache.c (do_notfound): New function.
711 (addgetnetgrentX): Use it.
714 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
717 2014-01-01 Joseph Myers <joseph@codesourcery.com>
719 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
722 2014-01-01 Allan McRae <allan@archlinux.org>
724 * scripts/update-copyrights: Update configure input file suffix.
726 * NEWS: Update copyright year.
727 * catgets/gencat.c: Likewise.
728 * csu/version.c: Likewise.
729 * debug/catchsegv.sh: Likewise.
730 * debug/pcprofiledump.c: Likewise.
731 * debug/xtrace.sh: Likewise.
732 * elf/ldconfig.c: Likewise.
733 * elf/ldd.bash.in: Likewise.
734 * elf/pldd.c: Likewise.
735 * elf/sotruss.ksh: Likewise.
736 * elf/sprof.c: Likewise.
737 * iconv/iconv_prog.c: Likewise.
738 * iconv/iconvconfig.c: Likewise.
739 * locale/programs/locale.c: Likewise.
740 * locale/programs/localedef.c: Likewise.
741 * login/programs/pt_chown.c: Likewise.
742 * malloc/memusage.sh: Likewise.
743 * malloc/memusagestat.c: Likewise.
744 * malloc/mtrace.pl: Likewise.
745 * manual/libc.texinfo: Likewise.
746 * nscd/nscd.c: Likewise.
747 * nss/getent.c: Likewise.
748 * nss/makedb.c: Likewise.
749 * posix/getconf.c: Likewise.
750 * scripts/test-installation.pl: Likewise.
752 * All files with FSF copyright notices: Update copyright dates
753 using scripts/update-copyrights.
754 * intl/plural.c: Regenerated.
755 * locale/programs/charmap-kw.h: Likewise.
756 * locale/programs/locfile-kw.h: Likewise.
758 2013-12-31 Mike Frysinger <vapier@gentoo.org>
760 * sysdeps/unix/sysv/linux/configure: Regenerated.
761 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
762 the linux/fanotify.h header.
763 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
764 HAVE_LINUX_FANOTIFY_H is defined.
766 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
768 * benchtests/cos-inputs: New inputs.
769 * benchtests/sin-inputs: Likewise.
771 * benchtests/atan-inputs: New inputs. Fix name of multiple
772 precision fallback inputs.
774 * benchtests/atanh-inputs: New inputs.
775 * benchtests/tanh-inputs: Likewise.
777 * benchtests/acosh-inputs: New inputs.
778 * benchtests/asinh-inputs: Likewise.
780 * benchtests/cosh-inputs: New inputs.
781 * benchtests/sinh-inputs: Likewise.
783 * benchtests/acos-inputs: Add more inputs.
784 * benchtests/asin-inputs: Likewise.
786 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
789 * manual/arith.texi: Fix spelling.
790 * manual/charset.texi: Likewise.
791 * manual/errno.texi: Likewise.
792 * manual/filesys.texi: Likewise.
793 * manual/lang.texi: Likewise.
794 * manual/llio.texi: Likewise.
795 * manual/locale.texi: Likewise.
796 * manual/message.texi: Likewise.
797 * manual/resource.texi: Likewise.
798 * manual/search.texi: Likewise.
799 * manual/setjmp.texi: Likewise.
800 * manual/stdio.texi: Likewise.
801 * manual/string.texi: Likewise.
802 * manual/sysinfo.texi: Likewise.
803 * manual/time.texi: Likewise.
805 2013-12-27 Carlos O'Donell <carlos@redhat.com>
807 * po/sl.po: New file.
809 2013-12-27 Mike Frysinger <vapier@gentoo.org>
811 * .gitignore: Add core/.gdbinit/.gdb_history.
813 2013-12-27 Allan McRae <allan@archlinux.org>
816 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
817 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
819 2013-12-24 Brooks Moses <bmoses@google.com>
821 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
822 all compilers that claim C++98 compliance, not just GCC.
823 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
826 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
828 * NEWS: Restore accidentally deleted bug-fix entries.
830 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
831 Ondřej Bílka <neleai@seznam.cz>
834 * malloc/malloc.c (_int_free): Perform sanity check only if we
837 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
840 * manual/stdio.texi (String Input Conversions): Clarify that character
841 classes are not supported.
843 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
847 2013-12-22 Joseph Myers <joseph@codesourcery.com>
850 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
851 Calculate results for small negative arguments directly rather
852 than using reflection formula with special underflow handling.
854 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
855 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
856 sysdeps/unix/bsd/bsd4.4/syscalls.list.
857 (fchflags): Likewise.
859 (setlogin): Likewise.
860 (sigaltstack): Likewise.
863 (sigsetmask): Likewise.
866 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
867 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
869 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
870 * sysdeps/unix/bsd/Makefile: ... here.
871 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
872 * sysdeps/unix/bsd/Versions: ... here.
873 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
874 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
875 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
876 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
877 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
878 * sysdeps/unix/bsd/sigblock.c: ... here.
879 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
880 * sysdeps/unix/bsd/sigsetmask.c: ... here.
881 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
882 * sysdeps/unix/bsd/sigvec.c: ... here.
883 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
884 * sysdeps/unix/bsd/tcdrain.c: ... here.
885 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
886 * sysdeps/unix/bsd/tcgetattr.c: ... here.
887 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
888 * sysdeps/unix/bsd/tcsetattr.c: ... here.
889 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
890 * sysdeps/unix/bsd/wait.c: ... here.
891 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
892 * sysdeps/unix/bsd/wait3.c: ... here.
893 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
894 * sysdeps/unix/bsd/waitpid.c: ... here.
896 2013-12-21 Joseph Myers <joseph@codesourcery.com>
899 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
900 round-to-nearest for [!USE_AS_EXPM1L].
901 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
902 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
903 more tests of exp and exp10. Expect some exp10 tests to miss
904 exceptions or fail in directed rounding modes.
905 * math/auto-libm-test-out: Regenerated.
906 * math/libm-test.inc (exp10_tonearest_test_data): New array.
907 (exp10_test_tonearest): New function.
908 (exp10_towardzero_test_data): New array.
909 (exp10_test_towardzero): New function.
910 (exp10_downward_test_data): New array.
911 (exp10_test_downward): New function.
912 (exp10_upward_test_data): New array.
913 (exp10_test_upward): New function.
914 (main): Call the new functions.
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
918 2013-12-20 Joseph Myers <joseph@codesourcery.com>
920 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
921 asinh, atan, atan2, atanh, cbrt, cos and cosh.
922 * math/auto-libm-test-out: Regenerated.
923 * math/libm-test.inc (acosh_test_data): Add more tests.
924 (atanh_test_data): Likewise.
925 (ceil_test_data): Likewise.
926 (copysign_test_data): Likewise.
927 * sysdeps/i386/fpu/libm-test-ulps: Update.
928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
930 * timezone/checktab.awk: Update from tzcode 2013i.
931 * timezone/private.h: Likewise.
932 * timezone/scheck.c: Likewise.
933 * timezone/tzfile.h: Likewise.
934 * timezone/tzselect.ksh: Likewise.
935 * timezone/zdump.c: Likewise.
936 * timezone/zic.c: Likewise.
938 * math/auto-libm-test-in: Add tests of cpow.
939 * math/auto-libm-test-out: Regenerated.
940 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
941 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
943 (func_calc_desc): Add mpc_cc_c union field.
944 (test_functions): Add cpow.
945 (special_fill_2pi): New function.
946 (special_real_inputs): Add 2pi.
947 (calc_generic_results): Handle mpc_cc_c.
948 * sysdeps/i386/fpu/libm-test-ulps: Update.
949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
951 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
952 csqrt, ctan and ctanh.
953 * math/auto-libm-test-out: Regenerated.
954 * math/libm-test.inc (TEST_COND_x86_64): New macro.
955 (TEST_COND_x86): Likewise.
956 (ccos_test_data): Use AUTO_TESTS_c_c.
957 (ccosh_test_data): Likewise.
958 (cexp_test_data): Likewise.
959 (clog_test_data): Likewise.
960 (csqrt_test_data): Likewise.
961 (ctan_test_data): Likewise.
962 (ctan_tonearest_test_data): Likewise.
963 (ctan_towardzero_test_data): Likewise.
964 (ctan_downward_test_data): Likewise.
965 (ctan_upward_test_data): Likewise.
966 (ctanh_test_data): Likewise.
967 (ctanh_tonearest_test_data): Likewise.
968 (ctanh_towardzero_test_data): Likewise.
969 (ctanh_downward_test_data): Likewise.
970 (ctanh_upward_test_data): Likewise.
971 * math/gen-auto-libm-tests.c (func_calc_method): Add value
973 (func_calc_desc): Add mpc_c_c union field.
974 (FUNC_mpc_c_c): New macro.
975 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
976 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
978 (special_fill_min_subnorm_p120): New function.
979 (special_real_inputs): Add min_subnorm_p120.
980 (calc_generic_results): Handle mpc_c_c.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
984 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
986 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
987 do_sin_slow): New functions.
988 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
989 cslow2, csloww1, csloww2): Use the new functions.
991 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
992 Use M to change sign of result instead of X. Assume X is
998 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1005 (sloww1): Don't adjust sign of DX.
1006 (csloww1): Likewise.
1007 (sloww2): Use X directly and don't adjust sign of DX.
1008 (csloww2): Likewise.
1010 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1012 * math/auto-libm-test-in: Add tests of cabs and carg.
1013 * math/auto-libm-test-out: Regenerated.
1014 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1015 (carg_test_data): Likewise.
1016 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1018 (func_calc_desc): Add mpc_c_f union field.
1019 (test_functions): Add cabs and carg.
1020 (calc_generic_results): Handle mpc_c_f.
1022 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1023 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1024 as a macro and a compat symbol.
1025 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1026 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1027 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1028 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1029 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1030 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1032 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1034 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1036 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1038 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1042 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1043 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1046 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1050 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1052 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1053 trailing whitespace removed.
1054 * scripts/config.guess: Update to version 2013-11-29.
1055 * scripts/config.sub: Update to version 2013-10-01.
1057 * math/auto-libm-test-in: Add tests of sincos.
1058 * math/auto-libm-test-out: Regenerated.
1059 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1060 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1062 (func_calc_desc): Add mpfr_f_11 union field.
1063 (test_functions): Add sincos.
1064 (calc_generic_results): Handle mpfr_f_11.
1065 * sysdeps/i386/fpu/libm-test-ulps: Update.
1066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1068 2013-12-19 Andreas Schwab <schwab@suse.de>
1070 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1072 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1073 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1074 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1076 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1078 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1079 * sysdeps/i386/fpu/libm-test-ulps: Update.
1080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1084 round-to-nearest mode when using frndint.
1085 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1086 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1089 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1091 * math/auto-libm-test-out: Regenerated.
1092 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1093 (TEST_COND_x86): Likewise.
1094 (expm1_tonearest_test_data): New array.
1095 (expm1_test_tonearest): New function.
1096 (expm1_towardzero_test_data): New array.
1097 (expm1_test_towardzero): New function.
1098 (expm1_downward_test_data): New array.
1099 (expm1_test_downward): New function.
1100 (expm1_upward_test_data): New array.
1101 (expm1_test_upward): New function.
1102 (main): Run the new test functions.
1103 * sysdeps/i386/fpu/libm-test-ulps: Update.
1104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1106 * include/features.h: Update comment documenting feature test
1107 macros. Mention _DEFAULT_SOURCE in comment.
1108 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1109 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1110 _BSD_SOURCE and _SVID_SOURCE.
1111 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1112 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1113 !_SVID_SOURCE]: Likewise.
1114 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1115 (__USE_POSIX_IMPLICITLY): Define.
1116 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1117 (_POSIX_SOURCE): Undefine and redefine.
1118 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1119 (_POSIX_C_SOURCE): Likewise.
1120 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1121 (Feature Test Macros): Update documentation of default features.
1123 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1125 * benchtests/Makefile: Add bench-strtok.
1126 * benchtests/bench-strtok.c: New file: strtok benchtest.
1128 2013-12-19 Allan McRae <allan@archlinux.org>
1130 * manual/install.texi: Suppress menu for plain text output.
1131 * INSTALL: Regenerated.
1133 2013-12-18 Brooks Moses <bmoses@google.com>
1136 * misc/getauxval.c: Include errno.h.
1137 (__getauxval): Set errno to ENOENT if the requested type is not
1139 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1140 don't declare with __attribute_const__.
1141 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1142 * manual/startup.texi: Document that getauxval sets errno.
1144 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1146 * math/auto-libm-test-in: Add tests of jn and yn.
1147 * math/auto-libm-test-out: Regenerated.
1148 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1149 (yn_test_data): Likewise.
1150 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1152 (func_calc_desc): Add mpfr_if_f union field.
1153 (FUNC_mpfr_if_f): New macro.
1154 (test_functions): Add jn and yn.
1155 (calc_generic_results): Assert type of second input for
1156 mpfr_ff_f. Handle mpfr_if_f.
1157 (output_for_one_input_case): Disable all checking for arguments
1158 fitting floating-point types in case of an integer argument.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1163 Don't expect fegetround reference in libm.so.
1165 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1167 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1168 $(config-cflags-nofma).
1170 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1172 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1173 * math/auto-libm-test-out: Regenerated.
1176 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1177 to determine exponent and adjust argument to have exponent of -1.
1178 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1180 * math/auto-libm-test-out: Regenerated.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1184 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1186 * manual/probes.texi: Remove cases when per-thread arenas are
1189 2013-12-18 Andreas Schwab <schwab@suse.de>
1191 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1192 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1193 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1194 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1195 * sysdeps/i386/i686/multiarch/Makefile: Update.
1196 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1198 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1200 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1201 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1203 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1206 Support TZ transition times < 00:00:00.
1207 This is needed for version-3 tz-format files; it supports time
1208 stamps past 2037 for America/Godthab (the only entry in the tz
1209 database for which this change is relevant).
1210 * manual/time.texi (TZ Variable): Document transition times
1211 from -167:59:59 through -00:00:01.
1212 * time/tzset.c (tz_rule): Time of day is now signed.
1213 (__tzset_parse_tz): Parse negative time of day.
1215 Document TZ transition times >= 25:00:00.
1216 * manual/time.texi (TZ Variable): Document transition times from
1217 25:00:00 through 167:59:59. These are already supported, and this
1218 support will help with version-3 tz-format files.
1220 * manual/time.texi (TZ Variable): Modernize North America example
1221 to reflect current (i.e., 2007-and-later) daylight saving rules.
1223 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1225 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1227 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1228 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1229 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1231 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1232 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1233 * sysdeps/unix/bsd/clock.c: Likewise.
1234 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1235 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1236 * sysdeps/unix/bsd/init-posix.c: Likewise.
1237 * sysdeps/unix/bsd/poll.c: Likewise.
1238 * sysdeps/unix/bsd/ptsname.c: Likewise.
1239 * sysdeps/unix/bsd/seekdir.c: Likewise.
1240 * sysdeps/unix/bsd/setegid.c: Likewise.
1241 * sysdeps/unix/bsd/seteuid.c: Likewise.
1242 * sysdeps/unix/bsd/setgid.c: Likewise.
1243 * sysdeps/unix/bsd/setrgid.c: Likewise.
1244 * sysdeps/unix/bsd/setruid.c: Likewise.
1245 * sysdeps/unix/bsd/setsid.c: Likewise.
1246 * sysdeps/unix/bsd/setuid.c: Likewise.
1247 * sysdeps/unix/bsd/sigaction.c: Likewise.
1248 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1249 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1250 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1251 * sysdeps/unix/bsd/telldir.c: Likewise.
1252 * sysdeps/unix/bsd/times.c: Likewise.
1253 * sysdeps/unix/bsd/usleep.c: Likewise.
1255 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1256 ($(objpfx)libbsd-compat.a): Remove rule.
1258 * include/features.h (__FAVOR_BSD): Do not define.
1259 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1260 features conflicting with POSIX.
1261 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1262 (_BSD_SOURCE): Remove description of not being a subset of other
1263 feature test macros.
1264 * manual/job.texi (getpgrp): Do not document BSD version.
1265 (getpgid): Do not document by reference to BSD getpgrp.
1266 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1267 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1268 * signal/signal.h [__FAVOR_BSD]: Likewise.
1269 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1270 instead of making contents conditional on [__FAVOR_BSD].
1271 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1273 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1277 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1280 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1281 values below 2**-450, not 2**-500.
1282 * math/auto-libm-test-in: Don't allow spurious underflow from
1284 * math/auto-libm-test-out: Regenerated.
1288 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1289 values of ha and hb and sort them after adjusting subnormal
1291 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1293 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1294 values of ea and eb and sort them after adjusting subnormal
1296 * math/auto-libm-test-in: Do not expect some hypot tests of
1297 subnormals to fail. Add more hypot tests.
1298 * math/auto-libm-test-out: Regenerated.
1300 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1303 * sysdeps/sh/s_fma.c: New file.
1304 * sysdeps/sh/s_fmaf.c: New file.
1305 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1307 * sysdeps/sh/Implies: Add sh/soft-fp.
1309 2013-12-16 Roland McGrath <roland@hack.frob.com>
1311 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1312 level of indirection to members `objname', `errstring', `malloced'.
1313 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1314 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1315 it as the __longjmp argument (just pass 1 instead).
1316 (_dl_catch_error): Initialize C with argument pointers and address of
1317 volatile local ERRCODE rather than copying values out of C at return.
1319 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1321 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1322 * math/auto-libm-test-out: Regenerated.
1323 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1324 (hypot_test_data): Likewise.
1325 (pow_test_data): Likewise.
1326 (pow_tonearest_test_data): Likewise.
1327 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1329 (func_calc_desc): Add mpfr_ff_f union field.
1330 (FUNC_mpfr_ff_f): New macro.
1331 (test_functions): Add atan2, hypot and pow.
1332 (special_fill_min): New function.
1333 (special_fill_minus_min): Likewise.
1334 (special_fill_min_subnorm): Likewise.
1335 (special_fill_minus_min_subnorm): Likewise.
1336 (special_real_inputs): Add min, -min, min_subnorm and
1338 (calc_generic_results): Handle mpfr_ff_f.
1339 * sysdeps/i386/fpu/libm-test-ulps: Update.
1340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1342 2013-12-16 Will Newton <will.newton@linaro.org>
1344 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1345 (Aligned Memory Blocks): Add documentation for aligned_alloc
1346 and suggest it as an alternative to posix_memalign.
1347 (Hooks for Malloc): Document __memalign_hook is also called
1348 for aligned_alloc. (Summary of Malloc): Add summary for
1349 aligned alloc. Document __memalign_hook is also called
1352 2013-12-16 Will Newton <will.newton@linaro.org>
1354 * manual/memory.texi (Malloc Examples): Clarify default
1355 alignment documentation. Suggest posix_memalign rather
1356 than memalign or valloc.
1357 (Aligned Memory Blocks): Remove suggestion to use memalign
1358 or valloc. Remove obsolete comment about BSD.
1359 Document memalign errno values and mark the function obsolete.
1360 Document posix_memalign returned error codes. Mark valloc
1361 as obsolete. (Hooks for Malloc): __memalign_hook is also
1362 called for posix_memalign and valloc.
1363 (Summary of Malloc): Add posix_memalign to function summary.
1364 __memalign_hook is also called for posix_memalign and valloc.
1366 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1368 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1372 (sloww): Use mynumber union. Expand ternary operator into
1374 (cslow): use mynumber union.
1376 2013-12-16 Allan McRae <allan@archlinux.org>
1378 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1379 * configure: Regenerated.
1381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1384 * configure.ac: Added --enable-maintainer-mode. Check for
1385 autoconf when enabled.
1386 * configure: Regenerated.
1388 * nscd/nscd.service: New file.
1389 * nscd/nscd.tmpfiles: New file.
1391 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1394 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1395 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1396 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1397 (strstr): Add __strstr_sse2_unaligned ifunc.
1398 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1399 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1400 (strcasestr): Remove __strcasestr_sse42 ifunc.
1401 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1405 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1407 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1408 * sysdeps/sh/bits/fenv.h: ... here.
1409 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1411 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1415 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1418 hypotf multiarch implementations.
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1420 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1422 multiarch hypot for PPC64.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1426 multiarch hypotf for PPC64.
1428 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1431 modff multiarch implementations.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1435 multiarch modf for PPC64.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1439 multiarch modff for PPC64.
1441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1444 and logl multiarch implementations.
1445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1448 multiarch logb for PPC64.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1452 multiarch logb for PPC64.
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1456 multiarch logb for PPC64.
1458 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1461 isinff multiarch implementation.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1466 multiarch isinf for PPC64.
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1470 multiarch isinff for PPC64.
1472 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1475 finitef multiarch implementation.
1476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1480 multiarch finite for PPC64.
1481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1484 multiarch finitef for PPC64.
1486 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1489 lrint multiarch implementation.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1494 multiarch llrint for PPC64.
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1496 multiarch lrint for PPC64.
1498 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1501 copysignf multiarch implementation.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1507 multiarch copysign for PPC64.
1508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1509 multiarch copysignf for PPC64.
1511 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1514 multiarch implementation.
1515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1523 multiarch llround for PPC64.
1524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1525 multiarch trunc for PPC64.
1526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1527 multiarch truncf for PPC64.
1529 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1532 multiarch implementation.
1533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1541 multiarch llround for PPC64.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1543 multiarch round for PPC64.
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1545 multiarch roundf for PPC64.
1547 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1550 multiarch implementation.
1551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1559 multiarch llround for PPC64.
1560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1561 multiarch floor for PPC64.
1562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1563 multiarch floorf for PPC64.
1565 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1568 multiarch implementation.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1577 multiarch llround for PPC64.
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1579 multiarch ceil for PPC64.
1580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1581 multiarch ceilf for PPC64.
1583 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1586 multiarch implementation.
1587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1594 multiarch llround for PPC64.
1595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1596 multiarch lround for PPC64.
1598 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1601 multiarch implementation.
1602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1609 multiarch isnan for PPC64.
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1611 multiarch isnanf for PPC64.
1613 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1616 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1617 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1618 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1619 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1622 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1625 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1629 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1632 multiarch implementations.
1633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1634 (__libc_ifunc_impl_list): Likewise.
1635 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1636 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1637 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1638 multiarch stpcpy for PPC64.
1640 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1643 multiarch implementations.
1644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1645 (__libc_ifunc_impl_list): Likewise.
1646 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1648 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1649 multiarch strcpy for PPC64.
1651 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1654 redefine function name.
1655 (_wordcopy_fwd_dest_aligned): Likewise.
1656 (_wordcopy_bwd_aligned): Likewise.
1657 (_wordcopy_bwd_dest_aligned): Likewise.
1658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1659 multiarch implementations.
1660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1661 (__libc_ifunc_impl_list): Likewise.
1662 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1663 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1664 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1666 multiarch wcscpy for PPC64.
1668 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1671 multiarch implementations.
1672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1673 (__libc_ifunc_impl_list): Likewise.
1674 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1675 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1678 multiarch wcscpy for PPC64.
1680 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1683 multiarch implementations.
1684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1685 (__libc_ifunc_impl_list): Likewise.
1686 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1687 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1690 multiarch wcsrchr for PPC64.
1692 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1695 multiarch implementations.
1696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1697 (__libc_ifunc_impl_list): Likewise.
1698 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1699 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1700 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1701 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1702 multiarch wcschr for PPC64.
1704 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1707 multiarch implementations.
1708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1709 (__libc_ifunc_impl_list): Likewise.
1710 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1711 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1712 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1713 multiarch strchrnul for PPC64.
1715 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1720 (__libc_ifunc_impl_list): Likewise.
1721 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1722 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1723 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1724 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1727 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1732 (__libc_ifunc_impl_list): Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1734 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1735 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1736 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1739 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1742 multiarch implementations.
1743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1744 (__libc_ifunc_impl_list): Likewise.
1745 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1746 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1747 strncasecmp for PPC64.
1748 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1749 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1750 multiarch strncasecmp_l for PPC64.
1752 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1755 multiarch implementations.
1756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1757 (__libc_ifunc_impl_list): Likewise.
1758 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1759 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1760 multiarch strcasecmp for PPC64.
1761 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1763 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1764 multiarch strcasecmp_l for PPC64.
1766 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1771 (__libc_ifunc_impl_list): Likewise.
1772 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1773 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1774 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1777 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1782 (__libc_ifunc_impl_list): Likewise.
1783 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1784 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1785 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1788 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1793 (__libc_ifunc_impl_list): Likewise.
1794 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1795 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1796 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1797 rawmemrchr for PPC64.
1799 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1804 (__libc_ifunc_impl_list): Likewise.
1805 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1806 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1807 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1810 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1815 (__libc_ifunc_impl_list): Likewise.
1816 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1817 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1818 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1821 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1826 (__libc_ifunc_impl_list): Likewise.
1827 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1828 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1829 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1832 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1835 avoid cretion of __bzero symbol.
1836 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1838 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1840 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1843 multiarch implementations.
1844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1845 (__libc_ifunc_impl_list): Likewise.
1846 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1847 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1848 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1849 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1851 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1852 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1853 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1854 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1855 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1857 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1859 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1861 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1865 (__libc_ifunc_impl_list): Likewise.
1866 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1867 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1868 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1869 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1872 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1875 multiarch for POWER/PPC64.
1876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1877 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1880 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1881 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1882 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1883 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1884 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1887 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1890 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1891 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1892 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1893 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1894 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1895 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1896 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1897 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1898 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1899 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1900 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1901 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1902 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1903 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1912 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1914 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1916 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1918 * benchtests/Makefile (bench): Add exp2 and log2.
1919 (LDLIBS-bench-exp2): Add -lm.
1920 (LDLIBS-bench-log2): Likewise.
1921 * benchtests/exp2-inputs: New inputs file.
1922 * benchtests/log2-inputs: New inputs file.
1923 * benchtests/log-inputs: Add new inputs.
1924 * benchtests/tan-inputs: Likewise.
1926 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1928 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1930 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1931 csloww1, csloww2): ... from here.
1933 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1934 instead of structures.
1935 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1936 (POLYNOMIAL): Likewise.
1937 (TAYLOR_SLOW): Likewise.
1945 (bsloww1): Likewise.
1946 (bsloww2): Likewise.
1949 (csloww1): Likewise.
1950 (csloww2): Likewise.
1952 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1954 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1955 (__malloc_assert, __libc_realloc, __libc_calloc,
1956 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1958 * malloc/hooks.c (realloc_check): Likewise.
1960 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1962 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1963 * malloc/arena.c: Remove PER_THREAD conditional.
1964 [!PER_THREAD]: Remove code.
1965 (ptmalloc_unlock_all2): Likewise.
1966 (ptmalloc_init): Likewise.
1967 (_int_new_arena): Likewise.
1968 (arena_get2): Likewise.
1969 * malloc/hooks.c (__malloc_get_state): Likewise.
1970 (__malloc_set_state): Likewise.
1971 * malloc/malloc.c: Likewise.
1972 (struct malloc_state): Likewise.
1973 (struct malloc_par): Likewise.
1974 (__libc_realloc): Likewise.
1975 (__libc_mallopt): Likewise.
1977 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1981 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1983 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1984 macro to a function. Check for zero perturb_byte.
1985 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1987 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1989 * malloc/malloc.c: (force_reg): Remove.
1990 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1991 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1992 force_reg by atomic_forced_read.
1993 * malloc/arena.c (ptmalloc_init): Likewise.
1994 * malloc/hooks.c (top_check): Likewise.
1996 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2000 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2004 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2006 * math/auto-libm-test-in: Add tests of lgamma.
2007 * math/auto-libm-test-out: Regenerated.
2008 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2009 (M_LOG_2_SQRT_PIl): Likewise.
2010 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2011 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2013 (func_calc_desc): Add mpfr_f_f1 union field.
2022 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2023 (test_functions): Add lgamma.
2024 (calc_generic_results): Handle mpfr_f_f1.
2025 * sysdeps/i386/fpu/libm-test-ulps: Update.
2026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2028 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2030 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2031 __mpn_add_n for PowerPC64/POWER7.
2032 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2033 __mpn_sub_n for PowerPC64/POWER7.
2035 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2038 __mpn_addmul_1 for PowerPC64.
2039 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2040 __mpn_submul_1 for PowerPC64.
2041 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2043 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2046 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2049 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2051 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2055 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2058 add multiarch folders.
2059 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2060 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2061 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2062 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2063 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2064 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2065 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2066 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2067 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2068 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2069 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2077 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2080 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2086 multiarch __ieee754_hypot for PowerPC32.
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2092 multiarch __ieee754_hypotf for PowerPC32.
2094 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2097 long_double_symbol only if __logbl is defined.
2098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2099 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2101 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2103 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2105 path for implementation.
2106 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2107 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2109 logb, and logbl multiarch implementations for PowerPC32.
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2115 multiarch logb for PowerPC32.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2121 multiarch logbf for PowerPC32.
2122 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2126 multiarch logbl implementation for PowerPC32.
2128 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2131 and modff multiarch implementations.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2137 multiarch modf for PowerPC32.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2143 multiarch modff for PowerPC32.
2145 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2148 and lrintf multiarch implementations.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2154 multiarch lrint for PowerPC32.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2156 file: multiarch lrintf for PowerPC32.
2158 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2161 and lroundf multiarch implementations.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2169 multiarch lround for PowerPC32.
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2171 file: multiarch lroundf for PowerPC32.
2173 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2176 copysign and copysignf multiarch implementations.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2182 file: multiarch copysign for PowerPC32.
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2184 file: multiarch copysignf for PowerPC32.
2186 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2189 and truncf multiarch implementations.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2195 multiarch trunc for PowerPC32.
2196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2201 multiarch truncf for PowerPC32.
2203 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2206 and roundf multiarch implementations.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2212 multiarch round for PowerPC32.
2213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2218 multiarch roundf for PowerPC32.
2220 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2223 and floorf multiarch implementations.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2229 multiarch floor for PowerPC32.
2230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2235 multiarch floorf for PowerPC32.
2237 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2240 and ceilf multiarch implementations.
2241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2246 multiarch ceil for PowerPC32.
2247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2252 multiarch ceilf for PowerPC32.
2254 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2258 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2261 and finitef multiarch implementations.
2262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2267 multiarch finite for PowerPC32.
2268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2271 file: multiarch finitef for PowerPC32.
2273 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2276 and isinff multiarch implementations.
2277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2282 multiarch isinf for PowerPC32.
2283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2286 multiarch isinff for PowerPC32.
2288 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2290 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2291 alias when __isnan is defined.
2292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2293 and isnanf multiarch implementations.
2294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2303 multiarch isnan for PowerPC32.
2304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2309 multiarch isnanf for PowerPC32.
2311 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2314 and sqrtf multiarch implementations.
2315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2320 multiarch sqrt for PowerPC32.
2321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2326 multiarch sqrtf for PowerPC32.
2328 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2331 and llroundf multiarch implementations.
2332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2339 file: multiarch llround for PowerPC32.
2340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2341 file: multiarch llroundf for PowerPC32.
2343 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2346 multiarch PowerPC32 fpu implementations.
2347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2352 multiarch llrint for PowerPC32.
2353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2360 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2364 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2373 multiarch wordcopy for PPC32.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2377 (__libc_ifunc_impl_list): Likewise.
2378 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2379 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2380 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2381 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2382 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2383 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2385 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2387 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2395 multiarch wcscpy for PPC32.
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2399 (__libc_ifunc_impl_list): Likewise.
2400 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2401 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2402 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2403 sysdeps/powerpc/power6/wcscpy.c.
2405 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2415 multiarch wcsrchr for PPC32.
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2419 (__libc_ifunc_impl_list): Likewise.
2420 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2421 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2422 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2423 sysdeps/powerpc/power6/wcsrchr.c.
2425 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2433 multiarch wcschr for PPc32.
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2437 (__libc_ifunc_impl_list): Likewise.
2438 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2439 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2440 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2441 sysdeps/powerpc/power6/wcschr.c.
2443 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2448 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2449 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2450 file: multiarch strchr for PPC32.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2454 (__libc_ifunc_impl_list): Likewise.
2456 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2460 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2465 multiarch strchrnul for PPC32.
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2469 (__libc_ifunc_impl_list): Likewise.
2471 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2476 multiarch strncasecmp for PPC32.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2480 multiarch strncasecmp_l for PPC32.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2482 strncasecmp multiarch objects.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2484 (__libc_ifunc_impl_list): Likewise.
2486 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2491 multiarch strncasecmp for PPC32.
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2495 multiarch strcasecmp_l for PPC32.
2496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2499 (__libc_ifunc_impl_list): Likewise.
2501 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2508 multiarch strncmp for PPC32.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2512 (__libc_ifunc_impl_list): Likewise.
2514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2517 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2524 (__libc_ifunc_impl_list): Likewise.
2526 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2536 (__libc_ifunc_impl_list): Likewise.
2538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2540 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2542 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2545 multiarch rawmemchr for PPC32.
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2549 (__libc_ifunc_impl_list): Likewise.
2551 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2553 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2557 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2558 file: memrchr multiarch for PPC32.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2562 (__libc_ifunc_impl_list): Likewise.
2564 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2566 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2569 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2571 multiarch memchr for PPC32.
2572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2575 (__libc_ifunc_impl_list): Likewise.
2577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2582 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2585 file: multiarch mempcpy for PPC32.
2586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2589 (__libc_ifunc_impl_list): Likewise.
2591 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2594 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2595 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2596 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2597 multiarch bzero for PPC32.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2600 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2603 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2604 file: multiarch memset for PPC32.
2605 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2607 memset multiarch objects.
2608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2609 (__libc_ifunc_impl_list): Likewise.
2611 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2615 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2618 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2619 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2621 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2622 (__libc_ifunc_impl_list): Likewise.
2624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2627 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2628 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2630 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2632 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2634 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2635 multiarch memcpy for PPC32.
2636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2639 (__libc_ifunc_impl_list): Likewise.
2641 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2644 support multiarch for POWER/PPC32.
2645 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2647 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2649 Implies file to make multiarch folder appers before the fpu and
2650 default folder for power4 configuration.
2652 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2654 * scripts/bench.pl: Append volatile keyword to type.
2656 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2658 * sysdeps/sh/sotruss-lib.c: New file.
2659 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2661 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2665 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2668 * math/w_tgamma.c: Include <errno.h>.
2669 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2670 * math/w_tgammaf.c: Include <errno.h>.
2671 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2672 * math/w_tgammal.c: Include <errno.h>.
2673 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2674 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2675 underflow. Add more tgamma tests.
2676 * math/auto-libm-test-out: Regenerated.
2677 * sysdeps/i386/fpu/libm-test-ulps: Update.
2678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2680 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2681 sin, sinh, tan, tanh, tgamma, y0 and y1.
2682 * math/auto-libm-test-out: Regenerated.
2683 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2684 (TEST_COND_x86): Likewise.
2685 (M_E2l): Remove macro.
2687 (M_2_SQRT_PIl): Likewise.
2688 (M_SQRT_PIl): Likewise.
2689 (M_1_DIV_El): Likewise.
2690 (log_test_data): Use AUTO_TESTS_f_f.
2691 (log10_test_data): Likewise.
2692 (log1p_test_data): Likewise.
2693 (log2_test_data): Likewise.
2694 (sin_test_data): Likewise.
2695 (sin_tonearest_test_data): Likewise.
2696 (sin_towardzero_test_data): Likewise.
2697 (sin_downward_test_data): Likewise.
2698 (sin_upward_test_data): Likewise.
2699 (sinh_test_data): Likewise.
2700 (sinh_tonearest_test_data): Likewise.
2701 (sinh_towardzero_test_data): Likewise.
2702 (sinh_downward_test_data): Likewise.
2703 (sinh_upward_test_data): Likewise.
2704 (tan_test_data): Likewise.
2705 (tan_tonearest_test_data): Likewise.
2706 (tan_towardzero_test_data): Likewise.
2707 (tan_downward_test_data): Likewise.
2708 (tan_upward_test_data): Likewise.
2709 (tanh_test_data): Likewise.
2710 (tgamma_test_data): Likewise.
2711 (y0_test_data): Likewise.
2712 (y1_test_data): Likewise.
2713 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2714 (special_real_inputs): Add pi/4.
2715 * sysdeps/i386/fpu/libm-test-ulps: Update.
2716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2718 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2721 "longjmp_target" static probes.
2722 (__longjmp): Rename to __longjmp_symbol.
2723 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2725 on which longjmp to generate.
2726 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2727 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2729 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2730 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2731 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2732 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2733 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2734 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2736 __longjmp_symbol based on which __longjmp to generate.
2737 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2739 (setjmp): Rename to setjmp_symbol.
2740 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2741 (_setjmp): Rename to _setjmp_symbol.
2742 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2743 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2744 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2745 which setjmp to generate.
2746 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2747 "longjmp_target" static probes.
2749 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2751 * benchtests/README: Add note about output arguments.
2752 * benchtests/bench-sincos.c: Remove file.
2753 * benchtests/sincos-inputs: New file.
2754 * scripts/bench.pl: Identify output arguments and define
2755 static variables for them.
2757 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2760 * Makefile (INSTALL): Add install-plain.texi as the primary
2762 * manual/install-plain.texi: New file.
2763 * manual/install.texi: Include node directive only for
2764 non-plaintext output.
2766 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2768 * stdlib/longlong.h: Update from GCC.
2772 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2773 * math/w_j0f.c (y0f): Likewise.
2774 * math/w_j0l.c (__y0l): Likewise.
2775 * math/w_j1.c (y1): Likewise.
2776 * math/w_j1f.c (y1f): Likewise.
2777 * math/w_j1l.c (__y1l): Likewise
2778 * math/w_jn.c (yn): Likewise.
2779 * math/w_jnf.c (ynf): Likewise.
2780 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2781 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2782 value for Bessel function domain errors outside _SVID_ mode.
2783 Adjust sign of return value for yn (negative integer, 0).
2784 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2785 by zero in return for negative x and set sign appropriately for
2787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2788 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2789 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2790 expectations in error cases.
2791 (y1_test_data): Likewise.
2792 (yn_test_data): Likewise.
2793 * sysdeps/i386/fpu/libm-test-ulps: Update.
2794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2798 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2799 "64" to "64-v1". Add "64-v2".
2800 (abi-64-options): Rename to ...
2801 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2802 (abi-64-condition): Rename to ...
2803 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2804 (abi-64-ld-soname): Rename to ...
2805 (abi-64-v1-ld-soname): ... this.
2806 (abi-64-v2-options): Define.
2807 (abi-64-v2-condition): Likewise.
2808 (abi-64-v2-ld-soname): Likewise.
2809 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2810 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2815 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2816 Alan Modra <amodra@gmail.com>
2818 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2819 New versions for use with the ELFv2 ABI.
2820 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2821 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2823 (struct La_ppc64v2_retval): Likewise.
2824 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2825 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2826 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2827 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2828 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2829 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2830 Do not save or restore CR.
2831 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2832 (_dl_profile_resolve): Do no save or restore CR. Support extended
2833 return values for ELFv2 ABI. Fix location of FPR return registers.
2834 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2835 updated values for _CALL_ELF == 2.
2836 (La_regs, La_retval, int_retval): Likewise.
2838 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2840 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2841 (FRAME_MIN_SIZE_PARM): Likewise.
2842 (FRAME_BACKCHAIN): Likewise.
2843 (FRAME_CR_SAVE): Likewise.
2844 (FRAME_LR_SAVE): Likewise.
2845 (FRAME_TOC_SAVE): Likewise.
2846 (FRAME_PARM_SAVE): Likewise.
2847 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2848 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2849 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2850 (call_mcount_parm_offset): New macro.
2851 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2852 (PROF): Use symbolic stack frame offsets.
2853 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2854 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2855 Redefine in terms of FRAME_MIN_SIZE.
2856 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2857 (_dl_profile_resolve): Likewise. Update comment.
2858 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2859 symbols stack frame offsets.
2860 (__sigsetjmp): Likewise.
2861 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2862 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2863 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2864 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2867 (FRAME_BACKCHAIN): Remove.
2868 (FRAME_CR_SAVE): Likewise.
2869 (FRAME_LR_SAVE): Likewise.
2870 (FRAME_COMPILER_DW): Likewise.
2871 (FRAME_LINKER_DW): Likewise.
2872 (FRAME_TOC_SAVE): Likewise.
2873 (FRAME_PARM_SAVE): Likewise.
2874 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2875 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2876 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2878 (CHECK_SP): Use symbolic stack frame offsets.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2880 zone" instead of caller's parameter save area for temp storage.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2882 Likewise. Also, use symbolic stack frame offsets.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2884 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2885 our own stack frame instead of the caller's.
2886 (__socket): Use symbolic stack frame offsets.
2888 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2889 Alan Modra <amodra@gmail.com>
2891 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2893 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2894 PPC64_LOCAL_ENTRY_OFFSET): Define.
2895 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2897 (elf_machine_fixup_plt): Call it.
2898 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2900 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2901 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2902 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2903 r2 before calling target.
2905 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2906 Alan Modra <amodra@gmail.com>
2908 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2909 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2910 versions of macros to support ELFv2 ABI.
2911 (LOCALENTRY): New macro.
2912 (ENTRY, EALIGN): Use it.
2913 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2914 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2915 fall through into ENTRY entry point.
2916 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2917 Only define if _CALL_ELF != 2.
2919 (elf_machine_matches_host): Verify ABI version matches.
2920 (RTLD_START): Use LOCALENTRY.
2921 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2922 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2923 (PLT_ENTRY_WORDS): New macro.
2924 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2925 (elf_machine_runtime_setup): Support ELFv2 ABI.
2926 (elf_machine_fixup_plt): Likewise.
2927 (elf_machine_plt_conflict): Likewise.
2928 (resolve_ifunc): Likewise.
2929 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2933 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2935 (makecontext): Support ELFv2 ABI.
2936 * elf/elf.h (EF_PPC64_ABI): Define.
2938 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2940 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2941 New assembler macro.
2942 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2943 [ASSEMBLER] (ENTRY): ... but instead here ...
2944 [ASSEMBLER] (EALIGN): ... and here.
2945 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2946 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2947 [!ASSEMBLER] (ENTRY_2): Use it.
2948 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2949 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2950 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2951 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2952 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2954 Use PPC64_LOAD_FUNCPTR.
2956 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2958 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2960 2013-12-04 Alan Modra <amodra@gmail.com>
2962 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2963 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2964 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2965 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2968 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2969 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2970 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2971 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2972 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2974 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2977 (__makecontext): Fix incorrect CFI when backtracing out of
2978 context created via makecontext.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2980 (__setcontext): Fix incorrect CFI during switch to new context.
2981 (__novec_setcontext): Likewise.
2983 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2986 * time/strptime_l.c (__strptime_internal): Allow modifiers
2988 * time/tst-strptime.c (day_tests): Add testcase.
2991 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2993 * scripts/bench.pl: Skip over blank lines.
2995 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2998 * manual/time.texi (Calendar Time): Clarify what timezone functions
3001 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3005 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3007 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3009 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3010 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3011 * debug/memset_chk.c (__memset_chk): Likewise.
3012 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3013 * debug/strncpy_chk.c: Likewise.
3015 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3019 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3020 (__ieee754_exp): For possibly underflowing results, check size of
3021 result and force underflow exception if required.
3022 * math/auto-libm-test-in: Add more tests of exp.
3023 * math/auto-libm-test-out: Regenerated.
3024 * sysdeps/i386/fpu/libm-test-ulps: Update.
3025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3028 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3029 * math/w_exp2f.c (__exp2f): Likewise.
3030 * math/w_exp2l.c (__exp2l): Likewise.
3031 * math/auto-libm-test-in: Do not allow missing errno on exp2
3033 * math/auto-libm-test-out: Regenerated.
3035 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3038 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3039 handle filename validation.
3040 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3043 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3046 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3047 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3048 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3050 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3052 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3053 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3054 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3055 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3056 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3057 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3058 Add more erfc tests.
3059 * math/auto-libm-test-out: Regenerated.
3060 * sysdeps/i386/fpu/libm-test-ulps: Update.
3061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3063 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3064 exp2, expm1, j0 and j1.
3065 * math/auto-libm-test-out: Regenerated.
3066 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3067 (erfc_test_data): Likewise.
3068 (exp_test_data): Likewise.
3069 (exp_tonearest_test_data): Likewise.
3070 (exp_towardzero_test_data): Likewise.
3071 (exp_downward_test_data): Likewise.
3072 (exp_upward_test_data): Likewise.
3073 (exp10_test_data): Likewise.
3074 (exp2_test_data): Likewise.
3075 (expm1_test_data): Likewise.
3076 (j0_test_data): Likewise.
3077 (j1_test_data): Likewise.
3078 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3079 (input_flag_type): Add flag_xfail_rounding.
3080 (input_flags): Add xfail-rounding.
3081 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3082 (output_for_one_input_case): Handle flag_xfail_rounding.
3083 * sysdeps/i386/fpu/libm-test-ulps: Update.
3084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3089 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3092 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3095 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3096 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3097 (STAP_PROBE0): New macro.
3098 (STAP_PROBE1): Likewise.
3099 (STAP_PROBE2): Likewise.
3100 (STAP_PROBE3): Likewise.
3101 (STAP_PROBE4): Likewise.
3103 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3105 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3107 2013-12-02 Steve Ellcey <sellcey@mips.com>
3109 * benchtests/Makefile (bench): Add sqrt.
3110 (LDLIBS-bench-sqrt): New.
3111 * benchtests/sqrt-input: New.
3113 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3115 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3116 (GAIH_EAI): Likewise.
3117 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3118 (gaih_inet): Likewise.
3119 (getaddrinfo): Don't use GAIH_EAI.
3121 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3122 (struct gaih): Remove definition.
3124 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3126 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3127 Use HERRNOP directly.
3129 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3133 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3135 * math/gen-auto-libm-tests.c (test_functions): Add more
3136 single-argument functions.
3137 (special_fill_pi_2): New function.
3138 (special_fill_minus_pi_2): Likewise.
3139 (special_fill_pi_6): Likewise.
3140 (special_fill_minus_pi_6): Likewise.
3141 (special_fill_pi_3): Likewise.
3142 (special_fill_2pi_3): Likewise.
3143 (special_fill_e): Likewise.
3144 (special_fill_1_e): Likewise.
3145 (special_fill_e_minus_1): Likewise.
3146 (special_real_inputs): Add more special inputs.
3147 (output_for_one_input_case): Do not require ERANGE on underflow to
3148 zero if round-to-nearest result does not underflow to zero, unless
3149 exact results required.
3150 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3151 atan, atanh, cbrt, cos and cosh.
3152 * math/auto-libm-test-out: Regenerated.
3153 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3154 (acos_tonearest_test_data): Likewise.
3155 (acos_towardzero_test_data): Likewise.
3156 (acos_downward_test_data): Likewise.
3157 (acos_upward_test_data): Likewise.
3158 (acosh_test_data): Likewise.
3159 (asin_test_data): Likewise.
3160 (asin_tonearest_test_data): Likewise.
3161 (asin_towardzero_test_data): Likewise.
3162 (asin_upward_test_data): Likewise.
3163 (asinh_test_data): Likewise.
3164 (atan_test_data): Likewise.
3165 (atanh_test_data): Likewise.
3166 (cbrt_test_data): Likewise.
3167 (cos_test_data): Likewise.
3168 (cos_tonearest_test_data): Likewise.
3169 (cos_towardzero_test_data): Likewise.
3170 (cos_downward_test_data): Likewise.
3171 (cos_upward_test_data): Likewise.
3172 (cosh_test_data): Likewise.
3173 (cosh_tonearest_test_data): Likewise.
3174 (cosh_towardzero_test_data): Likewise.
3175 (cosh_downward_test_data): Likewise.
3176 (cosh_upward_test_data): Likewise.
3177 * sysdeps/i386/fpu/libm-test-ulps: Update.
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3180 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3183 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3184 * math/w_exp10f.c (__exp10f): Likewise.
3185 * math/w_exp10l.c (__exp10l): Likewise.
3186 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3187 errno settings in existing tests.
3190 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3191 precision control set to double precision.
3192 * sysdeps/i386/fpu/w_sqrt.c: New file.
3193 * math/auto-libm-test-in: Add more tests.
3194 * math/auto-libm-test-out: Update.
3196 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3197 (sqrt_test_tonearest): New function.
3198 (sqrt_towardzero_test_data): New variable.
3199 (sqrt_test_towardzero): New function.
3200 (sqrt_downward_test_data): New variable.
3201 (sqrt_test_downward): New function.
3202 (sqrt_upward_test_data): New variable.
3203 (sqrt_test_upward): New function.
3204 (main): Call the new functions.
3206 * math/gen-auto-libm-tests.c: New file.
3207 * math/auto-libm-test-in: Likewise.
3208 * math/auto-libm-test-out: New generated file.
3209 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3211 (%beautify): Add generated representations of zero.
3212 (top level): Set $auto_input and call parse_auto_input.
3213 (beautify): Remove trailing "f" from hex float constants.
3214 (parse_args): Handle XFAIL_TEST.
3215 (convert_condition): New function.
3216 (or_value): Likewise.
3217 (or_cond_value): Likewise.
3218 (generate_testfile): Handle AUTO_TESTS_* lines.
3219 (parse_auto_input): New function.
3220 * math/libm-test.inc (XFAIL_TEST): New macro.
3221 (ERRNO_UNCHANGED): Update value.
3222 (ERRNO_EDOM): Likewise.
3223 (ERRNO_ERANGE): Likewise.
3224 (IGNORE_RESULT): Likewise.
3225 (TEST_COND_flt_32): New macro.
3226 (TEST_COND_dbl_64): Likewise.
3227 (TEST_COND_ldbl_96_intel): Likewise.
3228 (TEST_COND_ldbl_96_m68k): Likewise.
3229 (TEST_COND_ldbl_128): Likewise.
3230 (TEST_COND_ldbl_128ibm): Likewise.
3231 (TEST_COND_long32): Likewise.
3232 (TEST_COND_long64): Likewise.
3233 (TEST_COND_before_rounding): Likewise.
3234 (TEST_COND_after_rounding): Likewise.
3235 (enable_test): Handle XFAIL_TEST flag.
3236 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3237 with finite results.
3238 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3241 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3242 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3245 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3246 __tls_get_addr_internal instead of __tls_get_offset in order to
3247 avoid GOT pointer dependency. Make rtld export
3248 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3249 __tls_get_addr since we are a __tls_get_offset platform.
3250 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3251 GOT pointer being set up before.
3252 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3254 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3256 * manual/math.texi (Errors in Math Functions): Document accuracy
3260 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3261 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3264 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3266 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3274 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3277 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3278 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3279 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3280 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3281 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3283 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3285 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3287 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3288 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3289 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3290 atomic-feupdateenv and flt-rounds.
3291 * sysdeps/powerpc/nofpu/Versions (libc): Add
3292 __atomic_feholdexcept, __atomic_feclearexcept,
3293 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3294 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3295 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3296 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3297 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3302 * manual/arith.texi (FP Exceptions): Document that exceptions may
3303 not be raised when matherr is used.
3304 (Math Error Reporting): Document overflow in directed rounding
3305 modes. Document that errno may not be set when finite values are
3306 returned on overflow. Document intent to set errno on underflow
3307 only for underflow to zero.
3310 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3311 round-to-nearest then adjust result for other rounding modes.
3312 * include/fenv.h (fegetround): Use libm_hidden_proto.
3313 * math/fegetround.c (fegetround): Use libm_hidden_def.
3314 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3315 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3316 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3317 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3319 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3320 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3321 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3322 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3324 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * nss/Versions (libnss_files): Add
3328 _nss_files_gethostbyname3_r.
3329 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3331 (HOST_DB_LOOKUP): Remove macro.
3332 (_nss_files_gethostbyname_r): Implement function without the
3333 HOST_DB_LOOKUP macro.
3334 (_nss_files_gethostbyname2_r): Likewise.
3336 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3338 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3340 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3342 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3343 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3346 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3348 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3349 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3350 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3351 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3352 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3353 __fe_nomask_env_priv and attribute_hidden.
3354 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3355 (libc_feupdateenv_test_ppc): Likewise.
3356 (libc_feresetround_ppc): Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3358 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3359 compat_symbol macro.
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3361 (__fe_nomask_env): Likewise.
3362 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3364 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3366 * string/Makefile: Remove ifunc tests.
3367 * string/test-string.h: Define TEST_IFUNC.
3368 * string/test-bcopy-ifunc.c: Remove.
3369 * string/test-bzero-ifunc.c: Likewise.
3370 * string/test-memccpy-ifunc.c: Likewise.
3371 * string/test-memchr-ifunc.c: Likewise.
3372 * string/test-memcmp-ifunc.c: Likewise.
3373 * string/test-memcpy-ifunc.c: Likewise.
3374 * string/test-memmem-ifunc.c: Likewise.
3375 * string/test-memmove-ifunc.c: Likewise.
3376 * string/test-mempcpy-ifunc.c: Likewise.
3377 * string/test-memrchr-ifunc.c: Likewise.
3378 * string/test-memset-ifunc.c: Likewise.
3379 * string/test-rawmemchr-ifunc.c: Likewise.
3380 * string/test-stpcpy-ifunc.c: Likewise.
3381 * string/test-stpncpy-ifunc.c: Likewise.
3382 * string/test-strcasecmp-ifunc.c: Likewise.
3383 * string/test-strcasestr-ifunc.c: Likewise.
3384 * string/test-strcat-ifunc.c: Likewise.
3385 * string/test-strchr-ifunc.c: Likewise.
3386 * string/test-strchrnul-ifunc.c: Likewise.
3387 * string/test-strcmp-ifunc.c: Likewise.
3388 * string/test-strcpy-ifunc.c: Likewise.
3389 * string/test-strcspn-ifunc.c: Likewise.
3390 * string/test-strlen-ifunc.c: Likewise.
3391 * string/test-strncasecmp-ifunc.c: Likewise.
3392 * string/test-strncat-ifunc.c: Likewise.
3393 * string/test-strncmp-ifunc.c: Likewise.
3394 * string/test-strncpy-ifunc.c: Likewise.
3395 * string/test-strnlen-ifunc.c: Likewise.
3396 * string/test-strpbrk-ifunc.c: Likewise.
3397 * string/test-strrchr-ifunc.c: Likewise.
3398 * string/test-strspn-ifunc.c: Likewise.
3399 * string/test-strstr-ifunc.c: Likewise.
3401 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3403 * benchtests/Makefile: Remove ifunc tests.
3404 * benchtests/bench-string.h: Define TEST_IFUNC.
3405 * benchtests/bench-bcopy-ifunc.c: Remove.
3406 * benchtests/bench-bzero-ifunc.c: Likewise.
3407 * benchtests/bench-memccpy-ifunc.c: Likewise.
3408 * benchtests/bench-memchr-ifunc.c: Likewise.
3409 * benchtests/bench-memcmp-ifunc.c: Likewise.
3410 * benchtests/bench-memcpy-ifunc.c: Likewise.
3411 * benchtests/bench-memmem-ifunc.c: Likewise.
3412 * benchtests/bench-memmove-ifunc.c: Likewise.
3413 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3414 * benchtests/bench-memrchr-ifunc.c: Likewise.
3415 * benchtests/bench-memset-ifunc.c: Likewise.
3416 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3417 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3418 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3419 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3420 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3421 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3422 * benchtests/bench-strcat-ifunc.c: Likewise.
3423 * benchtests/bench-strchr-ifunc.c: Likewise.
3424 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3425 * benchtests/bench-strcmp-ifunc.c: Likewise.
3426 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3427 * benchtests/bench-strcpy-ifunc.c: Likewise.
3428 * benchtests/bench-strcspn-ifunc.c: Likewise.
3429 * benchtests/bench-strlen-ifunc.c: Likewise.
3430 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3431 * benchtests/bench-strncat-ifunc.c: Likewise.
3432 * benchtests/bench-strncmp-ifunc.c: Likewise.
3433 * benchtests/bench-strncpy-ifunc.c: Likewise.
3434 * benchtests/bench-strnlen-ifunc.c: Likewise.
3435 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3436 * benchtests/bench-strrchr-ifunc.c: Likewise.
3437 * benchtests/bench-strsep-ifunc.c: Likewise.
3438 * benchtests/bench-strspn-ifunc.c: Likewise.
3439 * benchtests/bench-strstr-ifunc.c: Likewise.
3441 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3443 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3445 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3447 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3448 * rt/aio.h: Likewise.
3449 * sysdeps/gnu/bits/utmp.h: Likewise.
3450 * sysdeps/gnu/bits/utmpx.h: Likewise.
3451 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3452 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3453 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3454 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3455 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3456 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3457 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3458 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3461 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3462 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3463 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3466 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3467 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3468 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3469 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3470 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3472 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3473 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3474 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3475 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3478 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3480 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3481 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3482 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3486 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3487 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3488 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3489 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3490 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3491 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3492 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3494 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3497 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3498 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3500 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3502 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3503 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3506 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3509 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3510 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3511 (__fesetround): Remove define.
3512 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3513 rounding and exceptions handling.
3514 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3515 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3516 (__fe_nomask_env): Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3518 __fegetround instead of fegetround.
3519 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3520 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3522 2013-11-21 Roland McGrath <roland@hack.frob.com>
3524 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3527 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3529 2013-11-21 Meador Inge <meadori@codesourcery.com>
3532 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3533 (encrypt_r): Likewise.
3534 * malloc/obstack.h (obstack_free): Likewise.
3535 * posix/unistd.h (encrypt): Likewise.
3537 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3539 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3540 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3541 DL_CALL_DT_FINI() that call the functions directly.
3542 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3543 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3544 * elf/dl-fini.c: Likewise.
3546 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3548 * malloc/hooks.c (memalign_check): Add alignment rounding.
3549 * malloc/malloc.c (_mid_memalign): New function.
3550 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3551 Implement by calling _mid_memalign.
3552 * manual/probes.texi (Memory Allocation Probes): Remove
3553 memory_valloc_retry and memory_pvalloc_retry.
3555 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3557 * locale/programs/locarchive.c (open_archive): Add const
3558 qualifier to ARCHIVEFNAME and copy default fname to
3562 * libio/tst-widetext.input: Rename Oriya to Odia.
3563 * locale/iso-639.def: Likewise.
3565 * manual/probes.texi (Mathematical Function Probes): Add
3566 documentation for sin, cos, asin and acos probes.
3567 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3568 (__sin32): Add slowasin probe.
3569 (__cos32): Add slowacos probe.
3570 (__mpsin): Add slowsin probe.
3571 (__mpcos): Add slowcos probe.
3573 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3577 thread-local __sim_exceptions_thread and global
3578 __sim_exceptions_global.
3579 (__sim_disabled_exceptions): Change to thread-local
3580 __sim_disabled_exceptions_thread and global
3581 __sim_disabled_exceptions_global.
3582 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3583 and global __sim_round_mode_global.
3584 (__simulate_exceptions): Use thread-local floating-point state and
3585 set global state from it as needed.
3586 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3587 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3588 __sim_round_mode_thread.
3589 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3590 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3591 and global __sim_exceptions_global.
3592 (__sim_disabled_exceptions): Change to thread-local
3593 __sim_disabled_exceptions_thread and global
3594 __sim_disabled_exceptions_global.
3595 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3596 and global __sim_round_mode_global.
3597 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3598 (SIM_SET_GLOBAL): Likewise.
3599 * sysdeps/powerpc/soft-fp/sfp-machine.h
3600 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3601 __sim_round_mode_thread.
3602 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3603 __sim_disabled_exceptions_thread.
3604 (__sim_exceptions): Change to __sim_exceptions_thread.
3605 (__sim_disabled_exceptions): Change to
3606 __sim_disabled_exceptions_thread.
3607 (__sim_round_mode): Change to __sim_round_mode_thread.
3608 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3609 thread-local floating-point state and set global state from it as
3611 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3612 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3613 (__sim_disabled_exceptions): Remove extern declaration.
3614 (feenableexcept): Use thread-local floating-point state and set
3615 global state from it as needed.
3616 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3618 (__sim_disabled_exceptions): Likewise.
3619 (__sim_round_mode): Likewise.
3620 (__fegetenv): Use thread-local floating-point state.
3621 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3622 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3623 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3624 floating-point state and set global state from it as needed.
3625 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3626 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3627 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3629 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3630 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3632 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3633 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3634 Use __sim_round_mode_thread.
3635 * math/test-fenv-tls.c: New file.
3636 * math/Makefile (tests): Add test-fenv-tls.
3637 ($(objpfx)test-fenv-tls): Depend on
3638 $(common-objpfx)nptl/libpthread.so.
3640 2013-11-19 Andreas Schwab <schwab@suse.de>
3642 * locale/programs/locale.c (show_info): Decode wordarray elements.
3643 * locale/categories.def (LC_MONETARY): Add element for
3644 _NL_MONETARY_CRNCYSTR.
3645 * locale/C-monetary.c (conversion_rate): New variable.
3646 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3649 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3651 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3652 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3654 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3656 * elf/Makefile (tst-auxv): New test.
3657 * elf/tst-auxv.c: New
3658 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3660 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3662 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3663 (hidden_proto): Caller changed.
3664 (hidden_tls_proto): New macro.
3665 (libc_hidden_tls_proto): Likewise.
3666 (rtld_hidden_tls_proto): Likewise.
3667 (libm_hidden_tls_proto): Likewise.
3668 (libresolv_hidden_tls_proto): Likewise.
3669 (librt_hidden_tls_proto): Likewise.
3670 (libdl_hidden_tls_proto): Likewise.
3671 (libnss_files_hidden_tls_proto): Likewise.
3672 (libnsl_hidden_tls_proto): Likewise.
3673 (libnss_nisplus_hidden_tls_proto): Likewise.
3674 (libutil_hidden_tls_proto): Likewise.
3676 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3679 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3680 (decompose_rpath): Defer expansion to fillin_rpath.
3681 (_dl_init_paths): Pass linkmap to fillin_rpath.
3683 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3685 * benchtests/Makefile: Add strsep.
3686 * benchtests/bench-strsep.c: New file: strsep benchtest.
3687 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3689 2013-11-18 Andreas Schwab <schwab@suse.de>
3691 * locale/programs/locale.c (show_info) [case byte]: Check for
3692 '\377' instead of '\177'.
3693 * locale/C-monetary.c (not_available): Always use "\377".
3694 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3695 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3696 detect unavailable sign_posn locale elements.
3697 * locale/localeconv.c (__localeconv): For grouping and
3698 mon_grouping handle "\177" and "\377" like no grouping.
3699 (INT_ELEM): New macro. Use it to set all numeric members.
3700 * locale/programs/ld-monetary.c (monetary_read)
3701 <tok_mon_grouping>: Normalize single -1 to the empty string.
3702 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3705 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3708 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3709 when we match (nil).
3710 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3712 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3714 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3715 (NO_TEST_INLINE): Update value.
3716 (ERRNO_UNCHANGED): Likewise.
3717 (ERRNO_EDOM): Likewise.
3718 (ERRNO_ERANGE): Likewise.
3719 (IGNORE_RESULT): Likewise.
3720 (check_float_internal): Check signs of NaN results if
3722 (check_complex): Pass TEST_NAN_SIGN flag through to second
3723 check_float_internal call.
3724 (copysign_test_data): Add tests with quiet NaNs as second
3725 argument. Use TEST_NAN_SIGN.
3726 (fabs_test_data): Add test of negative quiet NaN argument. Use
3728 (signbit_test_data): Add tests of quiet NaN argument.
3729 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3731 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3733 (parse_args): Handle function results specified as IGNORE.
3734 * math/libm-test.inc (IGNORE_RESULT): New macro.
3735 (check_float_internal): Do not check numerical result if flag
3737 (check_complex): Pass through IGNORE_RESULT to second
3738 check_float_internal call.
3739 (check_int): Do not check numerical result if flag IGNORE_RESULT
3741 (check_long): Likewise.
3742 (check_bool): Likewise.
3743 (check_longlong): Likewise.
3744 (lrint_test_data): Add tests of infinite and NaN arguments.
3745 (lrint_tonearest_test_data): Likewise.
3746 (lrint_towardzero_test_data): Likewise.
3747 (lrint_downward_test_data): Likewise.
3748 (lrint_upward_test_data): Likewise.
3749 (llrint_test_data): Likewise.
3750 (llrint_tonearest_test_data): Likewise.
3751 (llrint_towardzero_test_data): Likewise.
3752 (llrint_downward_test_data): Likewise.
3753 (llrint_upward_test_data): Likewise.
3754 (lround_test_data): Likewise.
3755 (llround_test_data): Likewise.
3757 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3758 (ERRNO_UNCHANGED): Update value.
3759 (ERRNO_EDOM): Likewise.
3760 (ERRNO_ERANGE): Likewise.
3761 (NO_TEST_INLINE_FLOAT): New macro.
3762 (NO_TEST_INLINE_DOUBLE): Likewise.
3763 (enable_test): New function.
3764 (RUN_TEST_f_f): Check enable_test before running test.
3765 (RUN_TEST_2_f): Likewise.
3766 (RUN_TEST_fff_f): Likewise.
3767 (RUN_TEST_c_f): Likewise.
3768 (RUN_TEST_f_f1): Likewise.
3769 (RUN_TEST_fF_f1): Likewise.
3770 (RUN_TEST_fI_f1): Likewise.
3771 (RUN_TEST_ffI_f1): Likewise.
3772 (RUN_TEST_c_c): Likewise.
3773 (RUN_TEST_cc_c): Likewise.
3774 (RUN_TEST_f_i): Likewise.
3775 (RUN_TEST_f_i_tg): Likewise.
3776 (RUN_TEST_ff_i_tg): Likewise.
3777 (RUN_TEST_f_b): Likewise.
3778 (RUN_TEST_f_b_tg): Likewise.
3779 (RUN_TEST_f_l): Likewise.
3780 (RUN_TEST_f_L): Likewise.
3781 (RUN_TEST_fFF_11): Likewise.
3782 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3784 (cosh_test_data): Likewise.
3785 (exp_test_data): Likewise.
3786 (expm1_test_data): Likewise.
3787 (hypot_test_data): Likewise.
3788 (pow_test_data): Likewise.
3789 (sinh_test_data): Likewise.
3790 (tanh_test_data): Likewise.
3791 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3794 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3795 tests with quiet NaN input and output.
3796 (acosh_test_data): Likewise.
3797 (asin_test_data): Likewise.
3798 (asinh_test_data): Likewise.
3799 (atan_test_data): Likewise.
3800 (atanh_test_data): Likewise.
3801 (atan2_test_data): Likewise.
3802 (cbrt_test_data): Likewise.
3803 (cos_test_data): Likewise.
3804 (cosh_test_data): Likewise.
3805 (erf_test_data): Likewise.
3806 (erfc_test_data): Likewise.
3807 (exp_test_data): Likewise.
3808 (exp10_test_data): Likewise.
3809 (exp2_test_data): Likewise.
3810 (expm1_test_data): Likewise.
3811 (hypot_test_data): Likewise.
3812 (j0_test_data): Likewise.
3813 (j1_test_data): Likewise.
3814 (jn_test_data): Likewise.
3815 (lgamma_test_data): Likewise.
3816 (log_test_data): Likewise.
3817 (log10_test_data): Likewise.
3818 (log1p_test_data): Likewise.
3819 (log2_test_data): Likewise.
3820 (pow_test_data): Likewise.
3821 (scalb_test_data): Likewise.
3822 (sin_test_data): Likewise.
3823 (sincos_test_data): Likewise.
3824 (sinh_test_data): Likewise.
3825 (tan_test_data): Likewise.
3826 (tanh_test_data): Likewise.
3827 (tgamma_test_data): Likewise.
3828 (y0_test_data): Likewise.
3829 (y1_test_data): Likewise.
3830 (yn_test_data): Likewise.
3833 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3834 argument being NaN and avoid computations with second argument in
3836 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3837 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3838 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3840 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3842 * locale/iso-639.def: Add Chitwani Tharu (the).
3844 2013-11-14 Andreas Schwab <schwab@suse.de>
3846 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3847 word instead of empty string.
3849 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3852 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3854 (__fe_nomask_env): Likewise.
3856 2013-11-13 Steve Ellcey <sellcey@mips.com>
3858 * benchtests/bench-timing.h: Include time.h.
3860 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3863 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3865 * sysdeps/unix/sysv/linux/configure: Regenerated.
3867 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3870 * stdlib/strtod_l.c (round_and_return): Do not consider
3871 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3872 exponent one less than half the least subnormal exponent.
3873 * stdlib/test-strtod-round-data: Add more tests.
3874 * stdlib/tst-strtod-round.c (tests): Regenerated.
3876 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3879 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3880 (__fe_mask_env): Likewise.
3881 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3882 libm_hidden_proto and add function prototype.
3883 (__fe_mask_env): Add function prototype.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3885 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3887 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3889 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3891 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3893 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3894 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3896 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3898 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3899 of htab_find_slot().
3901 2013-11-11 David S. Miller <davem@davemloft.net>
3904 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3905 symbol in the non-vis3 case in static builds.
3906 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3907 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3908 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3909 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3911 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3914 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3917 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3919 * benchtests/Makefile: Add bench-strtod.
3920 * benchtests/bench-strtod.c: New file: strtod benchtest
3922 2013-11-11 Andreas Schwab <schwab@suse.de>
3925 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3926 terminating NUL in key length.
3928 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3930 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3931 Add artificial ODP entry for vDSO symbol for PPC64.
3932 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3933 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3935 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3938 * nss/getent.c (services_keys): Recognize services starting with digit.
3940 2013-11-06 David S. Miller <davem@davemloft.net>
3943 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3944 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3946 2013-11-06 Will Newton <will.newton@linaro.org>
3948 * manual/memory.texi (Malloc Examples): Remove register
3949 keyword from examples.
3951 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3953 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3955 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3958 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3959 depending on [__GCC_IEC_559 > 0].
3960 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3961 depending on [__GCC_IEC_559_COMPLEX > 0].
3963 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3965 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3968 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3970 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3972 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3975 * malloc/malloc (malloc_info): Do not handle first bin as
3978 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3980 * locale/iso-639.def: Add Central Nahuatl (nhn).
3982 2013-11-01 Bruno Haible <bruno@clisp.org>
3985 * manual/math.texi (BSD Random): Specify range upper bound as
3988 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3990 * locale/iso-639.def: Add Meadow Mari (mhr).
3992 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3994 [BZ #14752], [BZ #15763]
3995 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3997 * rt/tst_shm.c: Add test for escaping directory.
3999 2013-10-31 Andreas Schwab <schwab@suse.de>
4002 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4003 followed by 'x' as part of digit sequence.
4004 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4006 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4009 * configure.ac: allow GNU Make 4.0 and greater.
4010 * configure: Regenerated.
4012 2013-10-30 Will Newton <will.newton@linaro.org>
4015 * malloc/hooks.c (memalign_check): Limit alignment to the
4016 maximum representable power of two.
4017 * malloc/malloc.c (__libc_memalign): Likewise.
4018 * malloc/tst-memalign.c (do_test): Add test for very
4019 large alignment values.
4020 * malloc/tst-posix_memalign.c (do_test): Likewise.
4022 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4025 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4026 (munmap_chunk): Likewise.
4027 (mremap_chunk): Likewise.
4029 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4032 * stdlib/div.c (div): Remove obsolete code.
4033 * stdlib/ldiv.c (ldiv): Likewise.
4034 * stdlib/lldiv.c (lldiv): Likewise.
4036 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4039 * nss/nss_files/files-XXX.c (get_contents_ret): New
4041 (get_contents): New function.
4042 (internal_getent): Use it. Expand size of LINEBUFLEN.
4044 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4046 * configure.in: Moved to ...
4047 * configure.ac: ... here. Change reference to configure.in
4049 * sysdeps/arm/preconfigure.ac: ... here.
4050 configure.in to configure.ac.
4051 * sysdeps/gnu/configure.in: Moved to ...
4052 * sysdeps/gnu/configure.ac: ... here.
4053 * sysdeps/i386/configure.in: Moved to ...
4054 * sysdeps/i386/configure.ac: ... here.
4055 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4056 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4057 * sysdeps/mach/configure.in: Moved to ...
4058 * sysdeps/mach/configure.ac: ... here.
4059 * sysdeps/mach/hurd/configure.in: Moved to ...
4060 * sysdeps/mach/hurd/configure.ac: ... here.
4061 * sysdeps/powerpc/configure.in: Moved to ...
4062 * sysdeps/powerpc/configure.ac: ... here.
4063 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4064 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4065 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4066 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4067 * sysdeps/s390/s390-32/configure.in: Moved to ...
4068 * sysdeps/s390/s390-32/configure.ac: ... here.
4069 * sysdeps/s390/s390-64/configure.in: Moved to ...
4070 * sysdeps/s390/s390-64/configure.ac: ... here.
4071 * sysdeps/sh/configure.in: Moved to ...
4072 * sysdeps/sh/configure.ac: ... here.
4073 * sysdeps/sparc/configure.in: Moved to ...
4074 * sysdeps/sparc/configure.ac: ... here.
4075 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4076 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4077 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4078 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4079 * sysdeps/x86_64/configure.in: Moved to ...
4080 * sysdeps/x86_64/configure.ac: ... here.
4081 * sysdeps/x86_64/preconfigure.in: Moved to ...
4082 * sysdeps/x86_64/preconfigure.ac: ... here.
4083 * aclocal.m4: Change reference to configure.in to configure.ac.
4084 * config.h.in: Likewise.
4085 * manual/install.texi: Likewise.
4086 * manual/maint.texi: Likewise.
4087 * Makefile: Likewise.
4088 * malloc/Makefile: Likewise.
4089 * nscd/Makefile: Likewise.
4090 * Makeconfig: Change reference to configure.in and
4091 preconfigure.in to configure.ac and preconfigure.ac
4093 * INSTALL: Regenerated.
4094 * configure: Likewise.
4095 * sysdeps/gnu/configure: Likewise.
4096 * sysdeps/i386/configure: Likewise.
4097 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4098 * sysdeps/mach/configure: Likewise.
4099 * sysdeps/mach/hurd/configure: Likewise.
4100 * sysdeps/powerpc/configure: Likewise.
4101 * sysdeps/powerpc/powerpc32/configure: Likewise.
4102 * sysdeps/powerpc/powerpc64/configure: Likewise.
4103 * sysdeps/s390/s390-32/configure: Likewise.
4104 * sysdeps/s390/s390-64/configure: Likewise.
4105 * sysdeps/sh/configure: Likewise.
4106 * sysdeps/sparc/configure: Likewise.
4107 * sysdeps/unix/sysv/linux/configure: Likewise.
4108 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4109 * sysdeps/x86_64/configure: Likewise.
4110 * sysdeps/x86_64/preconfigure: Likewise.
4112 2013-10-29 Andreas Schwab <schwab@suse.de>
4114 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4116 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4118 * benchtests/pow-inputs: Add new inputs.
4120 * benchtests/exp-inputs: Add new inputs.
4122 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4123 conditional check for return value.
4124 (__cos32): Likewise.
4126 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4128 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4129 to provide a boost for large inputs with word alignment.
4130 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4131 implementation based on optimized PPC64 strcpy.
4132 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4133 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4134 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4135 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4137 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4140 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4142 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4145 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4146 * time/tst-strptime.c (day_tests): Add testcase.
4148 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4151 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4153 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4156 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4157 MAP_FAILED on error.
4159 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4163 heap for large requests.
4165 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4168 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4169 result if the result has no associated interface.
4170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4171 interface for all 127.X.Y.Z addresses.
4173 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4175 * locale/iso-639.def: Add Ligurian (lij)
4177 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4180 * sunrpc/rpc_main.c: Document rpcgen -5.
4182 2013-10-19 Michael Stahl <mstahl@redhat.com>
4184 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4186 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4189 * posix/glob.c: Match only directories when trailing slash is present.
4190 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4191 (main): Add testcase.
4193 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4196 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4198 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4200 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4201 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4202 AUTH_DES and cindex for FIPS 140-2.
4203 (DES Encryption): Add cindex FIPS 46-3.
4205 * locale/locarchive.h (struct locarhandle): Add fname.
4206 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4207 if an optional argument was specified to --list-archive,
4209 * locale/programs/locarchive.c (show_archive_content): Take new
4210 argument fname and pass it via ah.fname to open_archive.
4211 * locale/programs/localedef.h: Update decl.
4212 (open_archive): If AH->fname is non-null, open that file
4213 rather than the default file name, and don't ignore ENOENT.
4214 (create_archive): Set AH.fname to NULL.
4215 (delete_locales_from_archive): Likewise.
4216 (add_locales_to_archive): Likewise.
4217 * locale/programs/locfile.c (write_all_categories): Likewise.
4219 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4220 Aldy Hernandez <aldyh@redhat.com>
4222 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4223 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4224 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4225 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4226 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4227 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4228 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4229 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4230 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4231 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4232 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4233 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4234 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4235 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4236 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4238 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4240 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4242 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4244 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4245 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4247 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4248 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4249 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4250 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4252 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4253 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4254 * sysdeps/powerpc/preconfigure: Likewise.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4257 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4258 Replace contents of file by #include of <fenv_libc.h>.
4259 * sysdeps/powerpc/soft-fp/sfp-machine.h
4260 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4262 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4263 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4264 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4265 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4266 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4267 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4269 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4270 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4271 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4272 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4273 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4275 Allow copysignl PLT reference to be missing.
4277 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4278 Joseph Myers <joseph@codesourcery.com
4281 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4283 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4285 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4287 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4288 * elf/tst-tls1.c: Likewise.
4289 * elf/tst-tls10.h: Likewise.
4290 * elf/tst-tls14.c: Likewise.
4291 * elf/tst-tls2.c: Likewise.
4292 * elf/tst-tls3.c: Likewise.
4293 * elf/tst-tls4.c: Likewise.
4294 * elf/tst-tls5.c: Likewise.
4295 * elf/tst-tls6.c: Likewise.
4296 * elf/tst-tls7.c: Likewise.
4297 * elf/tst-tls8.c: Likewise.
4298 * elf/tst-tls9.c: Likewise.
4299 * elf/tst-tlsmod1.c: Likewise.
4300 * elf/tst-tlsmod13.c: Likewise.
4301 * elf/tst-tlsmod13a.c: Likewise.
4302 * elf/tst-tlsmod14a.c: Likewise.
4303 * elf/tst-tlsmod16a.c: Likewise.
4304 * elf/tst-tlsmod16b.c: Likewise.
4305 * elf/tst-tlsmod2.c: Likewise.
4306 * elf/tst-tlsmod3.c: Likewise.
4307 * elf/tst-tlsmod4.c: Likewise.
4308 * elf/tst-tlsmod5.c: Likewise.
4309 * elf/tst-tlsmod6.c: Likewise.
4311 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4314 * malloc/malloc.c: remove checks for statistics.
4316 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4319 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4320 * inet/tst-network.c: Add testcase.
4322 2013-10-17 Andreas Schwab <schwab@suse.de>
4325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4326 to determine canonical name.
4328 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4330 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4331 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4333 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4335 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4344 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4353 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4354 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4355 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4357 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4358 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4359 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4360 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4361 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4362 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4363 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4367 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4368 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4370 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4371 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4372 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4373 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4374 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4375 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4377 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4378 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4379 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4380 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4381 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4383 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4389 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4392 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4393 make result into a quiet NaN.
4395 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4397 * soft-fp/adddf3.c: Fix horizontal whitespace.
4398 * soft-fp/addsf3.c: Likewise.
4399 * soft-fp/addtf3.c: Likewise.
4400 * soft-fp/divdf3.c: Likewise.
4401 * soft-fp/divsf3.c: Likewise.
4402 * soft-fp/divtf3.c: Likewise.
4403 * soft-fp/double.h: Likewise.
4404 * soft-fp/eqdf2.c: Likewise.
4405 * soft-fp/eqsf2.c: Likewise.
4406 * soft-fp/eqtf2.c: Likewise.
4407 * soft-fp/extenddftf2.c: Likewise.
4408 * soft-fp/extended.h: Likewise.
4409 * soft-fp/extendsfdf2.c: Likewise.
4410 * soft-fp/extendsftf2.c: Likewise.
4411 * soft-fp/extendxftf2.c: Likewise.
4412 * soft-fp/fixdfdi.c: Likewise.
4413 * soft-fp/fixdfsi.c: Likewise.
4414 * soft-fp/fixdfti.c: Likewise.
4415 * soft-fp/fixsfdi.c: Likewise.
4416 * soft-fp/fixsfsi.c: Likewise.
4417 * soft-fp/fixsfti.c: Likewise.
4418 * soft-fp/fixtfdi.c: Likewise.
4419 * soft-fp/fixtfsi.c: Likewise.
4420 * soft-fp/fixtfti.c: Likewise.
4421 * soft-fp/fixunsdfdi.c: Likewise.
4422 * soft-fp/fixunsdfsi.c: Likewise.
4423 * soft-fp/fixunsdfti.c: Likewise.
4424 * soft-fp/fixunssfdi.c: Likewise.
4425 * soft-fp/fixunssfsi.c: Likewise.
4426 * soft-fp/fixunssfti.c: Likewise.
4427 * soft-fp/fixunstfdi.c: Likewise.
4428 * soft-fp/fixunstfsi.c: Likewise.
4429 * soft-fp/fixunstfti.c: Likewise.
4430 * soft-fp/floatdidf.c: Likewise.
4431 * soft-fp/floatdisf.c: Likewise.
4432 * soft-fp/floatditf.c: Likewise.
4433 * soft-fp/floatsidf.c: Likewise.
4434 * soft-fp/floatsisf.c: Likewise.
4435 * soft-fp/floatsitf.c: Likewise.
4436 * soft-fp/floattidf.c: Likewise.
4437 * soft-fp/floattisf.c: Likewise.
4438 * soft-fp/floattitf.c: Likewise.
4439 * soft-fp/floatundidf.c: Likewise.
4440 * soft-fp/floatundisf.c: Likewise.
4441 * soft-fp/floatunditf.c: Likewise.
4442 * soft-fp/floatunsidf.c: Likewise.
4443 * soft-fp/floatunsisf.c: Likewise.
4444 * soft-fp/floatunsitf.c: Likewise.
4445 * soft-fp/floatuntidf.c: Likewise.
4446 * soft-fp/floatuntisf.c: Likewise.
4447 * soft-fp/floatuntitf.c: Likewise.
4448 * soft-fp/fmadf4.c: Likewise.
4449 * soft-fp/fmasf4.c: Likewise.
4450 * soft-fp/fmatf4.c: Likewise.
4451 * soft-fp/gedf2.c: Likewise.
4452 * soft-fp/gesf2.c: Likewise.
4453 * soft-fp/getf2.c: Likewise.
4454 * soft-fp/ledf2.c: Likewise.
4455 * soft-fp/lesf2.c: Likewise.
4456 * soft-fp/letf2.c: Likewise.
4457 * soft-fp/muldf3.c: Likewise.
4458 * soft-fp/mulsf3.c: Likewise.
4459 * soft-fp/multf3.c: Likewise.
4460 * soft-fp/negdf2.c: Likewise.
4461 * soft-fp/negsf2.c: Likewise.
4462 * soft-fp/negtf2.c: Likewise.
4463 * soft-fp/op-1.h: Likewise.
4464 * soft-fp/op-2.h: Likewise.
4465 * soft-fp/op-4.h: Likewise.
4466 * soft-fp/op-8.h: Likewise.
4467 * soft-fp/op-common.h: Likewise.
4468 * soft-fp/quad.h: Likewise.
4469 * soft-fp/single.h: Likewise.
4470 * soft-fp/soft-fp.h: Likewise.
4471 * soft-fp/sqrtdf2.c: Likewise.
4472 * soft-fp/sqrtsf2.c: Likewise.
4473 * soft-fp/sqrttf2.c: Likewise.
4474 * soft-fp/subdf3.c: Likewise.
4475 * soft-fp/subsf3.c: Likewise.
4476 * soft-fp/subtf3.c: Likewise.
4477 * soft-fp/truncdfsf2.c: Likewise.
4478 * soft-fp/trunctfdf2.c: Likewise.
4479 * soft-fp/trunctfsf2.c: Likewise.
4480 * soft-fp/trunctfxf2.c: Likewise.
4481 * soft-fp/unorddf2.c: Likewise.
4482 * soft-fp/unordsf2.c: Likewise.
4483 * soft-fp/unordtf2.c: Likewise.
4485 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4487 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4488 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4490 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4492 * elf/dl-libc.c: Clear initfini list after freeing.
4494 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4496 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4497 * soft-fp/addsf3.c: Likewise.
4498 * soft-fp/addtf3.c: Likewise.
4499 * soft-fp/divdf3.c: Likewise.
4500 * soft-fp/divsf3.c: Likewise.
4501 * soft-fp/divtf3.c: Likewise.
4502 * soft-fp/double.h: Likewise.
4503 * soft-fp/eqdf2.c: Likewise.
4504 * soft-fp/eqsf2.c: Likewise.
4505 * soft-fp/eqtf2.c: Likewise.
4506 * soft-fp/extenddftf2.c: Likewise.
4507 * soft-fp/extended.h: Likewise.
4508 * soft-fp/extendsfdf2.c: Likewise.
4509 * soft-fp/extendsftf2.c: Likewise.
4510 * soft-fp/extendxftf2.c: Likewise.
4511 * soft-fp/fixdfdi.c: Likewise.
4512 * soft-fp/fixdfsi.c: Likewise.
4513 * soft-fp/fixdfti.c: Likewise.
4514 * soft-fp/fixsfdi.c: Likewise.
4515 * soft-fp/fixsfsi.c: Likewise.
4516 * soft-fp/fixsfti.c: Likewise.
4517 * soft-fp/fixtfdi.c: Likewise.
4518 * soft-fp/fixtfsi.c: Likewise.
4519 * soft-fp/fixtfti.c: Likewise.
4520 * soft-fp/fixunsdfdi.c: Likewise.
4521 * soft-fp/fixunsdfsi.c: Likewise.
4522 * soft-fp/fixunsdfti.c: Likewise.
4523 * soft-fp/fixunssfdi.c: Likewise.
4524 * soft-fp/fixunssfsi.c: Likewise.
4525 * soft-fp/fixunssfti.c: Likewise.
4526 * soft-fp/fixunstfdi.c: Likewise.
4527 * soft-fp/fixunstfsi.c: Likewise.
4528 * soft-fp/fixunstfti.c: Likewise.
4529 * soft-fp/floatdidf.c: Likewise.
4530 * soft-fp/floatdisf.c: Likewise.
4531 * soft-fp/floatditf.c: Likewise.
4532 * soft-fp/floatsidf.c: Likewise.
4533 * soft-fp/floatsisf.c: Likewise.
4534 * soft-fp/floatsitf.c: Likewise.
4535 * soft-fp/floattidf.c: Likewise.
4536 * soft-fp/floattisf.c: Likewise.
4537 * soft-fp/floattitf.c: Likewise.
4538 * soft-fp/floatundidf.c: Likewise.
4539 * soft-fp/floatundisf.c: Likewise.
4540 * soft-fp/floatunsidf.c: Likewise.
4541 * soft-fp/floatunsisf.c: Likewise.
4542 * soft-fp/floatuntidf.c: Likewise.
4543 * soft-fp/floatuntisf.c: Likewise.
4544 * soft-fp/floatuntitf.c: Likewise.
4545 * soft-fp/fmadf4.c: Likewise.
4546 * soft-fp/fmasf4.c: Likewise.
4547 * soft-fp/fmatf4.c: Likewise.
4548 * soft-fp/gedf2.c: Likewise.
4549 * soft-fp/gesf2.c: Likewise.
4550 * soft-fp/getf2.c: Likewise.
4551 * soft-fp/ledf2.c: Likewise.
4552 * soft-fp/lesf2.c: Likewise.
4553 * soft-fp/letf2.c: Likewise.
4554 * soft-fp/muldf3.c: Likewise.
4555 * soft-fp/mulsf3.c: Likewise.
4556 * soft-fp/multf3.c: Likewise.
4557 * soft-fp/negdf2.c: Likewise.
4558 * soft-fp/negsf2.c: Likewise.
4559 * soft-fp/negtf2.c: Likewise.
4560 * soft-fp/op-1.h: Likewise.
4561 * soft-fp/op-2.h: Likewise.
4562 * soft-fp/op-4.h: Likewise.
4563 * soft-fp/op-8.h: Likewise.
4564 * soft-fp/op-common.h: Likewise.
4565 * soft-fp/quad.h: Likewise.
4566 * soft-fp/single.h: Likewise.
4567 * soft-fp/soft-fp.h: Likewise.
4568 * soft-fp/sqrtdf2.c: Likewise.
4569 * soft-fp/sqrtsf2.c: Likewise.
4570 * soft-fp/sqrttf2.c: Likewise.
4571 * soft-fp/subdf3.c: Likewise.
4572 * soft-fp/subsf3.c: Likewise.
4573 * soft-fp/subtf3.c: Likewise.
4574 * soft-fp/truncdfsf2.c: Likewise.
4575 * soft-fp/trunctfdf2.c: Likewise.
4576 * soft-fp/trunctfsf2.c: Likewise.
4577 * soft-fp/trunctfxf2.c: Likewise.
4578 * soft-fp/unorddf2.c: Likewise.
4579 * soft-fp/unordsf2.c: Likewise.
4580 * soft-fp/unordtf2.c: Likewise.
4582 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4585 * misc/error.c (error_tail): Fix possible buffer overflow.
4587 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4590 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4593 2013-10-14 P. J. McDermott <pj@pehjota.net>
4596 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4597 testing pipefail option.
4599 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4601 * soft-fp/double.h: Indent preprocessor directives inside #if.
4602 * soft-fp/extended.h: Likewise.
4603 * soft-fp/op-2.h: Likewise.
4604 * soft-fp/op-4.h: Likewise.
4605 * soft-fp/op-common.h: Likewise.
4606 * soft-fp/quad.h: Likewise.
4607 * soft-fp/single.h: Likewise.
4608 * soft-fp/soft-fp.h: Likewise.
4610 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4612 * iconv/iconv_prog.c: Fix typos.
4613 * stdio-common/psiginfo-data.h: Likewise.
4615 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4618 * locale/setlocale.c: Fix typo.
4620 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4623 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4624 signaling NaN arguments.
4625 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4626 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4629 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
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/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4638 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4639 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4640 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4641 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4642 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4643 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4644 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4645 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4646 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4647 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4648 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4649 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4650 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4651 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4652 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4653 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4654 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4655 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4656 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4657 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4658 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4659 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4660 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4661 * soft-fp/floattidf.c (__floattidf): Likewise.
4662 * soft-fp/floattisf.c (__floattisf): Likewise.
4663 * soft-fp/floattitf.c (__floattitf): Likewise.
4664 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4665 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4666 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4667 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4668 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4669 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4670 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4671 * soft-fp/gesf2.c (__gesf2): Likewise.
4672 * soft-fp/getf2.c (__getf2): Likewise.
4673 * soft-fp/ledf2.c (__ledf2): Likewise.
4674 * soft-fp/lesf2.c (__lesf2): Likewise.
4675 * soft-fp/letf2.c (__letf2): Likewise.
4677 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4678 Undefine and redefine.
4679 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4680 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4681 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4682 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4683 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4684 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4685 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4686 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4687 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4688 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4689 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4690 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4691 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4692 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4693 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4696 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4697 without decrementing exponent if mantissa >= that for the
4699 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4700 denominator, not >. Decrement exponent in < case instead of
4701 incrementing in >= case.
4702 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4703 without decrementing exponent if mantissa >= that for the
4706 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4707 computing saturated result for unsigned overflow.
4709 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4710 Jeff Law <law@redhat.com>
4712 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4713 (atan2Mp): Add systemtap probe marker.
4714 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4715 (__ieee754_log): Add systemtap probe marker.
4716 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4717 (atanMp): Add systemtap probe marker.
4718 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4719 (tanMp): Add systemtap probe marker.
4720 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4721 (__slowexp): Add systemtap probe marker.
4722 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4723 (__slowpow): Add systemtap probe marker.
4724 * manual/probes.texi: Document probes.
4726 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4729 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4731 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4733 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4734 written to buffer but not flushed.
4735 * libio/iofwrite_u.c: Likewise.
4736 * libio/iopadn.c: Return bytes returned even if EOF was
4738 * libio/iowpadn.c: Likewise.
4739 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4740 if _IO_padn does not write the whole buffer.
4741 [!COMPILE_WPRINTF] (PAD): Likewise.
4743 2013-10-10 David S. Miller <davem@davemloft.net>
4745 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4748 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4750 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4751 instead of FSF address.
4752 * soft-fp/fixdfti.c: Likewise.
4753 * soft-fp/fixsfti.c: Likewise.
4754 * soft-fp/fixtfti.c: Likewise.
4755 * soft-fp/fixunsdfti.c: Likewise.
4756 * soft-fp/fixunssfti.c: Likewise.
4757 * soft-fp/fixunstfti.c: Likewise.
4758 * soft-fp/floattidf.c: Likewise.
4759 * soft-fp/floattisf.c: Likewise.
4760 * soft-fp/floattitf.c: Likewise.
4761 * soft-fp/floatuntidf.c: Likewise.
4762 * soft-fp/floatuntisf.c: Likewise.
4763 * soft-fp/floatuntitf.c: Likewise.
4764 * soft-fp/trunctfxf2.c: Likewise.
4766 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4767 * soft-fp/fixdfti.c: Likewise.
4768 * soft-fp/fixsfti.c: Likewise.
4769 * soft-fp/fixtfti.c: Likewise.
4770 * soft-fp/fixunsdfti.c: Likewise.
4771 * soft-fp/fixunssfti.c: Likewise.
4772 * soft-fp/fixunstfti.c: Likewise.
4773 * soft-fp/floattidf.c: Likewise.
4774 * soft-fp/floattisf.c: Likewise.
4775 * soft-fp/floattitf.c: Likewise.
4776 * soft-fp/floatuntidf.c: Likewise.
4777 * soft-fp/floatuntisf.c: Likewise.
4778 * soft-fp/floatuntitf.c: Likewise.
4779 * soft-fp/trunctfxf2.c: Likewise.
4781 2013-10-10 David S. Miller <davem@davemloft.net>
4783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4785 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4787 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4788 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4789 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4790 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4791 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4792 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4793 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4796 for NaNs before doing comparisons on argument.
4797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4800 2013-10-10 Will Newton <will.newton@linaro.org>
4802 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4803 passed to _int_memalign does not overflow.
4805 2013-10-10 Torvald Riegel <triegel@redhat.com>
4807 * scripts/bench.pl: Add include-sources directive.
4808 * benchtests/README: Update documentation.
4810 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4812 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4813 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4814 instead of FP_INIT_ROUNDMODE.
4815 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4816 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4819 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4820 copy class of input value.
4821 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4822 not handle exceptions.
4823 * soft-fp/negsf2.c (__negsf2): Likewise.
4824 * soft-fp/negtf2.c (__negtf2): Likewise.
4825 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4827 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4829 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4830 semicolon. From Linux kernel.
4832 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4834 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4836 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4839 * manual/socket.texi: Added statement about buffer
4840 for gethostbyname2_r.
4842 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4844 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4845 Use .p2align directive instead, throughout.
4846 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4847 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4848 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4850 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4851 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4852 * sysdeps/x86_64/strchr.S: Likewise.
4853 * sysdeps/x86_64/strrchr.S: Likewise.
4855 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4857 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4859 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4861 * sysdeps/generic/math_private.h (__mpsin1): Remove
4863 (__mpcos1): Likewise.
4864 (__mpsin): New argument __range_reduce.
4865 (__mpcos): Likewise.
4866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4867 (slow): Use __mpsin and __mpcos.
4874 (bsloww1): Likewise.
4875 (bsloww2): Likewise.
4878 (csloww1): Likewise.
4879 (csloww2): Likewise.
4880 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4881 range_reduce. Merge in __mpsin1.
4882 (__mpcos): Likewise.
4884 (__mpcos1): Likewise.
4886 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4888 * locale/loadlocale.c (_nl_intern_locale_data): Use
4890 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4891 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4892 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4893 obstack data is appropriately aligned.
4894 (obstack_int32_grow_fast): Likewise.
4895 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4896 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4897 (add_locale_uint32_array): Likewise.
4899 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4901 * benchtests/Makefile: Remove ARGLIST and RET variables.
4902 ($(objpfx)bench-%.c): Pass only function name to the script.
4903 * benchtests/README: Update documentation.
4904 * benchtests/acos-inputs: Add new directives.
4905 * benchtests/acosh-inputs: Likewise.
4906 * benchtests/asin-inputs: Likewise.
4907 * benchtests/asinh-inputs: Likewise.
4908 * benchtests/atan-inputs: Likewise.
4909 * benchtests/atanh-inputs: Likewise.
4910 * benchtests/cos-inputs: Likewise.
4911 * benchtests/cosh-inputs: Likewise.
4912 * benchtests/exp-inputs: Likewise.
4913 * benchtests/log-inputs: Likewise.
4914 * benchtests/pow-inputs: Likewise.
4915 * benchtests/rint-inputs: Likewise.
4916 * benchtests/sin-inputs: Likewise.
4917 * benchtests/sinh-inputs: Likewise.
4918 * benchtests/tan-inputs: Likewise.
4919 * benchtests/tanh-inputs: Likewise.
4920 * scripts/bench.pl: Add support for new directives.
4922 2013-10-07 Alan Modra <amodra@gmail.com>
4924 * README: Fix careless merge.
4926 2013-10-05 Alan Modra <amodra@gmail.com>
4928 * NEWS: Mention powerpc64le support and bugs fixed.
4929 * README: Both big-endian and little-endian powerpc64 supported.
4931 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4933 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4934 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4935 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4936 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4938 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4940 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4943 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4945 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4946 Move -mhard-float appending from
4947 ports/sysdeps/powerpc/powerpc32/Makefile.
4948 [$(with-fp) = yes] (ASFLAGS): Likewise.
4949 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4950 * sysdeps/powerpc/nofpu: Move directory from
4951 ports/sysdeps/powerpc/nofpu.
4952 * sysdeps/powerpc/soft-fp: Move directory from
4953 ports/sysdeps/powerpc/soft-fp.
4954 * sysdeps/powerpc/powerpc32/405: Move directory from
4955 ports/sysdeps/powerpc/powerpc32/405.
4956 * sysdeps/powerpc/powerpc32/440: Move directory from
4957 ports/sysdeps/powerpc/powerpc32/440.
4958 * sysdeps/powerpc/powerpc32/464: Move directory from
4959 ports/sysdeps/powerpc/powerpc32/464.
4960 * sysdeps/powerpc/powerpc32/476: Move directory from
4961 ports/sysdeps/powerpc/powerpc32/476.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4963 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4965 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4967 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4969 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4971 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4972 * README: Update for powerpc-*-linux-gnu software floating point
4975 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4976 case to powerpc/powerpc32*.
4977 * sysdeps/unix/sysv/linux/configure: Regenerated.
4979 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4980 (_FPU_MASK_OM): Define as 0x04.
4981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4989 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4992 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4995 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4996 and setcontext_e500.
4998 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5000 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5002 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5004 * manual/threads.texi (Default Thread Attributes): Fix typo.
5006 2013-10-04 Will Newton <will.newton@linaro.org>
5008 * malloc/Makefile: Add tst-memalign.
5009 * malloc/tst-memalign.c: New file.
5011 * malloc/tst-posix_memalign.c: Add comments.
5012 (do_test): Add comments and call free on all potentially
5013 allocated pointers. Add space after cast.
5015 * malloc/tst-pvalloc.c: Add comments.
5016 (do_test): Add comments and call free on all potentially
5017 allocated pointers. Remove duplicate check for NULL pointer.
5018 Add space after cast.
5020 * malloc/tst-valloc.c: Add comments.
5021 (do_test): Add comments and call free on all potentially
5022 allocated pointers. Remove duplicate check for NULL pointer.
5023 Add space after cast.
5025 2013-10-04 Alan Modra <amodra@gmail.com>
5027 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5028 Use stdint types in rather than __attribute__((mode())).
5029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5031 2013-10-04 Alan Modra <amodra@gmail.com>
5033 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5034 Correct handling of unaligned relocs for little-endian.
5035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5037 2013-10-04 Alan Modra <amodra@gmail.com>
5039 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5040 * configure: Regenerate.
5041 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5042 * shlib-versions: Likewise.
5044 2013-10-04 Alan Modra <amodra@gmail.com>
5046 * string/tester.c (test_memrchr): Increment reported test cycle.
5048 2013-10-04 Alan Modra <amodra@gmail.com>
5050 * string/test-memcpy.c (do_one_test): When reporting errors, print
5051 string address and don't overrun end of string.
5053 2013-10-04 Alan Modra <amodra@gmail.com>
5055 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5056 insrdi. Make better use of reg selection to speed exit slightly.
5057 Schedule entry path a little better. Remove useless "are we done"
5058 checks on entry to main loop. Handle wrapping around zero address.
5059 Correct main loop count. Handle single left-over word from main
5060 loop inline rather than by using loop_small. Remove extra word
5061 case in loop_small caused by wrong loop count. Add little-endian
5063 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5064 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5067 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5068 support. Avoid rlwimi.
5069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5071 2013-10-04 Alan Modra <amodra@gmail.com>
5073 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5075 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5076 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5077 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5078 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5079 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5080 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5082 2013-10-04 Alan Modra <amodra@gmail.com>
5084 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5085 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5086 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5087 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5088 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5089 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5090 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5092 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5093 use of regs. Use power7 mtocrf. Tidy function tails.
5095 2013-10-04 Alan Modra <amodra@gmail.com>
5097 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5098 Formatting. Consistently use rXXX register defines or rN defines.
5099 Use early exit labels that avoid restoring unused non-volatile regs.
5100 Make cr field use more consistent with rWORDn compares. Rename
5101 regs used as shift registers for unaligned loop, using rN defines
5102 for short lifetime/multiple use regs.
5103 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5104 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5105 addi 1,1,64 to pop stack frame. Simplify return value code.
5106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5108 2013-10-04 Alan Modra <amodra@gmail.com>
5110 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5111 support. Correct typos, formatting. Optimize tail. Use insrdi
5113 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5114 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5115 little-endian support. Correct typos.
5116 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5118 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5119 in loop and entry code to keep "and." results.
5120 (strchr): Add little-endian support. Comment. Move cntlzd
5122 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5124 2013-10-04 Alan Modra <amodra@gmail.com>
5126 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5127 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5128 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5129 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5131 2013-10-04 Alan Modra <amodra@gmail.com>
5133 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5134 (rTMP): Define as r11.
5135 (strcmp): Add little-endian support. Optimise tail.
5136 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5137 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5138 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5140 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5142 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5144 2013-10-04 Alan Modra <amodra@gmail.com>
5146 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5147 little-endian support. Remove unnecessary "are we done" tests.
5148 Handle "s" wrapping around zero and extremely large "size".
5149 Correct main loop count. Handle single left-over word from main
5150 loop inline rather than by using small_loop. Correct comments.
5151 Delete "zero" tail, use "end_max" instead.
5152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5154 2013-10-04 Alan Modra <amodra@gmail.com>
5156 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5157 support. Don't branch over align.
5158 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5159 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5160 support. Rearrange tmp reg use to suit. Comment.
5161 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5163 2013-10-04 Alan Modra <amodra@gmail.com>
5165 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5167 2013-10-04 Alan Modra <amodra@gmail.com>
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5170 conditional form of branch and link when obtaining pc.
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5173 2013-10-04 Alan Modra <amodra@gmail.com>
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5180 2013-10-04 Alan Modra <amodra@gmail.com>
5182 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5183 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5184 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5185 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5186 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5188 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5189 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5190 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5191 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5193 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5194 Alistair Popple <alistair@ozlabs.au.ibm.com>
5195 Alan Modra <amodra@gmail.com>
5198 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5199 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5200 _dl_hwcap access for little-endian.
5201 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5202 destroy vmx regs when saving unaligned.
5203 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5204 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5205 destroy vmx regs when saving unaligned.
5207 2013-10-04 Alan Modra <amodra@gmail.com>
5209 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5210 Don't use a union to pack hi/low value.
5212 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5214 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5216 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5217 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5218 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5219 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5220 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5222 2013-10-04 Alan Modra <amodra@gmail.com>
5224 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5225 constants to usual value for .cst8 section, and remove redundant
5227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5228 constant for 0x1p52. Load little-endian words of double from
5229 correct stack offsets.
5231 2013-10-04 Alan Modra <amodra@gmail.com>
5233 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5234 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5235 words of double from correct stack offsets.
5236 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5237 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5238 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5239 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5240 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5241 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5242 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5243 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5244 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5245 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5246 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5247 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5248 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5249 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5250 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5251 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5252 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5254 2013-10-04 Alan Modra <amodra@gmail.com>
5256 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5257 64-bit int/double union.
5258 (_FPU_SETCW): Likewise.
5259 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5260 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5262 2013-10-04 Alan Modra <amodra@gmail.com>
5264 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5265 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5267 2013-10-04 Alan Modra <amodra@gmail.com>
5269 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5270 use vector int constants.
5271 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5273 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5275 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5276 array with long long.
5277 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5278 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5279 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5280 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5281 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5282 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5283 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5284 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5285 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5286 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5287 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5288 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5289 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5291 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5293 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5294 (__signbit): Likewise. Correct for little-endian.
5295 (__signbitl): Call __signbit.
5296 (lrint): Correct for little-endian.
5297 (lrintf): Call lrint.
5299 2013-10-04 Alan Modra <amodra@gmail.com>
5301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5302 union 32-bit int array member with 64-bit int array.
5303 (t515, tm256): Double rather than long double.
5304 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5306 2013-10-04 Alan Modra <amodra@gmail.com>
5308 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5310 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5311 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5312 version of math_ldbl.h.
5314 2013-10-04 Alan Modra <amodra@gmail.com>
5316 [BZ #15734], [BZ #15735]
5317 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5318 all uses of ieee875 long double macros and unions. Simplify test
5319 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5320 ldbl_extract_mantissa value for ix,iy exponents. Properly
5321 normalize after ldbl_extract_mantissa, and don't add hidden bit
5322 already handled. Don't treat low word of ieee854 mantissa like
5323 low word of IBM long double and mask off bit when testing for
5325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5326 all uses of ieee875 long double macros and unions. Simplify tests
5327 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5328 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5329 two1022, instead use their values. Recognise that tests for large
5330 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5332 Rewrite all uses of ieee875 long double macros and unions. Simplify
5333 test for 0.0L and nan. Correct negation.
5334 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5335 ieee875 long double macros and unions. Correct output for large
5336 magnitude x. Correct absolute value calculation.
5337 (__erfcl): Likewise.
5338 * math/libm-test.inc: Add tests for errors discovered in IBM long
5339 double versions of fmodl, remainderl, erfl and erfcl.
5341 2013-10-04 Alan Modra <amodra@gmail.com>
5343 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5344 all uses of ieee854 long double macros and unions. Simplify tests
5345 for long doubles that are fully specified by the high double.
5346 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5348 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5349 Remove dead code too.
5350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5351 (__ieee754_ynl): Likewise.
5352 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5353 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5354 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5355 Remove dead code too.
5356 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5357 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5361 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5363 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5366 Comment on variable precision.
5367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5370 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5374 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5376 2013-10-04 Alan Modra <amodra@gmail.com>
5378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5379 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5380 all uses of ieee854 long double macros and unions.
5381 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5384 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5385 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5391 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5394 Simplify sign and nan test too.
5395 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5403 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5410 2013-10-04 Alan Modra <amodra@gmail.com>
5412 * stdio-common/printf_size.c (__printf_size): Don't use
5413 union ieee854_long_double in fpnum union.
5414 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5415 signbit macro to retrieve sign from long double.
5416 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5417 retrieve sign from long double.
5418 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5419 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5420 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5421 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5422 * math/test-misc.c (main): Don't use union ieee854_long_double.
5424 2013-10-04 Alan Modra <amodra@gmail.com>
5427 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5428 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5429 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5430 calculation. Remove unnecessary test for denormal exponent.
5431 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5432 Correct handling of denormals. Avoid undefined shift behaviour.
5433 Correct normalisation of low mantissa when low double is denormal.
5434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5435 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5436 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5437 Correct normalisation of low mantissa. Test for overflow of high
5438 mantissa and normalise.
5439 (ldbl_nearbyint): Use more readable constant for two52.
5440 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5441 (__mpn_construct_long_double): Fix test for overflow of high
5442 mantissa and correct normalisation. Avoid undefined shift.
5444 2013-10-04 Alan Modra <amodra@gmail.com>
5446 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5447 (union ibm_extended_long_double): Define as an array of ieee754_double.
5448 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5449 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5450 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5460 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5462 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5463 page size instead of calling getpagesize.
5465 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5466 (LOCFILE_ALIGN_MASK): Likewise.
5467 (LOCFILE_ALIGN_UP): Likewise.
5468 (LOCFILE_ALIGNED_P): Likewise.
5469 * locale/programs/ld-collate.c (collate_output): Use the new
5470 macros instead of __alignof__ (int32_t).
5471 * locale/weight.h (findidx): Likewise.
5473 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5476 * manual/string.texi: Fix strncat and wcsncat.
5478 2013-10-03 Brooks Moses <bmoses@google.com>
5481 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5482 * Makerules: ...here, and adjust associated comments.
5484 2013-10-02 Will Newton <will.newton@linaro.org>
5486 * malloc/Makefile: Add tst-pvalloc.
5487 * malloc/tst-pvalloc.c: New file.
5489 2013-10-02 Will Newton <will.newton@linaro.org>
5491 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5492 improve test coverage.
5494 2013-10-02 Will Newton <will.newton@linaro.org>
5496 * malloc/Makefile: Add tst-posix_memalign.
5497 * malloc/tst-posix_memalign.c: New file.
5499 2013-10-01 Eric Blake <eblake@redhat.com>
5501 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5502 Use __THROWNL rather than __THROW on static functions.
5504 2013-09-30 Petr Machata <pmachata@redhat.com>
5506 * elf/elf.h (R_AARCH64_ABS16): New macro.
5507 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5508 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5509 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5510 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5511 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5512 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5513 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5514 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5515 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5516 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5517 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5518 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5519 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5520 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5521 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5522 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5523 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5524 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5525 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5526 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5527 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5528 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5529 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5530 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5531 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5532 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5533 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5534 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5535 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5536 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5537 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5538 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5539 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5540 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5541 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5542 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5543 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5544 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5545 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5546 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5547 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5548 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5549 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5550 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5551 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5552 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5553 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5554 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5555 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5556 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5557 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5558 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5559 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5560 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5561 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5562 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5563 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5564 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5565 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5566 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5567 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5568 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5569 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5570 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5571 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5572 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5573 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5574 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5575 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5576 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5577 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5578 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5579 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5580 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5581 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5582 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5583 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5584 (R_AARCH64_TLSDESC_LDR): Likewise.
5585 (R_AARCH64_TLSDESC_ADD): Likewise.
5586 (R_AARCH64_TLSDESC_CALL): Likewise.
5588 2013-09-30 Andreas Schwab <schwab@suse.de>
5591 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5592 the nss database lookup.
5593 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5596 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5598 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5600 2013-09-28 P. J. McDermott <pj@pehjota.net>
5602 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5603 ${Bash-specific parameter/pattern/string} parameter expansion.
5604 * sysdeps/unix/make-syscalls.sh: Likewise.
5606 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5608 * sysdeps/sh/stackguard-macros.h: New file.
5610 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5614 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5615 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5616 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5617 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5619 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5621 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5622 Fix thread ID register.
5624 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5626 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5627 [POSIX || UNIX98]: Require rather than permitting all symbols from
5629 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5630 element of struct sched_param.
5631 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5632 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5633 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5634 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5637 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5639 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5640 argument calculation.
5642 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5644 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5646 [POSIX] (pthread_attr_t): Do not require type.
5647 [POSIX] (pthread_cond_t): Likewise.
5648 [POSIX] (pthread_condattr_t): Likewise.
5649 [POSIX] (pthread_key_t): Likewise.
5650 [POSIX] (pthread_mutex_t): Likewise.
5651 [POSIX] (pthread_mutexattr_t): Likewise.
5652 [POSIX] (pthread_once_t): Likewise.
5653 [POSIX] (pthread_t): Likewise.
5654 [POSIX-based standards] (pthread_atfork): Expect function.
5656 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5657 Richard Sandiford <richard@codesourcery.com>
5659 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5660 (swap_endianness_p): New extern variable.
5661 (set_big_endian): New inline function.
5662 (maybe_swap_uint32): Likewise.
5663 (maybe_swap_uint32_array): Likewise.
5664 (maybe_swap_uint32_obstack): Likewise.
5665 * locale/programs/locfile.c: Include <stdbool.h>.
5666 (swap_endianness_p): New variable.
5667 (add_locale_uint32): Call maybe_swap_uint32.
5668 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5669 (write_locale_data): Call maybe_swap_uint32_array.
5670 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5672 (obstack_int32_grow_fast): Likewise.
5673 (output_weightwc): Call maybe_swap_uint32_obstack.
5674 (collate_output): Likewise.
5675 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5676 (OPT_LITTLE_ENDIAN): Likewise.
5677 (options): Add --little-endian and --big-endian options.
5678 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5679 * locale/programs/locarchive.c: Include "locfile.h".
5683 (create_archive): Use the new macros to access fields of
5684 structures directly mapped from or written to locale archives.
5685 (oldlocrecentcmp): Likewise.
5686 (enlarge_archive): Likewise.
5687 (insert_name): Likewise.
5688 (add_alias): Likewise.
5689 (add_locale): Likewise.
5690 (delete_locales_from_archive): Likewise.
5691 (show_archive_content): Likewise.
5692 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5695 2013-09-24 Roland McGrath <roland@hack.frob.com>
5697 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5698 http://www.gnu.org/doc/freemanuals.texi.
5699 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5701 2013-09-24 Will Newton <will.newton@linaro.org>
5703 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5706 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5708 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5711 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5713 * manual/threads.texi (POSIX Threads): Fix a typo.
5715 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5718 * string/tst-strcoll-overflow.c: New test case.
5719 * string/Makefile (xtests): Add tst-strcoll-overflow.
5720 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5721 cache if string sizes may cause integer overflow.
5724 * string/strcoll_l.c (coll_seq): New members rule, idx,
5725 save_idx and back_us.
5726 (get_next_seq_nocache): New function.
5727 (do_compare_nocache): New function.
5728 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5731 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5734 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5735 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5736 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5739 * elf/Makefile (tests): Add tst-ptrguard1.
5740 (tests-static): Add tst-ptrguard1-static.
5741 (tst-ptrguard1-ARGS): Define.
5742 (tst-ptrguard1-static-ARGS): Define.
5743 * elf/tst-ptrguard1.c: New file.
5744 * elf/tst-ptrguard1-static.c: New file.
5745 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5746 * sysdeps/i386/stackguard-macros.h: Likewise.
5747 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5748 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5749 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5750 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5751 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5752 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5754 2013-09-23 Hector Marco <hecmargi@upv.es>
5755 Ismael Ripoll <iripoll@disca.upv.es>
5756 Carlos O'Donell <carlos@redhat.com>
5759 * sysdeps/generic/stackguard-macros.h: Define
5760 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5761 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5762 Define __pointer_chk_guard_local.
5763 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5764 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5766 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5769 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5771 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5773 * include/string.h (__ffs): Declare as hidden.
5774 * string/ffs.c (__ffs): Define as hidden.
5775 * sysdeps/i386/ffs.c (__ffs): Likewise.
5776 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5777 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5778 * sysdeps/s390/ffs.c (__ffs): Likewise.
5779 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5781 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5783 * NEWS: Mention malloc probes.
5785 * malloc/arena.c (new_heap): New memory_heap_new probe.
5786 (grow_heap): New memory_heap_more probe.
5787 (shrink_heap): New memory_heap_less probe.
5788 (heap_trim): New memory_heap_free probe.
5789 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5790 (systrim): New memory_sbrk_less probe.
5791 * manual/probes.texi: Document them.
5793 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5794 * manual/probes.texi: Document it.
5796 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5797 (__libc_realloc): Add memory_realloc_retry probe.
5798 (__libc_memalign): Add memory_memalign_retry probe.
5799 (__libc_valloc): Add memory_valloc_retry probe.
5800 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5801 (__libc_calloc): Add memory_calloc_retry probe.
5802 * manual/probes.texi: Document them.
5804 * malloc/arena.c (get_free_list): Add probe
5805 memory_arena_reuse_free_list.
5806 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5807 and memory_arena_reuse.
5808 (arena_get2) [!PER_THREAD]: Likewise.
5809 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5810 memory_arena_reuse_realloc.
5811 * manual/probes.texi: Document them.
5813 * malloc/malloc.c (__libc_free): Add
5814 memory_mallopt_free_dyn_thresholds probe.
5815 (__libc_mallopt): Add multiple memory_mallopt probes.
5816 * manual/probes.texi: Document them.
5818 * malloc/malloc.c: Include stap-probe.h.
5819 (__libc_mallopt): Add memory_mallopt probe.
5820 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5821 * manual/probes.texi: New.
5822 * manual/Makefile (chapters): Add probes.
5823 * manual/threads.texi: Set next node.
5825 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5828 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5829 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5830 Add `Chinese' to `nan' entry name.
5832 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5834 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5835 (POLYNOMIAL): Likewise.
5836 (TAYLOR_SINCOS): Likewise.
5837 (TAYLOR_SLOW): Likewise.
5838 (__sin): Use TAYLOR_SINCOS.
5840 (slow): Use TAYLOR_SLOW.
5845 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5847 * stdlib/strtod_l.c: Fix buffer overrun.
5849 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5851 * benchtests/Makefile (bench): Add sincos.
5852 * benchtests/bench-sincos.c: New file.
5854 * math/libm-test.inc (cos_test_data): New test inputs.
5855 (sin_test_data): Likewise.
5857 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5865 (bsloww1): Likewise.
5866 (bsloww2): Likewise.
5868 (csloww1): Likewise.
5869 (csloww2): Likewise.
5871 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5876 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5880 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5882 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5883 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5884 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5885 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5886 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5887 * elf/cache.c (print_entry): Handle the new cache flags.
5889 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5890 Aldy Hernandez <aldyh@redhat.com>
5892 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5893 Change condition to [_SOFT_FLOAT].
5894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5898 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5900 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5906 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5909 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5912 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5914 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5915 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5916 (__longjmp): Use LOAD_GP to load saved GPRs.
5917 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5918 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5919 (__sigsetjmp): Use SAVE_GP to save GPRs.
5921 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5922 Do not append -msoft-float.
5923 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5925 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5927 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5929 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5932 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5933 (_FPU_GETCW): Use initial "__" on variable and field names but not
5934 on macro parameter name.
5935 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5936 parentheses around reference to macro parameter.
5938 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5940 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5942 (ctype_startup): Use uint32_t in cast and sizeof for
5945 2013-09-11 Jia Liu <proljc@gmail.com>
5947 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5949 [__FreeBSD__]: Likewise.
5951 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5954 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5955 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5956 (strchr): Remove __strchr_sse42 ifunc selection.
5957 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5958 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5960 2013-09-11 Will Newton <will.newton@linaro.org>
5962 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5963 parameter to RES. Remove hardcoded 1000 value.
5964 * benchtests/bench-skeleton.c (main): Pass RES parameter
5965 to TIMING_INIT and multiply result by 1000.
5967 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5971 2013-09-11 Andreas Schwab <schwab@suse.de>
5973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5975 (O_TMPFILE) [__USE_GNU]: Define.
5976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5979 2013-09-11 Will Newton <will.newton@linaro.org>
5982 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5985 2013-09-11 Will Newton <will.newton@linaro.org>
5988 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5991 2013-09-11 Will Newton <will.newton@linaro.org>
5994 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5997 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5999 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6000 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6005 2013-09-10 Allan McRae <allan@archlinux.org>
6008 * manual/arith.texi (Parsing of Floats): Clarify
6012 * manual/install.texi (Running make install): Mention
6014 * INSTALL: Regenerated.
6016 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6018 * csu/init-first.c (_init): Remove the !SHARED condition around
6019 FPU control word initialization.
6020 * elf/dl-support.c (_dl_fpu_control): New variable.
6021 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6022 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6023 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6024 * math/test-fpucw-static.c: New file.
6025 * math/test-fpucw-ieee.c: New file.
6026 * math/test-fpucw-ieee-static.c: New file.
6027 * math/Makefile (tests): Add `test-fpucw-ieee' and
6029 (tests-static): New variable.
6030 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6032 [($(build-shared),yes)]
6033 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6035 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6038 2013-09-09 Allan McRae <allan@archlinux.org>
6041 * manual/string.texi (Collation Functions): Fix typo in
6043 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6046 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6049 * libio/memstream.c (open_memstream): Fix memory leak.
6050 * libio/wmemstream.c (open_wmemstream): Likewise.
6053 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6055 2013-09-09 Will Newton <will.newton@linaro.org>
6057 * malloc/Makefile: Add tst-realloc to tests.
6058 * malloc/tst-realloc.c: New file.
6060 2013-09-09 Allan McRae <allan@archlinux.org>
6063 * COPYING: Update from GNU website to fix FSF address.
6064 * COPYING.LIB: Likewise.
6066 2013-09-06 David S. Miller <davem@davemloft.net>
6068 * po/zh_TW.po: Update Chinese (traditional) translation from
6069 translation project.
6071 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6072 Joseph Myers <joseph@codesourcery.com>
6074 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6076 (obstack_chunk_alloc): New macro.
6077 (obstack_chunk_free): Likewise.
6078 (record_offset): New function.
6079 (init_locale_data): Likewise.
6080 (align_locale_data): Likewise.
6081 (add_locale_empty): Likewise.
6082 (add_locale_raw_data): Likewise.
6083 (add_locale_raw_obstack): Likewise.
6084 (add_locale_string): Likewise.
6085 (add_locale_wstring): Likewise.
6086 (add_locale_uint32): Likewise.
6087 (add_locale_uint32_array): Likewise.
6088 (add_locale_char): Likewise.
6089 (start_locale_structure): Likewise.
6090 (end_locale_structure): Likewise.
6091 (start_locale_prelude): Likewise.
6092 (end_locale_prelude): Likewise.
6093 (write_locale_data): Take locale_file structure rather than an
6095 * locale/programs/locfile.h: Include "obstack.h".
6096 (struct locale_file): Change to store locale file contents instead
6098 (init_locale_data): New prototype.
6099 (align_locale_data): Likewise.
6100 (add_locale_empty): Likewise.
6101 (add_locale_raw_data): Likewise.
6102 (add_locale_raw_obstack): Likewise.
6103 (add_locale_string): Likewise.
6104 (add_locale_wstring): Likewise.
6105 (add_locale_uint32): Likewise.
6106 (add_locale_uint32_array): Likewise.
6107 (add_locale_char): Likewise.
6108 (start_locale_structure): Likewise.
6109 (end_locale_structure): Likewise.
6110 (start_locale_prelude): Likewise.
6111 (end_locale_prelude): Likewise.
6112 (write_locale_data): Update prototype.
6113 * locale/programs/3level.h (struct TABLE): Remove result field.
6114 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6115 Use new locale_file interface.
6116 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6117 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6118 * locale/programs/ld-address.c (address_output): Use new
6119 locale_file interface.
6120 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6122 (collate_finish): Don't call collseq_table_finalize.
6123 (collate_output): Use new locale_file interface.
6124 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6126 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6127 (TABLE): Move defines earlier in file.
6128 (ELEMENT): Likewise.
6129 (DEFAULT): Likewise.
6130 (wctrans_table_add): Move macro and inline function earlier in
6132 (struct wctype_table): Move type earlier in file.
6133 (add_locale_wctype_table): New static prototype.
6134 (struct locale_ctype_t): Use logical types instead of struct iovec
6135 pointers for members.
6136 (ctype_output): Use new locale_file interface.
6137 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6138 new locale_file interface.
6139 (allocate_arrays): Update for use of new locale_file interface.
6140 * locale/programs/ld-identification.c (identification_output): Use
6141 new locale_file interface.
6142 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6143 * locale/programs/ld-messages.c (messages_output): Likewise.
6144 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6145 * locale/programs/ld-name.c (name_output): Likewise.
6146 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6147 * locale/programs/ld-paper.c (paper_output): Likewise.
6148 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6149 * locale/programs/ld-time.c (time_output): Likewise.
6151 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153 * benchtests/Makefile: Add memrchr benchmark.
6154 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6155 benchmark as memrchr.
6156 * benchtests/bench-memrchr-ifunc.c: New file.
6157 * benchtests/bench-memrchr.c: New file.
6159 2013-09-06 Will Newton <will.newton@linaro.org>
6161 * benchtests/Makefile (string-bench): Add memcpy.
6163 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6164 Cong Wang <amwang@redhat.com>
6167 * sysdeps/unix/sysv/linux/bits/in.h
6168 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6169 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6170 before __USE_KERNEL_IPV6_DEFS uses.
6171 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6173 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6174 sockaddr_in6, or ipv6_mreq.
6176 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6179 memory access for final bytes in some large inputs.
6180 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6182 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184 * string/test-memrchr.c: New file.
6185 * string/test-memrchr-ifunc.c: New file.
6186 * string/Makefile: Add new memrchr testcase.
6188 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6190 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6191 fanotify_init returns EPERM.
6193 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6195 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6197 (top level): Treat second token from macro or constant entries for
6198 allowed headers as allowed.
6199 * include/complex.h: Condition internal declarations on
6201 * include/fenv.h: Condition include of <stdbool.h> and internal
6202 declarations on [!_ISOMAC].
6204 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6207 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6209 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6211 * configure.in (--enable-versioning): Remove configure option.
6212 (libc_cv_asm_symver_directive): Remove configure test.
6213 (libc_cv_ld_version_script_option): Likewise.
6214 (VERSIONING): Remove variable and AC_SUBST.
6215 (DO_VERSIONING): Remove AC_DEFINE.
6216 * configure: Regenerated.
6217 * config.h.in (DO_VERSIONING): Remove macro.
6218 * Makerules [$(versioning) = yes]: Change conditionals to
6219 [$(build-shared) = yes].
6220 * config.make.in (versioning): Remove variable.
6221 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6222 [$(build-shared) = yes].
6223 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6224 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6225 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6226 [$(build-shared) = yes].
6227 * extra-lib.mk [$(versioning) = yes]: Likewise.
6228 * hurd/Makefile [$(versioning) = yes]: Likewise.
6229 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6231 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6233 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6234 [SHARED && !NO_HIDDEN].
6235 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6237 [SHARED && DO_VERSIONING]: Likewise..
6238 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6239 [$(build-shared) = yes].
6240 * manual/install.texi (--disable-versioning): Remove
6242 * INSTALL: Regenerated.
6243 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6245 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6246 [$(build-shared) = yes].
6247 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6248 * sysdeps/i386/i686/multiarch/strstr-c.c
6249 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6250 [SHARED && !NO_HIDDEN].
6251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6252 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6253 * sysdeps/powerpc/powerpc32/dl-machine.c
6254 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6255 * sysdeps/powerpc/powerpc32/sysdep.h
6256 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6257 to [SHARED && PIC && !NO_HIDDEN].
6258 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6259 conditional to [SHARED].
6261 2013-09-04 Will Newton <will.newton@linaro.org>
6263 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6264 * benchtests/bench-string.h: Include bench-timing.h instead
6265 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6266 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6267 call to HP_TIMING_DIFF_INIT.
6268 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6269 instead of hp-timing.h macros.
6270 * benchtests/bench-memchr.c: Likewise.
6271 * benchtests/bench-memcmp.c: Likewise.
6272 * benchtests/bench-memcpy.c: Likewise.
6273 * benchtests/bench-memmem.c: Likewise.
6274 * benchtests/bench-memmove.c: Likewise.
6275 * benchtests/bench-memset.c: Likewise.
6276 * benchtests/bench-rawmemchr.c: Likewise.
6277 * benchtests/bench-strcasecmp.c: Likewise.
6278 * benchtests/bench-strcasestr.c: Likewise.
6279 * benchtests/bench-strcat.c: Likewise.
6280 * benchtests/bench-strchr.c: Likewise.
6281 * benchtests/bench-strcmp.c: Likewise.
6282 * benchtests/bench-strcpy.c: Likewise.
6283 * benchtests/bench-strcpy_chk.c: Likewise.
6284 * benchtests/bench-strlen.c: Likewise.
6285 * benchtests/bench-strncasecmp.c: Likewise.
6286 * benchtests/bench-strncat.c: Likewise.
6287 * benchtests/bench-strncmp.c: Likewise.
6288 * benchtests/bench-strncpy.c: Likewise.
6289 * benchtests/bench-strnlen.c: Likewise.
6290 * benchtests/bench-strpbrk.c: Likewise.
6291 * benchtests/bench-strrchr.c: Likewise.
6292 * benchtests/bench-strspn.c: Likewise.
6293 * benchtests/bench-strstr.c: Likewise.
6295 2013-09-04 Will Newton <will.newton@linaro.org>
6297 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6299 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6303 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6304 * math/libm-test.inc (lgamma_test_data): Add more tests.
6305 * sysdeps/i386/fpu/libm-test-ulps: Update.
6306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6308 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6310 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6314 Add strcmp-sse2-unaligned
6315 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6317 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6319 * Versions.def (libc): Add GLIBC_2.19.
6321 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6323 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6324 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6326 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6329 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6330 intermediate calculations in recurrence.
6331 (__ieee754_ynf): Likewise.
6332 * math/libm-test.inc (jn_test_data): Do not allow spurious
6333 underflow exception. Add more tests.
6334 (yn_test_data): Add more tests.
6335 * sysdeps/i386/fpu/libm-test-ulps: Update.
6336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6338 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6340 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6342 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6344 * csu/init-first.c: Fix then/than typos.
6345 * locale/programs/ld-collate.c: Likewise.
6346 * locale/programs/linereader.h: Likewise.
6347 * manual/charset.texi: Likewise.
6348 * manual/filesys.texi: Likewise.
6349 * manual/stdio.texi: Likewise.
6350 * manual/string.texi: Likewise.
6351 * stdlib/fmtmsg.c: Likewise.
6352 * sysdeps/i386/stpncpy.S: Likewise.
6353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6354 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6355 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6356 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6358 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6360 * elf/dl-open.c: Fix typos.
6361 * iconvdata/gbbig5.c: Likewise.
6362 * iconvdata/iso-2022-jp.c: Likewise.
6363 * iconv/gconv_int.h: Likewise.
6364 * iconv/loop.c: Likewise.
6365 * nis/rpcsvc/nis.h: Likewise.
6366 * resolv/ns_name.c: Likewise.
6367 * stdio-common/vfscanf.c: Likewise.
6368 * streams/stropts.h: Likewise.
6369 * sunrpc/rpc_thread.c: Likewise.
6370 * sysdeps/i386/strpbrk.S: Likewise.
6371 * sysdeps/ieee754/k_standard.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6374 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6375 * sysdeps/mach/hurd/profil.c: Likewise.
6376 * sysdeps/s390/dl-procinfo.h: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6378 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6379 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6380 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6383 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6385 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6388 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6390 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6392 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6393 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6394 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6395 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6396 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6401 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6402 Roland McGrath <roland@hack.frob.com>
6404 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6405 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6407 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6409 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6410 __executable_start symbol instead of _start.
6412 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6414 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6415 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6417 * sysdeps/gnu/ldsodefs.h: ... this new file.
6419 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6420 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6421 instead of ELFOSABI_LINUX.
6423 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6424 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6425 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6426 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6428 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6429 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6432 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6433 (ibm_extended_long_double): Add ieee_nan member.
6434 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6435 (do_test): New function.
6437 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6439 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6440 functions, renamed from truncdfsf_test, trunctfsf_test,
6442 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6444 (do_test): Run all these.
6446 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6448 * argp/argp-help.c: Fix typos.
6449 * argp/argp-parse.c: Likewise.
6450 * debug/backtracesyms.c: Likewise.
6451 * elf/elf.h: Likewise.
6452 * malloc/malloc.c: Likewise.
6453 * nis/nis_print.c: Likewise.
6454 * resolv/res_comp.c: Likewise.
6455 * stdlib/stdlib.h: Likewise.
6456 * sunrpc/clnt_tcp.c: Likewise.
6457 * sunrpc/clnt_udp.c: Likewise.
6458 * sunrpc/clnt_unix.c: Likewise.
6459 * sysdeps/unix/bsd/ptsname.c: Likewise.
6460 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6461 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6468 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6470 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6472 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6475 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6478 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6479 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6480 ($(objpfx)bug-dl-leaf): New rule.
6481 ($(objpfx)bug-dl-leaf.so): Likewise.
6482 ($(objpfx)bug-dl-leaf.out): Likewise.
6483 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6484 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6485 * dlfcn/bug-dl-leaf.c: New test.
6486 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6487 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6488 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6489 (dlclose): Likewise.
6490 (dlmopen): Likewise.
6492 2013-08-27 Roland McGrath <roland@hack.frob.com>
6494 * include/netdb.h [!_ISOMAC]:
6495 Don't include <tls.h>.
6496 (h_errno, __libc_h_errno): Move declaration and macros out of
6499 * include/resolv.h [_RESOLV_H_]:
6500 Don't include <tls.h>.
6501 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6502 * resolv/res_libc.c: Don't include <tls.h>.
6503 (_res): Use __attribute__ ((nocommon)) in place of
6504 __attribute__ ((section (".bss"))).
6506 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6507 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6509 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6511 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6512 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6514 * resolv/res_mkquery.c: Include <sys/time.h>.
6516 * inet/ifreq.c: Moved to ...
6517 * sysdeps/unix/ifreq.c: ... here.
6518 * inet/ifreq.c: New file, true stub version.
6520 * socket/sa_len.c: New file.
6521 * socket/Makefile (aux): Add it.
6522 * sysdeps/unix/sysv/linux/Makefile
6523 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6524 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6525 and #include <socket/sa_len.c>.
6526 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6527 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6529 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6530 * bits/socket.h: ... here.
6532 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6533 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6534 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6536 2013-08-27 Andreas Schwab <schwab@suse.de>
6539 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6540 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6541 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6542 * string/test-strcasecmp.c (test_main): Run tests in several
6544 * string/test-strncasecmp.c (test_main): Likewise.
6546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6547 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6548 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6550 (__strncasecmp_ssse3) [PIC]: Likewise.
6552 2013-08-26 Roland McGrath <roland@hack.frob.com>
6554 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6556 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6557 instead of explicitly declaring xdecrypt.
6558 * nis/nss_nis/nis-publickey.c: Likewise.
6560 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6563 * nscd/aicache.c: Include res_hconf.h.
6564 (addhstaiX): Initialize res_hconf.
6566 2013-08-26 Andreas Schwab <schwab@suse.de>
6568 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6569 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6571 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6573 * nscd/aicache.c (addhstaiX): Fix indentation.
6575 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6577 * configure.ac: Quote $build_pt_chown test.
6578 * configure: Regenerated.
6580 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6583 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6584 * math/s_cexpf.c (__cexpf): Likewise.
6585 * math/s_cexpl.c (__cexpl): Likewise.
6586 * math/libm-test.inc (cexp_test_data): Correct expected return
6587 value for NaN + i0. Add another test.
6589 2013-08-22 David S. Miller <davem@davemloft.net>
6591 * po/ca.po: Update Catalan translation from translation project.
6592 * po/uk.po: Add Ukrainian translations from translation project.
6594 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6597 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6598 is infinite, not alongside NaN test.
6599 * math/s_fdimf.c (__fdimf): Likewise.
6600 * math/s_fdiml.c (__fdiml): Likewise.
6601 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6604 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6606 * argp/argp-help.c: Fix typos.
6607 * crypt/speeds.c: Likewise.
6608 * csu/check_fds.c: Likewise.
6609 * elf/dl-load.c: Likewise.
6610 * elf/dl-open.c: Likewise.
6611 * elf/reldep3.c: Likewise.
6612 * elf/reldep.c: Likewise.
6613 * elf/sprof.c: Likewise.
6614 * iconv/iconv_charmap.c: Likewise.
6615 * iconv/skeleton.c: Likewise.
6616 * iconv/strtab.c: Likewise.
6617 * io/lockf64.c: Likewise.
6618 * libio/libioP.h: Likewise.
6619 * resolv/gai_notify.c: Likewise.
6620 * resolv/ns_name.c: Likewise.
6621 * resolv/ns_samedomain.c: Likewise.
6622 * resolv/res_send.c: Likewise.
6623 * stdlib/random.c: Likewise.
6624 * sunrpc/rpc/xdr.h: Likewise.
6625 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6626 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6627 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6628 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6632 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6633 * sysdeps/mach/hurd/check_fds.c: Likewise.
6634 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6635 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6637 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6638 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6639 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6640 * sysdeps/pthread/aio_notify.c: Likewise.
6641 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6642 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6643 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6645 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6647 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6649 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6650 version if bit_Slow_SSE4_2 is set.
6651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6654 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6658 trampoline stack frame information.
6659 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6660 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6661 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6662 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6663 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6664 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6665 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6666 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6668 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6669 interrupting a syscall and set with option SA_SIGINFO.
6671 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6674 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6675 argument is infinite.
6676 * math/s_cprojf.c (__cprojf): Likewise.
6677 * math/s_cprojl.c (__cprojl): Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6679 * math/libm-test.inc (cproj_test_data): Add more tests.
6681 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6683 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6684 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6685 size. Use __ffs to determine corresponding shift.
6687 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6688 Roland McGrath <roland@hack.frob.com>
6690 * Makefile (INSTALL): Remove trailing blank lines from output of
6693 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6695 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6696 Align 32 bit compat elf_greg to 8 bytes.
6698 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6700 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6702 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6704 * string/strcoll_l.c (coll_seq): New structure.
6705 (get_next_seq_cached): New function.
6706 (get_next_seq): New function.
6707 (do_compare): New function.
6708 (STRCOLL): Use GNU style definition. Simplify implementation
6709 by using get_next_seq, get_next_seq_cached and do_compare.
6711 2013-08-16 Florian Weimer <fweimer@redhat.com>
6715 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6717 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6719 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6720 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6721 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6723 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6724 GETDENTS_64BIT_ALIGNED.
6725 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6726 * manual/filesys.texi (Reading/Closing Directory): Document
6727 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6729 * manual/conf.texi (Limits for Files): Add portability note to
6731 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6733 2013-08-13 Andreas Schwab <schwab@suse.de>
6736 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6738 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6739 LDBL_MAX_EXP >= 16384]: Add tests for it.
6741 2013-08-12 David S. Miller <davem@davemloft.net>
6743 * version.h (RELEASE): Set to "development".
6744 (VERSION): Set to "2.18.90".
6745 * NEWS: Add 2.19 section.
6747 2013-08-03 David S. Miller <davem@davemloft.net>
6749 * po/ko.po: Update Korean translation from translation project.
6751 2013-08-01 David S. Miller <davem@davemloft.net>
6753 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6754 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6757 2013-07-30 David S. Miller <davem@davemloft.net>
6759 * po/fr.po: Update French translation from translation project.
6761 2013-07-28 David S. Miller <davem@davemloft.net>
6763 * po/cs.po: Update Czech translation from translation project.
6765 * po/sv.po: Update Swedish translation from translation project.
6767 2013-07-27 David S. Miller <davem@davemloft.net>
6769 * po/eo.po: Update Esperanto translation from translation project.
6771 * po/vi.po: Update Vietnamese translation from translation project.
6773 * po/de.po: Update German translation from translation project.
6775 2013-07-26 David S. Miller <davem@davemloft.net>
6777 * po/bg.po: Update Bulgarian translation from translation project.
6779 * po/nl.po: Update Dutch translation from translation project.
6780 * po/pl.po: Update Polish translation from translation project.
6781 * po/ru.po: Update Russian translation from translation project.
6783 2013-07-24 David S. Miller <davem@davemloft.net>
6785 * po/libc.pot: Update.
6787 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6789 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6791 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6792 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6793 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6795 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6797 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6799 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6800 Andreas Schwab <schwab@suse.de>
6801 Roland McGrath <roland@hack.frob.com>
6802 Joseph Myers <joseph@codesourcery.com>
6803 Carlos O'Donell <carlos@redhat.com>
6806 * config.h.in: Define HAVE_PT_CHOWN.
6807 * config.make.in (build-pt-chown): New variable.
6808 * configure.in (--enable-pt_chown): New configure option.
6809 * configure: Regenerate.
6810 * login/Makefile: Include Makeconfig. Build pt_chown only if
6811 build-pt-chown is enabled.
6812 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6813 pt_chown to fix pty ownership.
6814 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6816 * manual/install.texi (Configuring and compiling): Mention
6817 --enable-pt_chown. Add @findex for grantpt.
6818 * INSTALL: Regenerate.
6820 2013-07-20 David S. Miller <davem@davemloft.net>
6822 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6823 difference between 32-bit and 64-bit.
6825 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6828 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6829 Avoid system header dependency with -ffreestanding.
6830 ($(objpfx)bits/syscall%d): Likewise.
6832 2013-07-13 David S. Miller <davem@davemloft.net>
6834 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6835 underflows from atanl/atan2l due to bug 15319.
6836 (casinh_test_data): Likewise.
6838 2013-07-07 David S. Miller <davem@davemloft.net>
6840 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6842 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6844 * sysdeps/i386/fpu/libm-test-ulps: Update.
6845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6847 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6849 * configure.in (--enable-lock-elision): Fix message text.
6850 * INSTALL: Regenerate.
6851 * configure: Regenerate.
6853 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6857 2013-07-03 Andreas Jaeger <aj@suse.de>
6859 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6861 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6862 (ptrace_peeksiginfo_args): Add.
6863 (__ptrace_peeksiginfo_flags): Add.
6864 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6868 2013-07-03 Allan McRae <allan@archlinux.org>
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6872 2013-07-02 David S. Miller <davem@davemloft.net>
6874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6876 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6880 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6882 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6885 2013-07-02 Andi Kleen <ak@linux.intel.com>
6887 * config.h.in (ENABLE_LOCK_ELISION): Add.
6888 * configure.in (--enable-lock-elision): Add option.
6889 * manual/install.texi: Document --enable lock elision.
6890 * configure: Regenerate
6891 * INSTALL: Regenerate.
6893 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6895 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6896 SSE4.2 strcasecmp for libc.a.
6897 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6899 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6902 * soft-fp/op-common.h (_FP_FMA): New macro.
6903 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6904 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6905 (_FP_MUL_MEAT_1_imm): ... here.
6906 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6907 (_FP_MUL_MEAT_1_wide): ... here.
6908 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6909 (_FP_MUL_MEAT_1_hard): ... here.
6910 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6911 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6912 (_FP_MUL_MEAT_2_wide): ... here.
6913 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6914 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6915 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6916 (_FP_MUL_MEAT_2_gmp): ... here.
6917 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6918 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6919 (_FP_MUL_MEAT_4_wide): ... here.
6920 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6921 (_FP_MUL_MEAT_4_gmp): ... here.
6922 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6923 (_FP_WFRACBITS_DW_S): Likewise.
6924 (_FP_WFRACXBITS_DW_S): Likewise.
6925 (_FP_HIGHBIT_DW_S): Likewise.
6926 (FP_FMA_S): Likewise.
6927 (_FP_FRAC_HIGH_DW_S): Likewise.
6928 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6929 (_FP_WFRACBITS_DW_D): Likewise.
6930 (_FP_WFRACXBITS_DW_D): Likewise.
6931 (_FP_HIGHBIT_DW_D): Likewise.
6932 (FP_FMA_D): Likewise.
6933 (_FP_FRAC_HIGH_DW_D): Likewise.
6934 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6935 (_FP_WFRACBITS_DW_E): Likewise.
6936 (_FP_WFRACXBITS_DW_E): Likewise.
6937 (_FP_HIGHBIT_DW_E): Likewise.
6938 (FP_FMA_E): Likewise.
6939 (_FP_FRAC_HIGH_DW_E): Likewise.
6940 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6941 (_FP_WFRACBITS_DW_Q): Likewise.
6942 (_FP_WFRACXBITS_DW_Q): Likewise.
6943 (_FP_HIGHBIT_DW_Q): Likewise.
6944 (FP_FMA_Q): Likewise.
6945 (_FP_FRAC_HIGH_DW_Q): Likewise.
6946 * soft-fp/fmasf4.c: New file.
6947 * soft-fp/fmadf4.c: Likewise.
6948 * soft-fp/fmatf4.c: Likewise.
6950 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6953 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6955 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6957 (index_Slow_SSE4_2): Likewise.
6958 (index_Prefer_PMINUB_for_stringop): Likewise.
6959 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6960 bit_Slow_SSE4_2 is set.
6961 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6962 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6964 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6966 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6967 rtld_global._dl_hwcap2.
6968 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6970 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6971 POWER8 feature descriptions defined in _dl_hwcap2.
6972 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6973 string handling for POWER8 feature bits.
6974 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6975 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6976 _dl_powerpc_cap_flags.
6977 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6978 * sysdeps/powerpc/rtld-global-offsets.sym
6979 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6980 _dl_hwcap2 in the rtld_global_ro structure.
6982 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6984 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6985 hardware capabilities in support of AT_HWCAP2.
6986 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6987 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6989 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6990 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6991 explicitly the unknown a_type display mechanism is used.
6992 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6993 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6995 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6996 to macro prototype for AT_HWCAP2 support.
6997 * sysdeps/i386/dl-procinfo.h: Likewise.
6998 * sysdeps/s390/dl-procinfo.h: Likewise.
6999 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7000 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7001 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7002 return -1 for unknown a_type display fallback.
7003 * sysdeps/sparc/dl-procinfo.h: Likewise.
7004 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7007 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7009 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7010 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7012 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7015 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7016 mprotect making __stack_prot writable.
7018 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7019 Joseph Myers <joseph@codesourcery.com>
7021 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7022 as being properly aligned.
7024 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7026 * dlfcn/modstatic5.c: New file.
7027 * dlfcn/tststatic5.c: New file.
7028 * dlfcn/Makefile (tests): Add tststatic5.
7029 (tests-static): Likewise.
7030 (modules-names): Add modstatic5.
7031 (tststatic5-ENV): New variable.
7032 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7035 * elf/dl-support.c (_dl_main_map): New variable.
7036 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7037 (_dl_nns, _dl_load_adds): Set to 1.
7038 (_dl_initial_searchlist): Refer to _dl_main_map.
7039 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7040 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7041 call to _dl_get_origin.
7042 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7044 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7045 * dlfcn/modstatic3.c: New file.
7046 * dlfcn/tststatic3.c: New file.
7047 * dlfcn/tststatic4.c: New file.
7048 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7049 (tests-static): Likewise.
7050 (modules-names): Add modstatic3.
7051 (tststatic3-ENV, tststatic4-ENV): New variables.
7052 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7053 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7055 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7057 * configure.in (CC): Require GCC version 4.4 or later.
7058 * configure: Regenerated.
7059 * manual/install.texi (Tools for Compilation): Update GCC version
7061 * INSTALL: Regenerated.
7063 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7066 * string/test-memcmp.c (check2): New.
7067 (main): Call check2.
7069 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7071 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7074 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7076 (dl_open_worker) [!SHARED]: ... here.
7078 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7080 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7082 2013-06-25 Richard Henderson <rth@redhat.com>
7084 * locale/programs/locarchive.c: Include <libc-internal.h>
7086 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7088 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7089 trailing whitespace removed.
7091 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7094 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7095 * locale/programs/locarchive.c: Include libc-mmap.h.
7096 (prepare_address_space): Take two new outputs (the mmap base and len).
7097 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7099 (create_archive): Declare new mmap base and len values for
7100 prepare_address_space, and store the result in ah.
7101 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7102 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7103 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7104 Declare new mmap base and len values for
7105 prepare_address_space, and store the result in new_ah.
7106 (open_archive): Declare new mmap base and len values for
7107 prepare_address_space, and store the result in ah.
7108 (close_archive): If ah->mmap_base is not NULL, use that and
7109 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7110 * sysdeps/generic/libc-mmap.h: New file.
7112 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7114 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7115 (ALIGN_UP): Likewise.
7116 (PTR_ALIGN_DOWN): Likewise.
7117 (PTR_ALIGN_UP): Likewise.
7119 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7121 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7122 entry mapped to PPC_PLATFORM_POWER8.
7123 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7125 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7126 (_dl_string_platform): Add case for exporting platform position for
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7129 search path to sysdeps/powerpc/powerpc32/power8 directory.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7131 search path to sysdeps/powerpc/powerpc64/power8 directory.
7132 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7134 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7137 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7139 * INSTALL: Regenerate.
7141 * nscd/connections.c (nscd_init): Fix comment.
7143 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7145 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7148 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7149 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7151 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7153 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7155 (DL_DST_REQ_STATIC): Remove macro.
7157 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7160 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7161 with a shift of 0 bits.
7163 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7165 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7168 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7171 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7173 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7175 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7176 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7177 accepts -fno-tree-loop-distribute-patterns.
7178 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7179 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7181 * string/memset.c (memset): Likewise.
7182 * string/test-memmove.c (simple_memmove): Disable loop transformation
7184 * string/test-memset.c (simple_memset): Likewise.
7185 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7186 * benchtests/bench-memset.c (simple_memset): Likewise.
7187 * configure: Regenerated.
7189 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7191 * math/test-misc.c (main): Ignore fesetround failure when failures
7192 of subsequent rounding tests would be ignored.
7195 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7196 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7197 * math/fegetenv.c (__fegetenv): Return 0.
7198 * math/fegetexcept.c (fegetexcept): Return 0.
7199 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7201 * math/feholdexcpt.c (feholdexcept): Return 0.
7202 * math/fesetenv.c (__fesetenv): Return 0.
7203 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7204 argument FE_TONEAREST.
7205 * math/feupdateenv.c (__feupdateenv): Return 0.
7206 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7208 2013-06-18 Roland McGrath <roland@hack.frob.com>
7210 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7211 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7212 ($(objpfx)rtld-%.os rules): Use them.
7214 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7216 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7219 2013-06-17 Roland McGrath <roland@hack.frob.com>
7221 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7222 length of target pattern, then descending length of dependency pattern.
7223 * configure.in (AWK): Require gawk 3.1.2 or newer.
7224 * manual/install.texi (Tools for Compilation): Say that we do.
7225 * configure: Regenerated.
7227 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7228 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7229 * scripts/sysd-rules.awk: ... this new script.
7230 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7231 than a glob-style pattern.
7233 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7235 * math/test-misc.c (main): Do not treat incorrectly rounded
7236 conversions as failure unless ROUNDING_TESTS passes.
7238 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7241 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7242 restore exception state around main square root computation, then
7243 check for inexactness explicitly.
7245 * math/libm-test.inc (fma_test_data): Add another test.
7247 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7249 * manual/threads.texi (Non-POSIX Extensions): New document
7250 node. Document pthread_getattr_default_np and
7251 pthread_setattr_default_np.
7253 * Versions.def (libpthread): Add GLIBC_2.18.
7254 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7263 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7274 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7277 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7279 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7280 H.J. Lu <hjl.tools@gmail.com>
7283 * sysdeps/x86_64/rtld-memset.c: Remove file.
7284 * sysdeps/x86_64/rtld-memset.S: New file.
7286 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7288 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7289 (test_in_one_mode): Take arguments for whether the rounding mode
7290 is supported for each floating-point type.
7291 (do_test): Pass new arguments to test_in_one_mode using
7294 2013-06-13 Roland McGrath <roland@hack.frob.com>
7296 * posix/tst-waitid.c (do_test): Distinguish different instances of
7297 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7298 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7299 before entering the kernel for waitpid.
7301 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7303 * NEWS: Fix note on clock function precision. Text by Roland
7306 2013-06-13 Roland McGrath <roland@hack.frob.com>
7308 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7309 it into place only when and if the sanity check passes.
7311 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7313 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7314 output for whether conversion result is exact. Take argument
7315 indicating whether type is IBM long double.
7316 (round_for_all): Change need_exact field to ibm_ld.
7317 * stdlib/tst-strtod-round.c (struct exactness): New type.
7318 (struct test): Change bool ld_ok field to struct exactness exact.
7319 (TEST): Update all definitions for change to field.
7320 (tests): Regenerate array contents.
7321 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7322 field value. Check for IBM long double here.
7323 (do_test): Update calls to test_in_one_mode.
7325 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7328 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7329 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7331 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7334 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7335 generated by the compiler on loop optimizations.
7336 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7337 general definitions.
7339 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7341 * math/bug-nextafter.c: Include <math-tests.h>.
7342 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7344 * math/bug-nexttoward.c: Include <math-tests.h>.
7345 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7347 * math/test-misc.c: Include <math-tests.h>.
7348 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7351 2013-06-12 Andreas Jaeger <aj@suse.de>
7353 * po/ia.po: Update Interlingua translation from translation
7356 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7358 * include/fenv.h: Include stdbool.h.
7359 (struct rm_ctx): New structure.
7360 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7362 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7363 (SET_RESTORE_ROUNDF): Likewise.
7364 (SET_RESTORE_ROUNDL): Likewise.
7365 (SET_RESTORE_ROUND_NOEX): Likewise.
7366 (SET_RESTORE_ROUND_NOEXF): Likewise.
7367 (SET_RESTORE_ROUND_NOEXL): Likewise.
7368 (SET_RESTORE_ROUND_53BIT): Likewise.
7369 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7370 (libc_feresetround_noexf_ctx): Likewise.
7371 (libc_feresetround_noexl_ctx): Likewise.
7372 (libc_feholdsetround_53bit_ctx): Likewise.
7373 (libc_feresetround_53bit_ctx): Likewise.
7374 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7375 (libc_feholdexcept_setround_sse_ctx): New function.
7376 (libc_fesetenv_sse_ctx): Likewise.
7377 (libc_feupdateenv_sse_ctx): Likewise.
7378 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7379 (libc_feholdexcept_setround_387_ctx): Likewise.
7380 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7381 (libc_feholdsetround_387_prec_ctx): Likewise.
7382 (libc_feholdsetround_387_ctx): Likewise.
7383 (libc_feholdsetround_387_53bit_ctx): Likewise.
7384 (libc_feholdsetround_sse_ctx): Likewise.
7385 (libc_feresetround_sse_ctx): Likewise.
7386 (libc_feresetround_387_ctx): Likewise.
7387 (libc_feupdateenv_387_ctx): Likewise.
7388 (libc_feholdexcept_setroundf_ctx): Define macro.
7389 (libc_fesetenvf_ctx): Likewise.
7390 (libc_feupdateenvf_ctx): Likewise.
7391 (libc_feholdsetroundf_ctx): Likewise.
7392 (libc_feresetroundf_ctx): Likewise.
7393 (libc_feholdexcept_setround_ctx): Likewise.
7394 (libc_fesetenv_ctx): Likewise.
7395 (libc_feupdateenv_ctx): Likewise.
7396 (libc_feholdsetround_ctx): Likewise.
7397 (libc_feresetround_ctx): Likewise.
7398 (libc_feholdexcept_setroundl_ctx): Likewise.
7399 (libc_feupdateenvl_ctx): Likewise.
7400 (libc_feholdsetroundl_ctx): Likewise.
7401 (libc_feresetroundl_ctx): Likewise.
7402 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7403 (libc_feresetround_53bit_ctx): Likewise.
7405 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7407 * locale/iso-639.def: Convert to UTF-8.
7409 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7412 (EXCEPTION_TESTS_double): Likewise.
7413 (EXCEPTION_TESTS_long_double): Likewise.
7414 (EXCEPTION_TESTS): Likewise.
7415 * math/libm-test.inc (test_exceptions): Only test exceptions if
7416 EXCEPTION_TESTS (FLOAT).
7418 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7420 * benchtests/Makefile (string-bench): Add strcpy_chk and
7422 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7423 * benchtests/bench-stpcpy_chk.c: New file.
7424 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7425 * benchtests/bench-strcpy_chk.c: New file.
7426 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7428 (do_test): Likewise.
7430 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7432 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7433 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7434 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7435 with tabs where appropriate.
7436 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7438 [PPC_PLATFORM_PPC440]: Likewise.
7439 [PPC_PLATFORM_PPC464]: Likewise.
7440 [PPC_PLATFORM_PPC476]: Likewise.
7441 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7442 ppc464, and ppc476 platform strings merging from ports/
7445 2013-06-11 Andreas Schwab <schwab@suse.de>
7448 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7449 (from_ucs4_idx): Regenerate.
7450 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7451 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7452 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7453 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7454 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7455 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7456 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7457 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7458 from FROM_LOOP and TO_LOOP specific macros.
7459 (BODY): Handle combining characters.
7460 * iconvdata/BIG5HKSCS.irreversible: Update.
7461 * iconvdata/BIG5HKSCS.precomposed: New file.
7462 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7464 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7466 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7468 * include/sys/time.h: Fix indentation and add copyright header.
7470 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7471 (do_test): Likewise.
7472 * string/test-memchr.c (do_one_test): Likewise.
7473 (do_test): Likewise.
7474 * string/test-memcmp.c (do_one_test): Likewise.
7475 (do_test): Likewise.
7476 * string/test-memcpy.c (do_one_test): Likewise.
7477 (do_test): Likewise.
7478 * string/test-memmem.c (do_one_test): Likewise.
7479 (do_test): Likewise.
7480 (do_random_tests): Likewise.
7481 * string/test-memmove.c (do_one_test): Likewise.
7482 (do_test): Likewise.
7483 * string/test-memset.c (do_one_test): Likewise.
7484 (do_test): Likewise.
7485 * string/test-rawmemchr.c (do_one_test): Likewise.
7486 (do_test): Likewise.
7487 * string/test-strcasecmp.c (do_one_test): Likewise.
7488 (do_test): Likewise.
7489 * string/test-strcasestr.c (do_one_test): Likewise.
7490 (do_test): Likewise.
7491 * string/test-strcat.c (do_one_test): Likewise.
7492 (do_test): Likewise.
7493 * string/test-strchr.c (do_one_test): Likewise.
7494 (do_test): Likewise.
7495 * string/test-strcmp.c (do_one_test): Likewise.
7496 (do_test): Likewise.
7497 * string/test-strcpy.c (do_one_test): Likewise.
7498 (do_test): Likewise.
7499 * string/test-string.h: Likewise.
7500 (test_init): Likewise.
7501 * string/test-strlen.c (do_one_test): Likewise.
7502 (do_test): Likewise.
7503 * string/test-strncasecmp.c (do_one_test): Likewise.
7504 (do_test): Likewise.
7505 * string/test-strncat.c (do_one_test): Likewise.
7506 (do_test): Likewise.
7507 * string/test-strncmp.c (do_one_test): Likewise.
7508 (do_test_limit): Likewise.
7509 (do_test): Likewise.
7510 * string/test-strncpy.c (do_one_test): Likewise.
7511 (do_test): Likewise.
7512 * string/test-strnlen.c (do_one_test): Likewise.
7513 (do_test): Likewise.
7514 * string/test-strpbrk.c (do_one_test): Likewise.
7515 (do_test): Likewise.
7516 * string/test-strrchr.c (do_one_test): Likewise.
7517 (do_test): Likewise.
7518 * string/test-strspn.c (do_one_test): Likewise.
7519 (do_test): Likewise.
7520 * string/test-strstr.c (do_one_test): Likewise.
7521 (do_test): Likewise.
7523 * benchtests/Makefile (string-bench): Add string benchmarks.
7524 * benchtests/bench-bcopy-ifunc.c: New file.
7525 * benchtests/bench-bcopy.c: New file.
7526 * benchtests/bench-bzero-ifunc.c: New file.
7527 * benchtests/bench-bzero.c: New file.
7528 * benchtests/bench-memccpy-ifunc.c: New file.
7529 * benchtests/bench-memccpy.c: New file.
7530 * benchtests/bench-memchr-ifunc.c: New file.
7531 * benchtests/bench-memchr.c: New file.
7532 * benchtests/bench-memcmp-ifunc.c: New file.
7533 * benchtests/bench-memcmp.c: New file.
7534 * benchtests/bench-memmem-ifunc.c: New file.
7535 * benchtests/bench-memmem.c: New file.
7536 * benchtests/bench-memmove-ifunc.c: New file.
7537 * benchtests/bench-memmove.c: New file.
7538 * benchtests/bench-mempcpy-ifunc.c: New file.
7539 * benchtests/bench-mempcpy.c: New file.
7540 * benchtests/bench-memset-ifunc.c: New file.
7541 * benchtests/bench-memset.c: New file.
7542 * benchtests/bench-rawmemchr-ifunc.c: New file.
7543 * benchtests/bench-rawmemchr.c: New file.
7544 * benchtests/bench-stpcpy-ifunc.c: New file.
7545 * benchtests/bench-stpcpy.c: New file.
7546 * benchtests/bench-stpncpy-ifunc.c: New file.
7547 * benchtests/bench-stpncpy.c: New file.
7548 * benchtests/bench-strcasecmp-ifunc.c: New file.
7549 * benchtests/bench-strcasecmp.c: New file.
7550 * benchtests/bench-strcasestr-ifunc.c: New file.
7551 * benchtests/bench-strcasestr.c: New file.
7552 * benchtests/bench-strcat-ifunc.c: New file.
7553 * benchtests/bench-strcat.c: New file.
7554 * benchtests/bench-strchr-ifunc.c: New file.
7555 * benchtests/bench-strchr.c: New file.
7556 * benchtests/bench-strchrnul-ifunc.c: New file.
7557 * benchtests/bench-strchrnul.c: New file.
7558 * benchtests/bench-strcmp-ifunc.c: New file.
7559 * benchtests/bench-strcmp.c: New file.
7560 * benchtests/bench-strcpy-ifunc.c: New file.
7561 * benchtests/bench-strcpy.c: New file.
7562 * benchtests/bench-strcspn-ifunc.c: New file.
7563 * benchtests/bench-strcspn.c: New file.
7564 * benchtests/bench-strlen-ifunc.c: New file.
7565 * benchtests/bench-strlen.c: New file.
7566 * benchtests/bench-strncasecmp-ifunc.c: New file.
7567 * benchtests/bench-strncasecmp.c: New file.
7568 * benchtests/bench-strncat-ifunc.c: New file.
7569 * benchtests/bench-strncat.c: New file.
7570 * benchtests/bench-strncmp-ifunc.c: New file.
7571 * benchtests/bench-strncmp.c: New file.
7572 * benchtests/bench-strncpy-ifunc.c: New file.
7573 * benchtests/bench-strncpy.c: New file.
7574 * benchtests/bench-strnlen-ifunc.c: New file.
7575 * benchtests/bench-strnlen.c: New file.
7576 * benchtests/bench-strpbrk-ifunc.c: New file.
7577 * benchtests/bench-strpbrk.c: New file.
7578 * benchtests/bench-strrchr-ifunc.c: New file.
7579 * benchtests/bench-strrchr.c: New file.
7580 * benchtests/bench-strspn-ifunc.c: New file.
7581 * benchtests/bench-strspn.c: New file.
7582 * benchtests/bench-strstr-ifunc.c: New file.
7583 * benchtests/bench-strstr.c: New file.
7585 * benchtests/Makefile: Disable parallel execution of targets.
7586 (string-bench): Add memcpy.
7587 (benchset): New variable to store a list of benchmark sets.
7588 (bench-func): Renamed from bench.
7589 (bench-set): New target.
7590 (bench): Depend on bench-func and bench-set.
7591 * benchtests/README: Add section on benchmark sets.
7592 * benchtests/bench-memcpy-ifunc.c: New file.
7593 * benchtests/bench-memcpy.c: New file.
7594 * benchtests/bench-string.h: New file.
7596 2013-06-11 Andreas Schwab <schwab@suse.de>
7599 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7600 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7601 values in the triple.
7602 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7603 terminator in the group key.
7605 2013-06-11 Andreas Jaeger <aj@suse.de>
7607 * po/zh_TW.po: Update Chinese (traditional) translation from
7608 translation project.
7610 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7612 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7613 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7614 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7616 (clock_getcpuclockid): Likewise.
7617 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7618 Add weak_alias and libc_hidden_def.
7619 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7620 * rt/clock_gettime.c (clock_gettime): Rename to
7621 __clock_gettime. Add weak_alias and libc_hidden_def.
7622 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7623 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7624 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7625 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7626 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7628 * rt/clock_settime.c (clock_settime): Rename to
7629 __clock_settime. Add weak_alias and libc_hidden_def.
7630 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7632 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7634 * mach/err_boot.sub: Remove trailing whitespace.
7635 * mach/err_ipc.sub: Likewise.
7636 * mach/err_mach.sub: Likewise.
7638 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7639 (ROUNDING_TESTS_double): Likewise.
7640 (ROUNDING_TESTS_long_double): Likewise.
7641 (ROUNDING_TESTS): Likewise.
7642 * math/libm-test.inc: Include <math-tests.h>.
7643 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7644 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7645 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7646 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7648 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7650 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7653 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7655 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7656 otherwise empty TRANS lines.
7657 * sysdeps/gnu/errlist.c: Regenerated.
7659 * catgets/gencat.c (error_print): Use (void) in function
7661 * crypt/crypt_util.c (__init_des): Likewise.
7662 * crypt/speeds.c (Stop): Likewise.
7664 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7665 * inet/ruserpass.c (token): Likewise.
7666 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7667 * intl/localealias.c (extend_alias_table): Likewise.
7668 * intl/plural-exp.c (init_germanic_plural): Likewise.
7669 * libio/fcloseall.c (__fcloseall): Likewise.
7670 * libio/genops.c (_IO_flush_all): Likewise.
7671 (_IO_flush_all_linebuffered): Likewise.
7672 (_IO_cleanup): Likewise.
7673 (_IO_iter_begin): Likewise.
7674 (_IO_iter_end): Likewise.
7675 (_IO_list_lock): Likewise.
7676 (_IO_list_unlock): Likewise.
7677 (_IO_list_resetlock): Likewise.
7678 * libio/getchar.c (getchar): Likewise.
7679 * libio/getchar_u.c (getchar_unlocked): Likewise.
7680 * libio/getwchar.c (getwchar): Likewise.
7681 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7682 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7683 * login/getpt.c (__getpt): Likewise.
7684 * login/tst-utmp.c (main): Likewise.
7685 * malloc/hooks.c (__malloc_check_init): Likewise.
7686 * malloc/malloc.c (__malloc_stats): Likewise.
7687 * malloc/mtrace.c (tr_break): Likewise.
7689 (muntrace): Likewise.
7690 * misc/fstab.c (endfsent): Likewise.
7691 * misc/getclktck.c (__getclktck): Likewise.
7692 * misc/getdtsz.c (__getdtablesize): Likewise.
7693 * misc/gethostid.c (gethostid): Likewise.
7694 * misc/getpagesize.c (__getpagesize): Likewise.
7695 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7696 (__get_nprocs): Likewise.
7697 (__get_phys_pages): Likewise.
7698 (__get_avphys_pages): Likewise.
7699 * misc/getttyent.c (getttyent): Likewise.
7700 (setttyent): Likewise.
7701 (endttyent): Likewise.
7702 * misc/getusershell.c (getusershell): Likewise.
7703 (endusershell): Likewise.
7704 (setusershell): Likewise.
7705 (initshells): Likewise.
7706 * misc/hsearch.c (__hdestroy): Likewise.
7707 * misc/sync.c (sync): Likewise.
7708 * misc/syslog.c (closelog_internal): Likewise.
7709 (closelog): Likewise.
7710 * misc/ttyslot.c (ttyslot): Likewise.
7711 * misc/vhangup.c (vhangup): Likewise.
7712 * posix/fork.c (__fork): Likewise.
7713 * posix/getegid.c (__getegid): Likewise.
7714 * posix/geteuid.c (__geteuid): Likewise.
7715 * posix/getgid.c (__getgid): Likewise.
7716 * posix/getpid.c (__getpid): Likewise.
7717 * posix/getppid.c (__getppid): Likewise.
7718 * posix/getuid.c (__getuid): Likewise.
7719 * posix/pause.c (pause): Likewise.
7720 * posix/setpgrp.c (setpgrp): Likewise.
7721 * posix/setsid.c (__setsid): Likewise.
7722 * posix/test-vfork.c (noop): Likewise.
7723 * resolv/gethnamaddr.c (_endhtent): Likewise.
7724 (_gethtent): Likewise.
7725 (ht_endhostent): Likewise.
7726 (gethostent): Likewise.
7727 (dns_service): Likewise.
7728 * stdlib/drand48.c (drand48): Likewise.
7729 * stdlib/lrand48.c (lrand48): Likewise.
7730 * stdlib/mrand48.c (mrand48): Likewise.
7731 * stdlib/rand.c (rand): Likewise.
7732 * stdlib/random.c (__random): Likewise.
7733 * stdlib/setenv.c (clearenv): Likewise.
7734 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7735 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7736 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7737 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7738 (__get_nprocs): Likewise.
7739 (__get_phys_pages): Likewise.
7740 (__get_avphys_pages): Likewise.
7741 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7742 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7743 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7744 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7745 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7746 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7747 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7748 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7749 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7750 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7751 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7752 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7753 * sysdeps/posix/clock.c (clock): Likewise.
7754 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7755 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7756 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7757 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7758 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7760 (__get_nprocs_conf): Likewise.
7761 (__get_phys_pages): Likewise.
7762 (__get_avphys_pages): Likewise.
7763 * time/clock.c (clock): Likewise.
7764 * time/tzset.c (__tzname_max): Likewise.
7766 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7768 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7769 (__bswap_32): Do not use "register".
7770 * crypt/crypt.c (_ufc_doit_r): Likewise.
7771 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7772 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7773 * gmon/gmon.c (__monstartup): Likewise.
7774 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7775 * hurd/hurdmalloc.c (more_memory): Likewise.
7778 (realloc): Likewise.
7779 (malloc_fork_prepare): Likewise.
7780 (malloc_fork_parent): Likewise.
7781 (malloc_fork_child): Likewise.
7782 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7783 (_svcauth_des): Likewise.
7784 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7785 * inet/inet_net.c (inet_network): Likewise.
7786 * inet/inet_netof.c (inet_netof): Likewise.
7787 * inet/rcmd.c (__validuser2_sa): Likewise.
7788 * io/fts.c (fts_open): Likewise.
7789 (fts_load): Likewise.
7790 (fts_close): Likewise.
7791 (fts_read): Likewise.
7792 (fts_children): Likewise.
7793 (fts_build): Likewise.
7794 (fts_stat): Likewise.
7795 (fts_sort): Likewise.
7796 (fts_alloc): Likewise.
7797 (fts_lfree): Likewise.
7798 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7799 (_IO_file_xsgetn): Likewise.
7800 (_IO_file_xsgetn_mmap): Likewise.
7801 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7802 (_IO_cookie_write): Likewise.
7803 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7804 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7805 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7806 * malloc/obstack.c (_obstack_begin): Likewise.
7807 (_obstack_begin_1): Likewise.
7808 (_obstack_newchunk): Likewise.
7809 (_obstack_allocated_p): Likewise.
7810 (obstack_free): Likewise.
7811 (_obstack_memory_used): Likewise.
7812 * misc/getttyent.c (getttynam): Likewise.
7813 (getttyent): Likewise.
7816 * misc/getusershell.c (initshells): Likewise.
7817 * misc/syslog.c (__vsyslog_chk): Likewise.
7818 * misc/ttyslot.c (ttyslot): Likewise.
7819 * nis/nis_hash.c (__nis_hash): Likewise.
7820 * posix/fnmatch_loop.c (FCT): Likewise.
7821 * posix/getconf.c (print_all): Likewise.
7823 * posix/getopt.c (exchange): Likewise.
7824 * posix/glob.c (globfree): Likewise.
7825 (prefix_array): Likewise.
7826 (__glob_pattern_type): Likewise.
7827 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7828 (NS_GET32): Likewise.
7829 (NS_PUT16): Likewise.
7830 (NS_PUT32): Likewise.
7831 * resolv/gethnamaddr.c (getanswer): Likewise.
7832 (gethostbyname2): Likewise.
7833 (gethostbyaddr): Likewise.
7834 (_gethtent): Likewise.
7835 (_gethtbyname2): Likewise.
7836 (_gethtbyaddr): Likewise.
7837 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7838 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7839 * resolv/res_init.c (__res_vinit): Likewise.
7840 (net_mask): Likewise.
7841 * resolv/res_mkquery.c (outchar): Likewise.
7843 * stdio-common/printf_fp.c (outchar): Likewise.
7845 * stdio-common/printf_fphex.c (outchar): Likewise.
7847 * stdio-common/printf_size.c (outchar): Likewise.
7849 * stdio-common/test_rdwr.c (main): Likewise.
7850 * stdio-common/tfformat.c (matches): Likewise.
7851 * stdio-common/vfprintf.c (outchar): Likewise.
7852 (printf_unknown): Likewise.
7853 (buffered_vfprintf): Likewise.
7854 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7855 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7856 (ReadFile): Likewise.
7857 * stdlib/qsort.c (SWAP): Likewise.
7858 (_quicksort): Likewise.
7859 * stdlib/setenv.c (__add_to_environ): Likewise.
7860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7861 * stdlib/strtol_l.c (__strtol_l): Likewise.
7862 * stdlib/tst-strtod.c (main): Likewise.
7863 * stdlib/tst-strtol.c (main): Likewise.
7864 * stdlib/tst-strtoll.c (main): Likewise.
7865 * string/bits/string2.h (__strcmp_cc): Likewise.
7866 (__strcmp_cg): Likewise.
7867 (__strcspn_c1): Likewise.
7868 (__strcspn_c2): Likewise.
7869 (__strcspn_c3): Likewise.
7870 (__strspn_c1): Likewise.
7871 (__strspn_c2): Likewise.
7872 (__strspn_c3): Likewise.
7873 (__strsep_1c): Likewise.
7874 (__strsep_2c): Likewise.
7875 (__strsep_3c): Likewise.
7876 * string/memccpy.c (__memccpy): Likewise.
7877 * string/stpcpy.c (__stpcpy): Likewise.
7878 * string/strcmp.c (strcmp): Likewise.
7879 * string/strrchr.c (strrchr): Likewise.
7880 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7882 * sysdeps/mach/hurd/getcwd.c
7883 (_hurd_canonicalize_directory_name_internal): Likewise.
7884 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7885 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7886 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7887 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7888 Likewise, in both definitions.
7889 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7891 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7892 64] (__bswap_64): Likewise.
7893 * time/test_time.c (main): Likewise.
7894 * time/tzfile.c (__tzfile_read): Likewise.
7895 (__tzfile_compute): Likewise.
7896 * time/tzset.c (__tzset_parse_tz): Likewise.
7897 (tzset_internal): Likewise.
7898 (compute_change): Likewise.
7899 * wcsmbs/wcscat.c (__wcscat): Likewise.
7900 * wcsmbs/wcschr.c (wcschr): Likewise.
7901 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7902 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7903 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7904 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7905 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7906 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7907 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7908 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7909 * wcsmbs/wmemset.c (wmemset): Likewise.
7911 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7913 * scripts/config.guess: Update to version 2013-05-16.
7914 * scripts/config.sub: Update to version 2013-04-24.
7915 * scripts/install-sh: Update to version 2011-11-20.07.
7916 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7917 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7919 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7921 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7922 * elf/sln.c: Likewise.
7923 * hurd/hurd/ioctl.h: Likewise.
7924 * hurd/hurdmalloc.c: Likewise.
7925 * hurd/xattr.c: Likewise.
7926 * include/shlib-compat.h: Likewise.
7927 * inet/ruserpass.c: Likewise.
7928 * libio/iofgets_u.c: Likewise.
7929 * libio/iofgetws_u.c: Likewise.
7930 * locale/programs/ld-identification.c: Likewise.
7931 * locale/programs/ld-time.c: Likewise.
7932 * mach/msg-destroy.c: Likewise.
7933 * nss/nss_files/files-netgrp.c: Likewise.
7934 * resolv/res_data.c: Likewise.
7935 * soft-fp/op-1.h: Likewise.
7936 * soft-fp/op-2.h: Likewise.
7937 * soft-fp/op-4.h: Likewise.
7938 * soft-fp/op-common.h: Likewise.
7939 * stdio-common/printf_fphex.c: Likewise.
7940 * stdlib/strtod_l.c: Likewise.
7941 * sunrpc/rpc/clnt.h: Likewise.
7942 * sysdeps/generic/framestate.c: Likewise.
7943 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7944 * sysdeps/i386/bsd-setjmp.S: Likewise.
7945 * sysdeps/i386/__longjmp.S: Likewise.
7946 * sysdeps/i386/setjmp.S: Likewise.
7947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7948 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7949 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7956 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7957 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7958 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7959 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7961 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7962 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7963 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7964 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7965 * sysdeps/ieee754/support.c: Likewise.
7966 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7967 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7968 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7969 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7970 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7971 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7972 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7973 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7974 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7975 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7976 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7977 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7978 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7979 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7980 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7981 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7982 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7985 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7987 * posix/transbug.c: Remove executable mode.
7989 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7991 * crypt/speeds.c: Remove trailing whitespace.
7992 * dlfcn/default.c: Likewise.
7993 * elf/ifuncdep2.c: Likewise.
7994 * elf/ifuncmain1.c: Likewise.
7995 * elf/ifuncmain1vis.c: Likewise.
7996 * elf/testobj.h: Likewise.
7997 * elf/tst-stackguard1.c: Likewise.
7998 * gmon/sys/gmon.h: Likewise.
7999 * hurd/hurdmsg.c: Likewise.
8000 * hurd/new-fd.c: Likewise.
8001 * hurd/ports-get.c: Likewise.
8002 * iconvdata/ibm1008_420.c: Likewise.
8003 * inet/tst-getni1.c: Likewise.
8004 * inet/tst-getni2.c: Likewise.
8005 * libio/ioungetc.c: Likewise.
8006 * libio/wfiledoalloc.c: Likewise.
8007 * manual/libm-err-tab.pl: Likewise.
8008 * math/w_dremf.c: Likewise.
8009 * misc/ftruncate.c: Likewise.
8010 * posix/bug-glob2.c: Likewise.
8011 * posix/tst-pcre.c: Likewise.
8012 * posix/wait4.c: Likewise.
8013 * resolv/README: Likewise.
8014 * resolv/res_debug.h: Likewise.
8015 * resolv/tst-inet_ntop.c: Likewise.
8016 * setjmp/bug269-setjmp.c: Likewise.
8017 * soft-fp/extended.h: Likewise.
8018 * soft-fp/op-1.h: Likewise.
8019 * soft-fp/op-2.h: Likewise.
8020 * soft-fp/op-4.h: Likewise.
8021 * soft-fp/op-8.h: Likewise.
8022 * soft-fp/testit.c: Likewise.
8023 * stdio-common/bug16.c: Likewise.
8024 * stdlib/random.c: Likewise.
8025 * sunrpc/rpcsvc/rquota.x: Likewise.
8026 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8027 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8029 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8030 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8031 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8033 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8034 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8035 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8036 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8037 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8038 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8039 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8041 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8055 * sysdeps/ieee754/s_lib_version.c: Likewise.
8056 * sysdeps/mach/hurd/check_fds.c: Likewise.
8057 * sysdeps/mach/hurd/getsockname.c: Likewise.
8058 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8059 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8060 * sysdeps/powerpc/bits/link.h: Likewise.
8061 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8062 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8063 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8064 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8065 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8066 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8067 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8068 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8069 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8070 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8071 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8072 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8073 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8074 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8075 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8076 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8078 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8079 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8080 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8081 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8082 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8084 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8085 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8086 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8087 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8088 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8089 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8090 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8091 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8092 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8093 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8094 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8095 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8096 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8097 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8098 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8099 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8100 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8101 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8102 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8103 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8104 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8105 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8106 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8107 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8108 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8109 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8110 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8113 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8114 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8115 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8116 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8117 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8120 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8121 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8122 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8123 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8124 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8125 * sysdeps/powerpc/sysdep.h: Likewise.
8126 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8127 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8128 * sysdeps/sh/dl-trampoline.S: Likewise.
8129 * sysdeps/sh/memset.S: Likewise.
8130 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8131 * sysdeps/sh/strlen.S: Likewise.
8132 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8133 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8134 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8135 * sysdeps/sparc/sparc32/rem.S: Likewise.
8136 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8137 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8138 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8139 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8140 * sysdeps/sparc/sparc32/urem.S: Likewise.
8141 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8142 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8143 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8144 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8146 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8147 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8148 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8149 * sysdeps/unix/bsd/times.c: Likewise.
8150 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8151 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8156 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8157 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8158 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8159 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8160 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8161 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8162 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8163 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8164 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8165 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8166 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8167 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8168 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8169 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8170 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8171 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8172 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8173 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8174 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8175 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8176 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8178 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8179 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8180 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8181 * sysdeps/x86_64/strcspn.S: Likewise.
8183 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8185 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8186 generated file. Regenerate properly from gen-translit.pl.
8187 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8188 locale/C-translit.h.
8190 2013-06-05 Andreas Schwab <schwab@suse.de>
8193 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8194 week as 6 instead of -1.
8195 * time/tst-strptime.c (day_tests): Add test case.
8197 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8199 * sysdeps/generic/math_private.h
8200 (libc_feholdexcept_setround_53bit): Replace with
8201 libc_feholdsetround_53bit.
8202 (libc_feupdateenv_53bit): Replace with
8203 libc_feresetround_53bit.
8204 (SET_RESTORE_ROUND_53BIT): Adjust.
8206 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8208 * string/test-strchrnul.c: Add copyright header.
8210 * posix/tst-getaddrinfo4.c: Increase test timeout.
8212 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8215 * math/libm-test.inc (MAX_EXP): Remove
8217 (ulp): Use MIN_EXP - MANT_DIG.
8218 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8220 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8222 * po/be.po: Revert last change.
8223 * po/zh_CN.po: Likewise.
8224 * po/header.pot: Likewise.
8226 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8228 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8229 link-libc-deps to empty as target-specific variable.
8230 * Makerules (link-libc-args): New variable.
8231 (libc-for-link): Likewise.
8232 (link-libc-deps): Likewise.
8233 (lib%.so): Depend on $(link-libc-deps). Link with
8235 (build-module): Link with $(link-libc-args).
8236 (build-module-asneeded): Likewise.
8237 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8239 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8240 target-specific variable.
8241 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8242 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8243 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8245 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8247 ($(objpfx)libpcprofile.so): Likewise.
8248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8250 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8251 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8252 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8254 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8255 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8256 * login/Makefile ($(objpfx)libutil.so): Likewise.
8257 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8258 * math/Makefile ($(objpfx)libm.so): Likewise.
8259 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8260 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8261 variable instead of depending directly on libc.
8262 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8263 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8265 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8267 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8268 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8269 ($(objpfx)libanl.so): Likewise.
8270 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8272 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8274 * sysdeps/i386/fpu/Makefile: Remove file.
8275 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8276 ($(objpfx)libm.so): Remove dependency on ld.so.
8278 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8281 * nis/yp_xdr.c (XDRMAXNAME): Define.
8282 (XDRMAXRECORD): Define.
8283 (xdr_domainname): Use XDRMAXNAME.
8284 (xdr_mapname): Likewise.
8285 (xdr_peername): Likewise.
8286 (xdr_keydat): Use XDRMAXRECORD.
8287 (xdr_valdat): Likewise.
8289 2013-05-30 Jeff Law <law@redhat.com>
8292 * manual/errno.texi (ESTALE): Update to account for more than
8293 just NFS file systems.
8294 * sysdeps/gnu/errlist.c: Regenerated.
8296 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8299 * elf/Makefile (tests): Add tst-null-argv.
8300 (modules-names): Add tst-null-argv-lib.
8301 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8302 (tst-null-argv-ENV): Set environment for tst-null-argv.
8303 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8304 (RTLD_PROGNAME): New macro.
8305 * elf/tst-null-argv.c: New test case.
8306 * elf/tst-null-argv-lib.c: Library for test case.
8307 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8308 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8309 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8310 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8311 * elf/dl-init.c (call_init): Likewise.
8312 (_dl_init): Likewise.
8313 * elf/dl-load.c (print_search_path): Likewise.
8314 (_dl_map_object): Likewise.
8315 * elf/dl-lookup.c (do_lookup_x): Likewise.
8316 (add_dependency): Likewise.
8317 (_dl_lookup_symbol_x): Likewise.
8318 (_dl_debug_bindings): Likewise.
8319 * elf/dl-open.c (_dl_show_scope): Likewise.
8320 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8321 * elf/dl-version.c (match_symbol): Likewise.
8322 (_dl_check_map_versions): Likewise.
8323 * elf/rtld.c (dl_main): Likewise.
8324 (print_unresolved): Use RTLD_PROGNAME.
8325 (print_missing_version): Likewise.
8326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8327 (elf_machine_rela): Likewise.
8328 * sysdeps/powerpc/powerpc32/dl-machine.c
8329 (__process_machine_rela): Likewise.
8330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8332 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8334 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8336 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8343 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8345 * po/be.po: Add descriptive title.
8346 * po/zh_CN.po: Likewise.
8347 * po/header.pot: Likewise.
8349 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8351 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8353 (enlarge_archive): Likewise.
8355 2013-05-28 Ben North <ben@redfrontdoor.org>
8357 * manual/arith.texi (frexp): It is the magnitude of the return
8358 value which lies in [0.5, 1), not the return value itself.
8360 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8364 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8366 * stdio-common/bug26.c (main): Correct fscanf template.
8368 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8369 declare _dl_skip_args.
8371 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8374 * manual/platform.texi: Add missing @end deftypefun.
8376 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8380 bit of mantissa of 2^16382.
8381 * math/libm-test.inc (hypot_test_data): Add more tests.
8383 * math/libm-test.inc: Add drem and pow10 to list of tested
8385 (pow10_test): New function.
8386 (drem_test): Likewise.
8387 (drem_test_tonearest): Likewise.
8388 (drem_test_towardzero): Likewise.
8389 (drem_test_downward): Likewise.
8390 (drem_test_upward): Likewise.
8391 (main): Call the new functions.
8393 * math/libm-test.inc (finite_test_data): Remove.
8394 (finite_test): Run tests from isfinite_test_data.
8395 (gamma_test_data): Remove.
8396 (gamma_test): Run tests from lgamma_test_data.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8402 * manual/platform.texi: Add PowerPC PPR function set documentation.
8403 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8406 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8408 * math/libm-test.inc (MAX_EXP): Define.
8410 (ulp): New function.
8411 (check_float_internal): Use ULPDIFF.
8412 (cpow_test): Disable failing test.
8413 (check_ulp): Test ulp() implemetnation.
8414 (main): Call check_ulp before starting tests.
8416 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8418 * math/gen-libm-test.pl (generate_testfile): Do not handle
8419 START_DATA and END_DATA.
8420 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8422 (acos_tonearest_test_data): Likewise.
8423 (acos_towardzero_test_data): Likewise.
8424 (acos_downward_test_data): Likewise.
8425 (acos_upward_test_data): Likewise.
8426 (acosh_test_data): Likewise.
8427 (asin_test_data): Likewise.
8428 (asin_tonearest_test_data): Likewise.
8429 (asin_towardzero_test_data): Likewise.
8430 (asin_downward_test_data): Likewise.
8431 (asin_upward_test_data): Likewise.
8432 (asinh_test_data): Likewise.
8433 (atan_test_data): Likewise.
8434 (atanh_test_data): Likewise.
8435 (atan2_test_data): Likewise.
8436 (cabs_test_data): Likewise.
8437 (cacos_test_data): Likewise.
8438 (cacosh_test_data): Likewise.
8439 (carg_test_data): Likewise.
8440 (casin_test_data): Likewise.
8441 (casinh_test_data): Likewise.
8442 (catan_test_data): Likewise.
8443 (catanh_test_data): Likewise.
8444 (cbrt_test_data): Likewise.
8445 (ccos_test_data): Likewise.
8446 (ccosh_test_data): Likewise.
8447 (ceil_test_data): Likewise.
8448 (cexp_test_data): Likewise.
8449 (cimag_test_data): Likewise.
8450 (clog_test_data): Likewise.
8451 (clog10_test_data): Likewise.
8452 (conj_test_data): Likewise.
8453 (copysign_test_data): Likewise.
8454 (cos_test_data): Likewise.
8455 (cos_tonearest_test_data): Likewise.
8456 (cos_towardzero_test_data): Likewise.
8457 (cos_downward_test_data): Likewise.
8458 (cos_upward_test_data): Likewise.
8459 (cosh_test_data): Likewise.
8460 (cosh_tonearest_test_data): Likewise.
8461 (cosh_towardzero_test_data): Likewise.
8462 (cosh_downward_test_data): Likewise.
8463 (cosh_upward_test_data): Likewise.
8464 (cpow_test_data): Likewise.
8465 (cproj_test_data): Likewise.
8466 (creal_test_data): Likewise.
8467 (csin_test_data): Likewise.
8468 (csinh_test_data): Likewise.
8469 (csqrt_test_data): Likewise.
8470 (ctan_test_data): Likewise.
8471 (ctan_tonearest_test_data): Likewise.
8472 (ctan_towardzero_test_data): Likewise.
8473 (ctan_downward_test_data): Likewise.
8474 (ctan_upward_test_data): Likewise.
8475 (ctanh_test_data): Likewise.
8476 (ctanh_tonearest_test_data): Likewise.
8477 (ctanh_towardzero_test_data): Likewise.
8478 (ctanh_downward_test_data): Likewise.
8479 (ctanh_upward_test_data): Likewise.
8480 (erf_test_data): Likewise.
8481 (erfc_test_data): Likewise.
8482 (exp_test_data): Likewise.
8483 (exp_tonearest_test_data): Likewise.
8484 (exp_towardzero_test_data): Likewise.
8485 (exp_downward_test_data): Likewise.
8486 (exp_upward_test_data): Likewise.
8487 (exp10_test_data): Likewise.
8488 (exp2_test_data): Likewise.
8489 (expm1_test_data): Likewise.
8490 (fabs_test_data): Likewise.
8491 (fdim_test_data): Likewise.
8492 (finite_test_data): Likewise.
8493 (floor_test_data): Likewise.
8494 (fma_test_data): Likewise.
8495 (fma_towardzero_test_data): Likewise.
8496 (fma_downward_test_data): Likewise.
8497 (fma_upward_test_data): Likewise.
8498 (fmax_test_data): Likewise.
8499 (fmin_test_data): Likewise.
8500 (fmod_test_data): Likewise.
8501 (fpclassify_test_data): Likewise.
8502 (frexp_test_data): Likewise.
8503 (gamma_test_data): Likewise.
8504 (hypot_test_data): Likewise.
8505 (ilogb_test_data): Likewise.
8506 (isfinite_test_data): Likewise.
8507 (isgreater_test_data): Likewise.
8508 (isgreaterequal_test_data): Likewise.
8509 (isinf_test_data): Likewise.
8510 (isless_test_data): Likewise.
8511 (islessequal_test_data): Likewise.
8512 (islessgreater_test_data): Likewise.
8513 (isnan_test_data): Likewise.
8514 (isnormal_test_data): Likewise.
8515 (issignaling_test_data): Likewise.
8516 (isunordered_test_data): Likewise.
8517 (j0_test_data): Likewise.
8518 (j1_test_data): Likewise.
8519 (jn_test_data): Likewise.
8520 (ldexp_test_data): Likewise.
8521 (lgamma_test_data): Likewise.
8522 (lrint_test_data): Likewise.
8523 (lrint_tonearest_test_data): Likewise.
8524 (lrint_towardzero_test_data): Likewise.
8525 (lrint_downward_test_data): Likewise.
8526 (lrint_upward_test_data): Likewise.
8527 (llrint_test_data): Likewise.
8528 (llrint_tonearest_test_data): Likewise.
8529 (llrint_towardzero_test_data): Likewise.
8530 (llrint_downward_test_data): Likewise.
8531 (llrint_upward_test_data): Likewise.
8532 (log_test_data): Likewise.
8533 (log10_test_data): Likewise.
8534 (log1p_test_data): Likewise.
8535 (log2_test_data): Likewise.
8536 (logb_test_data): Likewise.
8537 (logb_downward_test_data): Likewise.
8538 (lround_test_data): Likewise.
8539 (llround_test_data): Likewise.
8540 (modf_test_data): Likewise.
8541 (nearbyint_test_data): Likewise.
8542 (nextafter_test_data): Likewise.
8543 (nexttoward_test_data): Likewise.
8544 (pow_test_data): Likewise.
8545 (pow_tonearest_test_data): Likewise.
8546 (pow_towardzero_test_data): Likewise.
8547 (pow_downward_test_data): Likewise.
8548 (pow_upward_test_data): Likewise.
8549 (remainder_test_data): Likewise.
8550 (remainder_tonearest_test_data): Likewise.
8551 (remainder_towardzero_test_data): Likewise.
8552 (remainder_downward_test_data): Likewise.
8553 (remainder_upward_test_data): Likewise.
8554 (remquo_test_data): Likewise.
8555 (rint_test_data): Likewise.
8556 (rint_tonearest_test_data): Likewise.
8557 (rint_towardzero_test_data): Likewise.
8558 (rint_downward_test_data): Likewise.
8559 (rint_upward_test_data): Likewise.
8560 (round_test_data): Likewise.
8561 (scalb_test_data): Likewise.
8562 (scalbn_test_data): Likewise.
8563 (scalbln_test_data): Likewise.
8564 (signbit_test_data): Likewise.
8565 (sin_test_data): Likewise.
8566 (sin_tonearest_test_data): Likewise.
8567 (sin_towardzero_test_data): Likewise.
8568 (sin_downward_test_data): Likewise.
8569 (sin_upward_test_data): Likewise.
8570 (sincos_test_data): Likewise.
8571 (sinh_test_data): Likewise.
8572 (sinh_tonearest_test_data): Likewise.
8573 (sinh_towardzero_test_data): Likewise.
8574 (sinh_downward_test_data): Likewise.
8575 (sinh_upward_test_data): Likewise.
8576 (sqrt_test_data): Likewise.
8577 (tan_test_data): Likewise.
8578 (tan_tonearest_test_data): Likewise.
8579 (tan_towardzero_test_data): Likewise.
8580 (tan_downward_test_data): Likewise.
8581 (tan_upward_test_data): Likewise.
8582 (tanh_test_data): Likewise.
8583 (tgamma_test_data): Likewise.
8584 (trunc_test_data): Likewise.
8585 (y0_test_data): Likewise.
8586 (y1_test_data): Likewise.
8587 (yn_test_data): Likewise.
8588 (significand_test_data): Likewise.
8590 * math/gen-libm-test.pl (@functions): Remove variable.
8591 (generate_testfile): Don't handle START and END lines.
8592 * math/libm-test.inc (START): New macro.
8594 (END_COMPLEX): Likewise.
8595 (acos_test): Use END macro without arguments.
8596 (acos_test_tonearest): Likewise.
8597 (acos_test_towardzero): Likewise.
8598 (acos_test_downward): Likewise.
8599 (acos_test_upward): Likewise.
8600 (acosh_test): Likewise.
8601 (asin_test): Likewise.
8602 (asin_test_tonearest): Likewise.
8603 (asin_test_towardzero): Likewise.
8604 (asin_test_downward): Likewise.
8605 (asin_test_upward): Likewise.
8606 (asinh_test): Likewise.
8607 (atan_test): Likewise.
8608 (atanh_test): Likewise.
8609 (atan2_test): Likewise.
8610 (cabs_test): Likewise.
8611 (cacos_test): Use END_COMPLEX macro without arguments.
8612 (cacosh_test): Likewise.
8613 (carg_test): Use END macro without arguments.
8614 (casin_test): Use END_COMPLEX macro without arguments.
8615 (casinh_test): Likewise.
8616 (catan_test): Likewise.
8617 (catanh_test): Likewise.
8618 (cbrt_test): Use END macro without arguments.
8619 (ccos_test): Use END_COMPLEX macro without arguments.
8620 (ccosh_test): Likewise.
8621 (ceil_test): Use END macro without arguments.
8622 (cexp_test): Use END_COMPLEX macro without arguments.
8623 (cimag_test): Use END macro without arguments.
8624 (clog_test): Use END_COMPLEX macro without arguments.
8625 (clog10_test): Likewise.
8626 (conj_test): Likewise.
8627 (copysign_test): Use END macro without arguments.
8628 (cos_test): Likewise.
8629 (cos_test_tonearest): Likewise.
8630 (cos_test_towardzero): Likewise.
8631 (cos_test_downward): Likewise.
8632 (cos_test_upward): Likewise.
8633 (cosh_test): Likewise.
8634 (cosh_test_tonearest): Likewise.
8635 (cosh_test_towardzero): Likewise.
8636 (cosh_test_downward): Likewise.
8637 (cosh_test_upward): Likewise.
8638 (cpow_test): Use END_COMPLEX macro without arguments.
8639 (cproj_test): Likewise.
8640 (creal_test): Use END macro without arguments.
8641 (csin_test): Use END_COMPLEX macro without arguments.
8642 (csinh_test): Likewise.
8643 (csqrt_test): Likewise.
8644 (ctan_test): Likewise.
8645 (ctan_test_tonearest): Likewise.
8646 (ctan_test_towardzero): Likewise.
8647 (ctan_test_downward): Likewise.
8648 (ctan_test_upward): Likewise.
8649 (ctanh_test): Likewise.
8650 (ctanh_test_tonearest): Likewise.
8651 (ctanh_test_towardzero): Likewise.
8652 (ctanh_test_downward): Likewise.
8653 (ctanh_test_upward): Likewise.
8654 (erf_test): Use END macro without arguments.
8655 (erfc_test): Likewise.
8656 (exp_test): Likewise.
8657 (exp_test_tonearest): Likewise.
8658 (exp_test_towardzero): Likewise.
8659 (exp_test_downward): Likewise.
8660 (exp_test_upward): Likewise.
8661 (exp10_test): Likewise.
8662 (exp2_test): Likewise.
8663 (expm1_test): Likewise.
8664 (fabs_test): Likewise.
8665 (fdim_test): Likewise.
8666 (finite_test): Likewise.
8667 (floor_test): Likewise.
8668 (fma_test): Likewise.
8669 (fma_test_towardzero): Likewise.
8670 (fma_test_downward): Likewise.
8671 (fma_test_upward): Likewise.
8672 (fmax_test): Likewise.
8673 (fmin_test): Likewise.
8674 (fmod_test): Likewise.
8675 (fpclassify_test): Likewise.
8676 (frexp_test): Likewise.
8677 (gamma_test): Likewise.
8678 (hypot_test): Likewise.
8679 (ilogb_test): Likewise.
8680 (isfinite_test): Likewise.
8681 (isgreater_test): Likewise.
8682 (isgreaterequal_test): Likewise.
8683 (isinf_test): Likewise.
8684 (isless_test): Likewise.
8685 (islessequal_test): Likewise.
8686 (islessgreater_test): Likewise.
8687 (isnan_test): Likewise.
8688 (isnormal_test): Likewise.
8689 (issignaling_test): Likewise.
8690 (isunordered_test): Likewise.
8691 (j0_test): Likewise.
8692 (j1_test): Likewise.
8693 (jn_test): Likewise.
8694 (ldexp_test): Likewise.
8695 (lgamma_test): Likewise.
8696 (lrint_test): Likewise.
8697 (lrint_test_tonearest): Likewise.
8698 (lrint_test_towardzero): Likewise.
8699 (lrint_test_downward): Likewise.
8700 (lrint_test_upward): Likewise.
8701 (llrint_test): Likewise.
8702 (llrint_test_tonearest): Likewise.
8703 (llrint_test_towardzero): Likewise.
8704 (llrint_test_downward): Likewise.
8705 (llrint_test_upward): Likewise.
8706 (log_test): Likewise.
8707 (log10_test): Likewise.
8708 (log1p_test): Likewise.
8709 (log2_test): Likewise.
8710 (logb_test): Likewise.
8711 (logb_test_downward): Likewise.
8712 (lround_test): Likewise.
8713 (llround_test): Likewise.
8714 (modf_test): Likewise.
8715 (nearbyint_test): Likewise.
8716 (nextafter_test): Likewise.
8717 (nexttoward_test): Likewise.
8718 (pow_test): Likewise.
8719 (pow_test_tonearest): Likewise.
8720 (pow_test_towardzero): Likewise.
8721 (pow_test_downward): Likewise.
8722 (pow_test_upward): Likewise.
8723 (remainder_test): Likewise.
8724 (remainder_test_tonearest): Likewise.
8725 (remainder_test_towardzero): Likewise.
8726 (remainder_test_downward): Likewise.
8727 (remainder_test_upward): Likewise.
8728 (remquo_test): Likewise.
8729 (rint_test): Likewise.
8730 (rint_test_tonearest): Likewise.
8731 (rint_test_towardzero): Likewise.
8732 (rint_test_downward): Likewise.
8733 (rint_test_upward): Likewise.
8734 (round_test): Likewise.
8735 (scalb_test): Likewise.
8736 (scalbn_test): Likewise.
8737 (scalbln_test): Likewise.
8738 (signbit_test): Likewise.
8739 (sin_test): Likewise.
8740 (sin_test_tonearest): Likewise.
8741 (sin_test_towardzero): Likewise.
8742 (sin_test_downward): Likewise.
8743 (sin_test_upward): Likewise.
8744 (sincos_test): Likewise.
8745 (sinh_test): Likewise.
8746 (sinh_test_tonearest): Likewise.
8747 (sinh_test_towardzero): Likewise.
8748 (sinh_test_downward): Likewise.
8749 (sinh_test_upward): Likewise.
8750 (sqrt_test): Likewise.
8751 (tan_test): Likewise.
8752 (tan_test_tonearest): Likewise.
8753 (tan_test_towardzero): Likewise.
8754 (tan_test_downward): Likewise.
8755 (tan_test_upward): Likewise.
8756 (tanh_test): Likewise.
8757 (tgamma_test): Likewise.
8758 (trunc_test): Likewise.
8759 (y0_test): Likewise.
8760 (y1_test): Likewise.
8761 (yn_test): Likewise.
8762 (significand_test): Likewise.
8764 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8767 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8769 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8772 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8773 __ppc_mdoio and __ppc_mdoom.
8774 * manual/platform.texi: Document new functions __ppc_yield,
8775 __ppc_mdoio and __ppc_mdoom.
8777 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8779 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8780 (main): Mention "tls" pseudo-hwcap is legacy.
8781 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8783 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8785 * math/gen-libm-test.pl (parse_args): Output only string of
8786 arguments as text for test name, not full call or descriptions of
8787 tests for extra outputs.
8788 (generate_testfile): Do not pass function name to parse_args.
8789 Generate this_func variable from START.
8790 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8792 (struct test_ff_f_data): Likewise.
8793 (test_ff_f_data_nexttoward): Likewise.
8794 (struct test_fi_f_data): Likewise.
8795 (struct test_fl_f_data): Likewise.
8796 (struct test_if_f_data): Likewise.
8797 (struct test_fff_f_data): Likewise.
8798 (struct test_c_f_data): Likewise.
8799 (struct test_f_f1_data): Likewise. Remove field extra_name.
8800 (struct test_fF_f1_data): Likewise.
8801 (struct test_ffI_f1_data): Likewise.
8802 (struct test_c_c_data): Rename test_name field to arg_str.
8803 (struct test_cc_c_data): Likewise.
8804 (struct test_f_i_data): Likewise.
8805 (struct test_ff_i_data): Likewise.
8806 (struct test_f_l_data): Likewise.
8807 (struct test_f_L_data): Likewise.
8808 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8810 (COMMON_TEST_SETUP): New macro.
8811 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8812 (COMMON_TEST_CLEANUP): Likewise.
8813 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8814 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8816 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8817 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8819 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8820 (RUN_TEST_fff_f): Take argument string. Call new setup and
8822 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8823 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8825 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8826 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8828 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8829 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8831 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8832 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8834 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8835 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8837 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8838 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8840 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8841 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8843 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8844 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8846 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8847 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8849 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8850 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8852 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8853 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8855 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8856 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8858 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8859 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8861 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8862 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8864 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8865 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8867 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8869 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8871 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8872 to _sifields.sigfault.
8873 (si_addr_lsb): Define new macro.
8874 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8876 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8878 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8881 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8883 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8885 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8888 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8890 * math/gen-libm-test.pl (parse_args): Do not include expected
8891 result in test name.
8892 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8893 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8894 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8895 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8896 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8899 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * benchtests/Makefile: Sort function entries.
8903 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8904 tanh, asinh, acosh, atanh.
8905 * benchtests/acos-inputs: New file.
8906 * benchtests/acosh-inputs: New file.
8907 * benchtests/asin-inputs: New file.
8908 * benchtests/asinh-inputs: New file.
8909 * benchtests/atanh-inputs: New file.
8910 * benchtests/cosh-inputs: New file.
8911 * benchtests/log-inputs: New file.
8912 * benchtests/sinh-inputs: New file.
8913 * benchtests/tanh-inputs: New file.
8915 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8918 * posix/tst-getaddrinfo4.c: New test.
8919 * posix/Makefile (tests): Add it.
8921 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8924 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8925 when no services were used.
8926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8927 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8929 2013-05-21 Andreas Schwab <schwab@suse.de>
8932 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8933 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8935 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8936 redundant variable declarations and reallocation of buffer when
8937 parsing as IPv6 address. Always set NSS status when called from
8938 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8939 buffer too small. Correct computation of needed size.
8940 * nss/Makefile (tests): Add test-digits-dots.
8941 * nss/test-digits-dots.c: New test.
8943 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8945 * benchtests/Makefile: Remove instructions for adding
8947 * benchtests/README: New file to explain how to execute and
8948 enhance the benchmark tests.
8950 2013-05-21 Andreas Schwab <schwab@suse.de>
8953 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8954 * setjmp/tst-sigsetjmp.c: New test.
8956 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8958 * sysdeps/x86_64/memset.S (memset): New implementation.
8959 (__bzero): Likewise.
8960 (__memset_tail): New function.
8962 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8964 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8965 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8966 __memcpy_sse2_unaligned ifunc selection.
8967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8968 Add memcpy-sse2-unaligned.S.
8969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8970 Add: __memcpy_sse2_unaligned.
8972 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8975 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8976 math_force_eval before restoring floating-point envrionment.
8977 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8980 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8982 (__nearbyintl): Use math_force_eval before restoring
8983 floating-point environment.
8984 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8986 * math/gen-libm-test.pl (special_functions): Remove.
8987 (parse_args): Don't handle TEST_extra. Handle functions with no
8989 * math/libm-test.inc (struct test_sincos_data): Replace with
8990 struct test_fFF_11_data.
8991 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8992 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8993 (sincos_test_data): Change element type to struct
8994 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8995 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8996 RUN_TEST_LOOP_sincos.
8997 * math/README.libm-test: Don't mention special handling of
8998 individual functions.
8999 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9001 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9003 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9006 * math/gen-libm-test.pl (get_variable): Remove function.
9007 (parse_args): Don't show pointer parameters to call in test
9008 names. Use "extra output N" in test names for extra outputs
9009 rather than naming variables.
9011 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9014 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9015 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9016 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9018 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9020 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9023 * math/gen-libm-test.pl (@tests): Remove variable.
9025 (new_test): Remove function.
9026 (show_exceptions): New function.
9027 (special_functions): Use show_exceptions instead of new_test.
9028 (parse_args): Likewise.
9029 (generate_testfile): Pass only function name in generated call to
9030 print_max_error or print_complex_max_error.
9031 (get_ulps): Do not handle complex tests specially.
9032 (output_test): Rename to ...
9033 (get_all_ulps_for_test): ... this. Return a string rather than
9034 printing to a file. Require ulps to be present.
9035 (output_ulps): Generate arrays rather than #defines.
9036 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9037 (struct ulp_data): New type.
9038 (BUILD_COMPLEX_ULP): Remove macro.
9039 (compare_ulp_data): New function.
9040 (find_ulps): Likewise.
9041 (find_test_ulps): Likewise.
9042 (find_function_ulps): Likewise.
9043 (find_complex_function_ulps): Likewise.
9044 (print_max_error): Determine allowed ulps using
9046 (print_complex_max_error): Determine allowed ulps using
9047 find_complex_function_ulps.
9048 (check_float_internal): Determine max ulps using find_test_ulps.
9049 (check_float): Do not take max_ulp parameter. Update call to
9050 check_float_internal.
9051 (check_complex): Likewise.
9052 (check_int): Do not take max_ulp parameter.
9053 (check_long): Likewise.
9054 (check_bool): Likewise.
9055 (check_longlong): Likewise.
9056 (struct test_f_f_data): Remove max_ulp field.
9057 (struct test_ff_f_data): Likewise.
9058 (struct test_ff_f_data_nexttoward): Likewise.
9059 (struct test_fi_f_data): Likewise.
9060 (struct test_fl_f_data): Likewise.
9061 (struct test_if_f_data): Likewise.
9062 (struct test_fff_f_data): Likewise.
9063 (struct test_c_f_data): Likewise.
9064 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9065 (struct test_fF_f1_data): Likewise.
9066 (struct test_ffI_f1_data): Likewise.
9067 (struct test_c_c_data): Remove max_ulp field.
9068 (struct test_cc_c_data): Likewise.
9069 (struct test_f_i_data): Likewise.
9070 (struct test_ff_i_data): Likewise.
9071 (struct test_f_l_data): Likewise.
9072 (struct test_f_L_data): Likewise.
9073 (struct test_sincos_data): Likewise.
9074 (RUN_TEST_f_f): Do not handle ulps.
9075 (RUN_TEST_LOOP_f_f): Likewise.
9076 (RUN_TEST_2_f): Likewise.
9077 (RUN_TEST_LOOP_2_f): Likewise.
9078 (RUN_TEST_fff_f): Likewise.
9079 (RUN_TEST_LOOP_fff_f): Likewise.
9080 (RUN_TEST_c_f): Likewise.
9081 (RUN_TEST_LOOP_c_f): Likewise.
9082 (RUN_TEST_f_f1): Likewise.
9083 (RUN_TEST_LOOP_f_f1): Likewise.
9084 (RUN_TEST_fF_f1): Likewise.
9085 (RUN_TEST_LOOP_fF_f1): Likewise.
9086 (RUN_TEST_fI_f1): Likewise.
9087 (RUN_TEST_LOOP_fI_f1): Likewise.
9088 (RUN_TEST_ffI_f1): Likewise.
9089 (RUN_TEST_LOOP_ffI_f1): Likewise.
9090 (RUN_TEST_c_c): Likewise.
9091 (RUN_TEST_LOOP_c_c): Likewise.
9092 (RUN_TEST_cc_c): Likewise.
9093 (RUN_TEST_LOOP_cc_c): Likewise.
9094 (RUN_TEST_f_i): Likewise.
9095 (RUN_TEST_LOOP_f_i): Likewise.
9096 (RUN_TEST_f_i_tg): Likewise.
9097 (RUN_TEST_LOOP_f_i_tg): Likewise.
9098 (RUN_TEST_ff_i_tg): Likewise.
9099 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9100 (RUN_TEST_f_b): Likewise.
9101 (RUN_TEST_LOOP_f_b): Likewise.
9102 (RUN_TEST_f_b_tg): Likewise.
9103 (RUN_TEST_LOOP_f_b_tg): Likewise.
9104 (RUN_TEST_f_l): Likewise.
9105 (RUN_TEST_LOOP_f_l): Likewise.
9106 (RUN_TEST_f_L): Likewise.
9107 (RUN_TEST_LOOP_f_L): Likewise.
9108 (RUN_TEST_sincos): Likewise.
9109 (RUN_TEST_LOOP_sincos): Likewise.
9111 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9115 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9116 main case of finite arguments, set rounding mode to FE_TONEAREST
9117 and discard exceptions.
9118 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9120 (remainder_tonearest_test_data): New variable.
9121 (remainder_test_tonearest): New function.
9122 (remainder_towardzero_test_data): New variable.
9123 (remainder_test_towardzero): New function.
9124 (remainder_downward_test_data): New variable.
9125 (remainder_test_downward): New function.
9126 (remainder_upward_test_data): New variable.
9127 (remainder_test_upward): New function.
9128 (main): Call the new test functions.
9130 * math/libm-test.inc (struct test_f_f1_data): Remove field
9132 (struct test_fF_f1_data): Likewise.
9133 (struct test_ffI_f1_data): Likewise.
9134 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9135 based on value of EXTRA_EXPECTED.
9136 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9137 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9138 EXTRA_VAR based on value of EXTRA_EXPECTED.
9139 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9140 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9141 EXTRA_VAR based on value of EXTRA_EXPECTED.
9142 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9143 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9144 EXTRA_VAR based on value of EXTRA_EXPECTED.
9145 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9146 * math/gen-libm-test.pl (parse_args): Don't output initializers
9147 for extra output values.
9149 * math/libm-test.inc (check_int): Expect result to be exactly
9150 equal to expected value and do not handle ulps.
9151 (check_long): Likewise.
9152 (check_longlong): Likewise.
9154 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9156 (cimag_test_data): Likewise.
9157 (conj_test_data): Likewise.
9158 (copysign_test_data): Likewise.
9159 (cproj_test_data): Likewise.
9160 (creal_test_data): Likewise.
9161 (fabs_test_data): Likewise.
9162 (fdim_test_data): Likewise.
9163 (finite_test_data): Likewise.
9164 (floor_test_data): Likewise.
9165 (fmax_test_data): Likewise.
9166 (fmin_test_data): Likewise.
9167 (fmod_test_data): Likewise.
9168 (fpclassify_test_data): Likewise.
9169 (frexp_test_data): Likewise.
9170 (ilogb_test_data): Likewise.
9171 (isfinite_test_data): Likewise.
9172 (isgreater_test_data): Likewise.
9173 (isgreaterequal_test_data): Likewise.
9174 (isinf_test_data): Likewise.
9175 (isless_test_data): Likewise.
9176 (islessequal_test_data): Likewise.
9177 (islessgreater_test_data): Likewise.
9178 (isnan_test_data): Likewise.
9179 (isnormal_test_data): Likewise.
9180 (issignaling_test_data): Likewise.
9181 (isunordered_test_data): Likewise.
9182 (ldexp_test_data): Likewise.
9183 (lrint_test_data): Likewise.
9184 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9185 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9186 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9187 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9188 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9189 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9191 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9192 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9193 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9194 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9196 (lrint_downward_test_data): Test for "inexact" exceptions.
9197 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9198 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9199 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9201 (lrint_upward_test_data): Test for "inexact" exceptions.
9202 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9204 (llrint_test_data): Test for "inexact" exceptions.
9205 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9206 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9207 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9208 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9209 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9210 (llrint_downward_test_data): Test for "inexact" exceptions.
9211 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9212 (llrint_upward_test_data): Test for "inexact" exceptions.
9213 (logb_test_data): Likewise.
9214 (logb_downward_test_data): Likewise.
9215 (nextafter_test_data): Likewise.
9216 (nexttoward_test_data): Likewise.
9217 (remainder_test_data): Likewise.
9218 (remquo_test_data): Likewise.
9219 (scalbn_test_data): Likewise.
9220 (scalbln_test_data): Likewise.
9221 (signbit_test_data): Likewise.
9222 (sqrt_test_data): Likewise.
9223 (significand_test_data): Likewise.
9225 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9228 * benchtests/bench-modf.c (struct args): Mark arg0 as
9230 * scripts/bench.pl: Mark members of struct args as volatile.
9232 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9235 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9236 negative infinity on POWER6 or lower.
9237 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9239 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9242 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9243 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9244 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9245 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9246 (_FP_SETQNAN): New macro.
9247 (_FP_SETQNAN_SEMIRAW): Likewise.
9248 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9249 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9250 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9251 (FP_EXTEND): Use _FP_FRAC_SNANP.
9252 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9253 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9255 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9257 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9260 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9262 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9263 with DIVIDE_BY_ZERO_EXCEPTION.
9264 (gamma_test_data): Likewise.
9265 (lgamma_test_data): Likewise.
9266 (log_test_data): Likewise.
9267 (log10_test_data): Likewise.
9268 (log2_test_data): Likewise.
9269 (tgamma_test_data): Likewise.
9271 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9272 (acos_test_tonearest): Likewise.
9273 (acos_test_towardzero): Likewise.
9274 (acos_test_downward): Likewise.
9275 (acos_test_upward): Likewise.
9276 (acosh_test): Likewise.
9277 (asin_test): Likewise.
9278 (asin_test_tonearest): Likewise.
9279 (asin_test_towardzero): Likewise.
9280 (asin_test_downward): Likewise.
9281 (asin_test_upward): Likewise.
9282 (asinh_test): Likewise.
9283 (atan_test): Likewise.
9284 (atanh_test): Likewise.
9285 (atan2_test): Likewise.
9286 (cabs_test): Likewise.
9287 (cacos_test): Likewise.
9288 (cacosh_test): Likewise.
9289 (casin_test): Likewise.
9290 (casinh_test): Likewise.
9291 (catan_test): Likewise.
9292 (catanh_test): Likewise.
9293 (cbrt_test): Likewise.
9294 (ccos_test): Likewise.
9295 (ccosh_test): Likewise.
9296 (cexp_test): Likewise.
9297 (clog_test): Likewise.
9298 (clog10_test): Likewise.
9299 (cos_test): Likewise.
9300 (cos_test_tonearest): Likewise.
9301 (cos_test_towardzero): Likewise.
9302 (cos_test_downward): Likewise.
9303 (cos_test_upward): Likewise.
9304 (cosh_test): Likewise.
9305 (cosh_test_tonearest): Likewise.
9306 (cosh_test_towardzero): Likewise.
9307 (cosh_test_downward): Likewise.
9308 (cosh_test_upward): Likewise.
9309 (cpow_test): Likewise.
9310 (csin_test): Likewise.
9311 (csinh_test): Likewise.
9312 (csqrt_test): Likewise.
9313 (ctan_test): Likewise.
9314 (ctan_test_tonearest): Likewise.
9315 (ctan_test_towardzero): Likewise.
9316 (ctan_test_downward): Likewise.
9317 (ctan_test_upward): Likewise.
9318 (ctanh_test): Likewise.
9319 (ctanh_test_tonearest): Likewise.
9320 (ctanh_test_towardzero): Likewise.
9321 (ctanh_test_downward): Likewise.
9322 (ctanh_test_upward): Likewise.
9323 (erf_test): Likewise.
9324 (erfc_test): Likewise.
9325 (exp_test): Likewise.
9326 (exp_test_tonearest): Likewise.
9327 (exp_test_towardzero): Likewise.
9328 (exp_test_downward): Likewise.
9329 (exp_test_upward): Likewise.
9330 (exp10_test): Likewise.
9331 (exp2_test): Likewise.
9332 (expm1_test): Likewise.
9333 (fmod_test): Likewise.
9334 (gamma_test): Likewise.
9335 (hypot_test): Likewise.
9336 (j0_test): Likewise.
9337 (j1_test): Likewise.
9338 (jn_test): Likewise.
9339 (lgamma_test): Likewise.
9340 (log_test): Likewise.
9341 (log10_test): Likewise.
9342 (log1p_test): Likewise.
9343 (log2_test): Likewise.
9344 (logb_test_downward): Likewise.
9345 (pow_test): Likewise.
9346 (pow_test_tonearest): Likewise.
9347 (pow_test_towardzero): Likewise.
9348 (pow_test_downward): Likewise.
9349 (pow_test_upward): Likewise.
9350 (remainder_test): Likewise.
9351 (remquo_test): Likewise.
9352 (sin_test): Likewise.
9353 (sin_test_tonearest): Likewise.
9354 (sin_test_towardzero): Likewise.
9355 (sin_test_downward): Likewise.
9356 (sin_test_upward): Likewise.
9357 (sincos_test): Likewise.
9358 (sinh_test): Likewise.
9359 (sinh_test_tonearest): Likewise.
9360 (sinh_test_towardzero): Likewise.
9361 (sinh_test_downward): Likewise.
9362 (sinh_test_upward): Likewise.
9363 (sqrt_test): Likewise.
9364 (tan_test): Likewise.
9365 (tan_test_tonearest): Likewise.
9366 (tan_test_towardzero): Likewise.
9367 (tan_test_downward): Likewise.
9368 (tan_test_upward): Likewise.
9369 (tanh_test): Likewise.
9370 (tgamma_test): Likewise.
9371 (y0_test): Likewise.
9372 (y1_test): Likewise.
9373 (yn_test): Likewise.
9375 * math/gen-libm-test.pl (adjust_arg): Remove function.
9376 (special_function): Remove argument $in_func. Only handle
9377 generating output for tables of tests, not inside functions.
9378 (parse_args): Likewise.
9379 (generate_testfile): Remove variable $in_func. Update call to
9381 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9382 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9383 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9384 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9385 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9386 (MAX_VALUE_INIT): Rename macro to max_value.
9387 (MIN_VALUE_INIT): Rename macro to min_value.
9388 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9389 (plus_zero): Remove variable.
9390 (minus_zero): Likewise.
9391 (plus_infty): Likewise.
9392 (minus_infty): Likewise.
9393 (qnan_value): Likewise.
9394 (max_value): Likewise.
9395 (min_value): Likewise.
9396 (min_subnorm_value): Likewise.
9398 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9400 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9401 uint64_t or uint32_t usage.
9402 * crypt/sha256-block.c: Likewise.
9403 * crypt/sha256-crypt.c: Likewise.
9404 * crypt/sha256.c: Likewise.
9405 * crypt/sha512-block.c: Likewise.
9406 * crypt/sha512-crypt.c: Likewise.
9407 * crypt/sha512.c: Likewise.
9408 * debug/backtrace-tst.c: Likewise.
9409 * debug/pcprofiledump.c: Likewise.
9410 * elf/cache.c: Likewise.
9411 * elf/dl-cache.c: Likewise.
9412 * elf/dl-misc.c: Likewise.
9413 * elf/dl-profile.c: Likewise.
9414 * elf/dl-support.c: Likewise.
9415 * elf/ldconfig.c: Likewise.
9416 * elf/sprof.c: Likewise.
9417 * iconv/dummy-repertoire.c: Likewise.
9418 * iconv/iconv_charmap.c: Likewise.
9419 * iconv/skeleton.c: Likewise.
9420 * iconvdata/8bit-generic.c: Likewise.
9421 * iconvdata/cp737.h: Likewise.
9422 * iconvdata/cp775.h: Likewise.
9423 * iconvdata/ibm1008.h: Likewise.
9424 * iconvdata/ibm1025.h: Likewise.
9425 * iconvdata/ibm1046.h: Likewise.
9426 * iconvdata/ibm1097.h: Likewise.
9427 * iconvdata/ibm1112.h: Likewise.
9428 * iconvdata/ibm1122.h: Likewise.
9429 * iconvdata/ibm1123.h: Likewise.
9430 * iconvdata/ibm1124.h: Likewise.
9431 * iconvdata/ibm1129.h: Likewise.
9432 * iconvdata/ibm1130.h: Likewise.
9433 * iconvdata/ibm1132.h: Likewise.
9434 * iconvdata/ibm1133.h: Likewise.
9435 * iconvdata/ibm1137.h: Likewise.
9436 * iconvdata/ibm1140.h: Likewise.
9437 * iconvdata/ibm1141.h: Likewise.
9438 * iconvdata/ibm1142.h: Likewise.
9439 * iconvdata/ibm1143.h: Likewise.
9440 * iconvdata/ibm1144.h: Likewise.
9441 * iconvdata/ibm1145.h: Likewise.
9442 * iconvdata/ibm1146.h: Likewise.
9443 * iconvdata/ibm1147.h: Likewise.
9444 * iconvdata/ibm1148.h: Likewise.
9445 * iconvdata/ibm1149.h: Likewise.
9446 * iconvdata/ibm1153.h: Likewise.
9447 * iconvdata/ibm1154.h: Likewise.
9448 * iconvdata/ibm1155.h: Likewise.
9449 * iconvdata/ibm1156.h: Likewise.
9450 * iconvdata/ibm1157.h: Likewise.
9451 * iconvdata/ibm1158.h: Likewise.
9452 * iconvdata/ibm1160.h: Likewise.
9453 * iconvdata/ibm1161.h: Likewise.
9454 * iconvdata/ibm1162.h: Likewise.
9455 * iconvdata/ibm1163.h: Likewise.
9456 * iconvdata/ibm1164.h: Likewise.
9457 * iconvdata/ibm1166.h: Likewise.
9458 * iconvdata/ibm1167.h: Likewise.
9459 * iconvdata/ibm12712.h: Likewise.
9460 * iconvdata/ibm1390.h: Likewise.
9461 * iconvdata/ibm1399.h: Likewise.
9462 * iconvdata/ibm16804.h: Likewise.
9463 * iconvdata/ibm4517.h: Likewise.
9464 * iconvdata/ibm4899.h: Likewise.
9465 * iconvdata/ibm4909.h: Likewise.
9466 * iconvdata/ibm4971.h: Likewise.
9467 * iconvdata/ibm5347.h: Likewise.
9468 * iconvdata/ibm803.h: Likewise.
9469 * iconvdata/ibm856.h: Likewise.
9470 * iconvdata/ibm901.h: Likewise.
9471 * iconvdata/ibm902.h: Likewise.
9472 * iconvdata/ibm9030.h: Likewise.
9473 * iconvdata/ibm9066.h: Likewise.
9474 * iconvdata/ibm921.h: Likewise.
9475 * iconvdata/ibm922.h: Likewise.
9476 * iconvdata/ibm9448.h: Likewise.
9477 * iconvdata/isiri-3342.h: Likewise.
9478 * iconvdata/jis0201.h: Likewise.
9479 * include/link.h: Likewise.
9480 * include/netdb.h: Likewise.
9481 * inet/check_native.c: Likewise.
9482 * inet/check_pf.c: Likewise.
9483 * inet/getipv4sourcefilter.c: Likewise.
9484 * inet/getnameinfo.c: Likewise.
9485 * inet/getsourcefilter.c: Likewise.
9486 * inet/htonl.c: Likewise.
9487 * inet/setipv4sourcefilter.c: Likewise.
9488 * inet/setsourcefilter.c: Likewise.
9489 * inet/test-inet6_opt.c: Likewise.
9490 * inet/tst-network.c: Likewise.
9491 * locale/C-collate.c: Likewise.
9492 * locale/C-ctype.c: Likewise.
9493 * locale/C-time.c: Likewise.
9494 * locale/C-translit.h: Likewise.
9495 * locale/loadarchive.c: Likewise.
9496 * locale/programs/3level.h: Likewise.
9497 * locale/programs/charmap.c: Likewise.
9498 * locale/programs/charmap.h: Likewise.
9499 * locale/programs/ld-address.c: Likewise.
9500 * locale/programs/ld-collate.c: Likewise.
9501 * locale/programs/ld-ctype.c: Likewise.
9502 * locale/programs/ld-identification.c: Likewise.
9503 * locale/programs/ld-measurement.c: Likewise.
9504 * locale/programs/ld-messages.c: Likewise.
9505 * locale/programs/ld-monetary.c: Likewise.
9506 * locale/programs/ld-name.c: Likewise.
9507 * locale/programs/ld-numeric.c: Likewise.
9508 * locale/programs/ld-paper.c: Likewise.
9509 * locale/programs/ld-telephone.c: Likewise.
9510 * locale/programs/ld-time.c: Likewise.
9511 * locale/programs/linereader.c: Likewise.
9512 * locale/programs/locale.c: Likewise.
9513 * locale/programs/locarchive.c: Likewise.
9514 * locale/programs/locfile.h: Likewise.
9515 * locale/programs/repertoire.c: Likewise.
9516 * locale/programs/simple-hash.c: Likewise.
9517 * locale/programs/simple-hash.h: Likewise.
9518 * malloc/memusage.c: Likewise.
9519 * malloc/memusagestat.c: Likewise.
9520 * nis/nis_defaults.c: Likewise.
9521 * nis/nis_hash.c: Likewise.
9522 * nis/nis_print.c: Likewise.
9523 * nis/nis_xdr.c: Likewise.
9524 * nscd/connections.c: Likewise.
9525 * nscd/hstcache.c: Likewise.
9526 * nscd/nscd_gethst_r.c: Likewise.
9527 * nscd/nscd_getserv_r.c: Likewise.
9528 * nscd/nscd_helper.c: Likewise.
9529 * nscd/servicescache.c: Likewise.
9530 * nss/makedb.c: Likewise.
9531 * nss/nss_db/db-XXX.c: Likewise.
9532 * nss/nss_db/db-initgroups.c: Likewise.
9533 * nss/nss_db/db-netgrp.c: Likewise.
9534 * nss/nss_files/files-network.c: Likewise.
9535 * nss/nss_files/files-parse.c: Likewise.
9536 * posix/bug-regex5.c: Likewise.
9537 * posix/fnmatch_loop.c: Likewise.
9538 * posix/regcomp.c: Likewise.
9539 * posix/regexec.c: Likewise.
9540 * posix/tst-rfc3484-2.c: Likewise.
9541 * posix/tst-rfc3484-3.c: Likewise.
9542 * posix/tst-rfc3484.c: Likewise.
9543 * resolv/nss_dns/dns-canon.c: Likewise.
9544 * resolv/nss_dns/dns-network.c: Likewise.
9545 * resolv/res_init.c: Likewise.
9546 * resolv/res_mkquery.c: Likewise.
9547 * resolv/tst-aton.c: Likewise.
9548 * stdlib/cxa_atexit.c: Likewise.
9549 * stdlib/cxa_finalize.c: Likewise.
9550 * stdlib/gen-fpioconst.c: Likewise.
9551 * stdlib/strtol_l.c: Likewise.
9552 * string/tst-endian.c: Likewise.
9553 * sunrpc/auth_des.c: Likewise.
9554 * sunrpc/clnt_udp.c: Likewise.
9555 * sunrpc/rtime.c: Likewise.
9556 * sunrpc/svcauth_des.c: Likewise.
9557 * sunrpc/xdr.c: Likewise.
9558 * sunrpc/xdr_intXX_t.c: Likewise.
9559 * sunrpc/xdr_rec.c: Likewise.
9560 * sysdeps/generic/ldconfig.h: Likewise.
9561 * sysdeps/generic/ldsodefs.h: Likewise.
9562 * sysdeps/generic/memusage.h: Likewise.
9563 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9573 * sysdeps/posix/getaddrinfo.c: Likewise.
9574 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9575 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9576 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9577 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9578 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9579 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9580 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9581 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9582 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9583 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9584 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9585 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9586 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9587 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9588 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9589 * sysdeps/x86_64/dl-tls.h: Likewise.
9590 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9591 * time/alt_digit.c: Likewise.
9592 * time/era.c: Likewise.
9593 * wcsmbs/tst-c16c32-1.c: Likewise.
9595 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9597 * math/libm-test.inc (struct test_sincos_data): New type.
9598 (RUN_TEST_LOOP_sincos): New macro.
9599 (sincos_test_data): New variable.
9600 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9602 2013-05-16 Richard Henderson <rth@redhat.com>
9604 * math/atest-exp2.c (LIMB64): New macro.
9605 (CONSTSZ): New macro.
9606 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9608 (print_mpn_fp): ... to function scope.
9609 (read_mpn_hex): Remove.
9611 (exp2_mpn): Use mp_log2.
9612 (main): Use mp_exp1.
9614 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9616 * math/libm-test.inc: Remove comment about not testing "inexact"
9618 (INEXACT_EXCEPTION): New macro.
9619 (NO_INEXACT_EXCEPTION): Likewise.
9620 (INVALID_EXCEPTION_OK): Update value.
9621 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9622 (OVERFLOW_EXCEPTION_OK): Likewise.
9623 (UNDERFLOW_EXCEPTION_OK): Likewise.
9624 (IGNORE_ZERO_INF_SIGN): Likewise.
9625 (ERRNO_UNCHANGED): Likewise.
9626 (ERRNO_EDOM): Likewise.
9627 (ERRNO_ERANGE): Likewise.
9628 (test_exceptions): Handle testing "inexact" exceptions.
9629 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9630 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9631 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9632 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9634 (rint_towardzero_test_data): Likewise.
9635 (rint_downward_test_data): Likewise.
9636 (rint_upward_test_data): Likewise.
9638 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9639 with OVERFLOW_EXCEPTION.
9640 (exp10_test_data): Likewise.
9641 (exp2_test_data): Likewise.
9642 (expm1_test_data): Likewise.
9643 (lgamma_test_data): Likewise.
9644 (pow_test_data): Likewise.
9645 (tgamma_test_data): Likewise.
9646 (yn_test_data): Remove duplicate test of overflow.
9648 * math/libm-test.inc (struct test_cc_c_data): New type.
9649 (RUN_TEST_LOOP_cc_c): New macro.
9650 (cpow_test_data): New variable.
9651 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9653 * math/libm-test.inc (struct test_f_L_data): New type.
9654 (RUN_TEST_LOOP_f_L): New macro.
9655 (llrint_test_data): New variable.
9656 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9657 (llrint_tonearest_test_data): New variable.
9658 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9659 (llrint_towardzero_test_data): New variable.
9660 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9661 (llrint_downward_test_data): New variable.
9662 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9663 (llrint_upward_test_data): New variable.
9664 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9665 (llround_test_data): New variable.
9666 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9668 2013-05-13 Peter Collingbourne <pcc@google.com>
9670 * math/atest-exp2.c (get_log2): Remove const attribute.
9672 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9674 * math/libm-test.inc (struct test_f_l_data): New type.
9675 (RUN_TEST_LOOP_f_l): New macro.
9676 (lrint_test_data): New variable.
9677 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9678 (lrint_tonearest_test_data): New variable.
9679 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9680 (lrint_towardzero_test_data): New variable.
9681 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9682 (lrint_downward_test_data): New variable.
9683 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9684 (lrint_upward_test_data): New variable.
9685 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9686 (lround_test_data): New variable.
9687 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9689 2013-05-15 Peter Collingbourne <pcc@google.com>
9691 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9692 (EXTRACT_WORDS64) Use where appropriate.
9693 (INSERT_WORDS64) Likewise.
9695 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9696 constraints with x constraints.
9697 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9699 * malloc/obstack.c (_obstack_compat): Add initializer.
9701 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9703 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9704 si_trapno and add si_addr_lsb to _sifields.sigfault.
9705 (si_trapno): Remove macro.
9706 (si_addr_lsb): Define new macro.
9707 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9709 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9711 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9712 instead of TEST_f_l.
9713 (llrint_test_tonearest): Likewise.
9714 (llrint_test_towardzero): Likewise.
9715 (llrint_test_downward): Likewise.
9716 (llrint_test_upward): Likewise.
9717 (llround_test): Likewise.
9719 * math/libm-test.inc (struct test_f_i_data): Add comment.
9720 (RUN_TEST_LOOP_f_b): New macro.
9721 (RUN_TEST_LOOP_f_b_tg): Likewise.
9722 (finite_test_data): New variable.
9723 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9724 (isfinite_test_data): New variable.
9725 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9726 (isinf_test_data): New variable.
9727 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9728 (isnan_test_data): New variable.
9729 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9730 (isnormal_test_data): New variable.
9731 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9732 (issignaling_test_data): New variable.
9733 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9734 (signbit_test_data): New variable.
9735 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9737 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9738 with INVALID_EXCEPTION.
9739 (acosh_test_data): Likewise.
9740 (asin_test_data): Likewise.
9741 (atanh_test_data): Likewise.
9742 (fmod_test_data): Likewise.
9743 (log_test_data): Likewise.
9744 (log10_test_data): Likewise.
9745 (log2_test_data): Likewise.
9746 (pow_test_data): Likewise.
9747 (sqrt_test_data): Likewise.
9748 (y0_test_data): Likewise.
9749 (y1_test_data): Likewise.
9750 (yn_test_data): Likewise.
9752 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9755 * math/libm-test.inc (struct test_ff_i_data): New type.
9756 (RUN_TEST_LOOP_ff_i_tg): New macro.
9757 (isgreater_test_data): New variable.
9758 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9759 (isgreaterequal_test_data): New variable.
9760 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9761 (isless_test_data): New variable.
9762 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9763 (islessequal_test_data): New variable.
9764 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9765 (islessgreater_test_data): New variable.
9766 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9767 (isunordered_test_data): New variable.
9768 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9770 2013-05-14 David S. Miller <davem@davemloft.net>
9772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9774 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9776 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9778 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9780 (struct test_f_i_data): Change type of max_ulp to int.
9782 * math/libm-test.inc (test_ffI_f1_data): New type.
9783 (RUN_TEST_LOOP_ffI_f1): New macro.
9784 (remquo_test_data): New variable.
9785 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9787 * setjmp/tst-setjmp-fp.c: New file.
9788 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9789 (link-libm): New variable.
9790 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9792 * math/libm-test.inc (struct test_f_i_data): New type.
9793 (RUN_TEST_LOOP_f_i): New macro.
9794 (RUN_TEST_LOOP_f_i_tg): Likewise.
9795 (fpclassify_test_data): New variable.
9796 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9797 (ilogb_test_data): New variable.
9798 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9800 * math/libm-test.inc (scalbln_test): Correct function name in END
9803 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9804 (RUN_TEST_LOOP_fI_f1): New macro.
9805 (frexp_test_data): New variable.
9806 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9808 * math/libm-test.inc (struct test_fF_f1_data): New type.
9809 (RUN_TEST_LOOP_fF_f1): New macro.
9810 (modf_test_data): New variable.
9811 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9813 * math/libm-test.inc (struct test_f_f1_data): New type.
9814 (RUN_TEST_LOOP_f_f1): New macro.
9815 (gamma_test_data): New variable.
9816 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9817 (lgamma_test_data): New variable.
9818 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9820 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9822 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9823 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9824 (main): Comment "tls" pseudo-hwcap.
9826 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9828 * math/libm-test.inc (struct test_fl_f_data): New type.
9829 (RUN_TEST_LOOP_fl_f): New variable.
9830 (scalbln_test_data): New variable.
9831 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9833 * math/libm-test.inc (struct test_fi_f_data): New type.
9834 (RUN_TEST_LOOP_fi_f): New macro.
9835 (ldexp_test_data): New variable.
9836 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9837 (scalbn_test_data): New variable.
9838 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9840 * math/libm-test.inc (struct test_c_f_data): New type.
9841 (RUN_TEST_LOOP_c_f): New macro.
9842 (cabs_test_data): New variable.
9843 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9844 (carg_test_data): New variable.
9845 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9846 (cimag_test_data): New variable.
9847 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9848 (creal_test_data): New variable.
9849 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9851 * math/libm-test.inc (struct test_if_f_data): New type.
9852 (RUN_TEST_LOOP_if_f): New macro.
9853 (jn_test_data): New variable.
9854 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9855 (yn_test_data): New variable.
9856 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9858 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9860 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9862 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9863 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9865 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9867 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9868 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9869 (bench-deps): Add bench-timing.h.
9870 * benchtests-bench-skeleton.c: Include bench-timing.h.
9871 (main): Use TIMING_* macros instead of clock_gettime.
9872 * benchtests/bench-timing.h: New file.
9875 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9876 Renamed from _LIB_VERSION.
9877 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9879 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9881 * math/libm-test.inc (struct test_fff_f_data): New type.
9882 (RUN_TEST_LOOP_fff_f): New macro.
9883 (fma_test_data): New variable.
9884 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9885 (fma_towardzero_test_data): New variable.
9886 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9887 (fma_downward_test_data): New variable.
9888 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9889 (fma_upward_test_data): New variable.
9890 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9892 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9893 (struct test_c_c_data): New type.
9894 (RUN_TEST_LOOP_c_c): New macro.
9895 (cacos_test_data): New variable.
9896 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9897 (cacosh_test_data): New variable.
9898 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9899 (casin_test_data): New variable.
9900 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9901 (casinh_test_data): New variable.
9902 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9903 (catan_test_data): New variable.
9904 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9905 (catanh_test_data): New variable.
9906 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9907 (ccos_test_data): New variable.
9908 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9909 (ccosh_test_data): New variable.
9910 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9911 (cexp_test_data): New variable.
9912 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9913 (clog_test_data): New variable.
9914 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9915 (clog10_test_data): New variable.
9916 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9917 (conj_test_data): New variable.
9918 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9919 (cproj_test_data): New variable.
9920 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9921 (csin_test_data): New variable.
9922 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9923 (csinh_test_data): New variable.
9924 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9925 (csqrt_test_data): New variable.
9926 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9927 (ctan_test_data): New variable.
9928 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9929 (ctan_tonearest_test_data): New variable.
9930 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9931 (ctan_towardzero_test_data): New variable.
9932 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9933 (ctan_downward_test_data): New variable.
9934 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9935 (ctan_upward_test_data): New variable.
9936 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9937 (ctanh_test_data): New variable.
9938 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9939 (ctanh_tonearest_test_data): New variable.
9940 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9941 (ctanh_towardzero_test_data): New variable.
9942 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9943 (ctanh_downward_test_data): New variable.
9944 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9945 (ctanh_upward_test_data): New variable.
9946 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9947 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9950 * math/libm-test.inc (struct test_ff_f_data): New type.
9951 (struct test_ff_f_data_nexttoward): Likewise.
9952 (RUN_TEST_LOOP_2_f): New macro.
9953 (RUN_TEST_LOOP_ff_f): Likewise.
9954 (atan2_test_data): New variable.
9955 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9956 (copysign_test_data): New variable.
9957 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9958 (fdim_test_data): New variable.
9959 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9960 (fmax_test_data): New variable.
9961 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9962 (fmin_test_data): New variable.
9963 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9964 (fmod_test_data): New variable.
9965 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9966 (hypot_test_data): New variable.
9967 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9968 (nextafter_test_data): New variable.
9969 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9970 (nexttoward_test_data): New variable.
9971 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9972 (pow_test_data): New variable.
9973 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9974 (pow_tonearest_test_data): New variable.
9975 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9976 (pow_towardzero_test_data): New variable.
9977 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9978 (pow_downward_test_data): New variable.
9979 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9980 (pow_upward_test_data): New variable.
9981 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9982 (remainder_test_data): New variable.
9983 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9984 (scalb_test_data): New variable.
9985 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9986 * sysdeps/i386/fpu/libm-test-ulps: Update.
9988 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9990 * math/libm-test.inc (fma_test): Use max_value instead of local
9992 (nextafter_test): Likewise.
9994 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9995 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9996 (acos_downward_test_data): New variable.
9997 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9998 (acos_upward_test_data): New variable.
9999 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10000 (acosh_test_data): New variable.
10001 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10002 (asin_test_data): New variable.
10003 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10004 (asin_tonearest_test_data): New variable.
10005 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10006 (asin_towardzero_test_data): New variable.
10007 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10008 (asin_downward_test_data): New variable.
10009 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10010 (asin_upward_test_data): New variable.
10011 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10012 (asinh_test_data): New variable.
10013 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10014 (atan_test_data): New variable.
10015 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10016 (atanh_test_data): New variable.
10017 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10018 (cbrt_test_data): New variable.
10019 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10020 (ceil_test_data): New variable.
10021 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10022 (cos_test_data): New variable.
10023 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10024 (cos_tonearest_test_data): New variable.
10025 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10026 (cos_towardzero_test_data): New variable.
10027 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10028 (cos_downward_test_data): New variable.
10029 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10030 (cos_upward_test_data): New variable.
10031 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10032 (cosh_test_data): New variable.
10033 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10034 (cosh_tonearest_test_data): New variable.
10035 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10036 (cosh_towardzero_test_data): New variable.
10037 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10038 (cosh_downward_test_data): New variable.
10039 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10040 (cosh_upward_test_data): New variable.
10041 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10042 (erf_test_data): New variable.
10043 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10044 (erfc_test_data): New variable.
10045 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10046 (exp_test_data): New variable.
10047 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10048 (exp_tonearest_test_data): New variable.
10049 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10050 (exp_towardzero_test_data): New variable.
10051 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10052 (exp_downward_test_data): New variable.
10053 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10054 (exp_upward_test_data): New variable.
10055 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10056 (exp10_test_data): New variable.
10057 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10058 (exp2_test_data): New variable.
10059 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10060 (expm1_test_data): New variable.
10061 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10062 (fabs_test_data): New variable.
10063 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10064 (floor_test_data): New variable.
10065 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10066 (j0_test_data): New variable.
10067 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10068 (j1_test_data): New variable.
10069 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10070 (log_test_data): New variable.
10071 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10072 (log10_test_data): New variable.
10073 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10074 (log1p_test_data): New variable.
10075 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10076 (log2_test_data): New variable.
10077 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10078 (logb_test_data): New variable.
10079 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10080 (logb_downward_test_data): New variable.
10081 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10082 (nearbyint_test_data): New variable.
10083 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10084 (rint_test_data): New variable.
10085 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10086 (rint_tonearest_test_data): New variable.
10087 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10088 (rint_towardzero_test_data): New variable.
10089 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10090 (rint_downward_test_data): New variable.
10091 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10092 (rint_upward_test_data): New variable.
10093 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10094 (round_test_data): New variable.
10095 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10096 (sin_test_data): New variable.
10097 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10098 (sin_tonearest_test_data): New variable.
10099 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10100 (sin_towardzero_test_data): New variable.
10101 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10102 (sin_downward_test_data): New variable.
10103 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10104 (sin_upward_test_data): New variable.
10105 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10106 (sinh_test_data): New variable.
10107 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10108 (sinh_tonearest_test_data): New variable.
10109 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10110 (sinh_towardzero_test_data): New variable.
10111 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10112 (sinh_downward_test_data): New variable.
10113 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10114 (sinh_upward_test_data): New variable.
10115 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10116 (sqrt_test_data): New variable.
10117 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10118 (tan_test_data): New variable.
10119 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10120 (tan_tonearest_test_data): New variable.
10121 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10122 (tan_towardzero_test_data): New variable.
10123 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10124 (tan_downward_test_data): New variable.
10125 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10126 (tan_upward_test_data): New variable.
10127 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10128 (tanh_test_data): New variable.
10129 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10130 (tgamma_test_data): New variable.
10131 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10132 (trunc_test_data): New variable.
10133 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10134 (y0_test_data): New variable.
10135 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10136 (y1_test_data): New variable.
10137 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10138 (significand_test_data): New variable.
10139 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10141 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10144 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10146 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10148 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10150 2013-05-10 Andreas Jaeger <aj@suse.de>
10153 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10154 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10156 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10158 * math/gen-libm-test.pl (adjust_arg): New function.
10159 (special_functions): Handle generating output in both functions
10161 (parse_args): Likewise.
10162 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10163 $in_func argument to parse_args.
10164 * math/libm-test.inc (struct test_f_f_data): New type.
10165 (IF_ROUND_INIT_): New macro.
10166 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10167 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10168 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10169 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10170 (ROUND_RESTORE_): Likewise.
10171 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10172 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10173 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10174 (ROUND_RESTORE_FE_UPWARD): Likewise.
10175 (RUN_TEST_LOOP_f_f): New macro.
10176 (acos_test_data): New variable.
10177 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10178 (acos_tonearest_test_data): New variable.
10179 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10181 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10183 * benchtests/bench-skeleton.c (startup): Fix coding style.
10185 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10188 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10189 negative infinity argument.
10190 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10191 negative infinity argument.
10192 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10193 negative infinity argument.
10194 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10197 2013-05-10 Florian Weimer <fweimer@redhat.com>
10199 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10200 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10201 * iconv/iconv_prog.c (main): Likewise.
10202 * locale/programs/charmap-dir.c (charmap_readdir)
10203 (fopen_uncompressed): Likewise.
10204 * locale/programs/locfile.c (siblings_uncached)
10205 (write_locale_data): Use lstat64 instead of lstat.
10206 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10209 2013-05-10 Andreas Jaeger <aj@suse.de>
10212 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10214 Include <locale.h>.
10216 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10218 * elf/dl-close.c (_dl_close_worker): Add comments.
10220 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10223 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10225 (__ieee754_rem_pio2l): Update comments.
10228 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10230 (__ieee754_rem_pio2l): Update comments.
10232 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10233 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10235 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10238 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10239 (M_PI_34_LOG10El): Likewise.
10240 (M_PI2_LOG10El): Likewise.
10241 (M_PI4_LOG10El): Likewise.
10242 (M_PI_LOG10El): Likewise.
10244 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10248 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10250 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10251 (MINUS_ZERO_INIT): Likewise.
10252 (PLUS_INFTY_INIT): Likewise.
10253 (MINUS_INFTY_INIT): Likewise.
10254 (QNAN_VALUE_INIT): Likewise.
10255 (MAX_VALUE_INIT): Likewise.
10256 (MIN_VALUE_INIT): Likewise.
10257 (MIN_SUBNORM_VALUE_INIT): Likewise.
10258 (plus_zero): Initialize with PLUS_ZERO_INIT.
10259 (minus_zero): Initialize with MINUS_ZERO_INIT.
10260 (plus_infty): Initialize with PLUS_INFTY_INIT.
10261 (minus_infty): Initialize with MINUS_INFTY_INIT.
10262 (qnan_value): Initialize with QNAN_VALUE_INIT.
10263 (max_value): Initialize with MAX_VALUE_INIT.
10264 (min_value): Initialize with MIN_VALUE_INIT.
10265 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10267 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10268 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10269 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10270 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10272 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10273 (RUN_TEST_2_f): Likewise.
10274 (RUN_TEST_ff_f): Likewise.
10275 (RUN_TEST_fi_f): Likewise.
10276 (RUN_TEST_fl_f): Likewise.
10277 (RUN_TEST_fff_f): Likewise.
10278 (RUN_TEST_c_f): Likewise.
10279 (RUN_TEST_f_f1): Likewise.
10280 (RUN_TEST_fF_f1): Likewise.
10281 (RUN_TEST_fI_f1): Likewise.
10282 (RUN_TEST_ffI_f1): Likewise.
10283 (RUN_TEST_c_c): Likewise.
10284 (RUN_TEST_cc_c): Likewise.
10285 (RUN_TEST_f_i): Likewise.
10286 (RUN_TEST_f_i_tg): Likewise.
10287 (RUN_TEST_ff_i_tg): Likewise.
10288 (RUN_TEST_f_b): Likewise.
10289 (RUN_TEST_f_b_tg): Likewise.
10290 (RUN_TEST_f_l): Likewise.
10291 (RUN_TEST_f_L): Likewise.
10292 (RUN_TEST_sincos): Likewise.
10293 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10294 whether to show exceptions. Do not include ");\n" in return
10296 (special_functions): Output call to RUN_TEST_sincos instead of
10297 check_float calls. Update calls to new_test.
10298 (parse_args): Output call to single RUN_TEST_* macro instead of
10299 check_* calls and other assignments. Update calls to new_test.
10305 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10306 input to result for tgamma overflow.
10307 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10308 (gamma_coeff): New variable.
10309 (NCOEFF): New macro.
10310 (gamma_positive): New function.
10311 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10312 underflow here. Use gamma_positive instead of exp (lgamma) for
10314 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10315 (gamma_coeff): New variable.
10316 (NCOEFF): New macro.
10317 (gammaf_positive): New function.
10318 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10319 underflow here. Use gamma_positive instead of exp (lgamma) for
10321 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10322 (gamma_coeff): New variable.
10323 (NCOEFF): New macro.
10324 (gammal_positive): New function.
10325 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10326 underflow here. Use gamma_positive instead of exp (lgamma) for
10328 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10329 (gamma_coeff): New variable.
10330 (NCOEFF): New macro.
10331 (gammal_positive): New function.
10332 (__ieee754_gammal_r): Handle positive infinity, overflow and
10333 underflow here. Handle NaN the same as positive infinity. Remove
10334 check x < 0xffffffff for negative integers. Use gamma_positive
10335 instead of exp (lgamma) for other arguments.
10336 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10337 (gamma_coeff): New variable.
10338 (NCOEFF): New macro.
10339 (gammal_positive): New function.
10340 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10341 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10346 * sysdeps/generic/math_private.h (__gamma_productf): New
10348 (__gamma_product): Likewise.
10349 (__gamma_productl): Likewise.
10350 * math/Makefile (libm-calls): Add gamma_product.
10351 * math/libm-test.inc (tgamma_test): Add more tests.
10352 * sysdeps/i386/fpu/libm-test-ulps: Update.
10353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10355 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10357 * benchtests/bench-skeleton.c (main): Preheat CPU.
10359 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10361 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10363 2013-05-07 Roland McGrath <roland@hack.frob.com>
10365 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10366 and _dl_skip_args_internal.
10368 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10370 * manual/message.texi (Message Translation): Talk about users.
10371 Message to key mapping impacts design.
10373 2013-05-06 Roland McGrath <roland@hack.frob.com>
10375 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10377 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10379 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10380 * sysdeps/wordsize-64/glob64.c: ... here.
10382 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10383 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10386 * debug/getlogin_r_chk.c: Moved to ...
10387 * login/getlogin_r_chk.c: ... here.
10388 * debug/Makefile (routines): Move getlogin_r_chk to ...
10389 * login/Makefile (routines): ... here.
10390 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10391 * login/Versions (libc: GLIBC_2.4): ... here.
10393 * io/poll.c (__poll): Renamed from poll.
10394 Add libc_hidden_def.
10395 (poll): Define as weak alias.
10397 * debug/ptsname_r_chk.c: Moved to ...
10398 * login/ptsname_r_chk.c: ... here.
10399 * debug/Makefile (routines): Move ptsname_r_chk to ...
10400 * login/Makefile (routines): ... here.
10401 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10402 * login/Versions (libc: GLIBC_2.4): ... here.
10404 * posix/getlogin.c: Moved to ...
10405 * login/getlogin.c: ... here.
10406 * posix/getlogin_r.c: Moved to ...
10407 * login/getlogin_r.c: ... here.
10408 * posix/getlogin_r.c: Moved to ...
10409 * login/getlogin_r.c: ... here.
10410 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10411 * login/Makefile (routines): ... here.
10412 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10413 * login/Versions (libc: GLIBC_2.0): ... here.
10415 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10416 (setrlimit): Define as weak alias.
10418 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10419 Call __ names for open, ftruncate, and close.
10420 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10421 (truncate): Define as weak alias.
10423 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10425 * math/gen-libm-test.pl (parse_args): Initialize x before each
10426 test of frexp, modf and remquo.
10428 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10429 test signgam value.
10431 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10435 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10437 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10439 2013-05-06 Roland McGrath <roland@hack.frob.com>
10441 * elf/dl-writev.h: New file.
10442 * elf/dl-misc.c: Include it.
10443 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10444 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10446 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10448 * math/libm-test.inc (noXFails): Remove variable.
10449 (noXPasses): Likewise.
10450 (BUILD_COMPLEX_INT): Remove macro.
10451 (print_screen): Remove xfail argument.
10452 (print_screen_max_error): Likewise.
10453 (update_stats): Likewise.
10454 (print_max_error): Likewise. Update calls to other affected
10456 (print_complex_max_error): Likewise.
10457 (test_single_exception): Update calls to print_screen.
10458 (test_single_errno): Likewise.
10459 (check_float_internal): Remove xfail argument. Update calls to
10460 other affected functions.
10461 (check_float): Likewise.
10462 (check_complex): Likewise.
10463 (check_int): Likewise.
10464 (check_long): Likewise.
10465 (check_bool): Likewise.
10466 (check_longlong): Likewise.
10467 (main): Don't print noXFails and noXPasses.
10468 * math/gen-libm-test.pl (top level): Don't mention expected
10469 failure handling in comment.
10470 (new_test): Don't handle expected failures.
10471 (parse_args): Don't mention expected failure handling in comment.
10472 (generate_testfile): Don't handle expected failures.
10473 (parse_ulps): Likewise.
10474 (print_ulps_file): Likewise.
10475 (get_failure): Remove function.
10476 (output_test): Don't handle expected failures.
10477 * make/README.libm-test: Don't mention expected failure handling.
10479 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10480 (minus_zero): Likewise.
10481 (plus_infty): Likewise.
10482 (minus_infty): Likewise.
10483 (qnan_value): Likewise.
10484 (max_value): Likewise.
10485 (min_value): Likewise.
10486 (min_subnorm_value): Likewise.
10487 (initialize): Do not initialize those variables dynamically.
10489 2013-05-03 Roland McGrath <roland@hack.frob.com>
10491 * io/open.c (__open_2): Moved to ...
10492 * io/open_2.c: ... this new file.
10493 * io/open64.c (__open64_2): Moved to ...
10494 * io/open64_2.c: ... this new file.
10495 * io/openat.c (__openat_2): Moved to ...
10496 * io/openat_2.c: ... this new file.
10497 * io/openat64.c (__openat64_2): Moved to ...
10498 * io/openat64_2.c: ... this new file.
10499 * io/Makefile (routines): Add them.
10500 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10501 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10502 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10503 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10504 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10505 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10506 (__openat64): Add hidden_ver.
10507 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10508 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10510 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10511 Separately conditionalize setting of GLRO(dl_sysinfo) so
10512 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10513 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10515 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10517 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10518 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10520 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10521 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10522 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10523 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10524 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10526 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10528 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10529 test signgam value.
10531 * math/libm-test.inc (hypot_test): Do not use
10532 IGNORE_ZERO_INF_SIGN.
10534 2013-05-03 Andreas Jaeger <aj@suse.de>
10536 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10538 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10539 (PF_MAX): Adjust for VSOCK change.
10541 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10545 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10548 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10549 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10550 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10552 2013-05-02 David S. Miller <davem@davemloft.net>
10554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10556 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10558 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10560 2013-05-01 Roland McGrath <roland@hack.frob.com>
10562 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10564 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10567 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10568 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10569 Use __attribute__ ((__gnu_inline__)).
10570 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10571 Don't use __attribute__ ((__gnu_inline__)).
10573 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10576 * math/s_catan.c (__catan): Handle small real or imaginary part of
10577 input specially to avoid spurious underflow.
10578 * math/s_catanf.c (__catanf): Likewise.
10579 * math/s_catanh.c (__catanh): Likewise.
10580 * math/s_catanhf.c (__catanhf): Likewise.
10581 * math/s_catanhl.c (__catanhl): Likewise.
10582 * math/s_catanl.c (__catanl): Likewise.
10583 * math/libm-test.inc (catan_test): Add more tests.
10584 (catanh_test): Likewise.
10585 * sysdeps/i386/fpu/libm-test-ulps: Update.
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10588 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10592 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10595 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10596 accurately for denominator in atan2.
10597 * math/s_catanf.c (__catanf): Likewise.
10598 * math/s_catanh.c (__catanh): Likewise.
10599 * math/s_catanhf.c (__catanhf): Likewise.
10600 * math/s_catanhl.c (__catanhl): Likewise.
10601 * math/s_catanl.c (__catanl): Likewise.
10602 * math/libm-test.inc (catan_test): Add more tests.
10603 (catanh_test): Likewise.
10604 * sysdeps/i386/fpu/libm-test-ulps: Update.
10605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10607 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10609 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10611 * benchtests/Makefile (bench): Remove slow benchmarks.
10612 * benchtests/atan-inputs: Add slow benchmark inputs.
10613 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10614 (BENCH_FUNC): Accept variant offset.
10616 * benchtests/bench-skeleton.c (main): Run benchmark for each
10618 * benchtests/cos-inputs: Add slow benchmark inputs.
10619 * benchtests/exp-inputs: Likewise.
10620 * benchtests/pow-inputs: Likewise.
10621 * benchtests/sin-inputs: Likewise.
10622 * benchtests/slowatan-inputs: Remove.
10623 * benchtests/slowatan.c: Remove.
10624 * benchtests/slowcos-inputs: Remove.
10625 * benchtests/slowcos.c: Remove.
10626 * benchtests/slowexp-inputs: Remove.
10627 * benchtests/slowexp.c: Remove.
10628 * benchtests/slowpow-inputs: Remove.
10629 * benchtests/slowpow.c: Remove.
10630 * benchtests/slowsin-inputs: Remove.
10631 * benchtests/slowsin.c: Remove.
10632 * benchtests/slowtan-inputs: Remove.
10633 * benchtests/slowtan.c: Remove.
10634 * benchtests/tan-inputs: Add slow benchmark inputs.
10635 * scripts/bench.pl: Parse comments and directives.
10637 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10639 ($(objpfx)bench-%.c): Remove *-ITER.
10640 * benchtests/bench-modf.c: Remove definition of ITER.
10641 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10642 (main): Loop for DURATION seconds instead of fixed number of
10644 * scripts/bench.pl: Don't expect iterations in parameters.
10646 2013-04-29 Roland McGrath <roland@hack.frob.com>
10648 * io/fchdir.c (__fchdir): Renamed from fchdir.
10649 (fchdir): Define as weak alias.
10651 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10653 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10654 (ERRNO_EDOM): Likewise.
10655 (ERRNO_ERANGE): Likewise.
10656 (noErrnoTests): New variable.
10657 (init_max_error): Set errno to 0.
10658 (test_single_errno): New function.
10659 (test_errno): Likewise.
10660 (check_float_internal): Call test_errno. Set errno to 0.
10661 (check_complex): Refer to errno tests in comment.
10662 (check_int): Call test_errno. Set errno to 0.
10663 (check_long): Likewise.
10664 (check_bool): Likewise.
10665 (check_longlong): Likewise.
10666 (cos_test): Use ERRNO_* flags for errno tests instead of
10668 (expm1_test): Likewise.
10669 (fmod_test): Likewise.
10670 (ilogb_test): Likewise.
10671 (lgamma_test): Likewise.
10672 (pow_test): Likewise.
10673 (remainder_test): Likewise.
10674 (sin_test): Likewise.
10675 (tan_test): Likewise.
10676 (yn_test): Likewise.
10677 (initialize): Set errno to 0.
10678 (main): Print number of errno tests.
10679 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10681 2013-04-29 Andreas Jaeger <aj@suse.de>
10684 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10688 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10689 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10693 * stdlib/random.c (__initstate): Return NULL if
10697 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10698 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10701 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10705 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10707 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10708 of individual tests.
10709 (casin_test): Likewise.
10710 (casinh_test): Likewise.
10712 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10715 * math/s_catan.c (__catan): Handle arguments with large real or
10716 imaginary part separately without squaring.
10717 * math/s_catanf.c (__catanf): Likewise.
10718 * math/s_catanh.c (__catanh): Likewise.
10719 * math/s_catanhf.c (__catanhf): Likewise.
10720 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10722 (__catanhl): Handle arguments with large real or imaginary part
10723 separately without squaring.
10724 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10726 (__catanl): Handle arguments with large real or imaginary part
10727 separately without squaring.
10728 * math/libm-test.inc (catan_test): Add more tests.
10729 (catanh_test): Likewise.
10730 * sysdeps/i386/fpu/libm-test-ulps: Update.
10731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10733 2013-04-27 Andreas Jaeger <aj@suse.de>
10736 * stdlib/stdlib.h: Update guards for qecvt.
10737 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10740 2013-04-27 Allan McRae <allan@archlinux.org>
10742 * sysdeps/i386/fpu/libm-test-ulps: Update.
10744 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10747 * math/s_catan.c: Include <float.h>.
10748 (__catan): Ensure underflow exception occurs for underflowed
10750 * math/s_catanf.c: Include <float.h>.
10751 (__catanf): Ensure underflow exception occurs for underflowed
10753 * math/s_catanh.c: Include <float.h>.
10754 (__catanh): Ensure underflow exception occurs for underflowed
10756 * math/s_catanhf.c: Include <float.h>.
10757 (__catanhf): Ensure underflow exception occurs for underflowed
10759 * math/s_catanhl.c: Include <float.h>.
10760 (__catanhl): Ensure underflow exception occurs for underflowed
10762 * math/s_catanl.c: Include <float.h>.
10763 (__catanl): Ensure underflow exception occurs for underflowed
10765 * math/libm-test.inc (catan_test): Add more tests.
10766 (catanh_test): Likewise.
10769 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10770 underflowed result.
10771 * math/s_ccoshf.c (__ccoshf): Likewise.
10772 * math/s_ccoshl.c (__ccoshl): Likewise.
10773 * math/s_csin.c (__csin): Likewise.
10774 * math/s_csinf.c (__csinf): Likewise.
10775 * math/s_csinh.c (__csinh): Likewise.
10776 * math/s_csinhf.c (__csinhf): Likewise.
10777 * math/s_csinhl.c (__csinhl): Likewise.
10778 * math/s_csinl.c (__csinl): Likewise.
10779 * math/libm-test.inc (ccos_test): Add more tests.
10780 (ccosh_test): Likewise.
10781 (csin_test): Likewise.
10782 (csinh_test): Likewise.
10784 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10787 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10788 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10789 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10790 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10791 powerpc/power5+/fpu folders.
10792 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10795 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10799 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10801 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10802 additions to variable.
10803 [$(config-machine) = x86_64] (modules-names): Likewise.
10804 ($(objpfx)tst-audit3): Remove dependency.
10805 ($(objpfx)tst-audit3.out): Likewise.
10806 ($(objpfx)tst-audit4): Likewise.
10807 ($(objpfx)tst-audit4.out): Likewise.
10808 ($(objpfx)tst-audit5): Likewise.
10809 ($(objpfx)tst-audit5.out): Likewise.
10810 ($(objpfx)tst-audit6): Likewise.
10811 ($(objpfx)tst-audit6.out): Likewise.
10812 ($(objpfx)tst-audit7): Likewise.
10813 ($(objpfx)tst-audit7.out): Likewise.
10814 (tst-audit3-ENV): Remove variable.
10815 (tst-audit4-ENV): Likewise.
10816 (tst-audit5-ENV): Likewise.
10817 (tst-audit6-ENV): Likewise.
10818 (tst-audit7-ENV): Likewise.
10819 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10820 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10821 addition to variable.
10822 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10823 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10824 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10825 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10826 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10827 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10828 tst-audit3, tst-audit4 and tst-audit5.
10829 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10830 tst-audit6 and tst-audit7.
10831 [$(subdir) = elf] (modules-names): Add audit modules for those
10833 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10834 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10835 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10836 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10837 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10838 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10839 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10840 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10841 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10842 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10843 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10844 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10845 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10846 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10847 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10848 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10850 [$(subdir) = elf && $(config-cflags-avx) = yes]
10851 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10852 [$(subdir) = elf && $(config-cflags-avx) = yes]
10853 (CFLAGS-tst-auditmod4a.c): Likewise.
10854 [$(subdir) = elf && $(config-cflags-avx) = yes]
10855 (CFLAGS-tst-auditmod4b.c): Likewise.
10856 [$(subdir) = elf && $(config-cflags-avx) = yes]
10857 (CFLAGS-tst-auditmod6b.c): Likewise.
10858 [$(subdir) = elf && $(config-cflags-avx) = yes]
10859 (CFLAGS-tst-auditmod6c.c): Likewise.
10860 [$(subdir) = elf && $(config-cflags-avx) = yes]
10861 (CFLAGS-tst-auditmod7b.c): Likewise.
10862 * elf/tst-audit3.c: Move to ...
10863 * sysdeps/x86_64/tst-audit3.c: ... here.
10864 * elf/tst-audit4.c: Move to ...
10865 * sysdeps/x86_64/tst-audit4.c: ... here.
10866 * elf/tst-audit5.c: Move to ...
10867 * sysdeps/x86_64/tst-audit5.c: ... here.
10868 * elf/tst-audit6.c: Move to ...
10869 * sysdeps/x86_64/tst-audit6.c: ... here.
10870 * elf/tst-audit7.c: Move to ...
10871 * sysdeps/x86_64/tst-audit7.c: ... here.
10872 * elf/tst-auditmod3a.c: Move to ...
10873 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10874 * elf/tst-auditmod3b.c: Move to ...
10875 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10876 * elf/tst-auditmod4a.c: Move to ...
10877 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10878 * elf/tst-auditmod4b.c: Move to ...
10879 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10880 * elf/tst-auditmod5a.c: Move to ...
10881 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10882 * elf/tst-auditmod5b.c: Move to ...
10883 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10884 * elf/tst-auditmod6a.c: Move to ...
10885 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10886 * elf/tst-auditmod6b.c: Move to ...
10887 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10888 * elf/tst-auditmod6c.c: Move to ...
10889 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10890 * elf/tst-auditmod7a.c: Move to ...
10891 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10892 * elf/tst-auditmod7b.c: Move to ...
10893 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10895 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10898 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10899 define unconditionally.
10900 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10901 define unconditionally.
10902 (INT8_C, INT16_C, etc.): Likewise.
10904 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10906 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10907 __ehdr_start with hidden visibility.
10909 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10911 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10913 * math/libm-test.inc (cos_test): Use accurate hex constants.
10914 (sincost_test): Likewise.
10916 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10918 * math/libm-test.inc (catan_test): Add more tests.
10919 (catanh_test): Likewise.
10921 * math/s_catanf.c (__catanf): Use suffixed floating-point
10923 * math/s_catanhf.c (__catanhf): Likewise.
10924 * math/s_catanhl.c (__catanhl): Likewise.
10925 * math/s_catanl.c (__catanl): Likewise.
10928 * math/s_catan.c (__catan): Calculate imaginary part of result
10929 with log1p not log unless computing log of number close to 0.
10930 * math/s_catanf.c (__catanf): Likewise.
10931 * math/s_catanl.c (__catanl): Likewise.
10932 * math/s_catanh.c (__catanh): Calculate real part of result with
10933 log1p not log unless computing log of number close to 0.
10934 * math/s_catanhf.c (__catanhf): Likewise.
10935 * math/s_catanhl.c (__catanhl): Likewise.
10936 * math/libm-test.inc (catan_test): Add more tests.
10937 (catanh_test): Likewise.
10938 * sysdeps/i386/fpu/libm-test-ulps: Update.
10939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10941 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10943 * benchtests/Makefile: Mention files in which fast and slow
10944 paths of math functions are implemented.
10946 2013-04-23 Roland McGrath <roland@hack.frob.com>
10948 * sysdeps/posix/timespec_get.c: New file.
10950 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10952 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10954 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10956 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10957 powerpc/power5/fpu folders.
10958 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10959 * benchtests/Makefile: Add modf testcase.
10960 * benchtests/bench-modf.c: New file: Benchmark test for mo
10962 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10965 * time/Makefile (tests): Add tst-strptime-whitespace.
10966 * time/strptime_l.c (get_number): Use ISSPACE.
10967 (__strptime_internal): Likewise.
10968 * time/tst-strptime-whitespace.c: New test case.
10970 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10972 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10974 (_nss_files_init): Set it here.
10976 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10978 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10979 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10982 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10984 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10986 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10988 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10991 2013-04-21 David S. Miller <davem@davemloft.net>
10993 * po/ru.po: Update Russion translation from translation project.
10995 2013-04-17 Adam Conrad <adconrad@0c3.net>
10997 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11000 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11002 * configure.in: Remove i386 configure warning. Remove i386 case.
11003 * configure: Regenerate.
11004 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11005 Add example to error message.
11006 * sysdeps/i386/configure: Regenerate.
11008 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11010 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11012 * benchtests/cos-inputs: New file.
11013 * benchtests/slowcos-inputs: New file.
11014 * benchtests/slowcos.c: New file.
11015 * benchtests/slowtan-inputs: New file.
11016 * benchtests/slowtan.c: New file.
11017 * benchtests/tan-inputs: New file.
11019 2013-04-16 Roland McGrath <roland@hack.frob.com>
11021 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11024 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11026 * benchtests/Makefile: Include cppflags-iterator.mk to add
11027 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11029 * Makefile.in (bench-clean): New target.
11030 * benchtests/Makefile (bench-clean): Likewise.
11032 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11034 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11036 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11038 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11040 2013-04-15 Andreas Schwab <schwab@suse.de>
11042 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11044 * nscd/pwdcache.c (cache_addpw): Likewise.
11045 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11048 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11050 * benchtests/Makefile (bench): Write all output to
11051 bench-out.tmp together.
11053 2013-04-15 Andreas Schwab <schwab@suse.de>
11055 * nscd/nscd.c (main): Don't fork again after closing files.
11057 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11059 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11061 * benchtests/Rules (bench-deps): Collect dependencies into a
11062 single variable. Add Makefile to dependencies.
11063 ($(objpfx)bench-%.c): Depend on bench-deps.
11065 2013-04-12 Roland McGrath <roland@hack.frob.com>
11066 Xavier Roche <roche+kml2@exalead.com>
11069 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11070 just that it's a file descriptor.
11071 * manual/llio.texi (Synchronizing AIO Operations): Update description
11072 for EBADF error from aio_fsync.
11074 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11076 * Rules (bench): Move target definition...
11077 * benchtests/Makefile: ... here.
11079 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11081 * math/libm-test.inc (cos_test): Fix PI/2 test.
11082 (sincos_test): Likewise.
11083 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11084 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11086 2013-04-11 Andreas Schwab <schwab@suse.de>
11089 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11090 accept exponent character only when digits were seen.
11091 * stdio-common/Makefile (tests): Add bug26.
11092 * stdio-common/bug26.c: New file.
11095 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11098 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11100 * Makeconfig (rtld-prefix): Define built linker prefix.
11101 * Rules (run-bench): Use it.
11102 * math/Makefile (run-regen-ulps): Likewise.
11104 * Rules (bench): Remove eval.
11106 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11107 Roland McGrath <roland@hack.frob.com>
11108 Ondrej Bilka <neleai@seznam.cz>
11111 * time/getdate.c: Include ctype.h and alloca.h.
11112 (__getdate_r): Trim leading and trailing spaces of input.
11113 * time/tst-getdate.c (tests): Add tests with leading and
11116 2013-04-08 Roland McGrath <roland@hack.frob.com>
11119 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11120 when computing value.
11122 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11124 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11125 Use testrun.sh to run libm tests.
11128 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11130 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11133 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11135 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11137 * Makefile.in (regen-ulps): New target.
11138 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11139 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11140 [ifneq (no,$(PERL)] (regen-ulps): New target.
11141 [ifeq (no,$(PERL)] (regen-ulps): New target.
11142 * math/libm-test.inc (ulps_file_name): Define.
11143 (output_dir): New variable.
11144 (options): Add "output-dir" option.
11145 (parse_opt): Handle 'o' case.
11146 (main): If output_dir is non-NULL use it as a prefix
11148 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11150 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11152 [BZ #10060, #10062]
11153 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11154 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11155 fail configure if __sync_val_compare_and_swap is not inlined.
11156 * sysdeps/i386/configure: Regenerate.
11157 * configure.in: Build for i686 when configured for i386.
11158 * configure: Regenerate.
11159 * README: Remove i386 reference.
11161 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11163 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11164 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11166 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11168 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11169 (lmsnanval): New variables.
11170 (F): Add conversion tests.
11171 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11172 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11174 * stdio-common/tstdiomisc.c (F): Properly collect individual
11177 [BZ #14686, #15336]
11178 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11179 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11180 Instead, use input NaN values or generate a qNaN by arithmetic
11181 operation. Also fix bugs to comply with the standard.
11182 * math/libm-test.inc (remainder_test): Add more tests.
11184 [BZ #15335, #15342]
11185 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11187 input NaN values or generate a qNaN by arithmetic operation.
11189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11192 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11195 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11198 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11199 underflowed result.
11200 * math/s_cexpf.c (__cexpf): Likewise.
11201 * math/s_cexpl.c (__cexpl): Likewise.
11202 * math/libm-test.inc (cexp_test): Add more tests.
11204 2013-04-03 Andreas Schwab <schwab@suse.de>
11207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11208 order arrays from heap if bigger than alloca cutoff.
11210 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11212 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11213 (SNAN_TESTS_double): Refer to GCC PR56831.
11214 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11217 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11219 * Rules (bench): Move bench.out after the run is complete.
11221 * Rules (bench): Echo currently running benchmark.
11223 * benchtests/Makefile (bench): Add atan and slowatan.
11224 * benchtests/atan-inputs: New file.
11225 * benchtests/slowatan-inputs: New file.
11226 * benchtests/slowatan.c: New file.
11228 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11229 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11233 * sysdeps/unix/sysv/linux/kernel-features.h
11234 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11235 __ASSUME_XFS_RESTRICTED_CHOWN.
11236 * sysdeps/unix/sysv/linux/pathconf.c
11237 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11238 Save and restore errno.
11240 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11243 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11244 arguments using __kernel_casinh.
11245 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11246 arguments using __kernel_casinhf.
11247 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11248 arguments using __kernel_casinhl.
11249 * math/libm-test.inc (cacosh_test): Add more tests.
11250 * sysdeps/i386/fpu/libm-test-ulps: Update.
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11255 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11258 * bench/Makefile (bench): Add sin and slowsin.
11259 * benchtests/sin-inputs: New file.
11260 * benchtests/slowsin-inputs: New file.
11261 * benchtests/slowsin.c: New file.
11263 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11264 (bench): Add slowexp and slowpow.
11265 (exp-ITER): Increase iterations.
11266 (pow-ITER): Likewise.
11267 * benchtests/exp-inputs: Change input.
11268 * benchtests/pow-inputs: Likewise.
11269 * benchtests/slowexp-inputs: New file.
11270 * benchtests/slowexp.c: New file.
11271 * benchtests/slowpow-inputs: New file.
11272 * benchtests/slowpow.c: New file.
11274 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11278 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11279 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11280 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11281 * benchtests/Makefile: Add rint benchtest.
11282 * benchtests/rint-inputs: Input for rint benchtest.
11284 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11286 * Versions.def (libm): Add GLIBC_2.18.
11287 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11288 hidden libm prototypes.
11289 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11290 * math/Makefile (libm-calls): Add s_issignaling.
11291 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11292 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11293 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11295 * math/math.h [__USE_GNU] (issignaling): New macro.
11296 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11297 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11298 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11299 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11302 * manual/arith.texi (issignaling): New section.
11303 * manual/libm-err-tab.pl (@all_functions): Update comment.
11304 * math/gen-libm-test.pl (parse_args): Apply special handling for
11306 * math/libm-test.inc (print_float, issignaling_test): New
11308 (check_float_internal): Add issignaling checks.
11309 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11310 default definition.
11311 * sysdeps/powerpc/math-tests.h: New file.
11312 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11314 * math/test-snan.c (TEST_FUNC): Likewise.
11316 2013-03-30 David S. Miller <davem@davemloft.net>
11318 * po/de.po: Update from translation team.
11320 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11323 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11324 imaginary part less than 1.0 and real part less than 0.5
11326 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11327 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11328 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11329 (cacos_test): Add more tests.
11330 (casin_test): Likewise.
11331 (casinh_test): Likewise.
11332 * sysdeps/i386/fpu/libm-test-ulps: Update.
11333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11335 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11337 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11338 ONE with its value.
11340 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11341 (__pow_mp): Replace ONE and MONE with their values.
11342 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11343 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11344 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11345 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11346 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11347 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11349 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11351 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11352 (__pow_mp): Replace ZERO and MZERO with their values.
11353 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11355 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11357 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11358 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11361 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11363 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11365 2013-03-28 Roland McGrath <roland@hack.frob.com>
11367 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11368 Declare with __attribute__ ((weak)).
11369 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11370 Call __call_tls_dtors only if it's not NULL.
11372 2013-03-28 Roland McGrath <roland@hack.frob.com>
11374 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11375 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11376 magic __ehdr_start linker symbol if it's defined.
11377 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11378 them up here if it was already done.
11380 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11381 (_dl_aux_init): Use const in cast when setting it.
11382 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11383 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11384 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11386 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11388 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11389 * csu/libc-tls.c: Nor here.
11390 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11392 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11393 (__libc_message): Never call vsyslog.
11395 2013-03-28 Alan Modra <amodra@gmail.com>
11397 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11399 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11402 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11409 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11412 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11413 Don't add gid passed as argument.
11415 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11417 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11420 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11421 imaginary part between 1.0 and 1.5 and real part less than 0.5
11423 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11424 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11425 * math/libm-test.inc (cacos_test): Add more tests.
11426 (casin_test): Likewise.
11427 (casinh_test): Likewise.
11428 * sysdeps/i386/fpu/libm-test-ulps: Update.
11429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11431 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11433 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11436 (denorm): Likewise.
11437 (__dbl_mp): Likewise.
11438 (add_magnitudes): Likewise.
11439 (sub_magnitudes): Likewise.
11447 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11449 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11450 (__dubcos): Likewise.
11451 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11452 (__ieee754_acos): Likewise.
11453 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11454 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11455 (__exp1): Likewise.
11456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11459 (my_log2): Likewise.
11460 (checkint): Likewise.
11461 * sysdeps/ieee754/dbl-64/e_remainder.c
11462 (__ieee754_remainder): Likewise.
11463 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11464 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11465 (bsloww): Likewise.
11466 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11468 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11469 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11470 MANTISSA_STORE_T to store computations on mantissa. Use
11471 macros for rounding and division.
11472 (denorm): Likewise.
11473 (__dbl_mp): Likewise.
11474 (add_magnitudes): Likewise.
11475 (sub_magnitudes): Likewise.
11478 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11479 powers of two in terms of TWOPOW macro.
11480 (mp_no): Make type of mantissa as MANTISSA_T.
11481 [!RADIXI]: Define RADIXI.
11482 [!TWO52]: Define TWO52.
11483 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11485 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11487 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11488 llroundl symbol when building for PPC32.
11490 2013-03-24 Mark H Weaver <mhw@netris.org>
11492 * manual/arith.texi (Normalization Functions): Fix prototypes for
11493 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11495 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11498 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11499 high value to check if expl overflow.
11500 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11501 to check for underflow and overflow.
11502 * math/libm-test.inc: Add exp test.
11504 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11507 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11510 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11515 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11517 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11518 wrap blocks consisting of several statements.
11520 * sysdeps/generic/math-tests.h: New file.
11521 * sysdeps/i386/fpu/math-tests.h: Likewise.
11522 * math/test-snan.c: Include it.
11523 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11525 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11528 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11529 (__ieee754_j0l): Do not improve calculations using cos of twice
11530 input for inputs above LDBL_MAX / 2.0L.
11531 (__ieee754_y0l): Likewise.
11532 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11533 (__ieee754_j1l): Do not improve calculations using cos of twice
11534 input for inputs above LDBL_MAX / 2.0L.
11535 (__ieee754_y1l): Likewise.
11536 * math/libm-test.inc (j0_test): Add another test.
11537 (j1_test): Likewise.
11538 (y0_test): Likewise.
11539 (y1_test): Likewise.
11540 * sysdeps/i386/fpu/libm-test-ulps: Update.
11542 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11544 * Rules ($(objpfx)bench-%.c): Include code from a C source
11547 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11550 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11551 imaginary part 1.0 and real part less than 0.5 specially.
11552 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11553 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11554 * math/libm-test.inc (cacos_test): Add more tests.
11555 (casin_test): Likewise.
11556 (casinh_test): Likewise.
11557 * sysdeps/i386/fpu/libm-test-ulps: Update.
11558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11560 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11562 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11563 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11565 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11567 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11568 * config.make.in (config-cflags-sse4): Remove variable.
11569 (config-cflags-avx): Likewise.
11570 (config-cflags-sse2avx): Likewise.
11571 (config-cflags-novzeroupper): Likewise.
11572 (config-asflags-i686): Likewise.
11573 (have-mfma4): Likewise.
11574 (have-as-vis3): Likewise.
11576 * configure.in (MIG): Do not AC_SUBST.
11577 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11578 (libc_cv_cc_sse4): Do not AC_SUBST.
11579 (libc_cv_cc_avx): Likewise.
11580 (libc_cv_cc_sse2avx): Likewise.
11581 (libc_cv_cc_novzeroupper): Likewise.
11582 (libc_cv_cc_fma4): Likewise.
11583 (libc_cv_as_i686): Likewise.
11584 (libc_cv_sparc_as_vis3): Likewise.
11585 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11587 (config-asflags-i686): Likewise.
11588 (config-cflags-avx): Likewise.
11589 (config-cflags-sse2avx): Likewise.
11590 (have-mfma4): Likewise.
11591 (config-cflags-novzeroupper): Likewise.
11592 * sysdeps/mach/configure.in (MIG): Likewise.
11593 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11594 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11596 (config-cflags-avx): Likewise.
11597 (config-cflags-sse2avx): Likewise.
11598 (have-mfma4): Likewise.
11599 (config-cflags-novzeroupper): Likewise.
11600 * configure: Regenerated.
11601 * sysdeps/i386/configure: Likewise.
11602 * sysdeps/mach/configure: Likewise.
11603 * sysdeps/sparc/configure: Likewise.
11604 * sysdeps/x86_64/configure: Likewise.
11606 2013-03-20 Roland McGrath <roland@hack.frob.com>
11609 * locale/programs/localedef.c (options): Put N_ translation marker
11610 on argument names, not just descriptions.
11612 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11614 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11616 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11619 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11621 2013-03-19 Roland McGrath <roland@hack.frob.com>
11623 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11624 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11625 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11626 [!BEFORE_ABORT] (before_abort): New function.
11627 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11628 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11629 (writev_for_fatal): New function.
11630 (WRITEV_FOR_FATAL): New macro; call that.
11631 (backtrace_and_maps): New function.
11632 (BEFORE_ABORT): New macro; call that.
11633 (struct str_list): Type removed.
11634 (__libc_message, __libc_fatal): Functions removed.
11635 Include <sysdeps/posix/libc_fatal.c> instead.
11637 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11639 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11641 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11644 2013-03-19 Andreas Schwab <schwab@suse.de>
11646 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11647 * sysdeps/gnu/configure: Regenerate.
11649 * configure.in: Substitute libc_cv_rtlddir.
11650 * configure: Regenerate.
11651 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11652 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11653 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11654 * elf/Makefile (install-others, CFLAGS-interp.c)
11655 (ldso_install, common-ldd-rewrite): Likewise.
11656 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11657 $(inst_slibdir)/$(rtld-installed-name).
11658 * scripts/rellns-sh: Add -p option.
11659 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11662 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11664 * manual/nptl.texi: Renamed to ...
11665 * manual/threads.texi: ... this.
11666 * manual/Makefile (chapters): Update.
11668 2013-03-18 Roland McGrath <roland@hack.frob.com>
11671 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11672 on argument names, not just descriptions.
11673 * malloc/memusagestat.c (options): Likewise.
11674 * nss/getent.c (options): Likewise.
11676 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11679 * iconv/iconv_prog.c (options): Put N_ translation marker
11680 on argument names, not just descriptions.
11681 * iconv/iconvconfig.c (options): Likewise.
11683 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11685 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11686 implementation which is faster on all x86_64 architectures.
11687 Tested on AMD, Intel Nehalem, SNB, IVB.
11688 * sysdeps/x86_64/strnlen.S: Likewise.
11690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11691 Remove all multiarch strlen and strnlen versions.
11692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11693 Remove strlen and strnlen related parts.
11695 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11696 Inline strlen part.
11697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11699 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11700 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11701 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11702 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11703 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11704 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11706 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11708 * manual/memory.texi (Malloc Tunable Parameters):
11709 Sort parameters alphabetically. Add comments for missing entries.
11711 2013-03-17 David S. Miller <davem@davemloft.net>
11713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11715 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11718 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11719 for arguments at most half maximum finite value.
11720 * math/libm-test.inc (j0_test): Add more tests.
11721 (j1_test): Likewise.
11722 (y0_test): Likewise.
11723 (y1_test): Likewise.
11724 * sysdeps/i386/fpu/libm-test-ulps: Update.
11725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11728 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11729 1 / x and functions P and Q for arguments above 0x1p256L.
11730 (__ieee754_y0l): Likewise.
11731 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11732 (__ieee754_y1l): Likewise.
11733 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11734 (j1_test): Likewise.
11735 (y0_test): Likewise.
11736 (y1_test): Likewise.
11738 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11740 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11743 2013-03-15 Roland McGrath <roland@hack.frob.com>
11745 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11746 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11747 zero since it's initialized to EXEC_PAGESIZE.
11749 * sysdeps/unix/sysv/linux/ldsodefs.h
11750 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11751 * sysdeps/generic/ldsodefs.h: ... here.
11753 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11755 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11757 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11759 * math/test-snan.c: Renamed from
11760 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11761 * math/Makefile (tests): Add test-snan.
11762 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11765 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11766 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11768 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11769 __builtin_nan family of functions.
11770 * math/libm-test.inc (initialize): Initialize qnan_value with
11771 __builtin_nan family of functions.
11772 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11774 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11776 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11777 storage class. Initialize qNaN_var and sNaN_var with
11778 __builtin_nan and __builtin_nans families of functions,
11781 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11782 (sqrt_test): Remove duplicate test with qNaN input.
11783 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11784 (round_test, signbit_test, significand_test): Note missing +/-Inf
11785 as well as qNaN tests.
11787 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11788 qNaN_var. Fix a few strings, too.
11789 * math/libm-test.inc (nan_value): Rename to qnan_value.
11790 * math/gen-libm-test.pl (%beautify): Adjust to that.
11791 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11792 * math/test-misc.c (main): Likewise.
11793 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11794 to __qnan_bytes, and __qnan_union, respectively.
11795 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11797 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11798 and lqnanval, respectively.
11799 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11800 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11801 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11802 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11804 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11805 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11808 * math/test-misc.c (main): Fix copy'n'pastos.
11809 * misc/tst-efgcvt.c (special): Likewise.
11811 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11812 Remove declarations.
11814 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11816 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11817 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11818 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11819 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11821 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11823 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11824 macro to return vdso values correctly in IFUNC implementations.
11825 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11826 Optimization by using IFUNC.
11828 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11829 Richard Henderson <rth@redhat.com>
11830 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11832 * Makefile.in (bench): New target.
11833 * NEWS: Mention the benchmark framework.
11834 * Rules (bench): Likewise.
11835 (binaries-bench): Generate binaries for functions to
11837 * benchtests/Makefile: New makefile for benchmark tests.
11838 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11840 * benchtests/exp-inputs: New input file for EXP function.
11841 * benchtests/pow-inputs: New input file for POW function.
11842 * scripts/bench.pl: New script to generate source files for
11843 benchmark programs.
11845 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11847 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11849 computations on mantissa. Use macros for rounding and
11851 (denorm): Likewise.
11852 (__dbl_mp): Likewise.
11853 (add_magnitudes): Likewise.
11854 (sub_magnitudes): Likewise.
11857 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11858 powers of two in terms of TWOPOW macro.
11859 (mp_no): Make type of mantissa as MANTISSA_T.
11860 [!RADIXI]: Define RADIXI.
11861 [!TWO52]: Define TWO52.
11862 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11864 * manual/nptl.texi (cindex): Modify threads to pthreads.
11866 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11868 * sysdeps/x86_64/preconfigure: Regenerated.
11870 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11873 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11875 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11876 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11878 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11879 * math/libm-test.inc (j0_test): Do not allow one spurious
11880 underflow exception.
11881 (y1_test): Likewise.
11883 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11885 * manual/Makefile (chapters): Add nptl.
11886 * manual/debug.texi (Debugging Support): Add link to Threads
11888 * manual/nptl.texi: New file.
11890 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11892 2013-03-14 Petr Baudis <pasky@ucw.cz>
11894 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11895 for non-NULL pointer before the memory validity test. Pointed
11896 out by Holger Brunck <holger.brunck@keymile.com>.
11898 2013-03-13 Andreas Schwab <schwab@suse.de>
11900 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11903 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11905 * timezone/zic.c: Update from tzcode 2013b.
11907 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11909 * manual/install.texi (Configuring and compiling):
11910 Mention i686 and i586.
11911 * INSTALL: Regenerate.
11913 2013-03-12 Roland McGrath <roland@hack.frob.com>
11915 * sysdeps/init_array/elf-init.c: New file.
11917 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11918 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11920 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11921 __gmon_start__ as global, but as static with a .preinit_array pointer.
11922 * sysdeps/init_array/gmon-start.c: New file. Use that.
11923 * sysdeps/init_array/crti.S: New file, empty except for comments.
11924 * sysdeps/init_array/crtn.S: Likewise.
11926 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11928 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11931 Remove Prefer_SSE_for_memop.
11932 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11933 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11934 HAS_PREFER_SSE_FOR_MEMOP.
11935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11938 Remove bzero, memset ifunc support.
11939 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11940 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11941 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11942 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11944 2013-03-11 Andreas Schwab <schwab@suse.de>
11947 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11950 (GLIBC_2.16): Remove pthread_atfork.
11952 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11954 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11955 (ptestcases.h): Likewise.
11957 2013-03-08 Roland McGrath <roland@hack.frob.com>
11959 * Makeconfig ($(common-objpfx)config.status): Depend on
11960 sysdeps/*/preconfigure{,.in} too.
11962 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11964 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11965 (__free_hook): Use void * instead of __malloc_ptr_t.
11966 (__malloc_hook): Likewise.
11967 (__realloc_hook): Likewise.
11968 (__memalign_hook): Likewise.
11969 (__after_morecore_hook): Likewise.
11970 * malloc/arena.c (save_malloc_hook): Likewise.
11971 (save_free_hook): Likewise.
11972 * malloc/hooks.c (malloc_hook_ini): Likewise.
11973 (realloc_hook_ini): Likewise.
11974 (memalign_hook_ini): Likewise.
11975 * malloc/malloc.c (malloc_hook_ini): Likewise.
11976 (realloc_hook_ini): Likewise.
11977 (memalign_hook_ini): Likewise.
11978 (__free_hook): Likewise.
11979 (__malloc_hook): Likewise.
11980 (__realloc_hook): Likewise.
11981 (__memalign_hook): Likewise.
11982 (__libc_malloc): Likewise.
11983 (__libc_free): Likewise.
11984 (__libc_realloc): Likewise.
11985 (__libc_memalign): Likewise.
11986 (__libc_valloc): Likewise.
11987 (__libc_pvalloc): Likewise.
11988 (__libc_calloc): Likewise.
11989 (__posix_memalign): Likewise.
11990 * malloc/morecore.c (__sbrk): Likewise.
11991 (__default_morecore): Likewise.
11993 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11995 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11996 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11997 __malloc_ptrdiff_t.
11999 * malloc/malloc.h (__malloc_size_t): Remove macro.
12000 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12002 (old_memalign_hook): Likewise.
12003 (old_realloc_hook): Likewise.
12004 (struct hdr): Likewise.
12006 (mallochook): Likewise.
12007 (memalignhook): Likewise.
12008 (reallochook): Likewise.
12009 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12010 (tr_old_realloc_hook): Likewise.
12011 (tr_old_memalign_hook): Likewise.
12012 (tr_mallochook): Likewise.
12013 (tr_reallochook): Likewise.
12014 (tr_memalignhook): Likewise.
12016 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12018 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12019 default_ldbl_pack and using as default implementation.
12020 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12022 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12023 redundant definition.
12024 (ldbl_insert_mantissa): Likewise.
12025 (ldbl_canonicalize): Likewise.
12026 (ldbl_nearbyint): Likewise.
12027 (ldbl_pack): Rename to ldbl_pack_ppc.
12028 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12029 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12030 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12032 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12035 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12036 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12037 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12039 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12040 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12041 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12043 2013-03-07 Andreas Jaeger <aj@suse.de>
12045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12048 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12050 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12051 Include mpa.h and declare __MPEXP.
12052 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12053 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12054 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12055 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12056 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12057 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12058 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12060 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12061 (__slowpow): Use long double EXPL and LOGL functions to
12063 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12064 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12065 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12066 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12067 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12068 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12071 intermediate variable to calculate exponent.
12073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12077 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12078 [!NO__SQR]: Define __sqr.
12079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12080 and NO__SQR. Remove all code except __mul and __sqr. Include
12081 sysdeps/ieee754/dbl-64/mpa.c.
12082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12085 * posix/Makefile (tests): Add tst-pathconf.
12086 * posix/tst-pathconf.c: New test case.
12087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12089 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12091 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12093 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12095 2013-03-06 Andreas Jaeger <aj@suse.de>
12097 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12098 definition via __MAP_ANONYMOUS.
12100 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12101 it's not part of Linux headers.
12103 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12104 (MAP_HUGE_MASK): Define.
12106 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12108 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12109 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12111 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12112 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12114 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12115 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12117 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12119 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12120 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12121 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12122 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12123 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12124 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12126 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12130 Handle f2fs and efivarfs.
12132 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12135 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12136 (EFIVARFS_MAGIC): Add.
12137 (F2FS_LINK_MAX): Add.
12139 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12141 * stdio-common/vfprintf.c: Replace __builtin_expect with
12144 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12147 * sysdeps/generic/bp-sym.h: Remove file.
12148 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12149 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12150 <bp-sym.h> and <bp-asm.h>.
12151 (__longjmp): Don't use BP_SYM.
12152 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12154 (memcpy): Don't use BP_SYM.
12155 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12156 <bp-sym.h> and <bp-asm.h>.
12157 (memcpy): Don't use BP_SYM.
12158 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12160 (memcpy): Don't use BP_SYM.
12161 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12163 (memset): Don't use BP_SYM.
12164 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12165 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12166 (__bzero): Don't use BP_SYM.
12167 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12168 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12169 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12170 <bp-sym.h> and <bp-asm.h>.
12171 (memcmp): Don't use BP_SYM. Remove comment about bounded
12173 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (memcpy): Don't use BP_SYM.
12176 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12177 <bp-sym.h> and <bp-asm.h>.
12178 (memset): Don't use BP_SYM.
12179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12181 (__bzero): Don't use BP_SYM.
12182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12184 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12185 <bp-sym.h> and <bp-asm.h>.
12186 (strncmp): Don't use BP_SYM. Remove comment about bounded
12188 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12189 <bp-sym.h> and <bp-asm.h>.
12190 (memcpy): Don't use BP_SYM.
12191 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12192 <bp-sym.h> and <bp-asm.h>.
12193 (memset): Don't use BP_SYM.
12194 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12195 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12196 (__bzero): Don't use BP_SYM.
12197 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12198 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12199 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12200 <bp-sym.h> and <bp-asm.h>.
12201 (__memchr): Don't use BP_SYM.
12202 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12203 <bp-sym.h> and <bp-asm.h>.
12204 (memcmp): Don't use BP_SYM. Remove comment about bounded
12206 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12207 <bp-sym.h> and <bp-asm.h>.
12208 (memcpy): Don't use BP_SYM.
12209 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12210 <bp-sym.h> and <bp-asm.h>.
12211 (__mempcpy): Don't use BP_SYM.
12212 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12213 <bp-sym.h> and <bp-asm.h>.
12214 (__memrchr): Don't use BP_SYM.
12215 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12216 <bp-sym.h> and <bp-asm.h>.
12217 (memset): Don't use BP_SYM.
12218 (__bzero): Likewise.
12219 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12220 <bp-sym.h> and <bp-asm.h>.
12221 (__rawmemchr): Don't use BP_SYM.
12222 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12223 <bp-sym.h> and <bp-asm.h>.
12224 (__STRCMP): Don't use BP_SYM.
12225 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12226 <bp-sym.h> and <bp-asm.h>.
12227 (strchr): Don't use BP_SYM.
12228 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12229 <bp-sym.h> and <bp-asm.h>.
12230 (__strchrnul): Don't use BP_SYM.
12231 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12232 <bp-sym.h> and <bp-asm.h>.
12233 (strlen): Don't use BP_SYM.
12234 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12235 <bp-sym.h> and <bp-asm.h>.
12236 (strncmp): Don't use BP_SYM. Remove comment about bounded
12238 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12239 <bp-sym.h> and <bp-asm.h>.
12240 (__strnlen): Don't use BP_SYM.
12241 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12242 <bp-sym.h> and <bp-asm.h>.
12243 (__GI__setjmp): Don't use BP_SYM.
12244 (_setjmp): Likewise.
12245 (__sigsetjmp): Likewise.
12246 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12247 (L(start_addresses)): Don't use BP_SYM.
12248 (_start): Likewise.
12249 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12251 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12252 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12253 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12254 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12255 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12257 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12258 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12259 about bounded pointers.
12260 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12261 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12262 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12264 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12265 about bounded pointers. Remove GKM FIXME comments.
12266 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12267 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12269 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12270 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12271 Remove GKM FIXME comments.
12272 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12273 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12274 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12276 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12277 about bounded pointers. Remove GKM FIXME comment.
12278 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12280 (strncmp): Don't use BP_SYM. Remove comment about bounded
12282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12283 <bp-sym.h> and <bp-asm.h>.
12284 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12286 <bp-sym.h> and <bp-asm.h>.
12287 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12290 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12292 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12295 2013-03-05 David S. Miller <davem@davemloft.net>
12297 * po/es.po: Update from translation team.
12299 2013-03-05 Andreas Jaeger <aj@suse.de>
12301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12302 <bits/mman-linux.h>.
12303 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12306 <bits/mman-linux.h> to end of file.
12307 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12309 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12310 <bits/mman-linux.h> to end of file.
12311 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12314 <bits/mman-linux.h> to end of file.
12316 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12317 (MCL_CURRENT, MCL_FUTURE): Define here.
12319 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12324 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12326 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12328 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12329 fourth parameter needed for rt_sigprocmask syscall.
12330 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12331 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12332 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12333 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12334 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12335 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12337 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12340 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12341 comment about bounded pointers.
12342 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12343 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12345 2013-03-04 Andreas Jaeger <aj@suse.de>
12347 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12348 common definitions.
12350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12351 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12352 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12353 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12354 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12355 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12357 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12360 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12361 __ieee754_sqrl instead of __sqrl.
12363 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12365 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12366 * sysdeps/powerpc/fpu_control.h: ... here.
12367 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12368 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12369 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12370 * sysdeps/powerpc/bits/mathinline.h: ... here.
12372 2013-03-01 Roland McGrath <roland@hack.frob.com>
12374 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12375 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12376 to just [NEED_DL_SYSINFO_DSO].
12377 * elf/dl-support.c: Likewise.
12378 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12379 * elf/rtld.c (dl_main): Likewise.
12380 * elf/setup-vdso.h (setup_vdso): Likewise.
12381 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12382 * sysdeps/unix/sysv/linux/dl-sysdep.c
12383 (_dl_discover_osversion): Likewise.
12385 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12387 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12388 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12390 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12392 * NEWS: Mention libm performance improvements and non-x86 PI
12395 * csu/libc-start.c (__pthread_initialize_minimal): Change
12396 function arguments.
12397 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12399 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12402 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12403 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12404 <bp-sym.h> and <bp-asm.h>.
12405 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12406 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12408 (memcpy): Don't use BP_SYM.
12409 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12411 (__mpn_add_n): Don't use BP_SYM.
12412 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12413 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12415 (__mpn_addmul_1): Don't use BP_SYM.
12416 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12417 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12419 (_setjmp): Don't use BP_SYM.
12420 (__novmx_setjmp): Likewise.
12421 (__GI__setjmp): Likewise.
12422 (__vmx_setjmp): Likewise.
12423 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12425 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12426 (__bzero): Don't use BP_SYM.
12427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12429 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12430 <bp-sym.h> and <bp-asm.h>.
12431 (memcpy): Don't use BP_SYM.
12432 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12433 <bp-sym.h> and <bp-asm.h>.
12434 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12435 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12436 <bp-sym.h> and <bp-asm.h>.
12437 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12438 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12440 (__mpn_lshift): Don't use BP_SYM.
12441 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12442 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12444 (memset): Don't use BP_SYM.
12445 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12446 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12447 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12449 (__mpn_mul_1): Don't use BP_SYM.
12450 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12451 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12452 <bp-sym.h> and <bp-asm.h>.
12453 (memcmp): Don't use BP_SYM.
12454 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12455 <bp-sym.h> and <bp-asm.h>.
12456 (memcpy): Don't use BP_SYM.
12457 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12458 <bp-sym.h> and <bp-asm.h>.
12459 (memset): Don't use BP_SYM.
12460 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12461 <bp-sym.h> and <bp-asm.h>.
12462 (strncmp): Don't use BP_SYM.
12463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12464 <bp-sym.h> and <bp-asm.h>.
12465 (memcpy): Don't use BP_SYM.
12466 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12467 <bp-sym.h> and <bp-asm.h>.
12468 (memset): Don't use BP_SYM.
12469 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12470 <bp-sym.h> and <bp-asm.h>.
12471 (__memchr): Don't use BP_SYM.
12472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12473 <bp-sym.h> and <bp-asm.h>.
12474 (memcmp): Don't use BP_SYM.
12475 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12476 <bp-sym.h> and <bp-asm.h>.
12477 (memcpy): Don't use BP_SYM.
12478 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12479 <bp-sym.h> and <bp-asm.h>.
12480 (__mempcpy): Don't use BP_SYM.
12481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12482 <bp-sym.h> and <bp-asm.h>.
12483 (__memrchr): Don't use BP_SYM.
12484 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12485 <bp-sym.h> and <bp-asm.h>.
12486 (memset): Don't use BP_SYM.
12487 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12488 <bp-sym.h> and <bp-asm.h>.
12489 (__rawmemchr): Don't use BP_SYM.
12490 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12491 <bp-sym.h> and <bp-asm.h>.
12492 (__STRCMP): Don't use BP_SYM.
12493 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12494 <bp-sym.h> and <bp-asm.h>.
12495 (strchr): Don't use BP_SYM.
12496 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12497 <bp-sym.h> and <bp-asm.h>.
12498 (__strchrnul): Don't use BP_SYM.
12499 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12500 <bp-sym.h> and <bp-asm.h>.
12501 (strlen): Don't use BP_SYM.
12502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12503 <bp-sym.h> and <bp-asm.h>.
12504 (strncmp): Don't use BP_SYM.
12505 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12506 <bp-sym.h> and <bp-asm.h>.
12507 (__strnlen): Don't use BP_SYM.
12508 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12510 (__mpn_rshift): Don't use BP_SYM.
12511 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12512 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12513 <bp-sym.h> and <bp-asm.h>.
12514 (__sigsetjmp): Don't use BP_SYM.
12515 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12516 (L(start_addresses)): Don't use BP_SYM.
12517 (_start): Likewise.
12518 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12520 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12521 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12522 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12523 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12525 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12526 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12527 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12528 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12530 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12532 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12533 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12535 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12537 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12538 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12539 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12541 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12543 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12545 (strncmp): Don't use BP_SYM,
12546 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12548 (__mpn_sub_n): Don't use BP_SYM.
12549 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12550 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12552 (__mpn_submul_1): Don't use BP_SYM.
12553 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12555 <bp-sym.h> and <bp-asm.h>.
12556 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12558 <bp-sym.h> and <bp-asm.h>.
12559 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12562 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12565 Use ZK to minimize writes to Z.
12566 (sub_magnitudes): Simplify code a bit.
12567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12568 Use ZK to minimize writes to Z.
12569 (sub_magnitudes): Simplify code a bit.
12571 2013-02-27 Roland McGrath <roland@hack.frob.com>
12573 * csu/gmon-start.c: Add special exception to license text.
12575 2013-02-27 Richard Henderson <rth@redhat.com>
12577 * scripts/config.guess: Update from config.git.
12578 * scripts/config.sub: Likewise.
12580 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12582 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12584 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12586 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12588 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12590 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12592 2013-02-26 Roland McGrath <roland@hack.frob.com>
12594 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12595 [$(build-shared = yes].
12597 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12599 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12600 (__mul): Reduce iterations for calculating mantissa.
12602 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12604 (__mpranred): Likewise.
12607 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12608 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12610 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12612 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12613 Define __attribute__.
12615 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12617 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12619 * posix/regex_internal.h (__attribute): Remove.
12620 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12621 (re_string_context_at): Likewise.
12622 (bitset_not): Use __attribute__ and mark function as possibly
12624 (bitset_merge): Likewise.
12625 (bitset_mask): Likewise.
12626 (re_string_char_size_at): Likewise.
12627 (re_string_wchar_at): Likewise.
12628 (re_string_elem_size_at): Likewise.
12630 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12632 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12636 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12640 (denorm): Likewise.
12641 (__dbl_mp): Likewise.
12642 (add_magnitudes): Likewise.
12643 (sub_magnitudes): Likewise.
12647 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12650 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12653 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12657 up changes with default code.
12658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12661 2013-02-24 Allan McRae <allan@archlinux.org>
12663 * manual/socket.texi (The Internet Namespace): Order menu items
12664 to match that in the file.
12666 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12667 node listing of the info page menu.
12669 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/i386/bp-asm.h: Remove file.
12673 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12674 (PARMS): Do not use macros from bp-asm.h.
12678 (__mpn_add_n): Do not use BP_SYM
12679 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12681 (PARMS): Do not use macros from bp-asm.h.
12684 (__mpn_addmul_1): Do not use BP_SYM
12685 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12687 (PARMS): Do not use macros from bp-asm.h.
12688 (SIGMSK): Likewise.
12689 (_setjmp): Likewise. Do not use BP_SYM.
12690 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (SIGMSK): Likewise.
12694 (setjmp): Likewise. Do not use BP_SYM.
12695 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12697 (PARMS): Do not use macros from bp-asm.h.
12698 (__frexp): Do not use BP_SYM.
12700 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12702 (PARMS): Do not use macros from bp-asm.h.
12703 (__frexpf): Do not use BP_SYM.
12704 (frexpf): Likewise.
12705 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12707 (PARMS): Do not use macros from bp-asm.h.
12708 (__frexpl): Do not use BP_SYM.
12709 (frexpl): Likewise.
12710 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12712 (PARMS): Do not use macros from bp-asm.h.
12713 (__remquo): Do not use BP_SYM.
12714 (remquo): Likewise.
12715 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12717 (PARMS): Do not use macros from bp-asm.h.
12718 (__remquof): Do not use BP_SYM.
12719 (remquof): Likewise.
12720 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12722 (PARMS): Do not use macros from bp-asm.h.
12723 (__remquol): Do not use BP_SYM.
12724 (remquol): Likewise.
12725 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12727 (PARMS): Do not use macros from bp-asm.h.
12730 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12731 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12733 (PARMS): Do not use macros from bp-asm.h.
12734 (strlen): Do not use BP_SYM.
12735 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12737 (PARMS): Do not use macros from bp-asm.h.
12741 (__mpn_add_n): Do not use BP_SYM.
12742 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12744 (PARMS): Do not use macros from bp-asm.h.
12747 (__mpn_addmul_1): Do not use BP_SYM.
12748 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12751 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12753 (PARMS): Do not use macros from bp-asm.h.
12756 (__mpn_lshift): Do not use BP_SYM.
12757 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12759 (PARMS): Do not use macros from bp-asm.h.
12763 (memcpy): Likewise. Do not use BP_SYM.
12764 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12765 libc_hidden_def and weak_alias.
12766 (mempcpy): Do not use BP_SYM in weak_alias.
12767 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12769 (PARMS): Do not use macros from bp-asm.h.
12772 [!BZERO_P] (CHR): Likewise.
12773 (memset): Likewise. Do not use BP_SYM.
12774 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12776 (PARMS): Do not use macros from bp-asm.h.
12779 (__mpn_mul_1): Do not use BP_SYM.
12780 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12782 (PARMS): Do not use macros from bp-asm.h.
12785 (__mpn_rshift): Do not use BP_SYM.
12786 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12788 (PARMS): Do not use macros from bp-asm.h.
12791 (strchr): Likewise. Do not use BP_SYM.
12792 (index): Do not use BP_SYM in weak_alias.
12793 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12795 (PARMS): Do not use macros from bp-asm.h.
12798 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12799 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12801 (PARMS): Do not use macros from bp-asm.h.
12802 (strlen): Do not use BP_SYM.
12803 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12805 (PARMS): Do not use macros from bp-asm.h.
12809 (__mpn_sub_n): Do not use BP_SYM.
12810 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12812 (PARMS): Do not use macros from bp-asm.h.
12815 (__mpn_submul_1): Do not use BP_SYM.
12816 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12818 (PARMS): Do not use macros from bp-asm.h.
12822 (__mpn_add_n): Do not use BP_SYM.
12823 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12826 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12828 (PARMS): Do not use macros from bp-asm.h.
12831 (memcmp): Do not use BP_SYM.
12832 (bcmp): Do not use BP_SYM in weak_alias.
12833 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12835 (PARMS): Do not use macros from bp-asm.h.
12839 (memcpy): Likewise. Do not use BP_SYM.
12840 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12842 (PARMS): Do not use macros from bp-asm.h.
12846 (memmove): Likewise. Do not use BP_SYM.
12847 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12849 (PARMS): Do not use macros from bp-asm.h.
12853 (__mempcpy): Likewise. Do not use BP_SYM.
12854 (mempcpy): Do not use BP_SYM in weak_alias.
12855 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12857 (PARMS): Do not use macros from bp-asm.h.
12860 [!BZERO_P] (CHR): Likewise.
12861 (memset): Likewise. Do not use BP_SYM.
12862 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12864 (PARMS): Do not use macros from bp-asm.h.
12866 (strcmp): Do not use BP_SYM.
12867 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12869 (PARMS): Do not use macros from bp-asm.h.
12872 [USE_AS_STRTOK_R] (SAVE): Likewise.
12873 (FUNCTION): Likewise. Do not use BP_SYM.
12874 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12876 (strtok_r): Likewise.
12877 (__GI___strtok_r): Likewise.
12878 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12879 (PARMS): Do not use macros from bp-asm.h.
12882 (__mpn_lshift): Do not use BP_SYM.
12883 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12884 (PARMS): Do not use macros from bp-asm.h.
12887 (__memchr): Do not use BP_SYM.
12888 (memchr): Do not use BP_SYM in weak_alias.
12889 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12890 (PARMS): Do not use macros from bp-asm.h.
12893 (memcmp): Do not use BP_SYM.
12894 (bcmp): Do not use BP_SYM in weak_alias.
12895 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12896 (PARMS): Do not use macros from bp-asm.h.
12899 (__mpn_mul_1): Do not use BP_SYM.
12900 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12902 (PARMS): Do not use macros from bp-asm.h.
12905 (__rawmemchr): Do not use BP_SYM.
12906 (rawmemchr): Do not use BP_SYM in weak_alias.
12907 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12908 (PARMS): Do not use macros from bp-asm.h.
12911 (__mpn_rshift): Do not use BP_SYM.
12912 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12913 (PARMS): Do not use macros from bp-asm.h.
12914 (SIGMSK): Likewise.
12915 (__sigsetjmp): Likewise. Do not use BP_SYM.
12916 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12917 (_start): Do not use BP_SYM.
12918 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12919 (PARMS): Do not use macros from bp-asm.h.
12922 (__stpcpy): Likewise. Do not use BP_SYM.
12923 (stpcpy): Do not use BP_SYM in weak_alias.
12924 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12926 (PARMS): Do not use macros from bp-asm.h.
12930 (__stpncpy): Likewise. Do not use BP_SYM.
12931 (stpncpy): Do not use BP_SYM in weak_alias.
12932 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12933 (PARMS): Do not use macros from bp-asm.h.
12936 (strchr): Likewise. Do not use BP_SYM.
12937 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12939 (PARMS): Do not use macros from bp-asm.h.
12942 (__strchrnul): Likewise. Do not use BP_SYM.
12943 (strchrnul): Do not use BP_SYM in weak_alias.
12944 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12946 (PARMS): Do not use macros from bp-asm.h.
12948 (strcspn): Do not use BP_SYM.
12949 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12951 (PARMS): Do not use macros from bp-asm.h.
12954 (strpbrk): Likewise. Do not use BP_SYM.
12955 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12957 (PARMS): Do not use macros from bp-asm.h.
12960 (strrchr): Likewise. Do not use BP_SYM.
12961 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12962 (PARMS): Do not use macros from bp-asm.h.
12964 (strspn): Do not use BP_SYM.
12965 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12966 (PARMS): Do not use macros from bp-asm.h.
12970 (FUNCTION): Likewise. Do not use BP_SYM.
12971 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12973 (strtok_r): Likewise.
12974 (__GI___strtok_r): Likewise.
12975 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12976 (PARMS): Do not use macros from bp-asm.h.
12980 (__mpn_sub_n): Do not use BP_SYM.
12981 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12983 (PARMS): Do not use macros from bp-asm.h.
12986 (__mpn_submul_1): Do not use BP_SYM.
12987 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12989 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12991 (PARMS): Do not use macros from bp-asm.h.
12996 (__clone): Do not use BP_SYM.
12997 (clone): Do not use BP_SYM in weak_alias.
12998 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13000 (PARMS): Do not use macros from bp-asm.h.
13002 (__mmap64): Do not use BP_SYM.
13003 (mmap64): Do not use BP_SYM in weak_alias.
13004 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13005 <bp-sym.h> and <bp-asm.h>.
13006 (PARMS): Do not use macros from bp-asm.h.
13007 (__posix_fadvise64_l64): Do not use BP_SYM.
13008 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13009 (PARMS): Do not use macros from bp-asm.h.
13011 (semtimedop): Do not use BP_SYM.
13012 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13015 2013-02-21 Allan McRae <allan@archlinux.org>
13017 * manual/message.texi (Charset conversion in gettext):
13018 Move @end statement to beginning of line.
13020 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13028 (denorm): Likewise.
13029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13032 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13034 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13035 tail-call to the resolved function if pltexit isn't needed.
13037 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13040 or Y being zero as being unlikely.
13041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13044 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13046 * manual/nss.texi (System Databases and Name Service Switch):
13047 Remove frobnicate @pxref.
13049 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13051 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13052 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13054 2013-02-20 Petr Machata <pmachata@redhat.com>
13056 * elf/elf.h (R_ARM_TARGET1): New macro.
13057 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13058 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13059 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13060 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13061 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13062 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13063 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13064 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13065 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13066 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13067 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13068 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13069 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13070 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13071 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13072 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13073 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13074 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13075 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13076 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13077 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13078 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13079 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13080 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13081 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13082 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13083 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13084 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13085 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13086 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13087 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13088 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13089 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13090 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13091 (R_ARM_THM_GOT_BREL12): Likewise.
13092 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13093 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13094 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13095 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13096 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13097 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13098 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13099 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13100 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13102 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13104 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13105 __attribute_used__ to __attribute__ ((unused)).
13107 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13109 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13112 comment formatting.
13113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13115 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13118 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13120 (ENTER): Remove both macro definitions.
13122 (CHECK_BOUNDS_LOW): Likewise.
13123 (CHECK_BOUNDS_HIGH): Likewise.
13124 (CHECK_BOUNDS_BOTH): Likewise.
13125 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13126 (RETURN_BOUNDED_POINTER): Likewise.
13127 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13128 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13129 (POP_ERRNO_LOCATION_RETURN): Likewise.
13130 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13131 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13132 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13134 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13135 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13136 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13137 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13138 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13139 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13140 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13141 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13142 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13143 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13144 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13145 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13146 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13147 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13149 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13150 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13152 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13153 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13154 * sysdeps/i386/i586/memset.S (memset): Likewise.
13155 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13156 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13157 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13159 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13160 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13161 Change uses of L(2) to L(out).
13162 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13163 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13164 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13165 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13166 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13168 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13169 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13171 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13172 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13173 (RETURN): Do not use macro LEAVE.
13174 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13175 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13176 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13177 * sysdeps/i386/i686/memset.S (memset): Likewise.
13178 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13179 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13180 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13181 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13183 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13184 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13185 L(1_2) and L(1_3) into L(1).
13186 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13187 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13188 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13189 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13190 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13191 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13192 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13193 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13194 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13196 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13197 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13198 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13199 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13200 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13201 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13202 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13203 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13204 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13205 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13206 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13207 * sysdeps/i386/strspn.S (strspn): Likewise.
13208 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13210 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13211 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13212 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13213 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13214 L(1_3) into L(1_1).
13215 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13216 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13217 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13219 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13221 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13223 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13226 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13228 * math/atest-exp.c (exp_mpn): Remove ROUND.
13229 * math/atest-exp2.c (exp_mpn): Likewise.
13230 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13232 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13233 * stdlib/tst-tls-atexit-lib.c: Likewise.
13234 * stdlib/tst-tls-atexit.c: Likewise.
13236 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13238 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13239 and __attribute_alloc_size__.
13241 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13243 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13244 __attribute_alloc_size__.
13245 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13246 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13248 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13250 * include/programs/xmalloc.h: New file.
13251 * catgets/gencat.c: Include it.
13252 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13253 * elf/pldd.c: Likewise.
13254 * iconv/iconv_charmap.c: Likewise.
13255 * iconv/iconvconfig.c: Likewise.
13256 * iconv/strtab.c: Likewise.
13257 * locale/programs/locale.c: Likewise.
13258 * locale/programs/localedef.h: Likewise.
13259 * locale/programs/simple-hash.c: Likewise.
13260 * nscd/nscd.h: Likewise.
13261 * nss/makedb.c: Likewise.
13262 * sysdeps/generic/ldconfig.h: Likewise.
13264 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13266 * Versions.def: Add GLIBC_2.18.
13267 * include/link.h (struct link_map): New member l_tls_dtor_count.
13268 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13269 (__call_tls_dtors): Likewise.
13270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13271 __cxa_thread_atexit_impl.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13288 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13289 (tests): Add test case tst-tls-atexit.
13290 (modules-names): Add shared library for tst-tls-atexit.
13291 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13292 (GLIBC_PRIVATE): Add __call_tls_dtors.
13293 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13295 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13296 * stdlib/tst-tls-atexit.c: New test case.
13297 * stdlib/tst-tls-atexit-lib.c: New test case.
13299 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13301 * elf/Versions (ld): Add _dl_find_dso_for_object.
13302 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13303 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13304 (dl_open_worker): Use _dl_find_dso_for_object.
13305 * elf/dl-sym.c (do_sym): Likewise.
13306 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13308 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13310 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13311 Syntactic changes only.
13312 (_dl_runtime_profile): Do a tail-call to the resolved function.
13314 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13317 * sysdeps/x86_64/bp-asm.h: Remove file.
13318 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13319 <bp-sym.h> and <bp-asm.h>.
13320 (__clone): Do not use BP_SYM.
13321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13322 <bp-sym.h> and <bp-asm.h>.
13323 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13324 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13326 (_setjmp): Do not use BP_SYM.
13327 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13329 (setjmp): Do not use BP_SYM.
13330 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13332 (mempcpy): Do not use BP_SYM in weak_alias.
13333 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13335 (strchr): Do not use BP_SYM.
13336 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13338 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13339 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13340 (_start): Do not use BP_SYM.
13341 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13343 (strcat): Do not use BP_SYM.
13344 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13346 (STRCMP): Do not use BP_SYM.
13347 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13349 (STRCPY): Do not use BP_SYM.
13350 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13352 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13354 (FUNCTION): Do not use BP_SYM.
13355 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13357 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13359 2013-02-17 Andreas Jaeger <aj@suse.de>
13361 * time/Versions: Sort entries.
13362 * string/Versions: Likewise.
13363 * resolv/Versions: Likewise.
13364 * posix/Versions: Likewise.
13365 * iconv/Versions: Likewise.
13366 * elf/Versions: Likewise.
13367 * wcsmbs/Versions: Likewise.
13369 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13371 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13372 loop termination condition.
13374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13375 variable to calculate EZ.
13378 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13379 the lower precision input.
13381 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13384 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13385 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13386 (run-via-rtld-prefix): Do not handle %-bp tests.
13387 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13388 (all-object-suffixes): Remove .ob.
13389 (bppfx): Remove variable.
13390 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13391 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13392 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13393 [$(build-bounded) = yes] (libtype.ob): Likewise.
13394 * Makerules (elide-routines.ob): Remove variable.
13395 (do-tests-clean): Do not handle *-bp.out.
13396 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13397 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13398 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13399 (tests): Do not include $(tests-bp.out).
13400 (xtests): Do not include $(xtests-bp.out).
13401 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13402 [$(build-bounded) = yes] ($(addprefix
13403 $(objpfx),$(binaries-bounded))): Remove rule.
13404 ($(objpfx)%-bp.out): Remove rule.
13405 * config.make.in (build-bounded): Remove variable.
13406 * crypt/Makefile [$(build-bounded) = yes]
13407 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13408 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13409 append to variable.
13410 [$(build-bounded) = yes] (install-lib): Likewise.
13411 [$(build-bounded) = yes] (generated): Likewise.
13412 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13414 * intl/Makefile [$(build-bounded) = yes]
13415 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13416 * math/Makefile [$(build-bounded) = yes]
13417 ($(tests:%=$(objpfx)%-bp): Likewise.
13418 * misc/Makefile [$(build-bounded) = yes]
13419 ($(objpfx)tst-tsearch-bp): Likewise.
13420 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13421 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13423 * string/Makefile (o-objects.ob): Remove variable.
13424 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13425 (CFLAGS-.ob): Remove variable.
13426 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13427 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13428 both definitions of variable.
13429 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13430 (ASFLAGS-.ob): Remove variable.
13432 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13435 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13436 Remove __BOUNDED_POINTERS__ from condition.
13437 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13438 * string/bits/string2.h [!__NO_STRING_INLINES &&
13439 !__BOUNDED_POINTERS__]: Likewise.
13440 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13442 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13443 Remove conditional code.
13444 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13445 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13446 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13450 * csu/libc-start.c: Do not include <bp-sym.h>.
13451 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13452 * elf/dl-open.c: Do not include <bp-sym.h>.
13453 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13454 * math/fegetenv.c: Do not include <bp-sym.h>.
13455 (fegetenv): Do not use BP_SYM in versioned symbols.
13456 * nptl/sysdeps/pthread/bits/libc-lockP.h
13457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13460 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13462 (__pthread_mutex_destroy): Likewise.
13463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13464 (__pthread_mutex_lock): Likewise.
13465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13466 (__pthread_mutex_trylock): Likewise.
13467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13468 (__pthread_mutex_unlock): Likewise.
13469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13470 (__pthread_mutexattr_init): Likewise.
13471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13472 (__pthread_mutexattr_destroy): Likewise.
13473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13474 (__pthread_mutexattr_settype): Likewise.
13475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13476 (__pthread_rwlock_init): Likewise.
13477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13478 (__pthread_rwlock_destroy): Likewise.
13479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13480 (__pthread_rwlock_rdlock): Likewise.
13481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13482 (__pthread_rwlock_tryrdlock): Likewise.
13483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13484 (__pthread_rwlock_wrlock): Likewise.
13485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13486 (__pthread_rwlock_trywrlock): Likewise.
13487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13488 (__pthread_rwlock_unlock): Likewise.
13489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13490 (__pthread_key_create): Likewise.
13491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13492 (__pthread_setspecific): Likewise.
13493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13494 (__pthread_getspecific): Likewise.
13495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13498 (_pthread_cleanup_push_defer): Likewise.
13499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13500 (_pthread_cleanup_pop_restore): Likewise.
13501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13502 (pthread_setcancelstate): Likewise.
13503 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13505 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13506 (memchr): Do not use BP_SYM in weak_alias.
13507 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13508 (fegetenv): Do not use BP_SYM in versioned symbols.
13509 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13510 (fesetenv): Do not use BP_SYM in versioned symbols.
13511 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13512 (feupdateenv): Do not use BP_SYM in versioned symbols.
13513 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13514 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13515 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13516 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13517 (open64): Do not use BP_SYM in weak_alias.
13518 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13519 (fegetenv): Do not use BP_SYM in versioned symbols.
13520 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13521 (fesetenv): Do not use BP_SYM in versioned symbols.
13522 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13523 (feupdateenv): Do not use BP_SYM in versioned symbols.
13524 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13525 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13526 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13527 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13528 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13529 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13532 (__libc_start_main): Do not use BP_SYM.
13534 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13537 redundant return line.
13539 (denorm): Likewise.
13540 (dbl_mp): Likewise.
13541 (sub_magnitudes): Likewise.
13547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13549 (denorm): Likewise.
13550 (dbl_mp): Likewise.
13551 (sub_magnitudes): Likewise.
13558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13560 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13561 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13564 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13565 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13567 of __mul for squares.
13568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13572 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13573 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13575 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13578 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13580 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13581 prototype or function definition. Rename ubp_* variables and
13582 parameters. Remove argv definitions conditional on
13583 [__BOUNDED_POINTERS__].
13584 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13585 * elf/dl-runtime.c (_dl_fixup): Likewise.
13586 * include/set-hooks.h (RUN_HOOK): Likewise.
13587 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13589 * string/strcpy.c (strcpy): Do not use __unbounded.
13590 * sysdeps/generic/frame.h (struct layout): Likewise.
13591 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13592 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13593 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13594 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13595 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13596 (__backtrace): Likewise.
13597 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13599 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13600 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13601 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13603 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13604 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13605 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13606 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13607 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13608 Do not use __unbounded.
13609 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13610 Rename __unboundedrlimits parameter to rlimits in prototype.
13611 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13612 Do not use __unbounded.
13613 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13614 not use __ptrvalue.
13615 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13616 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13617 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13618 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13619 __ptrvalue or __unbounded.
13620 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13621 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13623 (__new_msgctl): Do not use __ptrvalue.
13624 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13626 (__libc_msgrcv): Do not use __ptrvalue.
13627 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13628 startup_info): Do not use __unbounded.
13629 (__libc_start_main): Likewise. Rename ubp_* variables and
13630 parameters. Remove argv definitions conditional on
13631 [__BOUNDED_POINTERS__].
13632 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13634 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13636 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13638 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13640 (__new_shmctl): Do not use __ptrvalue.
13641 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13642 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13644 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13645 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13646 (__libc_sigaction): Likewise.
13647 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13648 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13650 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13652 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13654 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13656 * string/mempcpy.c: Implement by calling memcpy.
13658 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13665 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13666 values in the mantissa.
13668 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13669 minimize writes to Z.
13670 (sub_magnitudes): Simplify code a bit.
13672 2013-02-12 Roland McGrath <roland@hack.frob.com>
13674 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13675 from the message. The linker prefixes all warnings with that already.
13677 2013-02-12 Andreas Schwab <schwab@suse.de>
13680 * posix/regexec.c (extend_buffers): Add parameter min_len.
13681 (check_matching): Pass minimum needed length.
13682 (clean_state_log_if_needed): Likewise.
13683 (get_subexp): Likewise.
13684 * posix/Makefile (tests): Add bug-regex34.
13685 (bug-regex34-ENV): Define.
13686 * posix/bug-regex34.c: New file.
13689 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13690 elements compare against the byte sequence of it, not its name.
13691 * posix/Makefile (tests): Add bug-regex35.
13692 (bug-regex35-ENV): Define.
13693 * posix/bug-regex35.c: New file.
13695 2013-02-11 Tom de Vries <tom@codesourcery.com>
13697 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13699 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13700 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13701 (CHECK_EOL): Add undef.
13703 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13705 * bits/stdlib-bsearch.h: New file.
13706 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13707 * stdlib/stdlib.h: Likewise.
13709 2013-02-11 Roland McGrath <roland@hack.frob.com>
13711 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13712 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13714 * manual/search.texi (Array Search Function): Add missing const in
13716 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13717 declaration to use rlim_t.
13718 (Basic Scheduling Functions): Remove erroneous const from
13719 sched_getparam prototype. Remove erroneous * from
13720 sched_get_priority_max and sched_get_priority_min prototypes.
13721 (Resource Usage): Fix summary @comment on vtimes to refer to
13722 sys/vtimes.h rather than vtimes.h.
13723 Add missing *s in vtimes prototype.
13724 (Limits on Resources): Fix ulimit prototype to return long int.
13725 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13726 prototypes to use long int rather than double.
13727 (BSD Random): Fix initstate and setstate to use char *, not void *.
13728 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13729 prototype to make second argument 'struct aiocb64 *const[]'.
13730 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13731 (Status of AIO Operations): Remove erroneous const in aio_return and
13732 aio_return64 prototypes.
13733 (Synchronizing I/O): Fix sync prototype to return void.
13734 * manual/startup.texi (Suboptions): Remove an erroneous const in
13735 getsubopt prototype.
13736 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13737 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13738 use size_t rather than int.
13739 (Scanning All Users): Likewise for getpwent_r.
13740 (Setting Groups): Add missing const to setgroups prototype.
13741 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13742 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13743 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13744 'const void *' rather than 'const char *'.
13745 (Host Address Functions): Likewise for inet_ntop.
13746 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13747 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13748 ssize_t for return value.
13749 (Sending Data): Likewise for send, sendto, sendmsg.
13750 (Socket Option Functions): Add a missing const in setsockopt prototype.
13751 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13752 use wchar_t for the argument.
13753 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13754 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13756 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13757 double/float/long double for second argument.
13758 Fix return types of significand, significandf, significandl.
13759 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13760 argument in fchmod prototype.
13761 (File Owner): Use uid_t and gid_t in fchown prototype.
13762 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13763 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13764 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13765 use 'const struct dirent **' as argument types to CMP function pointer
13767 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13768 (File Times): Fix summary magic @comment for struct utimbuf and utime
13769 to refer to utime.h, not time.h.
13770 * manual/string.texi (Argz Functions): Add missing const in
13771 argz_extract and argz_next prototypes.
13772 (Finding Tokens in a String): Likewise for basename.
13773 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13774 (Copying and Concatenation): Fix typo in wmemmove prototype.
13775 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13776 (Signal Stack): Remove erroneous const in sigstack prototype.
13777 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13779 (Simple Calendar Time): Likewise for stime.
13780 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13782 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13783 say sys/sysctl.h instead.
13784 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13785 and vsyslog prototypes.
13787 2013-02-11 Tom de Vries <tom@codesourcery.com>
13789 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13792 2013-02-11 Roland McGrath <roland@hack.frob.com>
13794 * misc/sys/mman.h: Fix typo in mremap comment.
13796 2013-02-08 Roland McGrath <roland@hack.frob.com>
13798 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13799 the '\0' terminator.
13801 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13804 * debug/segfault.c: Don't include <bp-checks.h>.
13805 * sysdeps/generic/bp-checks.h: Remove file.
13806 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13807 (__GETDENTS): Don't use CHECK_N.
13808 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13809 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13810 (__getgroups): Don't use CHECK_N.
13811 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13812 (setgroups): Don't use CHECK_N.
13813 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13814 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13815 (__libc_msgrcv): Don't use CHECK_N.
13816 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13817 (__libc_msgsnd): Don't use CHECK_N.
13818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13820 (__libc_pread): Don't use CHECK_N.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13822 include <bp-checks.h>.
13823 (__libc_pread64): Don't use CHECK_N.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13825 include <bp-checks.h>.
13826 (__libc_pwrite): Don't use CHECK_N.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13828 include <bp-checks.h>.
13829 (__libc_pwrite64): Don't use CHECK_N.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13832 (__libc_pread): Don't use CHECK_N.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13834 include <bp-checks.h>.
13835 (__libc_pread64): Don't use CHECK_N.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13837 include <bp-checks.h>.
13838 (__libc_pwrite): Don't use CHECK_N.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13840 include <bp-checks.h>.
13841 (__libc_pwrite64): Don't use CHECK_N.
13842 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13843 (do_pread): Don't use CHECK_N.
13844 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13845 (do_pread64): Don't use CHECK_N.
13846 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13847 (do_pwrite): Don't use CHECK_N.
13848 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13849 (do_pwrite64): Don't use CHECK_N.
13850 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13851 (__libc_readv): Don't use CHECK_N.
13852 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13853 (semop): Don't use CHECK_N.
13854 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13856 (semtimedop): Don't use CHECK_N.
13857 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13858 (__libc_pread): Don't use CHECK_N.
13859 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13861 (__libc_pread64): Don't use CHECK_N.
13862 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13864 (__libc_pwrite): Don't use CHECK_N.
13865 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13867 (__libc_pwrite64): Don't use CHECK_N.
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13870 (__libc_msgrcv): Don't use CHECK_N.
13871 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13872 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13873 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13874 (__libc_writev): Don't use CHECK_N.
13876 2013-02-08 Roland McGrath <roland@hack.frob.com>
13878 * string/strcpy.c: Removed unused variable.
13880 * Makeconfig (+sysdep-includes): Define with := rather than =.
13881 Use an existing include/ subdir of each sysdeps dir before it.
13883 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13885 * nscd/connection.c (register_traced_file): Comment function.
13886 [HAVE_INOTIFY] (union __inev): Define.
13887 [HAVE_INOTIFY] (inotify_check_files): New function.
13888 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13889 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13891 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13893 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13895 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13896 loaded if not already and that a failure is permanent.
13898 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13901 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13902 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13904 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13907 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13908 (CHECK_1_NULL_OK): Likewise.
13909 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13910 (__fxstat): Do not use CHECK_1.
13911 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13913 (___fxstat64): Do not use CHECK_1.
13914 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13916 (__fxstatat): Do not use CHECK_1.
13917 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13919 (__fxstatat64): Do not use CHECK_1.
13920 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13922 (__fxstat): Do not use CHECK_1.
13923 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13925 (__fxstatat): Do not use CHECK_1.
13926 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13928 (__getresgid): Do not use CHECK_1.
13929 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13931 (__getresuid): Do not use CHECK_1.
13932 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13934 (__lxstat): Do not use CHECK_1.
13935 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13937 (__old_msgctl): Do not use CHECK_1.
13938 (__new_msgctl): Likewise.
13939 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13941 (__new_setrlimit): Do not use CHECK_1.
13942 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13944 (__old_shmctl): Do not use CHECK_1.
13945 (__new_shmctl): Likewise.
13946 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13948 (__xstat): Do not use CHECK_1.
13949 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13950 (__lxstat): Do not use CHECK_1.
13951 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13953 (___lxstat64): Do not use CHECK_1.
13954 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13955 (__old_msgctl): Do not use CHECK_1.
13956 (__new_msgctl): Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13959 (__gettimeofday): Do not use CHECK_1.
13960 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13961 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13962 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13964 (__gettimeofday): Do not use CHECK_1.
13965 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13966 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13967 (__new_shmctl): Do not use CHECK_1.
13968 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13970 (do_sigtimedwait): Do not use CHECK_1.
13971 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13973 (do_sigwaitinfo): Do not use CHECK_1.
13974 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13976 (msgctl): Do not use CHECK_1.
13977 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13979 (shmctl): Do not use CHECK_1.
13980 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13981 (ustat): Do not use CHECK_1.
13982 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13984 (__fxstat): Do not use CHECK_1.
13985 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13987 (__fxstatat): Do not use CHECK_1.
13988 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13990 (__lxstat): Do not use CHECK_1.
13991 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13993 (__xstat): Do not use CHECK_1.
13994 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13995 (__xstat): Do not use CHECK_1.
13996 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13997 (___xstat64): Do not use CHECK_1.
14000 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14002 (CHECK_BOUNDS_HIGH): Likewise.
14003 * string/strcpy.c: Do not include <bp-checks.h>.
14004 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14006 2013-02-07 Roland McGrath <roland@hack.frob.com>
14008 * nscd/nscd-client.h (__nscd_drop_map_ref):
14009 Add __attribute__ ((unused)).
14010 * nis/nss-nisplus.h (niserr2nss): Likewise.
14012 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14013 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14015 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14016 Remove inline keyword.
14017 * include/rounding-mode.h (round_away): Likewise.
14018 * libio/wfileops.c (adjust_wide_data): Likewise.
14019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14020 (__m128i_strloadu_tolower): Likewise.
14021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14022 (__m128i_strloadu_tolower): Likewise.
14023 * time/mktime.c (ydhms_diff): Likewise.
14024 * locale/elem-hash.h (elem_hash): Likewise.
14025 * locale/setlocale.c (setdata): Likewise.
14026 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14027 (re_string_wchar_at): Likewise.
14028 (bitset_not, bitset_merge, bitset_mask): Likewise.
14029 [!(__GNUC__ > 3)] (inline): Remove macro.
14030 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14031 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14032 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14033 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14034 * string/memcmp.c (memcmp_bytes): Likewise.
14035 * locale/programs/locarchive.c (compute_hashval): Likewise.
14036 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14037 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14038 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14039 * nss/getent.c (print_rpc, print_protocols): Likewise.
14040 (print_passwd, print_group, print_aliases): Likewise.
14041 * nis/nss-nisplus.h (niserr2nss): Likewise.
14042 * nscd/connections.c (restart_p): Likewise.
14043 Change return type to bool.
14045 2013-02-05 Roland McGrath <roland@hack.frob.com>
14047 * Makeconfig (all-Depend-files): Add existing
14048 $(sorted-subdirs:=/Depend) files.
14049 (all-subdirs): Remove nss.
14050 * sysdeps/unix/inet/Subdirs: Add it here instead.
14051 * hesiod/Depend: New file.
14053 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14054 instead of calling alloca.
14056 * io/lseek.c (__lseek): Rename to __libc_lseek.
14057 Define __lseek as an alias.
14059 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14061 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14063 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14064 else clause and remove check for non-standard endianness.
14066 2013-02-04 David S. Miller <davem@davemloft.net>
14068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14070 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14073 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14074 (__ubp_memchr): Remove prototype.
14075 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14076 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14077 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14078 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14079 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14081 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14082 (__ubp_memchr): Likewise.
14083 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14084 (__ubp_memchr): Likewise.
14085 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14086 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14087 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14088 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14090 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14091 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14092 (__getcwd): Do not use CHECK_STRING.
14093 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14095 (__real_chown): Do not use CHECK_STRING.
14096 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14098 (fchownat): Do not use CHECK_STRING.
14099 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14101 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14103 (__lchown): Do not use CHECK_STRING.
14104 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14105 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14106 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14107 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14109 include <bp-checks.h>.
14110 (truncate64): Do not use CHECK_STRING.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14113 (__real_chown): Do not use CHECK_STRING.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14116 (__lchown): Do not use CHECK_STRING.
14117 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14119 (__chown): Do not use CHECK_STRING.
14120 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14122 (truncate64): Do not use CHECK_STRING.
14123 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14125 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14126 (__xmknod): Do not use CHECK_STRING.
14127 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14129 (__xmknodat): Do not use CHECK_STRING.
14130 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14131 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14133 2013-02-04 Andreas Schwab <schwab@suse.de>
14136 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14137 * include/netdb.h: Likewise for h_errno.
14138 * elf/tst-stackguard1.c: Include <tls.h>.
14140 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14142 * elf/link.h (struct link_map): Extend the l_addr comment.
14143 * include/link.h (struct link_map): Likewise.
14145 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14148 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14149 (BOUNDED_1): Remove macro.
14150 * debug/backtrace.c: Don't include <bp-checks.h>.
14151 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14152 (__backtrace): Likewise.
14153 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14155 (__backtrace): Don't use BOUNDED_1.
14156 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14158 (__backtrace): Don't use BOUNDED_1.
14159 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14160 (__backtrace): Don't use BOUNDED_1.
14161 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14162 (shmat): Don't use BOUNDED_N.
14164 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14167 * sysdeps/generic/bp-start.h: Remove file.
14168 * csu/libc-start.c: Don't include <bp-start.h>.
14169 (LIBC_START_MAIN): Set up __environ directly instead of using
14170 INIT_ARGV_and_ENVIRON.
14171 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14175 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14177 (CHECK_FCNTL): Likewise.
14178 (CHECK_N_PAGES): Likewise.
14181 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14183 (CHECK_SIGSET_NULL_OK): Likewise.
14184 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14186 (sigpending): Don't use CHECK_SIGSET.
14187 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14190 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14192 (do_sigsuspend): Don't use CHECK_SIGSET.
14193 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14195 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14196 (do_sigwait): Don't use CHECK_SIGSET.
14197 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14200 include <bp-checks.h>.
14201 (sigpending): Don't use CHECK_SIGSET.
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14203 include <bp-checks.h>.
14204 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14205 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14207 (sigpending): Don't use CHECK_SIGSET.
14208 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14210 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14213 * sysdeps/generic/bp-semctl.h: Remove file.
14214 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14215 <bp-checks.h> and <bp-semctl.h>.
14216 (__old_semctl): Don't use CHECK_SEMCTL.
14217 (__new_semctl): Likewise.
14218 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14220 (__old_semctl): Don't use CHECK_SEMCTL.
14221 (__new_semctl): Likewise.
14222 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14223 <bp-checks.h> and <bp-semctl.h>.
14224 (__old_semctl): Don't use CHECK_SEMCTL.
14225 (__new_semctl): Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14227 <bp-checks.h> and <bp-semctl.h>.
14228 (semctl): Don't use CHECK_SEMCTL.
14231 * Makerules (elide-bp-thunks): Remove variable.
14232 (elide-routines.oS): Don't use $(elide-bp-thunks).
14233 (elide-routines.os): Likewise.
14234 (elide-routines.o): Likewise.
14235 (elide-routines.op): Likewise.
14236 (elide-routines.og): Likewise.
14237 (objects): Don't use $(bp-thunks).
14238 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14240 (common-generated): Do not add s-proto-bp.d.
14241 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14244 Do not generate makefile rules for bounded-pointer thunks.
14245 * sysdeps/generic/bp-thunks.h: Remove file.
14246 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14247 * sysdeps/unix/s-proto-bp.S: Likewise.
14250 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14251 parts of result separately when argument is not close to line from
14252 -i to i and one part of argument is small.
14253 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14254 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14255 * math/libm-test.inc (cacos_test): Add more tests.
14256 (casin_test): Likewise.
14257 (casinh_test): Likewise.
14258 * sysdeps/i386/fpu/libm-test-ulps: Update.
14259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14261 2013-01-31 David S. Miller <davem@davemloft.net>
14263 * po/de.po: Update from translation team.
14265 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14267 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14269 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14271 * configure.in (_AC_PROG_CC_C89): New definition.
14272 * configure: Regenerate.
14274 * configure.in (AC_PROG_CPP): New definition.
14275 * configure: Regenerate.
14277 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14279 * debug/tst-backtrace.h: New file.
14280 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14281 (ret): Remove variable.
14283 (FAIL): Remove macro.
14284 (NO_INLINE): Likewise.
14285 (fn1): Use match function instead of strstr.
14286 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14287 (ret): Remove variable.
14289 (FAIL): Remove macro.
14290 (NO_INLINE): Likewise.
14291 (fn): Use match function instead of strstr.
14292 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14293 (ret): Remove variable.
14295 (FAIL): Remove macro.
14296 (NO_INLINE): Likewise.
14297 (handle_signal): Use match function instead of strstr.
14298 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14299 (ret): Remove variable.
14301 (FAIL): Remove macro.
14302 (NO_INLINE): Likewise.
14303 (handle_signal): Use match function instead of strstr.
14305 2013-01-23 Roland McGrath <roland@hack.frob.com>
14307 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14309 2013-01-23 David S. Miller <davem@davemloft.net>
14311 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14312 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14313 argument of CAS if possible.
14314 * sysdeps/sparc/sparc64/bits/atomic.h
14315 (__arch_compare_and_exchange_val_32_acq): Likewise.
14316 (__arch_compare_and_exchange_val_64_acq): Likewise.
14318 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14320 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14321 * sysdeps/posix/ulimit.c: ... this.
14322 Include <limits.h>.
14323 * sysdeps/unix/bsd/ulimit.c: Remove file.
14325 2013-01-23 Adam Conrad <adconrad@0c3.net>
14327 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14328 (LDFLAGS-tst-array5): Likewise.
14330 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14333 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14334 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14335 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14336 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14338 2013-01-21 David S. Miller <davem@davemloft.net>
14340 * sysdeps/sparc/backtrace.c: New file.
14341 * sysdeps/sparc/sparc32/backtrace.h: New file.
14342 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14343 * sysdeps/sparc/sparc64/backtrace.h: New file.
14344 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14345 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14348 2013-01-21 Andreas Schwab <schwab@suse.de>
14351 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14354 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14360 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14361 Mark Mitchell <mark@codesourcery.com>
14362 Tom de Vries <tom@codesourcery.com>
14363 Paul Pluzhnikov <ppluzhnikov@google.com>
14365 * debug/tst-backtrace2.c: New file.
14366 * debug/tst-backtrace3.c: Likewise.
14367 * debug/tst-backtrace4.c: Likewise.
14368 * debug/tst-backtrace5.c: Likewise.
14369 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14370 (CFLAGS-tst-backtrace3.c): Likewise.
14371 (CFLAGS-tst-backtrace4.c): Likewise.
14372 (CFLAGS-tst-backtrace5.c): Likewise.
14373 (LDFLAGS-tst-backtrace2): Likewise.
14374 (LDFLAGS-tst-backtrace3): Likewise.
14375 (LDFLAGS-tst-backtrace4): Likewise.
14376 (LDFLAGS-tst-backtrace5): Likewise.
14377 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14378 tst-backtrace4 and tst-backtrace5.
14380 2013-01-18 Anton Blanchard <anton@samba.org>
14381 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14384 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14385 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14386 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14388 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14389 "+r" and remove output regs list as redundant. Add explicit inline
14390 asm to specify register of return val to work around compiler codegen
14391 bug. Remove (int) cast on return value. Add return type parameter to
14392 use in macro so that this macro does not truncate return value for
14394 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14395 pass to INTERNAL_VSYSCALL_NCS.
14396 (INLINE_VSYSCALL): Add 'long int' as return type to
14397 INTERNAL_VSYSCALL_NCS macro invocation.
14398 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14399 INTERNAL_VSYSCALL_NCS macro invocation.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14402 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14405 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14406 Fix application of SIMD FP exception mask.
14408 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14409 mp_no from a power of two.
14410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14411 __mpexp_twomm1. Use __pow_mp.
14413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14416 2013-01-17 David S. Miller <davem@davemloft.net>
14418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14420 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14423 * include/complex.h: Condition contents on [!_COMPLEX_H].
14424 (__kernel_casinhf): New prototype.
14425 (__kernel_casinh): Likewise.
14426 (__kernel_casinhl): Likewise.
14427 * math/Makefile (libm_calls): Add k_casinh.
14428 * math/k_casinh.c: New file.
14429 * math/k_casinhf.c: Likewise.
14430 * math/k_casinhl.c: Likewise.
14431 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14432 finite nonzero arguments.
14433 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14434 finite nonzero arguments.
14435 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14436 finite nonzero arguments.
14437 * math/s_casinh.c: Do not include <float.h>.
14438 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14439 * math/s_casinhf.c: Do not include <float.h>.
14440 (__casinhf): Move code for finite nonzero arguments to
14442 * math/s_casinhl.c: Do not include <float.h>.
14443 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14445 (__casinhl): Move code for finite nonzero arguments to
14447 * math/libm-test.inc (cacos_test): Add more tests.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14453 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14454 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14455 [!HAVE_MREMAP]: Remove [defined linux] case.
14456 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14458 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14460 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14462 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14464 * elf/elf.h (R_386_SIZE32): New relocation.
14465 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14467 (elf_machine_rela): Likewise.
14468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14469 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14471 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14473 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14474 (FP_FAST_FMA): Do not define.
14475 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14476 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14477 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14478 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14479 !_SOFT_FLOAT]: Likewise.
14480 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14481 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14483 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14484 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14485 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14486 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14487 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14488 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14491 2013-01-16 Andreas Schwab <schwab@suse.de>
14494 * include/stdlib.h (__mktemp): Add declaration.
14495 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14496 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14498 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14500 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14502 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14503 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14504 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14506 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14507 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14509 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14511 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14512 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14513 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14515 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14516 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14518 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14520 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14522 2013-01-15 David S. Miller <davem@davemloft.net>
14524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14525 trunc{,f} to libm-sysdep_routes.
14526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14536 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14537 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14538 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14539 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14540 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14541 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14544 nearbyint{,f} to libm-sysdep_routes.
14545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14558 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14561 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14562 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14563 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14565 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14566 libc_feholdexcept and libc_fesetenv.
14568 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14570 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14572 2013-01-14 David S. Miller <davem@davemloft.net>
14574 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14575 (SPARC_ASM_VIS2_IFUNC): Likewise.
14576 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14578 use of 'siam' instruction.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14612 routines to libm-sysdep_routines.
14613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14616 fdim/fdimf to libm-sysdep_routines.
14617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14625 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14626 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14627 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14628 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14630 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14632 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14633 to optimize copies.
14635 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14640 local variable MPTWO.
14641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14644 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14646 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14649 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14651 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14653 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14655 * manual/pattern.texi (glob_t): Document gl_flags.
14656 (glob64_t): Likewise.
14658 2013-01-11 David S. Miller <davem@davemloft.net>
14660 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14661 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14662 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14663 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14664 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14665 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14666 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14667 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14668 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14669 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14670 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14671 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14672 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14674 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14675 sparc V9 rather than using V8 code.
14676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14679 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14684 2013-01-11 Roland McGrath <roland@hack.frob.com>
14686 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14687 not in the main loop.
14688 * configure: Regenerated.
14690 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14692 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14693 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14695 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14696 [!__GLIBC_HAVE_LONG_LONG] case.
14697 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14698 condition to just #else.
14699 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14700 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14701 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14702 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14704 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14705 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14706 #elif condition to just #else.
14707 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14708 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14709 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14710 #elif condition to just #else.
14712 2013-01-11 Steve Ellcey <sellcey@mips.com>
14714 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14715 (EF_MIPS_ARCH_64): Fix value.
14716 (EF_MIPS_ARCH_32R2): New.
14717 (EF_MIPS_ARCH_64R2): New.
14719 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14721 * Makeconfig (+link-pie-before-libc): New.
14722 (+link-pie-after-libc): Likewise.
14723 (+link-pie-tests): Likewise.
14724 (+link-pie): Rewritten.
14725 (link-before-libc): Remove $(config-LDFLAGS).
14726 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14727 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14728 (config-LDFLAGS): Renamed to ...
14729 (rtld-LDFLAGS): This.
14730 (rtld-tests-LDFLAGS): New macro.
14731 (link-libc-rpath-link): Likewise.
14732 (link-libc-tests-rpath-link): Likewise.
14733 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14734 (link-libc): Prepand $(link-libc-rpath-link).
14735 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14736 (test-program-prefix): New macro.
14737 (test-via-rtld-prefix): Likewise.
14738 (test-program-cmd): Likewise.
14739 (host-test-program-cmd): Likewise.
14740 * Makefile ($(common-objpfx)testrun.sh): Replace
14741 $(run-program-prefix) with $(test-program-prefix).
14742 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14744 ($(common-objpfx)shlib.lds): Likewise.
14745 (build-module-helper): Likewise.
14746 ($(common-objpfx)format.lds): Likewise.
14747 * Rules (binaries-pie-tests): New.
14748 (binaries-pie-notests): Likewise.
14749 (binaries-pie): Rewritten.
14750 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14751 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14752 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14753 (make-test-out): Replace $(host-built-program-cmd) with
14754 $(host-test-program-cmd).
14755 * config.make.in (build-hardcoded-path-in-tests): New variable.
14756 * configure.in (--enable-hardcoded-path-in-tests): New configure
14758 (hardcoded_path_in_tests): New AC_SUBST.
14759 * configure: Regenerated.
14760 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14761 $(built-program-cmd) with $(test-program-cmd).
14762 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14763 (test_program_cmd): This.
14764 * elf/Makefile ($(objpfx)order.out): Run test with
14765 $(test-program-prefix).
14766 ($(objpfx)order2.out): Likewise.
14767 ($(objpfx)tst-initorder.out): Likewise.
14768 ($(objpfx)tst-initorder2.out): Likewise.
14769 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14770 $(test-program-cmd).
14771 ($(objpfx)tst-array1-static.out): Likewise.
14772 ($(objpfx)tst-array2.out): Likewise.
14773 ($(objpfx)tst-array3.out): Likewise.
14774 ($(objpfx)tst-array4.out): Likewise.
14775 ($(objpfx)tst-array5.out): Likewise.
14776 ($(objpfx)tst-array5-static.out): Likewise.
14777 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14778 $(test-program-cmd).
14779 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14780 $(run-program-prefix) with $(test-program-prefix).
14781 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14782 (test_program_prefix): This.
14783 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14784 $(run-program-prefix) with $(test-program-prefix).
14785 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14786 (test_program_prefix): This.
14787 * iconvdata/tst-tables.sh: Likewise.
14788 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14789 $(run-program-prefix) with $(test-program-prefix).
14790 ($(objpfx)tst-translit.out): Likewise.
14791 ($(objpfx)tst-gettext2.out): Likewise.
14792 ($(objpfx)tst-gettext4.out): Likewise.
14793 ($(objpfx)tst-gettext6.out): Likewise.
14794 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14795 (test_program_prefix): This.
14796 * intl/tst-gettext2.sh: Likewise.
14797 * intl/tst-gettext4.sh Likewise.
14798 * intl/tst-gettext6.sh: Likewise.
14799 * intl/tst-translit.sh: Likewise.
14800 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14801 with $(test-program-cmd).
14802 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14803 $(run-program-prefix) with $(test-program-prefix).
14804 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14805 (test_program_prefix): This.
14806 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14807 $(run-program-prefix) with $(test-program-prefix).
14808 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14809 (test_program_prefix): This.
14810 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14811 * posix/Makefile ($(objpfx)globtest.out): Replace
14812 $(run-via-rtld-prefix) and $(test-wrapper) with
14813 $(test-program-prefix) and $(test-via-rtld-prefix).
14814 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14815 $(test-program-prefix).
14816 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14817 $(host-test-program-cmd).
14818 (tst-spawn-ARGS): Likewise.
14819 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14820 $(test-program-prefix).
14821 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14822 (test_via_rtld_prefix): This.
14823 (test_wrapper): Renamed to ...
14824 (test_program_prefix): This.
14825 (run_program_prefix): Replaced by test_program_prefix.
14826 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14827 (test_program_prefix): This.
14828 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14829 with $(host-test-program-cmd).
14830 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14831 $(run-program-prefix) with $(test-program-prefix).
14832 ($(objpfx)tst-printf.out): Likewise.
14833 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14834 $(test-program-cmd).
14835 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14836 (test_program_prefix): This.
14837 * stdio-common/tst-unbputc.sh: Likewise.
14838 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14839 $(run-program-prefix) with $(test-program-prefix).
14840 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14841 (test_program_prefix): This.
14842 * string/Makefile ($(objpfx)tst-svc.out): Replace
14843 $(built-program-cmd) with $(test-program-cmd).
14845 2013-01-11 Andreas Jaeger <aj@suse.de>
14848 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14849 value. Sync with Linux 3.7.
14851 2013-01-10 David S. Miller <davem@davemloft.net>
14853 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14854 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14855 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14857 2013-01-10 Roland McGrath <roland@hack.frob.com>
14859 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14861 * configure: Regenerated.
14863 2013-01-10 David S. Miller <davem@davemloft.net>
14865 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14866 sparc V9 rather than using V8 code.
14867 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14868 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14870 2013-01-10 Roland McGrath <roland@hack.frob.com>
14872 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14873 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14874 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14875 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14876 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14877 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14878 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14879 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14880 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14881 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14882 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14883 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14884 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14885 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14886 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14887 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14888 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14889 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14890 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14891 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14892 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14893 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14894 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14895 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14896 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14897 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14898 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14900 2013-01-10 David S. Miller <davem@davemloft.net>
14902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14904 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14906 * posix/Makefile (tests-static): New variable.
14907 (tests): Add $(tests-static).
14908 (tst-exec-static-ARGS): New variable.
14909 (tst-spawn-static-ARGS): Likewise.
14910 * posix/tst-exec-static.c: New file.
14911 * posix/tst-spawn-static.c: Likewise.
14912 * posix/tst-exec.c: Support run directly.
14913 * posix/tst-spawn.c: Likewise.
14915 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14917 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14919 * math/bits/mathcalls.h (llrint): Likewise.
14920 (llround): Likewise.
14921 * stdlib/stdlib.h (struct drand48_data): Likewise.
14922 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14923 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14924 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14926 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14928 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14929 (elf_greg_t): Likewise.
14930 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14931 (__jmp_buf): Likewise.
14932 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14934 (llrint): Likewise, for all definitions.
14935 (llrintl): Likewise.
14937 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14938 Remove [__GNUC__] condition.
14939 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14940 condition to just [__USE_ISOC99].
14941 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14943 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14946 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14947 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14949 (_POSIX_V6_ILP32_OFF32): Likewise.
14950 (_XBS5_ILP32_OFF32): Likewise.
14951 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14952 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14954 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14956 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14959 doubles __mpexp_twomm1. Adjust usage.
14960 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14963 2013-01-10 Andreas Schwab <schwab@suse.de>
14966 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14967 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14969 2013-01-09 David S. Miller <davem@davemloft.net>
14972 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14973 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14974 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14975 TCP_FASTOPEN): Define.
14976 (tcp_repair_opt): New structure.
14977 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14979 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14980 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14981 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14982 (tcp_cookie_transactions): New structure.
14984 2013-01-09 Anton Blanchard <anton@samba.org>
14986 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14987 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14991 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14993 * include/features.h (__USE_ANSI): Remove.
14995 2013-01-09 Roland McGrath <roland@hack.frob.com>
14997 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14999 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15001 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15003 * sysdeps/s390/fpu/libm-test-ulps: Update.
15005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15007 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15011 (denorm): Likewise.
15012 (__mp_dbl): Likewise.
15013 (__dbl_mp): Likewise.
15014 (add_magnitudes): Likewise.
15015 (sub_magnitudes): Likewise.
15021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15025 (denorm): Likewise.
15026 (__mp_dbl): Likewise.
15027 (__dbl_mp): Likewise.
15028 (add_magnitudes): Likewise.
15029 (sub_magnitudes): Likewise.
15035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15039 (denorm): Likewise.
15040 (__mp_dbl): Likewise.
15041 (__dbl_mp): Likewise.
15042 (add_magnitudes): Likewise.
15043 (sub_magnitudes): Likewise.
15050 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15052 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15053 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15054 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15055 2 && __USE_EXTERN_INLINES]: Likewise.
15057 2013-01-08 Andreas Jaeger <aj@suse.de>
15060 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15062 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15063 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15065 2013-01-07 Anton Blanchard <anton@samba.org>
15067 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15068 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15069 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15070 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15071 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15072 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15073 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15074 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15076 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15077 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15078 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15079 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15081 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15082 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15083 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15084 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15085 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15086 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15087 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15088 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15090 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15091 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15092 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15093 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15094 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15096 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15097 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15099 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15100 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15101 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15103 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15105 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15109 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15111 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15113 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15114 (__MALLOC_PMT): Likewise.
15115 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15116 [__GNUC__], only on [_LIBC].
15117 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15118 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15119 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15120 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15121 forward declaration.
15122 (realloc_hook_ini): Likewise.
15123 (memalign_hook_ini): Likewise.
15124 (__libc_memalign): Do not use __MALLOC_PMT in variable
15126 (__libc_valloc): Likewise.
15127 (__libc_pvalloc): Likewise.
15128 (__libc_calloc): Likewise.
15129 (__posix_memalign): Likewise.
15132 * math/s_casinh.c: Include <float.h>.
15133 (__casinh): Do not do computation with squaring and square root
15134 for large arguments.
15135 * math/s_casinhf.c: Include <float.h>.
15136 (__casinhf): Do not do computation with squaring and square root
15137 for large arguments.
15138 * math/s_casinhl.c: Include <float.h>.
15139 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15140 (__casinhl): Do not do computation with squaring and square root
15141 for large arguments.
15142 * math/libm-test.inc (casin_test): Add more tests.
15143 (casinh_test): Likewise.
15144 * sysdeps/i386/fpu/libm-test-ulps: Update.
15145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15147 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15149 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15150 (__x86_64_raw_data_cache_size): Likewise.
15151 (__x86_64_data_cache_size_half): Likewise.
15152 (__x86_64_raw_data_cache_size_half): Likewise.
15153 (__x86_64_shared_cache_size): Likewise.
15154 (__x86_64_raw_shared_cache_size): Likewise.
15155 (__x86_64_shared_cache_size_half): Likewise.
15156 (__x86_64_raw_shared_cache_size_half): Likewise.
15157 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15159 (__x86_data_cache_size): This.
15160 (__x86_64_raw_data_cache_size): Renamed to ...
15161 (__x86_raw_data_cache_size): This.
15162 (__x86_64_data_cache_size_half): Renamed to ...
15163 (__x86_data_cache_size_half): This.
15164 (__x86_64_raw_data_cache_size_half): Renamed to ...
15165 (__x86_raw_data_cache_size_half): This.
15166 (__x86_64_shared_cache_size): Renamed to ...
15167 (__x86_shared_cache_size): This.
15168 (__x86_64_raw_shared_cache_size): Renamed to ...
15169 (__x86_raw_shared_cache_size): This.
15170 (__x86_64_shared_cache_size_half): Renamed to ...
15171 (__x86_shared_cache_size_half): This.
15172 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15173 (__x86_raw_shared_cache_size_half): This.
15174 * sysdeps/x86_64/memcpy.S: Updated.
15175 * sysdeps/x86_64/memset.S: Likewise.
15176 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15180 2013-01-04 David S. Miller <davem@davemloft.net>
15182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15184 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15186 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15187 1 to avoid redefinition warning.
15188 (__USE_GNU): Don't define.
15189 (init_signaling_nan): Protoize.
15191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15193 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15195 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15197 (__cpymn): Likewise.
15198 (norm): Remove commented code.
15199 (denorm): Likewise.
15200 (__mp_dbl): Likewise.
15202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15203 (__cpymn): Likewise.
15204 (norm): Remove commented code.
15205 (denorm): Likewise.
15206 (__mp_dbl): Likewise.
15209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15210 mp_no value for 1.0 and 2.0.
15211 (norm): Use RADIXI instead of radixi.d.
15212 (denorm): Likewise.
15213 (__mul): Use 0.0 instead of zero.d.
15214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15215 mp_no value for 1.0 and 2.0.
15216 (norm): Use RADIXI instead of radixi.d.
15217 (denorm): Likewise.
15218 (__mul): Use 0.0 instead of zero.d.
15220 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15223 * math/s_casinh.c (__casinh): Reduce finite argument to first
15224 quadrant then set signs of results at the end.
15225 * math/s_casinhf.c (__casinhf): Likewise.
15226 * math/s_casinhl.c (__casinhl): Likewise.
15227 * math/libm-test.inc (casin_test): Add more tests.
15228 (casinh_test): Likewise.
15229 * sysdeps/i386/fpu/libm-test-ulps: Update.
15230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15232 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15234 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15236 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15238 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15240 (denorm): Likewise.
15241 (__mp_dbl): Likewise.
15244 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15245 and adjust the header comment.
15247 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15248 variable name from declaration.
15250 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15253 Initialize COMMON_CPUID_INDEX_7 element.
15254 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15255 (CPUID_RTM): Likewise.
15256 (HAS_RTM): Likewise.
15257 (COMMON_CPUID_INDEX_7): New enum.
15259 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15262 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15263 size is zero, record memory as freed.
15265 2013-01-03 Andreas Jaeger <aj@suse.de>
15267 * po/ia.po: Add new Interlingua translation.
15269 2012-01-03 Allan McRae <allan@archlinux.org>
15271 * locale/programs/localedef.c: Fix description of '--posix' flag.
15273 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15275 * NEWS: Update dates in second copyright notice.
15276 * README: Update copyright dates in example.
15277 * manual/libc.texinfo: Update copyright dates.
15278 * scripts/test-installation.pl: Update copyright date in --version
15281 * hurd/ctty-input.c: Fix copyright notice formatting.
15282 * hurd/ctty-output.c: Likewise.
15283 * hurd/dtable.c: Likewise.
15284 * hurd/hurd-raise.c: Likewise.
15285 * hurd/hurdprio.c: Likewise.
15286 * hurd/msgportdemux.c: Likewise.
15287 * misc/sys/file.h: Likewise.
15288 * misc/sys/ioctl.h: Likewise.
15289 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15290 * sysdeps/mach/hurd/chdir.c: Likewise.
15291 * sysdeps/mach/hurd/fchdir.c: Likewise.
15292 * sysdeps/mach/hurd/rename.c: Likewise.
15293 * sysdeps/mach/hurd/rmdir.c: Likewise.
15294 * sysdeps/mach/hurd/seekdir.c: Likewise.
15295 * sysdeps/mach/hurd/setsid.c: Likewise.
15296 * sysdeps/posix/wait3.c: Likewise.
15298 * All files with FSF copyright notices: Update copyright dates
15299 using scripts/update-copyrights.
15300 * intl/plural.c: Regenerated.
15301 * locale/programs/charmap-kw.h: Likewise.
15302 * locale/programs/locfile-kw.h: Likewise.
15304 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15306 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15309 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15310 calculation loop and add branch prediction.
15312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15313 check access beyond bounds of m1np.
15315 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15317 (__inv): Remove local variable MPTWO to use the global
15319 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15322 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15323 MP3HALFS static const.
15325 2013-01-01 David S. Miller <davem@davemloft.net>
15327 * po/ca.po: Update from translation team.
15329 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15331 * scripts/update-copyrights: New file.
15332 * Makeconfig: Reformat copyright notice.
15333 * ctype/ctype.h: Likewise.
15334 * debug/swprintf_chk.c: Likewise.
15335 * elf/dl-cache.c: Likewise.
15336 * elf/dl-debug.c: Likewise.
15337 * elf/dl-object.c: Likewise.
15338 * grp/initgroups.c: Likewise.
15339 * hurd/Makefile: Likewise.
15340 * hurd/hurd/signal.h: Likewise.
15341 * hurd/hurdfault.c: Likewise.
15342 * hurd/hurdioctl.c: Likewise.
15343 * hurd/hurdlookup.c: Likewise.
15344 * hurd/intr-msg.c: Likewise.
15345 * iconv/gconv_open.c: Likewise.
15346 * libio/swprintf.c: Likewise.
15347 * locale/lc-ctype.c: Likewise.
15348 * locale/nl_langinfo.c: Likewise.
15349 * mach/Machrules: Likewise.
15350 * mach/Makefile: Likewise.
15351 * malloc/obstack.h: Likewise.
15352 * manual/Makefile: Likewise.
15353 * manual/tsort.awk: Likewise.
15354 * misc/bits/stab.def: Likewise.
15355 * nis/nis_print_group_entry.c: Likewise.
15356 * nis/nis_table.c: Likewise.
15357 * nis/nss_compat/compat-pwd.c: Likewise.
15358 * nis/nss_compat/compat-spwd.c: Likewise.
15359 * po/Makefile: Likewise.
15360 * posix/fnmatch.c: Likewise.
15361 * posix/regex.h: Likewise.
15362 * resolv/Makefile: Likewise.
15363 * resolv/nss_dns/dns-network.c: Likewise.
15364 * resolv/res_hconf.c: Likewise.
15365 * scripts/gen-sorted.awk: Likewise.
15366 * soft-fp/soft-fp.h: Likewise.
15367 * stdio-common/printf.h: Likewise.
15368 * stdlib/monetary.h: Likewise.
15369 * stdlib/random.c: Likewise.
15370 * stdlib/random_r.c: Likewise.
15371 * sysdeps/generic/Makefile: Likewise.
15372 * sysdeps/gnu/Makefile: Likewise.
15373 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15375 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15384 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15385 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15401 * sysdeps/mach/hurd/errnos.awk: Likewise.
15402 * sysdeps/mach/hurd/fork.c: Likewise.
15403 * sysdeps/mach/hurd/getcwd.c: Likewise.
15404 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15405 * sysdeps/mach/hurd/mmap.c: Likewise.
15406 * sysdeps/mach/hurd/utimes.c: Likewise.
15407 * sysdeps/mach/hurd/xmknod.c: Likewise.
15408 * sysdeps/posix/profil.c: Likewise.
15409 * sysdeps/posix/readdir_r.c: Likewise.
15410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15411 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15412 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15413 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15415 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15417 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15419 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15420 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15421 * sysdeps/pthread/lio_listio.c: Likewise.
15422 * sysdeps/sparc/dl-procinfo.h: Likewise.
15423 * sysdeps/unix/i386/sysdep.S: Likewise.
15424 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15425 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15426 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15427 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15429 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15430 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15431 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15432 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15433 * sysdeps/wordsize-32/divdi3.c: Likewise.
15434 * time/sys/time.h: Likewise.
15435 * wcsmbs/Makefile: Likewise.
15437 2013-01-01 David S. Miller <davem@davemloft.net>
15439 * po/fr.po: Update from translation team.
15441 * catgets/gencat.c: Update copyright year.
15442 * csu/version.c: Likewise.
15443 * debug/catchsegv.sh: Likewise.
15444 * debug/pcprofiledump.c: Likewise.
15445 * debug/xtrace.sh: Likewise.
15446 * elf/ldconfig.c: Likewise.
15447 * elf/ldd.bash.in: Likewise.
15448 * elf/pldd.c: Likewise.
15449 * elf/sotruss.ksh: Likewise.
15450 * elf/sprof.c: Likewise.
15451 * iconv/iconv_prog.c: Likewise.
15452 * iconv/iconvconfig.c: Likewise.
15453 * locale/programs/locale.c: Likewise.
15454 * locale/programs/localedef.c: Likewise.
15455 * login/programs/pt_chown.c: Likewise.
15456 * malloc/memusage.sh: Likewise.
15457 * malloc/memusagestat.c: Likewise.
15458 * malloc/mtrace.pl: Likewise.
15459 * nscd/nscd.c: Likewise.
15460 * nss/getent.c: Likewise.
15461 * nss/makedb.c: Likewise.
15462 * posix/getconf.c: Likewise.
15464 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15466 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15469 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15471 * math/bits/mathcalls.h (modf): Use __nonnull.
15473 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15475 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15476 (split): Use macro CN instead of the bare value.
15477 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15480 instead of the bare value.
15481 (power1): Likewise.
15483 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15485 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15487 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15489 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15491 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15492 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15493 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15494 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15496 2012-12-28 Andreas Jaeger <aj@suse.de>
15498 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15499 values are from Linux 3.7.
15501 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15502 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15504 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15506 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15509 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15511 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15512 variables with preprocessor constants.
15513 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15514 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15515 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15517 2012-12-27 Bruno Haible <bruno@clisp.org>
15520 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15523 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15526 and use variable directly.
15527 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15529 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15531 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15534 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15536 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15537 include directive. Remove local variable MPONE.
15538 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15539 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15542 2012-12-25 David S. Miller <davem@davemloft.net>
15544 * version.h (RELEASE): Set to "development".
15545 (VERSION): Set to "2.17.90".
15546 * NEWS: Add 2.18 section.
15548 2012-12-21 David S. Miller <davem@davemloft.net>
15550 * po/hr.po: Update from translation team.
15552 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15554 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15556 2012-12-19 Steve Ellcey <sellcey@mips.com>
15558 * NEWS: Mention new memcpy for MIPS.
15560 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15562 * manual/contrib.texi (Contributors): Spelling correction.
15564 2012-12-15 David S. Miller <davem@davemloft.net>
15566 * po/ru.po: Update from translation team.
15568 2012-12-13 David S. Miller <davem@davemloft.net>
15570 * NEWS: Mention IFUNC testsuite enhancements.
15572 * po/pl.po: Update from translation team.
15573 * po/bg.po: Likewise.
15575 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15576 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15578 2012-12-11 David S. Miller <davem@davemloft.net>
15580 * po/sv.po: Update from translation team.
15582 * po/vi.po: Update from translation team.
15584 * po/cs.po: Update from translation team.
15586 * po/de.po: Update from translation team.
15587 * po/eo.po: Likewise.
15588 * po/nl.po: Likewise.
15590 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15593 * manual/argp.texi (Argp Helper Functions): Move node to follow
15594 Argp Parsing State.
15597 * manual/conf.texi (Limits on File System Capacity): Mention if
15598 terminating null is included in the max size.
15600 2012-12-10 Andreas Jaeger <aj@suse.de>
15602 * po/cs.po: Update from translation team.
15604 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15606 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15607 void pointer and cast to uintptr_t.
15608 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15610 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15611 * sysdeps/s390/s390-64/memset.S: Likewise.
15613 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15616 * menual/message.texi (Message Translation): Fix typos.
15617 (Helper programs for gettext): Likewise.
15619 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15622 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15625 2012-12-07 David S. Miller <davem@davemloft.net>
15627 * po/libc.pot: Update.
15629 2012-12-07 Richard Henderson <rth@redhat.com>
15632 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15633 normal/normal case to before the switch.
15634 (_FP_DIV): Likewise.
15636 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15637 Mike Frysinger <vapier@gentoo.org>
15639 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15640 check for __NR_fadvise64_64.
15642 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15644 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15645 0, not just to plain "0" as a statement.
15646 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15649 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15651 * NEWS: Use sourceware.org in Bugzilla URL.
15653 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15656 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15658 * stdio-common/tst-put-error.c (do_test): Add newline to the
15659 padded test to ensure flush.
15661 2012-12-05 Jeff Law <law@redhat.com>
15663 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15665 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15667 * README: Don't refer to ports add-on as distributed separately.
15668 Mention AArch64 in list of systems supported in the ports add-on.
15670 * LICENSES: Add more non-FSF copyright and license notices.
15672 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15675 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15677 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15678 10000 as width of padded output.
15680 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15682 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15684 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15685 variable LX with __attribute__ ((unused)).
15686 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15688 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15690 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15691 with __attribute__ ((unused)).
15693 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15695 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15697 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15699 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15700 (CFLAGS-nldbl-acos.c): New variable.
15701 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15702 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15703 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15704 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15705 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15706 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15707 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15708 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15709 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15710 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15711 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15712 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15713 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15714 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15715 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15716 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15717 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15718 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15719 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15720 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15721 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15722 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15723 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15724 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15725 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15726 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15727 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15728 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15729 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15730 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15731 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15732 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15733 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15734 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15735 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15736 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15737 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15738 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15739 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15740 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15741 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15742 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15743 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15744 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15745 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15746 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15747 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15748 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15749 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15750 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15751 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15752 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15753 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15754 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15755 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15756 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15757 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15758 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15759 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15760 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15761 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15762 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15763 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15764 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15765 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15766 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15767 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15768 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15769 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15770 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15771 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15772 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15773 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15774 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15775 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15776 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15777 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15778 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15779 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15780 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15781 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15782 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15783 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15784 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15785 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15786 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15787 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15788 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15789 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15790 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15791 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15792 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15793 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15794 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15795 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15796 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15797 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15800 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15804 whole low double instead of just low 47 bits when splitting values
15807 2012-12-03 Allan McRae <allan@archlinux.org>
15809 * manual/stdio.texi (Predefined Printf Handlers): Remove
15810 @hsep and @vsep usage.
15812 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15814 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15815 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15817 2012-12-03 Jeff Law <law@redhat.com>
15819 * time/sys/time.h (settimeofday): Do not mark TV argument
15822 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15824 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15825 when currently writing and seek to current position when not.
15826 * libio/Makefile (tests): Remove bug-fclose1.
15827 * libio/bug-fclose1.c: Delete.
15829 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15831 * manual/arith.texi (feenableexcept): Fix typo.
15832 (fedisableexcept): Likewise.
15834 2012-11-30 Roland McGrath <roland@hack.frob.com>
15836 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15837 second, differently-typed declaration, rather than a cast.
15839 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15841 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15842 * include/rpc/svc.h: ... here.
15844 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15847 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15848 depending n and resplen2 to catch cases where answer
15851 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15853 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15854 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15856 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15860 2012-11-29 Roland McGrath <roland@hack.frob.com>
15862 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15864 2012-11-28 Jeff Law <law@redhat.com>
15867 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15868 dataset_temporary. Track alloca usage into alloca_used.
15869 If dataset is large allocate and release it via malloc/free.
15871 2012-06-04 Florian Weimer <fweimer@redhat.com>
15874 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15876 2012-11-28 David S. Miller <davem@davemloft.net>
15878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15880 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15883 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15884 of pi/2 rounded to nearest to 64 bits.
15885 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15886 nearest to 64 bits.
15887 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15890 2012-11-28 Jeff Law <law@redhat.com>
15891 Martin Osvald <mosvald@redhat.com>
15894 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15895 * sunrpc/svc.c: Include time.h.
15896 (__svc_accept_failed): New function.
15897 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15898 any reason other than EINTR, call __svc_accept_failed.
15899 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15900 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15902 2012-11-28 Andreas Schwab <schwab@suse.de>
15904 * scripts/abilist.awk: Also handle indirect functions in .opd
15907 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15910 * sysdeps/x86/fpu/powl_helper.c: New file.
15911 * sysdeps/x86/fpu/Makefile: Likewise.
15912 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15914 (__ieee754_powl): Use __powl_helper for finite arguments except
15915 integer exponents below 8.
15916 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15918 (__ieee754_powl): Use __powl_helper for finite arguments except
15919 integer exponents below 8.
15920 * math/libm-test.inc (pow_test): Add more tests and enable some
15921 previously disabled tests.
15922 * sysdeps/i386/fpu/libm-test-ulps: Update.
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15925 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15926 Carlos O'Donell <carlos_odonell@mentor.com>
15928 * nss/makedb.c (is_prime): Assert that input is odd and greater
15929 than 4. Note that fact in a comment too.
15930 (next_prime): Add 4 to input.
15932 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15935 * libio/Makefile (tests): Add test case tst-fwrite-error.
15936 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15937 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15938 * libio/tst-fwrite-error.c: New test case.
15940 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15942 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15943 before casting to void *.
15944 * include/libc-internal.h (__pointer_type): New macro.
15945 (__integer_if_pointer_type_sub): Likewise.
15946 (__integer_if_pointer_type): Likewise.
15947 (cast_to_integer): Likewise.
15948 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15949 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15950 before casting to atomic64_t.
15951 (atomic_exchange_acq): Likewise.
15952 (__arch_exchange_and_add_body): Likewise.
15953 (__arch_add_body): Likewise.
15954 (atomic_add_negative): Likewise.
15955 (atomic_add_zero): Likewise.
15957 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15959 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15960 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15961 (add_fdes): Likewise.
15962 (linear_search_fdes): Likewise.
15963 (binary_search_unencoded_fdes): Likewise.
15965 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15967 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15969 2012-11-24 Adam Conrad <adconrad@0c3.net>
15971 * configure.in: Autodetect C++ header directories.
15972 * configure: Regenerated.
15974 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15976 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15978 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15982 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15984 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15985 LDBL_MANT_DIG == 106]: Disable some tests.
15986 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15988 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15993 input for small inputs. Return +/- pi/2 for large inputs.
15994 * math/libm-test.inc (atan_test): Add more tests.
15996 * sysdeps/generic/unwind-dw2-fde-glibc.c
15997 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15998 __attribute__ ((unused)).
16001 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16002 x * y if x and y are nonzero and z is zero.
16005 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16006 nonzero exponents with absolute value below 0x1p-117 to +/-
16010 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16011 up arguments below 2**-450, not just those below 2**-500.
16012 * math/libm-test.inc (hypot_test): Add another test.
16015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16016 Return a+b for ratio over 2**120, not 2**60.
16017 * math/libm-test.inc (hypot_test): Add another test.
16019 * math/libm-test.inc (clog_test): Use
16020 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16021 (clog10_test): Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16026 2012-11-22 Andreas Schwab <schwab@suse.de>
16028 * sysdeps/i386/fpu/libm-test-ulps: Update.
16030 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16032 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16033 printf output with newline.
16035 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16038 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16039 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16040 -z nodlopen, -z initfirst and -z execstack support.
16041 * configure: Regenerated.
16043 * elf/elf.h (DF_1_NODIRECT): New macro.
16044 (DF_1_IGNMULDEF): Likewise.
16045 (DF_1_NOKSYMS): Likewise.
16046 (DF_1_NOHDR): Likewise.
16047 (DF_1_EDITED): Likewise.
16048 (DF_1_NORELOC): Likewise.
16049 (DF_1_SYMINTPOSE): Likewise.
16050 (DF_1_GLOBAUDIT): Likewise.
16051 (DF_1_SINGLETON): Likewise.
16052 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16053 DT_1_SUPPORTED_MASK bits.
16054 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16056 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16058 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16060 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16062 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16065 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16066 (sendmmsg): Move declarations...
16067 * socket/sys/socket.h: ... here.
16068 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16069 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16071 * socket/recvmmsg.c: ... this new file.
16072 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16073 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16074 definition of __sendmmsg hidden.
16075 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16076 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16077 Move ENOSYS stub into and include it from...
16078 * socket/sendmmsg.c: ... this new file.
16079 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16080 (sysdep_routines): Move recvmmsg and sendmmsg...
16081 * socket/Makefile (routines): ... here.
16082 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16083 (GLIBC_PRIVATE): Add __sendmmsg.
16084 * include/sys/socket.h (__sendmmsg): Add declarations.
16085 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16088 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16091 variable I1 with __attribute__ ((unused)).
16092 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16094 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16096 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16097 DUMMY variables with __attribute__ ((unused)).
16099 * bits/byteswap.h: Include <bits/types.h>.
16100 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16102 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16104 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16105 string_t. Do not manually set errno.
16106 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16107 length with __strnlen. Make sure to both set errno and return it on
16110 2012-11-19 David S. Miller <davem@davemloft.net>
16112 With help from Joseph Myers.
16113 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16114 very large arguments properly.
16115 * math/libm-test.inc (atan_test): New tests.
16116 (atan2_test): New tests.
16117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16120 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16123 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16126 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16127 [POSIX] (EADDRNOTAVAIL): Likewise.
16128 [POSIX] (EAFNOSUPPORT): Likewise.
16129 [POSIX] (EALREADY): Likewise.
16130 [POSIX] (ECONNABORTED): Likewise.
16131 [POSIX] (ECONNREFUSED): Likewise.
16132 [POSIX] (ECONNRESET): Likewise.
16133 [POSIX] (EDESTADDRREQ): Likewise.
16134 [POSIX] (EDQUOT): Likewise.
16135 [POSIX] (EHOSTUNREACH): Likewise.
16136 [POSIX] (EIDRM): Likewise.
16137 [POSIX] (EISCONN): Likewise.
16138 [POSIX] (ELOOP): Likewise.
16139 [POSIX] (EMULTIHOP): Likewise.
16140 [POSIX] (ENETDOWN): Likewise.
16141 [POSIX] (ENETUNREACH): Likewise.
16142 [POSIX] (ENOBUFS): Likewise.
16143 [POSIX] (ENODATA): Likewise.
16144 [POSIX] (ENOLINK): Likewise.
16145 [POSIX] (ENOMSG): Likewise.
16146 [POSIX] (ENOPROTOOPT): Likewise.
16147 [POSIX] (ENOSR): Likewise.
16148 [POSIX] (ENOSTR): Likewise.
16149 [POSIX] (ENOTCONN): Likewise.
16150 [POSIX] (ENOTSOCK): Likewise.
16151 [POSIX] (EOPNOTSUPP): Likewise.
16152 [POSIX] (EOVERFLOW): Likewise.
16153 [POSIX] (EPROTO): Likewise.
16154 [POSIX] (EPROTONOSUPPORT): Likewise.
16155 [POSIX] (EPROTOTYPE): Likewise.
16156 [POSIX] (ESTALE): Likewise.
16157 [POSIX] (ETIME): Likewise.
16158 [POSIX] (ETXTBSY): Likewise.
16159 [POSIX] (EWOULDBLOCK): Likewise.
16160 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16161 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16162 [POSIX] (SEEK_CUR): Likewise.
16163 [POSIX] (SEEK_END): Likewise.
16164 [POSIX || UNIX98] (mode_t): Do not require.
16165 [POSIX] (off_t): Likewise.
16166 [POSIX] (pid_t): Likewise.
16167 [POSIX] (sys/stat.h): Do not allow header.
16168 [POSIX] (unistd.h): Likewise.
16169 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16170 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16171 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16172 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16174 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16175 sigevent): Specify elements.
16176 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16178 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16179 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16181 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16182 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16183 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16184 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16185 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16186 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16187 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16188 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16189 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16190 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16191 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16192 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16193 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16194 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16196 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16198 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16200 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16202 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16203 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16204 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16205 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16206 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16207 Specify lower bound on value.
16208 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16209 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16211 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16213 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16214 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16215 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16217 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16219 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16220 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16222 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16224 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16225 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16226 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16227 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16228 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16229 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16231 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16232 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16233 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16234 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16236 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16238 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16239 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16240 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16243 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16245 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16246 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16250 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16251 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16253 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16257 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16258 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16259 specify as optional.
16260 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16263 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16264 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16265 [XPG3] (NL_LANGMAX): Likewise.
16266 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16267 [POSIX || XPG3] (NL_NMAX): Likewise.
16268 [POSIX || XPG3] (NL_SETMAX): Likewise.
16269 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16270 [XPG3] (NZERO): Likewise.
16271 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16272 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16273 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16274 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16275 (REG_ERANGE): Expect.
16276 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16278 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16279 Use (void) in prototype.
16280 [POSIX] (*_t): Allow.
16281 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16282 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16283 (WRDE_BADVAL): Expect.
16285 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16287 [XPG3 || XPG4] (O_RSYNC): Likewise.
16288 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16290 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16291 [XPG3 || XPG4] (sigqueue): Likewise.
16292 [XPG3 || XPG4] (sigtimedwait): Likewise.
16293 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16294 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16295 [XPG3 || XPG4] (vsnprintf): Likewise.
16296 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16298 [XPG3 || XPG4] (blksize_t): Likewise.
16299 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16301 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16302 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16303 [XPG3 || XPG4] (struct itimerspec): Likewise.
16304 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16305 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16306 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16307 [XPG3 || XPG4] (clockid_t): Likewise.
16308 [XPG3 || XPG4] (timer_t): Likewise.
16309 [XPG3 || XPG4] (clock_getres): Likewise.
16310 [XPG3 || XPG4] (clock_gettime): Likewise.
16311 [XPG3 || XPG4] (clock_settime): Likewise.
16312 [XPG3 || XPG4] (nanosleep): Likewise.
16313 [XPG3 || XPG4] (timer_create): Likewise.
16314 [XPG3 || XPG4] (timer_delete): Likewise.
16315 [XPG3 || XPG4] (timer_gettime): Likewise.
16316 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16317 [XPG3 || XPG4] (timer_settime): Likewise.
16318 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16319 [XPG3 || XPG4] (getlogin_r): Likewise.
16320 [XPG3 || XPG4] (pread): Likewise.
16321 [XPG3 || XPG4] (pthread_atfork): Likewise.
16322 [XPG3 || XPG4] (pwrite): Likewise.
16325 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16328 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16330 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16331 finalizing MALLSTREAM.
16333 * sysdeps/mach/hurd/syncfs.c: New file.
16335 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16338 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16339 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16340 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16341 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16342 (_nss_dns_gethostbyname4_r): Likewise.
16343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16344 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16346 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16349 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16351 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16353 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16354 * elf/cache.c (print_entry): Print ",AArch64" for
16357 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16358 * elf/cache.c (print_entry): Print ",hard-float" for
16361 2012-11-18 David S. Miller <davem@davemloft.net>
16363 With help from Joseph Myers.
16364 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16366 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16368 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16369 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16371 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16372 * math/libm-test.inc (y0_test): New tests.
16373 (y1_test): New tests.
16374 * sysdeps/i386/fpu/libm-test-ulps: Update.
16375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16378 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16380 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16382 * configure: Regenerated.
16384 2012-11-17 David S. Miller <davem@davemloft.net>
16387 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16388 nonzero exponents with absolute value below 0x1p-128 to +/-
16391 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16393 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16395 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16397 * posix/getconf-speclist.c: New file.
16398 * posix/posix-envs.def: Likewise.
16399 * posix/confstr.c (START_ENV_GROUP): New macro.
16400 (END_ENV_GROUP): Likewise.
16401 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16402 (KNOWN_PRESENT_ENV_STRING): Likewise.
16403 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16404 (UNKNOWN_ENVIRONMENT): Likewise.
16405 (confstr): Include posix-envs.def instead of handling
16406 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16407 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16408 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16409 (END_ENV_GROUP): Likewise.
16410 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16411 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16412 (UNKNOWN_ENVIRONMENT): Likewise.
16413 (__sysconf): Include posix-envs.def instead of handling associated
16414 cases directly here.
16415 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16416 preprocessing getconf-speclist.c rather than running getconf or
16417 generating empty file.
16419 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16421 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16423 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16426 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16428 2012-11-16 David S. Miller <davem@davemloft.net>
16430 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16431 smaller than LDBL_EPSILON/2.0L, just return xm1.
16433 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16435 * elf/tst-array1.c (init): Set constructor priority to 1000.
16436 (fini): Set destructor priority to 1000.
16437 * elf/tst-array2dep.c: Likewise.
16439 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16442 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16443 (_IO_new_file_xsputn): Also return EOF if none of the input
16444 data was written when overflow failed.
16445 * libio/iopadn.c (_IO_padn): Likewise.
16446 * libio/iowpadn.c (_IO_wpadn): Likewise.
16447 * stdio-common/tst-put-error.c: Add copyright notice.
16448 (do_test): Add case for printing padded string.
16449 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16450 _IO_padn returned error.
16451 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16452 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16455 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16457 * libio/libioP.h: Add comment note that the references to C++
16458 bits are now obsolete.
16460 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16462 * math/libm-test.inc (check_complex): Use asprintf.
16464 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16466 * debug/pcprofiledump.c (print_version): Update copyright year.
16467 * malloc/memusagestat.c (print_version): Likewise.
16469 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16472 * elf/Makefile (tests): Add tst-audit8.
16473 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16474 ($(objpfx)tst-audit8.out): New target.
16475 (tst-audit8-ENV): New variable.
16476 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16477 audit if l_reloc_result is NULL.
16478 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16479 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16480 * elf/tst-audit8.c: New file.
16482 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16484 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16485 * misc/Makefile (CFLAGS-select.c): Define.
16486 * posix/Makefile (CFLAGS-pause.c): Define.
16488 2012-11-13 David S. Miller <davem@davemloft.net>
16490 * crypt/Makefile: Move test targets after toplevel Rules
16491 inclusion. Grab any necessary sysdep routines when linking.
16492 * crypt/md5.c (md5_process_block): Remove define, we will always
16493 name it __md5_process_block.
16494 (md5_finish_ctx): Update md5_process_block call.
16495 (md5_stream): Likewise.
16496 (md5_process_bytes): Likewise.
16497 (md5_process_block): Rename to __md5_process_block and move to ...
16498 * crypt/md5-block.c: ... here.
16499 * crypt/sha256.c (sha256_process_block): Move to ...
16500 * crypt/sha256-block.c: ... here.
16501 * crypt/sha512.c (sha512_process_block): Move to ...
16502 * crypt/sha512-block.c: ... here.
16503 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16505 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16506 * sysdeps/sparc/sparc64/multiarch/Makefile
16507 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16509 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16510 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16512 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16513 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16514 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16515 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16516 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16517 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16518 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16519 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16520 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16522 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16523 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16525 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16527 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16529 * timezone/tzselect.ksh: Update from tzcode git revision
16530 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16531 * timezone/zdump.c: Likewise.
16532 * timezone/zic.c: Likewise.
16533 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16534 in TZVERSION setting, not $(PKGVERSION).
16535 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16536 REPORT_BUGS_TO settings.
16539 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16542 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16544 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16545 detection to immediately after _FP_ROUND().
16546 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16549 2012-11-11 David S. Miller <davem@davemloft.net>
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16553 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16554 __close rather than their public counterparts.
16556 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16558 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16560 [UNIX98] (sem_timedwait): Do not expect.
16561 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16562 [XPG4 || UNIX98] (sockatmark): Do not expect.
16563 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16564 (clock_getcpuclockid): Do not expect.
16565 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16566 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16568 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16569 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16570 [UNIX98] (vwscanf): Likewise.
16571 [UNIX98] (vswscanf): Likewise.
16573 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16575 * timezone/version.h: Remove file.
16576 * timezone/README: Do not refer to version.h.
16577 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16578 $(objpfx)version.h.
16579 ($(objpfx)zdump.o): Likewise.
16580 ($(objpfx)version.h): New target.
16582 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16584 * timezone/README: Don't mention modification to tzselect.ksh.
16585 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16586 work on unmodified tzselect.ksh. Substitute version numbers in
16589 * Makefile (format-me): Remove.
16590 (INSTALL): Adjust indentation. Use commands directly instead of
16591 using $(format-me).
16593 * aclocal.m4 (ACX_PKGVERSION): New macro.
16594 (ACX_BUGURL): Likewise.
16595 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16596 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16597 (REPORT_BUGS_TO): Likewise.
16598 * configure: Regenerated.
16599 * config.h.in (PKGVERSION): New macro.
16600 (REPORT_BUGS_TO): Likewise.
16601 * config.make.in (PKGVERSION): New variable.
16602 (PKGVERSION_TEXI): Likewise.
16603 (REPORT_BUGS_TO): Likewise.
16604 (REPORT_BUGS_TEXI): Likewise.
16605 * Makefile (format-me): Use -I$(common-objpfx)manual.
16606 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16607 ($(common-objpfx)manual/%): New target.
16608 (manual/%): Remove target.
16609 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16610 (print_version): Use PKGVERSION.
16611 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16612 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16613 and REPORT_BUGS_TO.
16614 ($(objpfx)xtrace): Likewise.
16615 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16616 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16617 (print_version): Use PKGVERSION.
16618 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16619 (do_version): Use PKGVERSION.
16620 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16622 (common-ldd-rewrite): Likewise.
16623 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16624 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16625 (print_version): Use PKGVERSION.
16626 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16627 * elf/pldd.c (argp_program_bug_address): Remove variable.
16628 (more_help): New function.
16629 (argp): Use more_help.
16630 (print_version): Use PKGVERSION.
16631 * elf/sln.c (main): Use PKGVERSION.
16632 (usage): Use REPORT_BUGS_TO.
16633 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16634 (top level): Use PKGVERSION.
16635 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16636 (print_version): Use PKGVERSION.
16637 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16638 (print_version): Use PKGVERSION.
16639 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16640 (print_version): Use PKGVERSION.
16641 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16642 (print_version): Use PKGVERSION.
16643 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16644 (print_version): Use PKGVERSION.
16645 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16646 (print_version): Use PKGVERSION.
16647 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16649 ($(objpfx)memusage): Likewise.
16650 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16651 (do_version): Use PKGVERSION.
16652 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16653 (print_version): Use PKGVERSION.
16654 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16655 ($PKGVERSION): New variable.
16656 ($REPORT_BUGS_TO): Likewise.
16657 (usage): Use $REPORT_BUGS_TO.
16658 (top level): Use $PKGVERSION.
16659 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16660 ($(objpfx)pkgvers.texi): New rule.
16661 ($(objpfx)stamp-pkgvers): Likewise.
16662 * manual/install.texi: Include pkgvers.texi.
16663 (--with-pkgversion): Document new configure option.
16664 (--with-bugurl): Likewise.
16665 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16666 than necessarily for this particular distribution. Use
16667 REPORT_BUGS_TO for where to report bugs.
16668 * INSTALL: Regenerated.
16669 * manual/libc.texinfo: Include pkgvers.texi.
16670 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16671 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16672 (print_version): Use PKGVERSION.
16673 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16674 (print_version): Use PKGVERSION.
16675 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16676 (print_version): Use PKGVERSION.
16677 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16678 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16680 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16681 (print_version): Use PKGVERSION.
16682 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16683 (print_version): Use PKGVERSION.
16684 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16687 * timezone/checktab.awk: Update from tzcode 2012i.
16688 * timezone/ialloc.c: Likewise.
16689 * timezone/private.h: Likewise.
16690 * timezone/scheck.c: Likewise.
16691 * timezone/tzfile.h: Likewise.
16692 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16693 (TZVERSION): Hardcode tzcode version number.
16694 * timezone/zdump.c: Update from tzcode 2012i.
16695 * timezone/zic.c: Likewise.
16696 * timezone/version.h: New file.
16697 * timezone/README: Describe version.h. Update upstream location.
16700 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16701 (mktemp): Enable declaration.
16702 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16703 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16704 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16719 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16720 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16721 for copies of such integer values.
16722 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16723 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16725 2012-11-09 Andreas Jaeger <aj@suse.de>
16727 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16728 definitions and declarations that are provided by
16729 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16731 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16733 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16734 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16735 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16738 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16740 * elf/elf.h: Update comment before AArch64 relocations.
16742 2012-11-07 David S. Miller <davem@davemloft.net>
16744 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16745 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16746 (__start_context): Declare.
16747 (__makecontext_ret): Delete.
16748 (__makecontext): Hook up __start_context instead of
16750 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16751 (sysdep_routines): Add __start_context when in stdlib.
16753 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16755 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16756 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16757 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16759 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16760 (READELF): New variable. Use it instead of hardcoded "readelf".
16762 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16764 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16765 * sysdeps/x86/Makefile: Here.
16766 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16767 * sysdeps/x86/tst-xmmymm.sh: This.
16769 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16771 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16773 [UNIX98] (pthread_barrier_t): Do not expect.
16774 [UNIX98] (pthread_barrierattr_t): Likewise.
16775 [UNIX98] (pthread_spinlock_t): Likewise.
16776 [UNIX98] (pthread_barrier_destroy): Likewise.
16777 [UNIX98] (pthread_barrier_init): Likewise.
16778 [UNIX98] (pthread_barrier_wait): Likewise.
16779 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16780 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16781 [UNIX98] (pthread_barrierattr_init): Likewise.
16782 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16783 [UNIX98] (pthread_getcpuclockid): Likewise.
16784 [UNIX98] (pthread_mutex_timedlock): Likewise.
16785 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16786 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16787 [UNIX98] (pthread_sigmask): Likewise.
16788 [UNIX98] (pthread_spin_destroy): Likewise.
16789 [UNIX98] (pthread_spin_init): Likewise.
16790 [UNIX98] (pthread_spin_lock): Likewise.
16791 [UNIX98] (pthread_spin_trylock): Likewise.
16792 [UNIX98] (pthread_spin_unlock): Likewise.
16793 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16795 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16796 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16797 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16798 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16799 [XPG3 || XPG4] (pthread_key_t): Likewise.
16800 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16801 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16802 [XPG3 || XPG4] (pthread_once_t): Likewise.
16803 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16804 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16805 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16806 [XPG3 || XPG4] (pthread_t): Likewise.
16808 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16810 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16812 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16813 Change function return type to int.
16815 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16816 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16817 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16818 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16819 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16820 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16821 [!POSIX] (posix_madvise): Likewise.
16822 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16824 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16825 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16826 (mode_t): Likewise.
16827 (posix_mem_offset): Likewise.
16828 (posix_typed_mem_get_info): Likewise.
16829 (posix_typed_mem_open): Likewise.
16831 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16832 Change condition to [XOPEN2K8].
16834 * conform/conformtest.pl: Preprocess allow-header data with -x c
16835 instead of from stdin.
16836 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16837 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16838 [C99-based standards] (cerfc): Likewise.
16839 [C99-based standards] (cexp2): Likewise.
16840 [C99-based standards] (cexpm1): Likewise.
16841 [C99-based standards] (clog10): Likewise.
16842 [C99-based standards] (clog1p): Likewise.
16843 [C99-based standards] (clog2): Likewise.
16844 [C99-based standards] (clgamma): Likewise.
16845 [C99-based standards] (ctgamma): Likewise.
16846 [C99-based standards] (cerff): Likewise.
16847 [C99-based standards] (cerfcf): Likewise.
16848 [C99-based standards] (cexp2f): Likewise.
16849 [C99-based standards] (cexpm1f): Likewise.
16850 [C99-based standards] (clog10f): Likewise.
16851 [C99-based standards] (clog1pf): Likewise.
16852 [C99-based standards] (clog2f): Likewise.
16853 [C99-based standards] (clgammaf): Likewise.
16854 [C99-based standards] (ctgammaf): Likewise.
16855 [C99-based standards] (cerfl): Likewise.
16856 [C99-based standards] (cerfcl): Likewise.
16857 [C99-based standards] (cexp2l): Likewise.
16858 [C99-based standards] (cexpm1l): Likewise.
16859 [C99-based standards] (clog10l): Likewise.
16860 [C99-based standards] (clog1pl): Likewise.
16861 [C99-based standards] (clog2l): Likewise.
16862 [C99-based standards] (clgammal): Likewise.
16863 [C99-based standards] (ctgammal): Likewise.
16864 * conform/data/inttypes.h-data [C99-based standards]: Include
16865 stdint.h-data. Remove all expectations for stdint.h contents.
16866 [C99-based standards] (PRI*): Do not allow.
16867 [C99-based standards] (SCN*): Likewise.
16868 [C99-based standards] (*_t): Likewise.
16869 [C99-based-standards] (PRId8): Expect macro.
16870 [C99-based-standards] (PRIi8): Likewise.
16871 [C99-based-standards] (PRIo8): Likewise.
16872 [C99-based-standards] (PRIu8): Likewise.
16873 [C99-based-standards] (PRIx8): Likewise.
16874 [C99-based-standards] (PRIX8): Likewise.
16875 [C99-based-standards] (SCNd8): Likewise.
16876 [C99-based-standards] (SCNi8): Likewise.
16877 [C99-based-standards] (SCNo8): Likewise.
16878 [C99-based-standards] (SCNu8): Likewise.
16879 [C99-based-standards] (SCNx8): Likewise.
16880 [C99-based-standards] (PRIdLEAST8): Likewise.
16881 [C99-based-standards] (PRIiLEAST8): Likewise.
16882 [C99-based-standards] (PRIoLEAST8): Likewise.
16883 [C99-based-standards] (PRIuLEAST8): Likewise.
16884 [C99-based-standards] (PRIxLEAST8): Likewise.
16885 [C99-based-standards] (PRIXLEAST8): Likewise.
16886 [C99-based-standards] (SCNdLEAST8): Likewise.
16887 [C99-based-standards] (SCNiLEAST8): Likewise.
16888 [C99-based-standards] (SCNoLEAST8): Likewise.
16889 [C99-based-standards] (SCNuLEAST8): Likewise.
16890 [C99-based-standards] (SCNxLEAST8): Likewise.
16891 [C99-based-standards] (PRIdFAST8): Likewise.
16892 [C99-based-standards] (PRIiFAST8): Likewise.
16893 [C99-based-standards] (PRIoFAST8): Likewise.
16894 [C99-based-standards] (PRIuFAST8): Likewise.
16895 [C99-based-standards] (PRIxFAST8): Likewise.
16896 [C99-based-standards] (PRIXFAST8): Likewise.
16897 [C99-based-standards] (SCNdFAST8): Likewise.
16898 [C99-based-standards] (SCNiFAST8): Likewise.
16899 [C99-based-standards] (SCNoFAST8): Likewise.
16900 [C99-based-standards] (SCNuFAST8): Likewise.
16901 [C99-based-standards] (SCNxFAST8): Likewise.
16902 [C99-based-standards] (PRId16): Likewise.
16903 [C99-based-standards] (PRIi16): Likewise.
16904 [C99-based-standards] (PRIo16): Likewise.
16905 [C99-based-standards] (PRIu16): Likewise.
16906 [C99-based-standards] (PRIx16): Likewise.
16907 [C99-based-standards] (PRIX16): Likewise.
16908 [C99-based-standards] (SCNd16): Likewise.
16909 [C99-based-standards] (SCNi16): Likewise.
16910 [C99-based-standards] (SCNo16): Likewise.
16911 [C99-based-standards] (SCNu16): Likewise.
16912 [C99-based-standards] (SCNx16): Likewise.
16913 [C99-based-standards] (PRIdLEAST16): Likewise.
16914 [C99-based-standards] (PRIiLEAST16): Likewise.
16915 [C99-based-standards] (PRIoLEAST16): Likewise.
16916 [C99-based-standards] (PRIuLEAST16): Likewise.
16917 [C99-based-standards] (PRIxLEAST16): Likewise.
16918 [C99-based-standards] (PRIXLEAST16): Likewise.
16919 [C99-based-standards] (SCNdLEAST16): Likewise.
16920 [C99-based-standards] (SCNiLEAST16): Likewise.
16921 [C99-based-standards] (SCNoLEAST16): Likewise.
16922 [C99-based-standards] (SCNuLEAST16): Likewise.
16923 [C99-based-standards] (SCNxLEAST16): Likewise.
16924 [C99-based-standards] (PRIdFAST16): Likewise.
16925 [C99-based-standards] (PRIiFAST16): Likewise.
16926 [C99-based-standards] (PRIoFAST16): Likewise.
16927 [C99-based-standards] (PRIuFAST16): Likewise.
16928 [C99-based-standards] (PRIxFAST16): Likewise.
16929 [C99-based-standards] (PRIXFAST16): Likewise.
16930 [C99-based-standards] (SCNdFAST16): Likewise.
16931 [C99-based-standards] (SCNiFAST16): Likewise.
16932 [C99-based-standards] (SCNoFAST16): Likewise.
16933 [C99-based-standards] (SCNuFAST16): Likewise.
16934 [C99-based-standards] (SCNxFAST16): Likewise.
16935 [C99-based-standards] (PRId32): Likewise.
16936 [C99-based-standards] (PRIi32): Likewise.
16937 [C99-based-standards] (PRIo32): Likewise.
16938 [C99-based-standards] (PRIu32): Likewise.
16939 [C99-based-standards] (PRIx32): Likewise.
16940 [C99-based-standards] (PRIX32): Likewise.
16941 [C99-based-standards] (SCNd32): Likewise.
16942 [C99-based-standards] (SCNi32): Likewise.
16943 [C99-based-standards] (SCNo32): Likewise.
16944 [C99-based-standards] (SCNu32): Likewise.
16945 [C99-based-standards] (SCNx32): Likewise.
16946 [C99-based-standards] (PRIdLEAST32): Likewise.
16947 [C99-based-standards] (PRIiLEAST32): Likewise.
16948 [C99-based-standards] (PRIoLEAST32): Likewise.
16949 [C99-based-standards] (PRIuLEAST32): Likewise.
16950 [C99-based-standards] (PRIxLEAST32): Likewise.
16951 [C99-based-standards] (PRIXLEAST32): Likewise.
16952 [C99-based-standards] (SCNdLEAST32): Likewise.
16953 [C99-based-standards] (SCNiLEAST32): Likewise.
16954 [C99-based-standards] (SCNoLEAST32): Likewise.
16955 [C99-based-standards] (SCNuLEAST32): Likewise.
16956 [C99-based-standards] (SCNxLEAST32): Likewise.
16957 [C99-based-standards] (PRIdFAST32): Likewise.
16958 [C99-based-standards] (PRIiFAST32): Likewise.
16959 [C99-based-standards] (PRIoFAST32): Likewise.
16960 [C99-based-standards] (PRIuFAST32): Likewise.
16961 [C99-based-standards] (PRIxFAST32): Likewise.
16962 [C99-based-standards] (PRIXFAST32): Likewise.
16963 [C99-based-standards] (SCNdFAST32): Likewise.
16964 [C99-based-standards] (SCNiFAST32): Likewise.
16965 [C99-based-standards] (SCNoFAST32): Likewise.
16966 [C99-based-standards] (SCNuFAST32): Likewise.
16967 [C99-based-standards] (SCNxFAST32): Likewise.
16968 [C99-based-standards] (PRId64): Likewise.
16969 [C99-based-standards] (PRIi64): Likewise.
16970 [C99-based-standards] (PRIo64): Likewise.
16971 [C99-based-standards] (PRIu64): Likewise.
16972 [C99-based-standards] (PRIx64): Likewise.
16973 [C99-based-standards] (PRIX64): Likewise.
16974 [C99-based-standards] (SCNd64): Likewise.
16975 [C99-based-standards] (SCNi64): Likewise.
16976 [C99-based-standards] (SCNo64): Likewise.
16977 [C99-based-standards] (SCNu64): Likewise.
16978 [C99-based-standards] (SCNx64): Likewise.
16979 [C99-based-standards] (PRIdLEAST64): Likewise.
16980 [C99-based-standards] (PRIiLEAST64): Likewise.
16981 [C99-based-standards] (PRIoLEAST64): Likewise.
16982 [C99-based-standards] (PRIuLEAST64): Likewise.
16983 [C99-based-standards] (PRIxLEAST64): Likewise.
16984 [C99-based-standards] (PRIXLEAST64): Likewise.
16985 [C99-based-standards] (SCNdLEAST64): Likewise.
16986 [C99-based-standards] (SCNiLEAST64): Likewise.
16987 [C99-based-standards] (SCNoLEAST64): Likewise.
16988 [C99-based-standards] (SCNuLEAST64): Likewise.
16989 [C99-based-standards] (SCNxLEAST64): Likewise.
16990 [C99-based-standards] (PRIdFAST64): Likewise.
16991 [C99-based-standards] (PRIiFAST64): Likewise.
16992 [C99-based-standards] (PRIoFAST64): Likewise.
16993 [C99-based-standards] (PRIuFAST64): Likewise.
16994 [C99-based-standards] (PRIxFAST64): Likewise.
16995 [C99-based-standards] (PRIXFAST64): Likewise.
16996 [C99-based-standards] (SCNdFAST64): Likewise.
16997 [C99-based-standards] (SCNiFAST64): Likewise.
16998 [C99-based-standards] (SCNoFAST64): Likewise.
16999 [C99-based-standards] (SCNuFAST64): Likewise.
17000 [C99-based-standards] (SCNxFAST64): Likewise.
17001 [C99-based-standards] (PRIdMAX): Likewise.
17002 [C99-based-standards] (PRIiMAX): Likewise.
17003 [C99-based-standards] (PRIoMAX): Likewise.
17004 [C99-based-standards] (PRIuMAX): Likewise.
17005 [C99-based-standards] (PRIxMAX): Likewise.
17006 [C99-based-standards] (PRIXMAX): Likewise.
17007 [C99-based-standards] (SCNdMAX): Likewise.
17008 [C99-based-standards] (SCNiMAX): Likewise.
17009 [C99-based-standards] (SCNoMAX): Likewise.
17010 [C99-based-standards] (SCNuMAX): Likewise.
17011 [C99-based-standards] (SCNxMAX): Likewise.
17012 [C99-based-standards] (PRIdPTR): Likewise.
17013 [C99-based-standards] (PRIiPTR): Likewise.
17014 [C99-based-standards] (PRIoPTR): Likewise.
17015 [C99-based-standards] (PRIuPTR): Likewise.
17016 [C99-based-standards] (PRIxPTR): Likewise.
17017 [C99-based-standards] (PRIXPTR): Likewise.
17018 [C99-based-standards] (SCNdPTR): Likewise.
17019 [C99-based-standards] (SCNiPTR): Likewise.
17020 [C99-based-standards] (SCNoPTR): Likewise.
17021 [C99-based-standards] (SCNuPTR): Likewise.
17022 [C99-based-standards] (SCNxPTR): Likewise.
17023 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17025 * conform/data/stdint.h-data: Update comments to clarify
17027 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17029 [C99-based standards] (INT8_MAX): Likewise.
17030 [C99-based standards] (INT16_MIN): Likewise.
17031 [C99-based standards] (INT16_MAX): Likewise.
17032 [C99-based standards] (INT32_MIN): Likewise.
17033 [C99-based standards] (INT32_MAX): Likewise.
17034 [C99-based standards] (INT64_MIN): Likewise.
17035 [C99-based standards] (INT64_MAX): Likewise.
17036 [C99-based standards] (UINT8_MAX): Likewise.
17037 [C99-based standards] (UINT16_MAX): Likewise.
17038 [C99-based standards] (UINT32_MAX): Likewise.
17039 [C99-based standards] (UINT64_MAX): Likewise.
17040 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17041 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17042 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17043 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17044 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17045 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17046 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17047 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17048 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17049 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17050 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17051 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17052 [C99-based standards] (INT_FAST8_MIN): Likewise.
17053 [C99-based standards] (INT_FAST8_MAX): Likewise.
17054 [C99-based standards] (INT_FAST16_MIN): Likewise.
17055 [C99-based standards] (INT_FAST16_MAX): Likewise.
17056 [C99-based standards] (INT_FAST32_MIN): Likewise.
17057 [C99-based standards] (INT_FAST32_MAX): Likewise.
17058 [C99-based standards] (INT_FAST64_MIN): Likewise.
17059 [C99-based standards] (INT_FAST64_MAX): Likewise.
17060 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17061 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17062 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17063 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17064 [C99-based standards] (INTPTR_MIN): Likewise.
17065 [C99-based standards] (INTPTR_MAX): Likewise.
17066 [C99-based standards] (UINTPTR_MAX): Likewise.
17067 [C99-based standards] (INTMAX_MIN): Likewise.
17068 [C99-based standards] (INTMAX_MAX): Likewise.
17069 [C99-based standards] (UINTMAX_MAX): Likewise.
17070 [C99-based standards] (PTRDIFF_MIN): Likewise.
17071 [C99-based standards] (PTRDIFF_MAX): Likewise.
17072 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17073 [C99-based standards] (SIZE_MAX): Likewise.
17074 [C99-based standards] (WCHAR_MAX): Likewise.
17075 [C99-based standards] (WINT_MAX): Likewise.
17076 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17077 constraint on value.
17078 [C99-based standards] (WCHAR_MIN): Likewise.
17079 [C99-based standards] (WINT_MIN): Likewise.
17080 [C99-based standards] (*_t): Allow.
17081 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17082 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17083 Include math.h-data and complex.h-data. Remove all expectations
17084 of math.h and complex.h contents.
17085 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17087 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17088 (struct tm): Expect tag.
17089 [C99-based-standards] (wcstof): Expect function.
17090 [C99-based-standards] (wcstold): Likewise.
17091 [C99-based-standards] (wcstoll): Likewise.
17092 [C99-based-standards] (wcstoull): Likewise.
17093 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17094 macro-int-constant. Specify type.
17095 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17096 constraint on value.
17097 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17099 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17101 [ISO C standards]: Do not allow headers.
17102 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17103 wcs[abcdefghijklmnopqrstuvwxyz]*.
17104 [ISO C standards] (*_t): Do not allow.
17105 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17107 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17108 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17110 [ISO C standards]: Do not allow headers.
17111 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17112 is[abcdefghijklmnopqrstuvwxyz]*.
17113 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17114 to[abcdefghijklmnopqrstuvwxyz]*.
17115 [ISO C standards] (*_t): Do not allow.
17116 * conform/data/stdalign.h-data: New file.
17117 * conform/data/stdbool.h-data: Likewise.
17118 * conform/data/stdnoreturn.h-data: Likewise.
17120 2012-11-07 Roland McGrath <roland@hack.frob.com>
17123 * manual/filesys.texi (Directory Entries): Typo fix.
17124 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17126 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17128 * elf/elf.h (EM_AARCH64): New macro.
17129 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17130 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17131 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17132 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17133 (R_AARCH64_TLSDESC): Likewise.
17134 (NT_ARM_TLS): Likewise.
17135 (NT_ARM_HW_BREAK): Likewise.
17136 (NT_ARM_HW_WATCH): Likewise.
17138 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17141 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17142 (__ieee754_powl): Saturate nonzero exponents with absolute value
17143 below 0x1p-79 to +/- 0x1p-79.
17144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17145 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17146 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17147 nonzero exponents with absolute value below 0x1p-32 to +/-
17149 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17150 (__ieee754_powl): Saturate nonzero exponents with absolute value
17151 below 0x1p-79 to +/- 0x1p-79.
17152 * math/libm-test.inc (pow_test): Add more tests.
17154 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17156 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17157 _dl_s390_cap_flags with kernel. Increase string length.
17158 (_dl_s390_platforms): Add z196 and zEC12.
17160 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17162 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17163 Change XOPEN21K to XOPEN2K.
17165 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17167 * string/memmove.c: Use memcpy when possible.
17169 2012-11-06 Andreas Jaeger <aj@suse.de>
17171 * po/eo.po: Update from translation team.
17173 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17177 exponent and small x and y exponents, scale x or y up. Increase
17178 by 2 the exponent used in scaling up.
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-05 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17193 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17194 namespace for names of struct fields.
17195 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17197 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17198 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17200 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17203 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17205 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17207 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17211 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17214 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17218 definitely overflow as x * y not x * y + z.
17219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17221 * math/libm-test.inc (fma_test): Add more tests.
17222 (fma_test_towardzero): Likewise.
17223 (fma_test_downward): Likewise.
17224 (fma_test_upward): Likewise.
17226 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17230 * include/stub-tag.h: Remove file.
17231 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17233 * manual/maint.texi (Porting): Don't reference it.
17234 * Makerules ($(objpfx)stubs): Likewise.
17235 * dirent/closedir.c: Don't include <stub-tag.h>.
17236 * dirent/dirfd.c: Likewise.
17237 * dirent/fdopendir.c: Likewise.
17238 * dirent/getdents.c: Likewise.
17239 * dirent/getdents64.c: Likewise.
17240 * dirent/opendir.c: Likewise.
17241 * dirent/readdir.c: Likewise.
17242 * dirent/readdir64.c: Likewise.
17243 * dirent/readdir64_r.c: Likewise.
17244 * dirent/readdir_r.c: Likewise.
17245 * dirent/rewinddir.c: Likewise.
17246 * dirent/seekdir.c: Likewise.
17247 * dirent/telldir.c: Likewise.
17248 * gmon/profil.c: Likewise.
17249 * grp/setgroups.c: Likewise.
17250 * inet/if_index.c: Likewise.
17251 * io/access.c: Likewise.
17252 * io/chdir.c: Likewise.
17253 * io/chmod.c: Likewise.
17254 * io/chown.c: Likewise.
17255 * io/close.c: Likewise.
17256 * io/dup.c: Likewise.
17257 * io/dup2.c: Likewise.
17258 * io/dup3.c: Likewise.
17259 * io/euidaccess.c: Likewise.
17260 * io/faccessat.c: Likewise.
17261 * io/fchdir.c: Likewise.
17262 * io/fchmod.c: Likewise.
17263 * io/fchmodat.c: Likewise.
17264 * io/fchown.c: Likewise.
17265 * io/fchownat.c: Likewise.
17266 * io/fcntl.c: Likewise.
17267 * io/flock.c: Likewise.
17268 * io/fstatfs.c: Likewise.
17269 * io/fstatfs64.c: Likewise.
17270 * io/fstatvfs.c: Likewise.
17271 * io/fstatvfs64.c: Likewise.
17272 * io/futimens.c: Likewise.
17273 * io/fxstat.c: Likewise.
17274 * io/fxstat64.c: Likewise.
17275 * io/fxstatat.c: Likewise.
17276 * io/fxstatat64.c: Likewise.
17277 * io/getcwd.c: Likewise.
17278 * io/isatty.c: Likewise.
17279 * io/lchmod.c: Likewise.
17280 * io/lchown.c: Likewise.
17281 * io/link.c: Likewise.
17282 * io/linkat.c: Likewise.
17283 * io/lseek.c: Likewise.
17284 * io/lseek64.c: Likewise.
17285 * io/lxstat64.c: Likewise.
17286 * io/mkdir.c: Likewise.
17287 * io/mkdirat.c: Likewise.
17288 * io/mkfifo.c: Likewise.
17289 * io/mkfifoat.c: Likewise.
17290 * io/open.c: Likewise.
17291 * io/open64.c: Likewise.
17292 * io/openat.c: Likewise.
17293 * io/openat64.c: Likewise.
17294 * io/pipe.c: Likewise.
17295 * io/pipe2.c: Likewise.
17296 * io/poll.c: Likewise.
17297 * io/posix_fadvise.c: Likewise.
17298 * io/posix_fadvise64.c: Likewise.
17299 * io/posix_fallocate.c: Likewise.
17300 * io/posix_fallocate64.c: Likewise.
17301 * io/read.c: Likewise.
17302 * io/readlink.c: Likewise.
17303 * io/readlinkat.c: Likewise.
17304 * io/rmdir.c: Likewise.
17305 * io/sendfile.c: Likewise.
17306 * io/sendfile64.c: Likewise.
17307 * io/statfs.c: Likewise.
17308 * io/statfs64.c: Likewise.
17309 * io/statvfs.c: Likewise.
17310 * io/statvfs64.c: Likewise.
17311 * io/symlink.c: Likewise.
17312 * io/symlinkat.c: Likewise.
17313 * io/ttyname.c: Likewise.
17314 * io/ttyname_r.c: Likewise.
17315 * io/umask.c: Likewise.
17316 * io/unlink.c: Likewise.
17317 * io/unlinkat.c: Likewise.
17318 * io/utime.c: Likewise.
17319 * io/utimensat.c: Likewise.
17320 * io/write.c: Likewise.
17321 * io/xmknod.c: Likewise.
17322 * io/xmknodat.c: Likewise.
17323 * io/xstat.c: Likewise.
17324 * io/xstat64.c: Likewise.
17325 * login/getpt.c: Likewise.
17326 * login/grantpt.c: Likewise.
17327 * login/unlockpt.c: Likewise.
17328 * math/e_acoshl.c: Likewise.
17329 * math/e_acosl.c: Likewise.
17330 * math/e_asinl.c: Likewise.
17331 * math/e_atan2l.c: Likewise.
17332 * math/e_atanhl.c: Likewise.
17333 * math/e_coshl.c: Likewise.
17334 * math/e_expl.c: Likewise.
17335 * math/e_fmodl.c: Likewise.
17336 * math/e_gammal_r.c: Likewise.
17337 * math/e_hypotl.c: Likewise.
17338 * math/e_j0l.c: Likewise.
17339 * math/e_j1l.c: Likewise.
17340 * math/e_jnl.c: Likewise.
17341 * math/e_lgammal_r.c: Likewise.
17342 * math/e_log10l.c: Likewise.
17343 * math/e_log2l.c: Likewise.
17344 * math/e_logl.c: Likewise.
17345 * math/e_powl.c: Likewise.
17346 * math/e_rem_pio2l.c: Likewise.
17347 * math/e_sinhl.c: Likewise.
17348 * math/e_sqrtl.c: Likewise.
17349 * math/fclrexcpt.c: Likewise.
17350 * math/fedisblxcpt.c: Likewise.
17351 * math/feenablxcpt.c: Likewise.
17352 * math/fegetenv.c: Likewise.
17353 * math/fegetexcept.c: Likewise.
17354 * math/fegetround.c: Likewise.
17355 * math/feholdexcpt.c: Likewise.
17356 * math/fesetenv.c: Likewise.
17357 * math/fesetround.c: Likewise.
17358 * math/feupdateenv.c: Likewise.
17359 * math/fgetexcptflg.c: Likewise.
17360 * math/fraiseexcpt.c: Likewise.
17361 * math/fsetexcptflg.c: Likewise.
17362 * math/ftestexcept.c: Likewise.
17363 * math/k_cosl.c: Likewise.
17364 * math/k_rem_pio2l.c: Likewise.
17365 * math/k_sinl.c: Likewise.
17366 * math/k_tanl.c: Likewise.
17367 * math/s_asinhl.c: Likewise.
17368 * math/s_atanl.c: Likewise.
17369 * math/s_cbrtl.c: Likewise.
17370 * math/s_erfl.c: Likewise.
17371 * math/s_expm1l.c: Likewise.
17372 * math/s_log1pl.c: Likewise.
17373 * math/s_tanhl.c: Likewise.
17374 * misc/acct.c: Likewise.
17375 * misc/brk.c: Likewise.
17376 * misc/chflags.c: Likewise.
17377 * misc/chroot.c: Likewise.
17378 * misc/fchflags.c: Likewise.
17379 * misc/fgetxattr.c: Likewise.
17380 * misc/flistxattr.c: Likewise.
17381 * misc/fremovexattr.c: Likewise.
17382 * misc/fsetxattr.c: Likewise.
17383 * misc/fsync.c: Likewise.
17384 * misc/ftruncate.c: Likewise.
17385 * misc/futimes.c: Likewise.
17386 * misc/futimesat.c: Likewise.
17387 * misc/getdomain.c: Likewise.
17388 * misc/getdtsz.c: Likewise.
17389 * misc/gethostid.c: Likewise.
17390 * misc/gethostname.c: Likewise.
17391 * misc/getloadavg.c: Likewise.
17392 * misc/getpagesize.c: Likewise.
17393 * misc/getsysstats.c: Likewise.
17394 * misc/getxattr.c: Likewise.
17395 * misc/gtty.c: Likewise.
17396 * misc/ioctl.c: Likewise.
17397 * misc/lgetxattr.c: Likewise.
17398 * misc/listxattr.c: Likewise.
17399 * misc/llistxattr.c: Likewise.
17400 * misc/lremovexattr.c: Likewise.
17401 * misc/lsetxattr.c: Likewise.
17402 * misc/lutimes.c: Likewise.
17403 * misc/madvise.c: Likewise.
17404 * misc/mincore.c: Likewise.
17405 * misc/mlock.c: Likewise.
17406 * misc/mlockall.c: Likewise.
17407 * misc/mmap.c: Likewise.
17408 * misc/mprotect.c: Likewise.
17409 * misc/msync.c: Likewise.
17410 * misc/munlock.c: Likewise.
17411 * misc/munlockall.c: Likewise.
17412 * misc/munmap.c: Likewise.
17413 * misc/preadv.c: Likewise.
17414 * misc/preadv64.c: Likewise.
17415 * misc/ptrace.c: Likewise.
17416 * misc/pwritev.c: Likewise.
17417 * misc/pwritev64.c: Likewise.
17418 * misc/readv.c: Likewise.
17419 * misc/reboot.c: Likewise.
17420 * misc/remap_file_pages.c: Likewise.
17421 * misc/removexattr.c: Likewise.
17422 * misc/revoke.c: Likewise.
17423 * misc/select.c: Likewise.
17424 * misc/setdomain.c: Likewise.
17425 * misc/setegid.c: Likewise.
17426 * misc/seteuid.c: Likewise.
17427 * misc/sethostid.c: Likewise.
17428 * misc/sethostname.c: Likewise.
17429 * misc/setregid.c: Likewise.
17430 * misc/setreuid.c: Likewise.
17431 * misc/setxattr.c: Likewise.
17432 * misc/sstk.c: Likewise.
17433 * misc/stty.c: Likewise.
17434 * misc/swapoff.c: Likewise.
17435 * misc/swapon.c: Likewise.
17436 * misc/sync.c: Likewise.
17437 * misc/syncfs.c: Likewise.
17438 * misc/syscall.c: Likewise.
17439 * misc/truncate.c: Likewise.
17440 * misc/ualarm.c: Likewise.
17441 * misc/usleep.c: Likewise.
17442 * misc/ustat.c: Likewise.
17443 * misc/utimes.c: Likewise.
17444 * misc/vhangup.c: Likewise.
17445 * misc/writev.c: Likewise.
17446 * posix/_exit.c: Likewise.
17447 * posix/alarm.c: Likewise.
17448 * posix/execve.c: Likewise.
17449 * posix/fexecve.c: Likewise.
17450 * posix/fork.c: Likewise.
17451 * posix/fpathconf.c: Likewise.
17452 * posix/getaddrinfo.c: Likewise.
17453 * posix/getegid.c: Likewise.
17454 * posix/geteuid.c: Likewise.
17455 * posix/getgid.c: Likewise.
17456 * posix/getgroups.c: Likewise.
17457 * posix/getlogin.c: Likewise.
17458 * posix/getlogin_r.c: Likewise.
17459 * posix/getpgid.c: Likewise.
17460 * posix/getpid.c: Likewise.
17461 * posix/getppid.c: Likewise.
17462 * posix/getresgid.c: Likewise.
17463 * posix/getresuid.c: Likewise.
17464 * posix/getsid.c: Likewise.
17465 * posix/getuid.c: Likewise.
17466 * posix/glob64.c: Likewise.
17467 * posix/nanosleep.c: Likewise.
17468 * posix/pathconf.c: Likewise.
17469 * posix/pause.c: Likewise.
17470 * posix/posix_madvise.c: Likewise.
17471 * posix/pread.c: Likewise.
17472 * posix/pread64.c: Likewise.
17473 * posix/pwrite.c: Likewise.
17474 * posix/pwrite64.c: Likewise.
17475 * posix/sched_getaffinity.c: Likewise.
17476 * posix/sched_getp.c: Likewise.
17477 * posix/sched_gets.c: Likewise.
17478 * posix/sched_primax.c: Likewise.
17479 * posix/sched_primin.c: Likewise.
17480 * posix/sched_rr_gi.c: Likewise.
17481 * posix/sched_setaffinity.c: Likewise.
17482 * posix/sched_setp.c: Likewise.
17483 * posix/sched_sets.c: Likewise.
17484 * posix/sched_yield.c: Likewise.
17485 * posix/setgid.c: Likewise.
17486 * posix/setlogin.c: Likewise.
17487 * posix/setpgid.c: Likewise.
17488 * posix/setresgid.c: Likewise.
17489 * posix/setresuid.c: Likewise.
17490 * posix/setsid.c: Likewise.
17491 * posix/setuid.c: Likewise.
17492 * posix/sleep.c: Likewise.
17493 * posix/spawni.c: Likewise.
17494 * posix/sysconf.c: Likewise.
17495 * posix/times.c: Likewise.
17496 * posix/wait.c: Likewise.
17497 * posix/wait3.c: Likewise.
17498 * posix/wait4.c: Likewise.
17499 * posix/waitpid.c: Likewise.
17500 * resolv/gai_sigqueue.c: Likewise.
17501 * resource/getpriority.c: Likewise.
17502 * resource/getrlimit.c: Likewise.
17503 * resource/getrusage.c: Likewise.
17504 * resource/nice.c: Likewise.
17505 * resource/setpriority.c: Likewise.
17506 * resource/setrlimit.c: Likewise.
17507 * resource/ulimit.c: Likewise.
17508 * rt/aio_cancel.c: Likewise.
17509 * rt/aio_fsync.c: Likewise.
17510 * rt/aio_read.c: Likewise.
17511 * rt/aio_sigqueue.c: Likewise.
17512 * rt/aio_suspend.c: Likewise.
17513 * rt/aio_write.c: Likewise.
17514 * rt/clock_getres.c: Likewise.
17515 * rt/clock_gettime.c: Likewise.
17516 * rt/clock_nanosleep.c: Likewise.
17517 * rt/clock_settime.c: Likewise.
17518 * rt/lio_listio.c: Likewise.
17519 * rt/mq_close.c: Likewise.
17520 * rt/mq_getattr.c: Likewise.
17521 * rt/mq_notify.c: Likewise.
17522 * rt/mq_open.c: Likewise.
17523 * rt/mq_receive.c: Likewise.
17524 * rt/mq_send.c: Likewise.
17525 * rt/mq_setattr.c: Likewise.
17526 * rt/mq_timedreceive.c: Likewise.
17527 * rt/mq_timedsend.c: Likewise.
17528 * rt/mq_unlink.c: Likewise.
17529 * rt/shm_open.c: Likewise.
17530 * rt/shm_unlink.c: Likewise.
17531 * rt/timer_create.c: Likewise.
17532 * rt/timer_delete.c: Likewise.
17533 * rt/timer_getoverr.c: Likewise.
17534 * rt/timer_gettime.c: Likewise.
17535 * rt/timer_settime.c: Likewise.
17536 * setjmp/__longjmp.c: Likewise.
17537 * setjmp/setjmp.c: Likewise.
17538 * signal/kill.c: Likewise.
17539 * signal/killpg.c: Likewise.
17540 * signal/raise.c: Likewise.
17541 * signal/sigaction.c: Likewise.
17542 * signal/sigaltstack.c: Likewise.
17543 * signal/sigblock.c: Likewise.
17544 * signal/sigignore.c: Likewise.
17545 * signal/sigintr.c: Likewise.
17546 * signal/signal.c: Likewise.
17547 * signal/sigpause.c: Likewise.
17548 * signal/sigpending.c: Likewise.
17549 * signal/sigqueue.c: Likewise.
17550 * signal/sigreturn.c: Likewise.
17551 * signal/sigset.c: Likewise.
17552 * signal/sigsetmask.c: Likewise.
17553 * signal/sigstack.c: Likewise.
17554 * signal/sigsuspend.c: Likewise.
17555 * signal/sigtimedwait.c: Likewise.
17556 * signal/sigvec.c: Likewise.
17557 * signal/sigwait.c: Likewise.
17558 * signal/sigwaitinfo.c: Likewise.
17559 * signal/sysv_signal.c: Likewise.
17560 * socket/accept.c: Likewise.
17561 * socket/accept4.c: Likewise.
17562 * socket/bind.c: Likewise.
17563 * socket/connect.c: Likewise.
17564 * socket/getpeername.c: Likewise.
17565 * socket/getsockname.c: Likewise.
17566 * socket/getsockopt.c: Likewise.
17567 * socket/isfdtype.c: Likewise.
17568 * socket/listen.c: Likewise.
17569 * socket/recv.c: Likewise.
17570 * socket/recvfrom.c: Likewise.
17571 * socket/recvmsg.c: Likewise.
17572 * socket/send.c: Likewise.
17573 * socket/sendmsg.c: Likewise.
17574 * socket/sendto.c: Likewise.
17575 * socket/setsockopt.c: Likewise.
17576 * socket/shutdown.c: Likewise.
17577 * socket/sockatmark.c: Likewise.
17578 * socket/socket.c: Likewise.
17579 * socket/socketpair.c: Likewise.
17580 * stdio-common/ctermid.c: Likewise.
17581 * stdio-common/cuserid.c: Likewise.
17582 * stdio-common/remove.c: Likewise.
17583 * stdio-common/rename.c: Likewise.
17584 * stdio-common/renameat.c: Likewise.
17585 * stdio-common/tempname.c: Likewise.
17586 * stdlib/getcontext.c: Likewise.
17587 * stdlib/makecontext.c: Likewise.
17588 * stdlib/setcontext.c: Likewise.
17589 * stdlib/swapcontext.c: Likewise.
17590 * stdlib/system.c: Likewise.
17591 * streams/fattach.c: Likewise.
17592 * streams/fdetach.c: Likewise.
17593 * streams/getmsg.c: Likewise.
17594 * streams/getpmsg.c: Likewise.
17595 * streams/putmsg.c: Likewise.
17596 * streams/putpmsg.c: Likewise.
17597 * sysdeps/unix/bsd/getpt.c: Likewise.
17598 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17599 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17600 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17603 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17604 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17605 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17606 * sysvipc/msgctl.c: Likewise.
17607 * sysvipc/msgget.c: Likewise.
17608 * sysvipc/msgrcv.c: Likewise.
17609 * sysvipc/msgsnd.c: Likewise.
17610 * sysvipc/semctl.c: Likewise.
17611 * sysvipc/semget.c: Likewise.
17612 * sysvipc/semop.c: Likewise.
17613 * sysvipc/semtimedop.c: Likewise.
17614 * sysvipc/shmat.c: Likewise.
17615 * sysvipc/shmctl.c: Likewise.
17616 * sysvipc/shmdt.c: Likewise.
17617 * sysvipc/shmget.c: Likewise.
17618 * termios/tcdrain.c: Likewise.
17619 * termios/tcflow.c: Likewise.
17620 * termios/tcflush.c: Likewise.
17621 * termios/tcgetattr.c: Likewise.
17622 * termios/tcgetpgrp.c: Likewise.
17623 * termios/tcsendbrk.c: Likewise.
17624 * termios/tcsetattr.c: Likewise.
17625 * termios/tcsetpgrp.c: Likewise.
17626 * time/adjtime.c: Likewise.
17627 * time/clock.c: Likewise.
17628 * time/getitimer.c: Likewise.
17629 * time/gettimeofday.c: Likewise.
17630 * time/setitimer.c: Likewise.
17631 * time/settimeofday.c: Likewise.
17632 * time/stime.c: Likewise.
17633 * time/time.c: Likewise.
17635 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17637 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17640 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17642 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17644 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17648 FE_TONEAREST before applying Dekker multiplication and Knuth
17649 addition. Clear inexact exceptions and check for exact zero
17650 results afterwards.
17651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17654 * math/libm-test.inc (fma_test): Add more tests.
17655 (fma_test_towardzero): Likewise.
17656 (fma_test_downward): Likewise.
17657 (fma_test_upward): Likewise.
17658 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17660 (libc_fesetround): New macro.
17661 (libc_fesetroundf): Likewise.
17662 (libc_fesetroundl): Likewise.
17663 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17665 (libc_fesetround_387): Likewise.
17666 (libc_fesetroundf): New macro.
17667 (libc_fesetround): Likewise.
17668 (libc_fesetroundl): Likewise.
17669 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17671 (libc_fesetroundf): New macro.
17672 (libc_fesetround): Likewise.
17673 (libc_fesetroundl): Likewise.
17674 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17675 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17676 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17678 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17679 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17681 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17682 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17684 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17688 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17689 integer constant usable in #if and use that to give value to enum
17691 (FE_DIVBYZERO): Likewise.
17692 (FE_UNDERFLOW): Likewise.
17693 (FE_OVERFLOW): Likewise.
17694 (FE_INVALID): Likewise.
17695 (FE_INVALID_SNAN): Likewise.
17696 (FE_INVALID_ISI): Likewise.
17697 (FE_INVALID_IDI): Likewise.
17698 (FE_INVALID_ZDZ): Likewise.
17699 (FE_INVALID_IMZ): Likewise.
17700 (FE_INVALID_COMPARE): Likewise.
17701 (FE_INVALID_SOFTWARE): Likewise.
17702 (FE_INVALID_SQRT): Likewise.
17703 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17704 (FE_TONEAREST): Likewise.
17705 (FE_TOWARDZERO): Likewise.
17706 (FE_UPWARD): Likewise.
17707 (FE_DOWNWARD): Likewise.
17708 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17709 (FE_DIVBYZERO): Likewise.
17710 (FE_OVERFLOW): Likewise.
17711 (FE_UNDERFLOW): Likewise.
17712 (FE_INEXACT): Likewise.
17713 (FE_TONEAREST): Likewise.
17714 (FE_DOWNWARD): Likewise.
17715 (FE_UPWARD): Likewise.
17716 (FE_TOWARDZERO): Likewise.
17717 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17718 (FE_UNDERFLOW): Likewise.
17719 (FE_OVERFLOW): Likewise.
17720 (FE_DIVBYZERO): Likewise.
17721 (FE_INVALID): Likewise.
17722 (FE_TONEAREST): Likewise.
17723 (FE_TOWARDZERO): Likewise.
17724 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17725 (FE_OVERFLOW): Likewise.
17726 (FE_UNDERFLOW): Likewise.
17727 (FE_DIVBYZERO): Likewise.
17728 (FE_INEXACT): Likewise.
17729 (FE_TONEAREST): Likewise.
17730 (FE_TOWARDZERO): Likewise.
17731 (FE_UPWARD): Likewise.
17732 (FE_DOWNWARD): Likewise.
17733 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17734 (FE_DIVBYZERO): Likewise.
17735 (FE_OVERFLOW): Likewise.
17736 (FE_UNDERFLOW): Likewise.
17737 (FE_INEXACT): Likewise.
17738 (FE_TONEAREST): Likewise.
17739 (FE_DOWNWARD): Likewise.
17740 (FE_UPWARD): Likewise.
17741 (FE_TOWARDZERO): Likewise.
17743 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17745 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17747 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17749 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17750 commands. Quote $PWD.
17751 (blacklist_exports): Don't use remove_newlines. Replace "declare
17753 (remove_newlines): Remove.
17755 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17757 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17758 * stdlib/stdlib.h (atof): Moved to ...
17759 * include/bits/stdlib-float.h: Here. New file.
17760 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17761 * stdlib/bits/stdlib-float.h: New file.
17762 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17767 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17769 * conform/conformtest.pl (@headers): Add fenv.h.
17770 * conform/data/fenv.h-data: New file.
17771 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17772 include of <math/fenv.h>.
17774 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17775 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17776 && !UNIX98]. Enables tests for XOPEN2K8.
17777 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17778 POSIX2008]: Likewise.
17780 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17781 (struct rusage): Do not expect type or its members.
17784 * math/math.h (FP_NAN): Define macro to integer constant usable in
17785 #if and use that to give value to enum constant.
17786 (FP_INFINITE): Likewise.
17787 (FP_ZERO): Likewise.
17788 (FP_SUBNORMAL): Likewise.
17789 (FP_NORMAL): Likewise.
17791 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17793 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17794 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17797 2012-11-02 Roland McGrath <roland@hack.frob.com>
17799 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17800 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17801 autoconf-time if not.
17802 * configure.in: Remove AC_PREREQ.
17804 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17806 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17807 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17808 of the internal implementation.
17810 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17812 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17813 except include of <misc/sys/syslog.h>.
17815 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17818 function returns with a NULL context exit with zero.
17820 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17822 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17824 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17826 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17827 (run_program_cmd): This.
17828 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17829 (tst_langinfo): New variable. Use it.
17831 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17833 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17834 floating point opcodes.
17836 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17838 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17841 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17843 * sysdeps/mach/hurd/powerpc: Remove directory.
17844 * sysdeps/mach/powerpc: Likewise.
17846 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17848 * scripts/check-local-headers.sh: Ignore c++ headers.
17850 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17852 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17853 __libc_cleanup_region_start argument.
17855 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17860 x * y using scaling, not as x * y + z.
17861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17863 * math/libm-test.inc (fma_test): Add more tests.
17864 (fma_test_towardzero): Likewise.
17865 (fma_test_downward): Likewise.
17866 (fma_test_upward): Likewise.
17868 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17870 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17872 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17874 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17877 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17879 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17881 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17888 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17891 Fix the order of the list for glibc 2.17.
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17895 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17899 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17902 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17903 for low part of x being zero before using __atanl (y).
17904 * math/libm-test.inc (atan2_test): Add another test.
17906 * manual/install.texi (Configuring and compiling): Document
17907 general use of test-wrapper and test-wrapper-env.
17908 * INSTALL: Regenerated.
17910 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17911 (__fma): Do not extract and scale down low bits on after-rounding
17912 systems when result rounded to normal precision would have normal
17914 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17915 (__fmal): Do not extract and scale down low bits on after-rounding
17916 systems when result rounded to normal precision would have normal
17918 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17919 (__fmal): Do not extract and scale down low bits on after-rounding
17920 systems when result rounded to normal precision would have normal
17922 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17924 (fma_test): Add more tests.
17925 (fma_test_towardzero): Likewise.
17926 (fma_test_downward): Likewise.
17927 (fma_test_upward): Likewise.
17929 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17931 * sysdeps/i386/tininess.h: Renamed to ...
17932 * sysdeps/x86/tininess.h: This.
17933 * sysdeps/x86_64/tininess.h: Removed.
17935 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17937 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17938 input. Use $(build-program-cmd).
17939 ($(objpfx)tst-array1-static.out): Likewise.
17940 ($(objpfx)tst-array2.out): Likewise.
17941 ($(objpfx)tst-array3.out): Likewise.
17942 ($(objpfx)tst-array4.out): Likewise.
17943 ($(objpfx)tst-array5.out): Likewise.
17944 ($(objpfx)tst-array5-static.out): Likewise.
17946 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17948 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17951 * nss/nsswitch.h (nss_interface_function): Provide new
17952 macro for use with NSS functions.
17953 * grp/initgroups.c: Use new macro.
17954 * nss/getXXbyYY.c: Likewise.
17955 * nss/getXXbyYY_r.c: Likewise.
17956 * nss/getXXent.c: Likewise.
17957 * nss/getXXent_r.c: Likewise.
17958 * sysdeps/posix/getaddrinfo.c: Likewise.
17960 2012-10-30 Andreas Jaeger <aj@suse.de>
17962 * po/ru.po: Update Russion translation from translation project.
17964 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17969 result and shift together with sticky bit instead of replicating
17970 round-to-nearest rounding.
17971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17973 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17974 missing underflow exceptions.
17975 (fma_test_towardzero): Add more tests.
17976 (fma_test_downward): Likewise.
17977 (fma_test_upward): Likewise.
17980 * sysdeps/generic/tininess.h: New file.
17981 * sysdeps/i386/tininess.h: Likewise.
17982 * sysdeps/sh/tininess.h: Likewise.
17983 * sysdeps/x86_64/tininess.h: Likewise.
17984 * stdlib/tst-strtod-underflow.c: Likewise.
17985 * stdlib/tst-tininess.c: Likewise.
17986 * stdlib/strtod_l.c: Include <tininess.h>.
17987 (round_and_return): Do not set errno for exact underflow cases.
17988 Force an underflow exception when setting errno for underflow.
17989 Determine underflow based on rounding to normal precision if
17990 TININESS_AFTER_ROUNDING.
17991 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17992 ERANGE for exact underflow cases.
17993 * stdlib/Makefile (tests): Add tst-tininess and
17994 tst-strtod-underflow.
17995 ($(objpfx)tst-tininess): Use $(link-libm).
17996 ($(objpfx)tst-strtod-underflow): Likewise.
17998 2012-10-30 Andreas Jaeger <aj@suse.de>
18001 * elf/Makefile (tests): Remove conditional for have-initfini-array
18002 since this is now always required and the variable does not exist
18004 (tests-static): Likewise.
18005 (modules-names): Likewise.
18007 * po/eo.po: Add Esperanto translation from translation project.
18009 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18010 merged with constructor/destructor.
18011 (init_array): Likewise.
18012 * elf/tst-array2dep.c (fini_array): Likewise.
18013 (init_array): Likewise.
18015 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18017 * manual/message.texi: Delete @cartouche tags.
18019 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18021 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18023 * sysdeps/mach/hurd/fsync.c: Likewise.
18025 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18026 [_POSIX_REALTIME_SIGNALS]: Change condition to
18027 [_POSIX_REALTIME_SIGNALS > 0].
18029 2012-10-27 Andreas Jaeger <aj@suse.de>
18031 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18032 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18034 [__WORDSIZE != 64]: Likewise.
18036 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18038 * iconvdata/tst-table.sh: Remove ${SHELL}.
18039 * iconvdata/tst-tables.sh: Likewise.
18041 2012-10-25 David S. Miller <davem@davemloft.net>
18043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18044 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18049 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18050 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18051 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18054 2012-10-25 Roland McGrath <roland@hack.frob.com>
18056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18057 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18060 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18061 Jim Blandy <jimb@codesourcery.com>
18063 * scripts/cross-test-ssh.sh: New file.
18064 * manual/install.texi (Configuring and compiling): Document use of
18066 * INSTALL: Regenerated.
18068 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18070 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18073 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18075 * Makeconfig (run-program-prefix): Fix comment.
18077 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18078 Jim Blandy <jimb@codesourcery.com>
18080 * Makeconfig (test-wrapper): New variable,
18081 (test-wrapper-env): Likewise.
18082 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18083 (run-built-tests): Define to yes.
18084 (run-program-prefix): Use $(test-wrapper).
18085 (built-program-cmd): Likewise.
18086 * Rules (make-test-out): Use $(test-wrapper-env) and
18087 $(host-built-program-cmd).
18088 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18089 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18091 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18092 $(test-wrapper-env) to tst-rtld-load-self.sh.
18093 ($(objpfx)order2.out): Use $(test-wrapper).
18094 ($(objpfx)tst-initorder.out): Likewise.
18095 ($(objpfx)tst-initorder2.out): Likewise.
18096 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18097 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18098 (test_wrapper_env): New variable. Use it to run ld.so.
18099 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18100 Use it to run ld.so.
18101 (test_wrapper_env): Likewise.
18102 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18103 $(test-wrapper) to run-iconv-test.sh.
18104 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18105 (ICONV): Use $test_wrapper.
18106 * posix/Makefile ($(objpfx)globtest.out): Pass
18107 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18108 globtest.sh, not $(run-program-prefix).
18109 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18110 (test_wrapper): Likewise.
18111 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18112 set together with run_via_rtld_prefix.
18113 (run_program_prefix): Define in terms of test_wrapper and
18114 run_via_rtld_prefix.
18116 2012-10-24 Roland McGrath <roland@hack.frob.com>
18118 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18119 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18123 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18124 Declare __clock_getres, __clock_gettime, __clock_settime,
18125 __clock_nanosleep, and __clock_getcpuclockid.
18126 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18127 Remove librt_hidden_def (clock_gettime).
18128 * sysdeps/unix/clock_gettime.c: Likewise.
18129 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18131 * rt/clock_getres.c: Define __clock_getres as an alias.
18132 * sysdeps/posix/clock_getres.c: Likewise.
18133 * rt/clock_settime.c: Define __clock_settime as an alias.
18134 * sysdeps/unix/clock_settime.c: Likewise.
18135 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18136 * sysdeps/unix/clock_nanosleep.c: Likewise.
18137 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18138 * rt/clock-compat.c: New file.
18139 * rt/Makefile (librt-routines): Add clock-compat and move
18140 $(clock-routines) to ...
18141 (routines): ... here, new variable.
18142 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18143 Don't add get_clockfreq here.
18144 * rt/Versions (libc: GLIBC_2.17): New version set.
18145 Add clock_* symbols here.
18146 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18147 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18148 (GLIBC_2.17): Add clock_* symbols.
18149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18160 * NEWS: Mention the move.
18162 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18163 Use __open, __read, __close rather than their public counterparts.
18164 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18165 (__get_clockfreq_via_cpuinfo): Likewise.
18166 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18167 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18169 * config.h.in (HAVE_IFUNC): New #undef.
18170 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18172 * configure: Regenerated.
18174 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18176 * configure.in: Move READELF check to start of file.
18177 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18178 libc_cv_asm_gnu_indirect_function in the process.
18179 * configure: Regenerated.
18181 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18183 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18184 send the output to /dev/null.
18185 (libc_cv_cc_with_libunwind): Likewise.
18186 (libc_cv_as_noexecstack): Likewise.
18187 * configure: Regenerate.
18189 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18191 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18193 * posix/globtest.sh (TMPDIR): Do not set.
18194 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18195 (testout): Likewise.
18197 2012-10-24 Andreas Jaeger <aj@suse.de>
18199 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18200 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18201 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18202 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18203 posix_fadvise64, posix_fallocate64.
18205 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18206 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18207 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18209 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18211 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18214 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18215 <bits/fcntl-linux.h>.
18216 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18219 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18220 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18221 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18222 [__WORDSIZE != 64]: Likewise.
18224 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18226 * Makeconfig (run-built-tests): New variable.
18227 * Rules [$(cross-compiling) = yes]: Change condition to
18228 [$(run-built-tests) = no].
18229 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18230 to [$(run-built-tests) = yes].
18231 * elf/Makefile [$(cross-compiling) = no]: Likewise
18232 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18233 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18234 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18235 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18236 * io/Makefile [$(cross-compiling) = no]: Likewise.
18237 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18238 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18239 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18240 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18241 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18242 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18243 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18244 * string/Makefile [$(cross-compiling) = no]: Likewise.
18246 * posix/Makefile ($(objpfx)globtest.out): Pass
18247 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18248 $(rtld-installed-name).
18249 * posix/globtest.sh (elf_objpfx): Remove variable.
18250 (rtld_installed_name): Likewise.
18251 (library_path): Likewise.
18252 (run_program_prefix): New variable. Use for running globtest
18255 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18256 Joseph Myers <joseph@codesourcery.com>
18258 * Makeconfig (host-built-program-cmd): New variable.
18259 * elf/Makefile (tst-stackguard1-ARGS): Use
18260 $(host-built-program-cmd).
18261 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18262 (tst-spawn-ARGS): Likewise.
18263 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18265 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18266 Jim Blandy <jimb@codesourcery.com>
18268 * Makeconfig (run-via-rtld-prefix): New variable.
18269 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18270 (built-program-cmd): Likewise.
18272 2012-10-22 Andreas Jaeger <aj@suse.de>
18274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18275 __O_RSYNC if it exists, otherwise to O_SYNC.
18277 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18278 Joseph Myers <joseph@codesourcery.com>
18280 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18282 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18284 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18287 2012-10-22 Andreas Jaeger <aj@suse.de>
18289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18294 bits/fcntl-linux.h.
18296 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18297 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18304 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18305 Joseph Myers <joseph@codesourcery.com>
18307 * config.make.in (NM): New variable.
18309 2012-10-21 Andreas Jaeger <aj@suse.de>
18311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18312 definitions and declarations that are provided by
18313 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18315 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18318 * elf/Makefile (tests-static): Add tst-leaks1-static.
18319 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18320 ($(objpfx)tst-leaks1-static): New rule.
18321 ($(objpfx)tst-leaks1-static-mem): Likewise.
18322 (tst-leaks1-static-ENV): New macro.
18323 * elf/dl-open.c (dl_open_worker): Check the main application
18324 only if SHARED is defined.
18325 * elf/tst-leaks1-static.c: New file.
18327 2012-10-20 Andreas Jaeger <aj@suse.de>
18329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18330 generic values for Linux.
18331 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18332 and declarations that are provided by <bits/fcntl-linux.h> and
18333 include <bits/fcntl-linux.h>.
18334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18337 2012-10-20 Roland McGrath <roland@hack.frob.com>
18339 * io/fcntl.h: Move include of <bits/types.h> to the top and
18340 include it unconditionally.
18342 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18344 * wcsmbs/Makefile (tests-ifunc): New variable.
18345 (tests): Add $(tests-ifunc).
18346 * wcsmbs/test-wcschr-ifunc.c: New file.
18347 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18348 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18349 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18350 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18351 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18353 * string/Makefile (tests-ifunc): New variable.
18354 (tests): Add $(tests-ifunc).
18355 * string/test-memccpy.c (TEST_NAME): New macro.
18356 * string/test-memchr.c (TEST_NAME): Likewise.
18357 * string/test-memcmp.c (TEST_NAME): Likewise.
18358 * string/test-memcpy.c (TEST_NAME): Likewise.
18359 * string/test-memmem.c (TEST_NAME): Likewise.
18360 * string/test-memmove.c (TEST_NAME): Likewise.
18361 * string/test-memset.c (TEST_NAME): Likewise.
18362 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18363 * string/test-stpcpy.c (TEST_NAME): Likewise.
18364 * string/test-stpncpy.c (TEST_NAME): Likewise.
18365 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18366 * string/test-strcasestr.c (TEST_NAME): Likewise.
18367 * string/test-strcat.c (TEST_NAME): Likewise.
18368 * string/test-strchr.c (TEST_NAME): Likewise.
18369 * string/test-strcmp.c(TEST_NAME): Likewise.
18370 * string/test-strcpy.c (TEST_NAME): Likewise.
18371 * string/test-strcspn.c (TEST_NAME): Likewise.
18372 * string/test-strlen.c (TEST_NAME): Likewise.
18373 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18374 * string/test-strncmp.c (TEST_NAME): Likewise.
18375 * string/test-strncpy.c (TEST_NAME): Likewise.
18376 * string/test-strnlen.c (TEST_NAME): Likewise.
18377 * string/test-strpbrk.c (TEST_NAME): Likewise.
18378 * string/test-strrchr.c (TEST_NAME): Likewise.
18379 * string/test-strspn.c (TEST_NAME): Likewise.
18380 * string/test-strstr.c (TEST_NAME): Likewise.
18381 * string/test-bcopy-ifunc.c: New file.
18382 * string/test-bzero-ifunc.c: Likewise.
18383 * string/test-memccpy-ifunc.c: Likewise.
18384 * string/test-memchr-ifunc.c: Likewise.
18385 * string/test-memcmp-ifunc.c: Likewise.
18386 * string/test-memcpy-ifunc.c: Likewise.
18387 * string/test-memmem-ifunc.c: Likewise.
18388 * string/test-memmove-ifunc.c: Likewise.
18389 * string/test-mempcpy-ifunc.c: Likewise.
18390 * string/test-memset-ifunc.c: Likewise.
18391 * string/test-rawmemchr-ifunc.c: Likewise.
18392 * string/test-stpcpy-ifunc.c: Likewise.
18393 * string/test-stpncpy-ifunc.c: Likewise.
18394 * string/test-strcasecmp-ifunc.c: Likewise.
18395 * string/test-strcasestr-ifunc.c: Likewise.
18396 * string/test-strcat-ifunc.c: Likewise.
18397 * string/test-strchr-ifunc.c: Likewise.
18398 * string/test-strchrnul-ifunc.c: Likewise.
18399 * string/test-strcmp-ifunc.c: Likewise.
18400 * string/test-strcpy-ifunc.c: Likewise.
18401 * string/test-strcspn-ifunc.c: Likewise.
18402 * string/test-strlen-ifunc.c: Likewise.
18403 * string/test-strncasecmp-ifunc.c: Likewise.
18404 * string/test-strncat-ifunc.c: Likewise.
18405 * string/test-strncmp-ifunc.c: Likewise.
18406 * string/test-strncpy-ifunc.c: Likewise.
18407 * string/test-strnlen-ifunc.c: Likewise.
18408 * string/test-strpbrk-ifunc.c: Likewise.
18409 * string/test-strrchr-ifunc.c: Likewise.
18410 * string/test-strspn-ifunc.c: Likewise.
18411 * string/test-strstr-ifunc.c: Likewise.
18413 * debug/Makefile (tests-ifunc): New variable.
18414 (tests): Add $(tests-ifunc).
18415 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18416 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18417 * debug/test-stpcpy_chk-ifunc.c: New file.
18418 * debug/test-strcpy_chk-ifunc.c: Likewise.
18420 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18423 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18424 header is not read in.
18426 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18428 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18429 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18430 directly. Pass built executable to script as
18431 $(built-program-cmd).
18432 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18433 $testprogram without using LD_LIBRARY_PATH and $ldso.
18435 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18436 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18437 $(rtld-installed-name).
18438 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18439 (rtld_installed_name): Likewise.
18440 (library_path): Likewise.
18441 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18442 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18443 $(run-program-prefix) to tst-tables.sh.
18444 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18445 it to run tst-table-from and tst-table-to.
18446 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18447 Pass it to tst-table.sh.
18448 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18449 $(run-program-prefix) to tst-gettext.sh.
18450 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18452 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18454 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18455 to run tst-gettext.
18456 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18457 to run tst-gettext2.
18458 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18459 to run tst-translit.
18460 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18461 $(run-program-prefix) to tst-mtrace.sh.
18462 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18464 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18465 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18466 $(rtld-installed-name).
18467 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18468 (rtld_installed_name): Likewise.
18469 (run_program_prefix): New variable. Use it to run wordexp-test.
18471 * Makeconfig (ARCH): Remove all definitions.
18472 (machine): Likewise.
18473 [ARCH]: Remove conditional code.
18474 [!objdir]: Give error.
18475 [!objdir] (objpfx): Remove.
18476 [!objdir] (common-objpfx): Likewise.
18477 [!objdir] (common-objdir): Likewise.
18478 * configure.in (config_makefile): Remove. Hardcode Makefile in
18479 AC_CONFIG_FILES call.
18480 * configure: Regenerated.
18483 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18485 (testout): Likewise.
18487 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18488 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18489 $(rtld-installed-name).
18490 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18491 (rtld_installed_name): Likwise.
18492 (runit): Remove function.
18493 (run_getconf): New variable, Use it for running getconf binary.
18495 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18498 * string/test-memmem.c (check_result): New function.
18499 (do_one_test): Use it.
18500 (check1): New function.
18501 (test_main): Use it.
18503 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18505 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18507 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18509 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18510 (_G_LSEEK64): Likewise.
18511 (_G_MMAP64): Likewise.
18512 (_G_FSTAT64): Likewise.
18513 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18514 (_G_LSEEK64): Likewise.
18515 (_G_MMAP64): Likewise.
18516 (_G_FSTAT64): Likewise.
18517 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18518 unconditional. Call __mmap64 directly.
18519 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18520 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18521 __lseek64 directly.
18522 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18523 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18525 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18526 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18527 __lseek64 directly.
18528 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18529 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18530 __lseek64 directly.
18531 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18532 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18533 __lseek64 directly.
18534 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18535 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18536 __fxstat64 directly.
18537 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18538 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18540 (freopen64) [!_G_OPEN64]: Remove conditional code.
18541 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18543 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18544 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18546 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18547 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18549 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18550 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18552 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18553 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18555 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18556 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18558 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18559 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18561 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18563 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18566 * manual/memory.texi (Malloc Tunable Parameters): Add note
18567 about free list pointers overwriting some perturb bytes.
18568 Wording suggested by Roland McGrath.
18570 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18572 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18573 (lgamma_test): Likewise.
18574 (tgamma_test): Likewise.
18576 2012-10-16 Florian Weimer <fweimer@redhat.com>
18579 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18580 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18582 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18584 * NEWS: Mention BZ #14716.
18585 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18586 when removing AVAILABLE1_USES_J macro.
18588 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18591 (__bswap_64): __uint64_t for unsigned 64-bit int.
18593 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18595 * include/string.h (memmem): Declare libc hidden alias.
18596 * string/memmem.c (memmem): Define libc hidden alias.
18597 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18598 __read, __close instead of open, read, close.
18600 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18603 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18605 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18606 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18607 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18609 (__rawmemchr_sse2): Likewise.
18610 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18611 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18612 (__strchr_sse2): Likewise.
18613 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18614 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18615 (__strcasecmp_sse2): Likewise.
18616 (__strncasecmp_sse2): Likewise.
18617 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18618 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18619 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18620 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18621 (__strrchr_sse2): Likewise.
18622 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18624 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18625 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18626 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18627 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18628 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18629 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18630 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18631 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18632 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18633 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18634 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18635 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18636 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18637 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18638 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18639 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18640 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18641 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18642 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18643 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18644 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18645 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18646 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18647 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18648 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18649 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18650 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18651 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18652 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18653 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18655 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18657 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18658 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18659 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18660 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18662 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18664 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18665 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18666 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18667 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18669 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18670 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18671 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18672 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18673 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18674 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18675 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18676 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18677 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18678 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18679 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18680 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18681 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18682 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18683 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18684 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18685 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18686 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18687 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18688 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18689 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18690 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18691 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18692 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18693 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18694 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18695 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18696 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18697 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18698 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18699 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18700 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18701 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18702 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18703 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18704 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18705 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18706 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18707 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18708 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18709 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18711 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18712 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18713 * include/ifunc-impl-list.h: New file.
18714 * misc/ifunc-impl-list.c: Likewise.
18715 * misc/Makefile (routines): Add ifunc-impl-list.
18716 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18717 * string/test-string.h: Include <ifunc-impl-list.h>.
18718 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18719 impl_array): New variables.
18720 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18722 (test_init): Call __libc_ifunc_impl_list to initialize
18723 func_list if TEST_IFUNC and TEST_NAME are defined.
18725 * string/Makefile (strop-tests): Add bcopy and bzero.
18726 * string/test-bcopy.c: New file.
18727 * string/test-bzero.c: Likewise.
18728 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18730 * string/test-memset.c: Support bzero test if TEST_BZERO is
18732 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18734 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18736 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18739 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18741 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18742 * configure: Regenerated.
18744 * Makeconfig (+link-static-before-libc): Don't include
18745 $(link-static-libc).
18747 * libio/libio.h (_IO_pos_t): Remove.
18749 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18751 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18754 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18756 * crypt/crypt-entry.c: Include fips-private.h.
18757 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18758 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18759 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18760 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18762 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18764 * crypt/crypt-private.h: Include stdbool.h.
18765 (_ufc_setup_salt_r): Return bool.
18766 * crypt/crypt-entry.c: Include errno.h.
18767 (__crypt_r): Return NULL with EINVAL for bad salt.
18768 * crypt/crypt_util.c (bad_for_salt): New.
18769 (_ufc_setup_salt_r): Check that salt is long enough and within
18770 the specified alphabet.
18771 * crypt/badsalttest.c: New file.
18772 * crypt/Makefile (tests): Add it.
18773 ($(objpfx)badsalttest): New.
18775 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18777 * NEWS: Add entry for BZ #14602.
18779 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18781 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18783 * math/libm-test.inc: Update comment listing what functions and
18785 (isgreater_test): New function.
18786 (isgreaterequal_test): Likewise.
18787 (isless_test): Likewise.
18788 (islessequal_test): Likewise.
18789 (islessgreater_test): Likewise.
18790 (isunordered_test): Likewise.
18791 (main): Call the new functions.
18793 2012-10-09 Roland McGrath <roland@hack.frob.com>
18795 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18796 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18797 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18798 * sysdeps/i386/configure: Regenerated.
18799 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18800 * sysdeps/mach/configure: Regenerated.
18801 * sysdeps/mach/hurd/configure: Regenerated.
18802 * sysdeps/powerpc/configure: Regenerated.
18803 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18804 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18805 * sysdeps/s390/s390-32/configure: Regenerated.
18806 * sysdeps/s390/s390-64/configure: Regenerated.
18807 * sysdeps/sh/configure: Regenerated.
18808 * sysdeps/sparc/configure: Regenerated.
18809 * sysdeps/unix/sysv/linux/configure: Regenerated.
18810 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18811 * sysdeps/x86_64/configure: Regenerated.
18813 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18814 defined. Don't check if MAP is NULL.
18816 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18818 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18819 (_G_stat64): Likewise.
18820 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18821 (_G_stat64): Likewise.
18822 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18823 instead of struct _G_stat64.
18824 * libio/fileops.c (mmap_remap_check): Likewise.
18825 (decide_maybe_mmap): Likewise.
18826 (_IO_new_file_seekoff): Likewise.
18827 (_IO_file_stat): Likewise.
18828 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18830 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18831 instead of struct _G_stat64.
18832 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18834 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18837 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18839 (CHECK_EOL): New macro.
18840 (two_way_short_needle): Check beginning of haystack for EOL. Use
18842 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18843 Replace with CHECK_EOL.
18844 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18845 Replace with CHECK_EOL.
18847 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18849 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18851 * math/libm-test.inc: Update comment listing what functions and
18853 (finite_test): New function.
18854 (isinf_test): Likewise.
18855 (isnan_test): Likewise.
18856 (fpclassify_test): Test subnormal input.
18857 (isfinite_test): Likewise.
18858 (isnormal_test): Likewise.
18859 (main): Call the new functions.
18861 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18864 * Makerules (%.dynsym): Force C locale when running
18865 $(OBJDUMP) --dynamic-syms.
18867 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18869 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18872 2012-10-06 David S. Miller <davem@davemloft.net>
18874 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18875 upper 32-bits of the length value in %o2 since we use branch-on-register
18876 tests which consider the entire 64-bit register.
18878 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18880 * string/test-strstr.c (check2): Add a test for page boundary.
18882 2012-10-05 David S. Miller <davem@davemloft.net>
18884 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18885 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18887 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18889 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18890 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18891 and bzero when HWCAP_SPARC_CRYPTO is present.
18893 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18896 * string/test-strstr.c (check2): New function.
18897 (test_main): Call check2.
18899 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18901 * string/bug-strcasestr1.c (do_test): Moved to ...
18902 * string/test-strcasestr.c (check1): Here. New function.
18903 (do_one_test): Break out result checking code into ...
18904 (check_result): This. New function.
18905 (do_one_test): Call check_result.
18906 (test_main): Call check1.
18907 * string/bug-strchr1.c (do_test): Moved to ...
18908 * string/test-strchr.c (check1): Here. New function.
18909 (do_one_test): Break out result checking code into ...
18910 (check_result): This. New function.
18911 (do_one_test): Call check_result.
18912 (test_main): Call check1.
18913 * string/bug-strstr1.c (main): Moved to ...
18914 * string/test-strstr.c (check1): Here. New function.
18915 (do_one_test): Break out result checking code into ...
18916 (check_result): This. New function.
18917 (do_one_test): Call check_result.
18918 (test_main): Call check1.
18919 * string/bug-strcasestr1.c: Removed.
18920 * string/bug-strchr1.c: Likewise.
18921 * string/bug-strstr1.c: Likewise.
18923 * elf/Makefile (dl-routines): Add hwcaps.
18924 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18925 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18926 (_dl_important_hwcaps): Moved to ...
18927 * elf/dl-hwcaps.c: Here. New file.
18928 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18931 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18932 if IS_IN_rtld isn't defined.
18934 * elf/dl-support.c (_dl_sysinfo_map): New.
18935 Include "get-dynamic-info.h" and "setup-vdso.h".
18936 (_dl_non_dynamic_init): Call setup_vdso.
18937 * elf/dynamic-link.h: Don't include <assert.h>.
18938 (elf_get_dynamic_info): Moved to ...
18939 * elf/get-dynamic-info.h: Here. New file.
18940 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18941 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18942 * elf/setup-vdso.h: Here. New file.
18943 * elf/rtld.c: Include "setup-vdso.h".
18944 (dl_main): Call setup_vdso.
18946 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18948 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18949 creal in comment listing functions tested. List finite, isinf,
18950 isnan, isless, islessequal, isgreater, isgreaterequal,
18951 islessgreater, isunordered, lgamma_r and pow10 as functions and
18952 macros not tested. Mention which functions not tested are aliases
18953 for other functions. Fix typo. Note that signs of NaNs are not
18956 * scripts/config.guess: Update from config.git.
18957 * scripts/config.sub: Likewise.
18959 2012-10-04 Roland McGrath <roland@hack.frob.com>
18961 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18962 * misc/madvise.c (madvise): Renamed to __madvise.
18963 Make madvise a weak alias.
18964 * include/sys/mman.h: Declare __madvise.
18965 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18966 * sysdeps/unix/syscalls.list
18967 (madvise): Make __madvise the strong name, and madvise a weak alias.
18968 * sysdeps/unix/sysv/linux/syscalls.list
18969 (madvise, mmap): Remove redundant entries.
18970 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18971 * malloc/malloc.c (mtrim): Likewise.
18972 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18974 2012-10-03 Roland McGrath <roland@hack.frob.com>
18976 * sysdeps/mach/hurd/dl-cache.c: File removed.
18977 * config.h.in (USE_LDCONFIG): New #undef.
18978 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18979 * configure: Regenerated.
18980 * elf/Makefile (dl-routines): Add dl-cache only under
18981 [$(use-ldconfig) = yes].
18982 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18983 cache on [USE_LDCONFIG].
18984 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18986 * elf/rtld.c (dl_main): Likewise.
18988 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18990 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18991 _SC_LEVEL4_CACHE_LINESIZE.
18993 2012-10-03 Roland McGrath <roland@hack.frob.com>
18995 * sysdeps/unix/bsd/confstr.h: File removed.
18997 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18999 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19002 2012-10-02 Roland McGrath <roland@hack.frob.com>
19004 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19005 Make 'mapoff' field ElfW(Off) rather than off_t.
19007 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19009 * nscd/Makefile: Remove nscd-cflags and all its users.
19010 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19011 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19014 * malloc.c (malloc_printerr): Clarify error message.
19016 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19020 Set bit_FMA_Usable if FMA is supported.
19021 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19023 (bit_FMA4_Usable): Updated.
19024 (index_FMA_Usable): New macro.
19025 (CPUID_FMA): Likewise
19026 (HAS_FMA): Defined with bit_FMA_Usable.
19028 2012-10-01 Roland McGrath <roland@hack.frob.com>
19030 * bits/types.h (__swblk_t): Type removed.
19031 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19032 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19034 (__SWBLK_T_TYPE): Likewise.
19035 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19036 (__SWBLK_T_TYPE): Likewise.
19037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19038 (__SWBLK_T_TYPE): Likewise.
19039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19040 (__SWBLK_T_TYPE): Likewise.
19042 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19043 Honza Horak <hhorak@redhat.com>
19045 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19046 (xdr_mapname): Use YPMAXMAP as maxsize.
19047 (xdr_peername): Use YPMAXPEER as maxsize.
19048 (xdr_keydat): Use YPAXRECORD as maxsize.
19049 (xdr_valdat): Use YPMAXRECORD as maxsize.
19051 2012-10-01 Roland McGrath <roland@hack.frob.com>
19053 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19055 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19056 * csu/init-first.c: ... here.
19057 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19058 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19059 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19060 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19061 * sysdeps/i386/init-first.c: File removed.
19062 * sysdeps/sh/init-first.c: File removed.
19064 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19068 if x * y might underflow to zero and z is zero.
19069 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19071 * math/libm-test.inc (min_subnorm_value): New variable.
19072 (fma_test): Add more tests.
19073 (fma_test_towardzero): Likewise.
19074 (fma_test_downward): Likewise
19075 (fma_test_upward): Likewise.
19076 (initialize): Set min_subnorm_value.
19078 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19083 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19084 mode for addition resulting in exact zero.
19085 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19090 * math/libm-test.inc (fma_test): Add more tests.
19091 (fma_test_towardzero): New function.
19092 (fma_test_downward): Likewise.
19093 (fma_test_upward): Likewise.
19094 (main): Call the new functions.
19096 2012-09-28 David S. Miller <davem@davemloft.net>
19098 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19100 2012-09-28 Roland McGrath <roland@hack.frob.com>
19102 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19103 instead of SIGALRM.
19105 * sysdeps/gnu/_G_config.h: Moved to ...
19106 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19107 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19108 * sysdeps/generic/_G_config.h: ... here.
19110 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19112 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19114 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19115 Conditionalize target on [libnss_test1.so-version].
19117 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19119 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19120 (elfobjdir): Move out of conditionals.
19122 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19123 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19124 (__nss_lookup_function): Conditionalize label remove_from_tree on
19125 [!DO_STATIC_NSS || SHARED], matching its only use.
19127 2012-09-28 David S. Miller <davem@davemloft.net>
19129 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19132 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19136 when HWCAP_SPARC_CRYPTO is present.
19138 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19140 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19142 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19145 * stdio-common/vfprintf.c (process_string_arg): Revert
19148 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19150 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19152 * stdio-common/tst-sprintf.c: Include <locale.h>
19153 (main): Test sprintf's handling of incomplete multibyte
19156 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19158 * elf/dl-runtime.c (VERSYMIDX): Removed.
19159 * elf/dl-version.c (VERSYMIDX): Likewise.
19160 * elf/do-rel.h (VERSYMIDX): Likewise.
19161 (VALIDX): Likewise.
19162 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19163 * elf/rtld.c (VALIDX): Likewise.
19164 (ADDRIDX): Likewise.
19165 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19166 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19167 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19168 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19169 (VALIDX): Likewise.
19170 (ADDRIDX): Likewise.
19172 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19174 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19176 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19179 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19181 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19182 addresses are in the same scope as 192.0.2/24.
19183 * posix/gai.conf: Document new scope table defaults.
19185 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19188 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19189 for ftell. Compute offsets from write pointers instead.
19190 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19192 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19195 * libio/Makefile (tests): New test case tst-fseek.
19196 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19197 combination works in wide mode.
19198 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19199 state when the external buffer state changes.
19201 2012-09-27 David S. Miller <davem@davemloft.net>
19204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19205 pass reloc->r_addend in as the 'high' argument to
19206 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19210 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19212 * rt/tst-aio2.c: Include <pthread.h>.
19213 * rt/tst-aio3.c: Likewise.
19215 2012-09-27 Steve Ellcey <sellcey@mips.com>
19217 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19219 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19221 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19222 contents on [SHARED].
19224 2012-09-26 Marek Polacek <polacek@redhat.com>
19228 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19229 for C++ and GCC <4.3 as well as for non GCC compilers.
19231 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19235 2012-09-25 Roland McGrath <roland@hack.frob.com>
19237 * Makefile.in (all, install): Declare with .PHONY.
19238 Reported by Michael Hope <michael.hope@linaro.org>.
19240 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19242 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19243 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19245 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19247 (sydep_routines): Add the new and the internal functions.
19248 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19249 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19251 (GLIBC_2.17): Add the new function.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19253 (GLIBC_2.17): Likewise.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19255 (GLIBC_2.17): Likewise.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19257 (GLIBC_2.17): Likewise.
19258 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19260 2012-09-25 Alan Modra <amodra@gmail.com>
19262 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19263 Add release barrier before setting once_control to say
19264 initialisation is done. Add hints on lwarx. Use macro in
19266 (clear_once_control): Add release barrier.
19268 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19271 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19273 * math/s_clog10.c (__clog10): Likewise.
19274 * math/s_clog10f.c (__clog10f): Likewise.
19275 * math/s_clog10l.c (__clog10l): Likewise.
19276 * math/s_clogf.c (__clogf): Likewise.
19277 * math/s_clogl.c (__clogl): Likewise.
19278 * math/Makefile (libm-calls): Add x2y2m1.
19279 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19280 (__x2y2m1): Likewise.
19281 (__x2y2m1l): Likewise.
19282 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19283 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19286 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19287 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19288 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19289 * sysdeps/i386/fpu/libm-test-ulps: Update.
19290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19294 int as type of variable DEPTH.
19295 (glob): Use size_t instead of int as type of variables NEWCOUNT
19298 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19300 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19301 Add s_sincosf-sse2.
19302 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19303 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19304 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19305 macros for using routine as __sincosf_ia32.
19306 Use macro for function declaration and weak_alias.
19307 * sysdeps/i386/fpu/libm-test-ulps: Update.
19309 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19312 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19313 subnormal argument.
19314 * math/s_cexpf.c (__cexpf): Likewise.
19315 * math/s_csinf.c (__csinf): Likewise.
19316 * math/s_csinhf.c (__csinhf): Likewise.
19317 * math/s_ctanf.c (__ctanf): Likewise.
19318 * math/s_ctanhf.c (__ctanhf): Likewise.
19319 * math/s_ccosh.c (__ccoshf): Likewise.
19320 * math/s_cexp.c (__cexpl): Likewise.
19321 * math/s_csin.c (__csin): Likewise.
19322 * math/s_csinh.c (__csinh): Likewise.
19323 * math/s_ctan.c (__ctan): Likewise.
19324 * math/s_ctanh.c (ctanh): Likewise.
19325 * math/s_ccoshl.c (__ccoshl): Likewise.
19326 * math/s_cexpl.c (__cexpl): Likewise.
19327 * math/s_csinl.c (__csinl): Likewise.
19328 * math/s_csinhl.c (__csinhl): Likewise.
19329 * math/s_ctanl.c (__ctanl): Likewise.
19330 * math/s_ctanhl.c (__ctanhl): Likewise.
19332 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19334 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19335 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19336 (_IO_off_t): Define to __off_t, not _G_off_t.
19337 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19338 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19339 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19340 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19341 type of __dummy and __dummy2 fields.
19342 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19343 (_G_ssize_t): Likewise.
19344 (_G_off_t): Likewise.
19345 (_G_pid_t): Likewise.
19346 (_G_uid_t): Likewise.
19347 (_G_wchar_t): Likewise.
19348 (_G_wint_t): Likewise.
19349 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19350 (_G_ssize_t): Likewise.
19351 (_G_off_t): Likewise.
19352 (_G_pid_t): Likewise.
19353 (_G_uid_t): Likewise.
19354 (_G_wchar_t): Likewise.
19355 (_G_wint_t): Likewise.
19356 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19357 (_G_ssize_t): Likewise.
19358 (_G_off_t): Likewise.
19359 (_G_pid_t): Likewise.
19360 (_G_uid_t): Likewise.
19361 (_G_wchar_t): Likewise.
19362 (_G_wint_t): Likewise.
19364 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19366 * malloc/arena.c: Include malloc-sysdep.h.
19367 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19368 is sufficient to shrink the heap or an unmap is needed.
19369 * sysdeps/generic/malloc-sysdep.h: New file. Define
19370 new function check_may_shrink_heap.
19371 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19372 new function check_may_shrink_heap.
19374 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19376 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19379 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19381 * catgets/test-gencat.sh: Add "set -e".
19382 * elf/tst-pathopt.sh: Likewise.
19383 * grp/tst_fgetgrent.sh: Likewise.
19384 * iconvdata/run-iconv-test.sh: Likewise.
19385 * intl/tst-gettext.sh: Likewise.
19386 * intl/tst-gettext2.sh: Likewise.
19387 * intl/tst-gettext4.sh: Likewise.
19388 * intl/tst-gettext6.sh: Likewise.
19389 * intl/tst-translit.sh: Likewise.
19390 * io/ftwtest-sh: Likewise.
19391 * libio/test-freopen.sh: Likewise.
19392 * malloc/tst-mtrace.sh: Likewise.
19393 * posix/globtest.sh: Likewise.
19394 * posix/tst-getconf.sh: Likewise.
19395 * posix/wordexp-tst.sh: Likewise.
19396 * stdio-common/tst-printf.sh: Likewise.
19397 * stdio-common/tst-unbputc.sh: Likewise.
19398 * stdlib/tst-fmtmsg.sh: Likewise.
19399 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19400 * catgets/Makefile: Do not specify -e option when running
19401 testsuite shell scripts.
19402 * elf/Makefile: Likewise.
19403 * grp/Makefile: Likewise.
19404 * iconvdata/Makefile: Likewise.
19405 * intl/Makefile: Likewise.
19406 * io/Makefile: Likewise.
19407 * libio/Makefile: Likewise.
19408 * malloc/Makefile: Likewise.
19409 * posix/Makefile: Likewise.
19410 * stdio-common/Makefile: Likewise.
19411 * stdlib/Makefile: Likewise.
19412 * sysdeps/x86_64/Makefile: Likewise.
19414 * io/ftwtest-sh: Add copyright header.
19415 * posix/globtest.sh: Likewise.
19416 * posix/tst-getconf.sh: Likewise.
19417 * posix/wordexp-tst.sh: Likewise.
19418 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19420 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19423 * Makeconfig (+link): Defined as $(+link-static) if
19424 $(build-shared) isn't yes.
19425 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19427 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19429 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19432 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19433 new chunk size with MALLOC_ALIGN_MASK.
19435 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19438 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19440 (__printf_fphex): Determine rounding using get_rounding_mode and
19442 * stdio-common/tst-printf-round.c (struct hex_test): New
19444 (hex_tests): New variable.
19445 (test_hex_in_one_mode): New function.
19446 (do_test): Also run tests for hex float output.
19448 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19450 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19451 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19452 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19453 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19454 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19455 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19456 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19457 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19459 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19461 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19462 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19463 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19464 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19466 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19469 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19471 * elf/tst-rtld-load-self.sh: New test.
19472 * elf/Makefile: Run it.
19474 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19476 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19477 (tst-writev-ENV): Remove.
19478 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19480 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19482 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19484 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19486 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19488 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19490 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19491 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19492 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19495 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19498 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19499 * config.make.in (have-cpp-asm-debuginfo): Removed.
19500 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19501 * configure: Regenerated.
19503 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19506 * stdio-common/printf_fp.c: Include <stdbool.h> and
19508 (___printf_fp): Determine rounding using get_rounding_mode and
19510 * stdio-common/tst-printf-round.c: New file.
19511 * stdio-common/Makefile (tests): Add tst-printf-round.
19512 (link-libm): New variable.
19513 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19515 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19518 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19519 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19521 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19524 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19526 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19527 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19528 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19529 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19531 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19534 * include/rounding-mode.h: New file.
19535 * sysdeps/generic/get-rounding-mode.h: Likewise.
19536 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19537 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19538 (MAX_VALUE): New macro.
19539 (MIN_VALUE): Likewise.
19540 (overflow_value): New function.
19541 (underflow_value): Likewise.
19542 (round_and_return): Use overflow_value and underflow_value to
19543 determine return values in overflow and underflow cases. Use
19544 round_away to determine rounding depending on rounding mode.
19545 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19546 determine return values in overflow and underflow cases.
19547 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19548 (struct test_results): New structure.
19549 (struct test): Use struct test_results to store expected results
19550 for all rounding modes.
19551 (TEST): Include expected results for all rounding modes.
19552 (test_in_one_mode): New function.
19553 (do_test): Use test_in_one_mode to compute and check results.
19554 Check results for all rounding modes.
19555 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19558 2012-12-09 Allan McRae <allan@archlinux.org>
19560 * sysdeps/i386/fpu/libm-test-ulps: Update
19562 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19564 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19565 (_G_int32_t): Likewise.
19566 (_G_uint16_t): Likewise.
19567 (_G_uint32_t): Likewise.
19568 (_G_HAVE_BOOL): Likewise.
19569 (_G_HAVE_ATEXIT): Likewise.
19570 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19571 (_G_HAVE_IO_FILE_OPEN): Likewise.
19572 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19573 (_G_int32_t): Likewise.
19574 (_G_uint16_t): Likewise.
19575 (_G_uint32_t): Likewise.
19576 (_G_HAVE_BOOL): Likewise.
19577 (_G_HAVE_ATEXIT): Likewise.
19578 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19579 (_G_HAVE_IO_FILE_OPEN): Likewise.
19580 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19581 (_G_int32_t): Likewise.
19582 (_G_uint16_t): Likewise.
19583 (_G_uint32_t): Likewise.
19584 (_G_HAVE_BOOL): Likewise.
19585 (_G_HAVE_ATEXIT): Likewise.
19586 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19587 (_G_HAVE_IO_FILE_OPEN): Likewise.
19589 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19591 * csu/libc-tls.c: Update copyright years.
19593 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19595 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19596 [!_G_USING_THUNKS]: Remove conditional code.
19597 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19598 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19600 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19601 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19602 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19603 (_G_VTABLE_LABEL_PREFIX): Likewise.
19604 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19605 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19606 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19607 (_G_VTABLE_LABEL_PREFIX): Likewise.
19608 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19609 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19610 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19611 (_G_VTABLE_LABEL_PREFIX): Likewise.
19612 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19614 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19616 * libio/Makefile: Include ../Makeconfig before tests.
19617 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19618 only if $(build-shared) is yes.
19620 * iconv/gconv_db.c: Update copyright years.
19622 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19624 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19625 unwind info if defined PIC. Fix special cases description.
19626 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19628 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19630 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19632 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19634 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19636 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19639 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19640 (LDLIBS-tst-chk4): This.
19641 (LDFLAGS-tst-chk5): Renamed to ...
19642 (LDLIBS-tst-chk5): This.
19643 (LDFLAGS-tst-chk6): Renamed to ...
19644 (LDLIBS-tst-chk6): This.
19645 (LDFLAGS-tst-lfschk4): Renamed to ...
19646 (LDLIBS-tst-lfschk4): This.
19647 (LDFLAGS-tst-lfschk5): Renamed to ...
19648 (LDLIBS-tst-lfschk5): This.
19649 (LDFLAGS-tst-lfschk6): Renamed to ...
19650 (LDLIBS-tst-lfschk6): This.
19652 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19653 on $(common-objpfx)soversions.mk.
19655 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19658 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19661 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19663 * malloc/arena.c (arena_get_retry): New function that gets
19664 another arena for the caller to try its request on.
19665 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19666 current arena cannot fulfill the request.
19667 (__libc_memalign): Likewise.
19668 (__libc_memalign): Likewise.
19669 (__libc_pvalloc): Likewise.
19670 (__libc_calloc): Likewise.
19672 2012-09-05 John Tobey <john.tobey@gmail.com>
19675 * manual/arith.texi (Operations on Complex): Fix description
19676 of carg branch cut.
19678 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19681 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19685 * manual/memory.texi (Memory): Make order of menu items match
19688 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19690 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19691 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19692 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19694 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19696 * csu/libc-tls.c (static_dtv): Renamed to ...
19697 (_dl_static_dtv): This. Make it global.
19698 (_dl_initial_dtv): Removed.
19699 (__libc_setup_tls): Updated.
19700 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19701 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19704 2012-09-06 Petr Machata <pmachata@redhat.com>
19706 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19707 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19708 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19709 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19711 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19714 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19715 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19718 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19721 * Makeconfig (link-static-before-libc): Replace $(+prector)
19723 (link-static-after-libc): Replace $(+postctor) with
19725 (link-bounded): Replace $(+prector)/$(+postctor) with
19726 $(+prectorT)/$(+postctorT).
19727 (+prectorT): New macro.
19728 (+postctorT): Likewise.
19730 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19732 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19733 (round_str): Handle values above the maximum for IBM long double
19735 * stdlib/tst-strtod-round.c (tests): Regenerated.
19737 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19739 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19741 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19742 zarch_nohighgprs around the zarch optimized routines.
19743 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19744 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19745 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19748 2012-09-05 David S. Miller <davem@davemloft.net>
19750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19752 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19753 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19754 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19755 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19758 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19760 * malloc/arena.c: Fold copyright years.
19761 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19763 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19765 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19767 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19769 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19771 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19773 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19774 change internal state upon failure.
19776 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19778 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19779 * malloc/memusage.c (mmap): Likewise.
19780 (mmap64, mremap): Likewise. Adjust name in comment.
19782 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19784 * libio/fileops.c: Fix typos in comments.
19785 * libio/oldfileops.c: Likewise.
19786 * libio/wfileops.c: Likewise.
19788 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19791 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19792 (tst-malloc-usable-ENV): Set environment for test case.
19793 * malloc/hooks.c (malloc_check_get_size): New function to get
19795 * malloc/malloc.c (musable): Use malloc_check_get_size.
19796 * malloc/tst-malloc-usable.c: New test case.
19798 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19800 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19802 2012-09-05 Allan McRae <allan@archlinux.org>
19805 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19806 determine header location.
19807 * configure: Regenerated.
19809 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19811 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19813 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19814 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19816 (test): Regenerate.
19818 2012-09-04 David S. Miller <davem@davemloft.net>
19820 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19821 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19824 2012-09-04 Florian Weimer <fweimer@redhat.com>
19826 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19829 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19831 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19834 * libio/iogetdelim.c: Include <limits.h>.
19835 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19836 + len + 1 would overflow.
19838 2012-09-03 Andreas Jaeger <aj@suse.de>
19840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19841 * sysdeps/i386/fpu/libm-test-ulps: Update.
19843 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19845 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19846 Add s_sinf-sse2, s_conf-sse2.
19848 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19849 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19850 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19851 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19853 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19854 for using routine as __sinf_ia32.
19855 Use macro for function declaration and weak_alias.
19856 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19857 for using routine as __cosf_ia32.
19858 Use macro for function declaration and weak_alias.
19860 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19861 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19863 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19864 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19867 * math/libm-test.inc (cos_test): Add more test cases.
19868 (sin_test): Likewise.
19869 (sincos_test): Likewise.
19871 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19873 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19874 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19878 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19881 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19882 first element of the GOT.
19883 (elf_machine_load_address): Return the difference between
19884 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19886 2012-09-01 Allan McRae <allan@archlinux.org>
19889 * configure.in (AWK): Require gawk version 3.0 or later.
19890 * configure: Regenerated.
19892 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19894 * sysdeps/unix/sysv/linux/kernel-features.h
19895 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19896 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19897 [__NR_clock_getres]: Make code unconditional.
19898 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19899 (clock_getcpuclockid): Remove code left unreachable by removal of
19901 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19902 code unconditional.
19903 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19904 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19905 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19906 Make code unconditional.
19907 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19908 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19909 * sysdeps/unix/sysv/linux/clock_settime.c
19910 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19912 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19913 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19915 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19918 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19919 scripts/test-installation.pl.
19921 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19922 and $ld_so_version if it is set.
19924 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19927 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19928 failure if reading from procfs failed.
19929 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19931 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19933 * sysdeps/unix/sysv/linux/kernel-features.h
19934 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19935 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19936 Remove conditional code.
19937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19938 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19939 Remove conditional code.
19940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19941 * sysdeps/unix/sysv/linux/i386/fxstat.c
19942 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19944 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19945 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19946 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19947 * sysdeps/unix/sysv/linux/i386/lxstat.c
19948 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19949 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19950 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19951 Remove conditional code.
19952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19953 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19954 Remove conditional code.
19955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19956 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19957 <kernel-features.h>.
19958 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19960 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19961 Remove conditional code.
19962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19963 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19964 Remove conditional.
19966 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19969 * NEWS: Add fixed bug number.
19971 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19974 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19975 underflowing exponent in case of negative sign.
19976 * stdlib/tst-strtod-round-data: Add more tests.
19977 * stdlib/tst-strtod-round.c (tests): Regenerated.
19980 * stdlib/strtod_l.c (NDIG): Remove.
19981 (HEXNDIG): Likewise.
19982 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19983 smallest representable value.
19984 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19985 lie within an exact representation of 1/2 ulp of the result.
19986 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19988 (TENS_P9_IDX): Define unconditionally.
19989 (TENS_P9_SIZE): Likewise.
19990 (TENS_P10_IDX): Likewise.
19991 (TENS_P10_SIZE): Likewise.
19992 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19993 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19994 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19995 entries for 10^2^13 and 10^2^14.
19996 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19997 (TENS_P13_IDX): Define.
19998 (TENS_P13_SIZE): Likewise.
19999 (TENS_P14_IDX): Likewise.
20000 (TENS_P14_SIZE): Likewise.
20001 (_fpioconst_pow10): Change array size to
20002 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20004 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20005 1024]: Add entries for 10^2^13 and 10^2^14.
20006 [LAST_POW10 > _LAST_POW10]: Remove #error.
20007 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20008 (_fpioconst_pow10): Change array size to
20009 FPIOCONST_POW10_ARRAY_SIZE.
20010 * stdlib/gen-fpioconst.c: New file.
20011 * stdlib/gen-tst-strtod-round.c: Likewise.
20012 * stdlib/tst-strtod-round-data: Likewise.
20013 * stdlib/tst-strtod-round.c: Likewise.
20014 * stdlib/Makefile (tests): Add tst-strtod-round.
20017 * stdlib/strtod_l.c: Include <stdint.h>.
20018 (NDEBUG): Do not define.
20019 (round_and_return): Change EXPONENT parameter to type intmax_t.
20020 Rearrange calculations to avoid internal overflow possibilities.
20021 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20022 Rearrange calculations to avoid internal overflow possibilities.
20023 Assert that number fits inside MPNSIZE limbs.
20024 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20025 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20026 calculations and add assertions to avoid internal overflow
20027 possibilities. Add casts to avoid signed/unsigned operations.
20028 * stdlib/tst-strtod-overflow.c: New file.
20029 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20031 2012-08-25 Marek Polacek <polacek@redhat.com>
20033 * time/time.h: Fix some typos in comments.
20035 2012-08-23 Roland McGrath <roland@hack.frob.com>
20037 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20038 * posix/tst-rfc3484-2.c: Likewise.
20039 * posix/tst-rfc3484-3.c: Likewise.
20041 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20043 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20044 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20046 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20048 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20049 #include of fxstatat64.c.
20051 2012-08-22 Roland McGrath <roland@hack.frob.com>
20053 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20054 * shadow/getspent_r.c: Likewise.
20055 * shadow/getspnam.c: Likewise.
20056 * shadow/getspnam_r.c: Likewise.
20057 * gshadow/getsgent.c: Likewise.
20058 * gshadow/getsgent_r.c: Likewise.
20059 * gshadow/getsgnam.c: Likewise.
20060 * gshadow/getsgnam_r.c: Likewise.
20061 * inet/getnetbyad.c: Likewise.
20062 * inet/getnetbyad_r.c: Likewise.
20063 * inet/getnetbynm.c: Likewise.
20064 * inet/getnetbynm_r.c: Likewise.
20065 * inet/getnetent.c: Likewise.
20066 * inet/getnetent_r.c: Likewise.
20067 * inet/getproto.c: Likewise.
20068 * inet/getproto_r.c: Likewise.
20069 * inet/getprtent.c: Likewise.
20070 * inet/getprtent_r.c: Likewise.
20071 * inet/getprtname.c: Likewise.
20072 * inet/getprtname_r.c: Likewise.
20073 * inet/getrpcbyname.c: Likewise.
20074 * inet/getrpcbyname_r.c: Likewise.
20075 * inet/getrpcbynumber.c: Likewise.
20076 * inet/getrpcbynumber_r.c: Likewise.
20077 * inet/getrpcent.c: Likewise.
20078 * inet/getrpcent_r.c: Likewise.
20079 * inet/getaliasent.c: Likewise.
20080 * inet/getaliasent_r.c: Likewise.
20081 * inet/getaliasname.c: Likewise.
20082 * inet/getaliasname_r.c: Likewise.
20083 * nscd/getgrgid_r.c: Likewise.
20084 * nscd/getgrnam_r.c: Likewise.
20085 * nscd/gethstbyad_r.c: Likewise.
20086 * nscd/gethstbynm3_r.c: Likewise.
20087 * nscd/getpwnam_r.c: Likewise.
20088 * nscd/getpwuid_r.c: Likewise.
20089 * nscd/getsrvbynm_r.c: Likewise.
20090 * nscd/getsrvbypt_r.c: Likewise.
20091 * nscd/gai.c: Likewise.
20093 * configure.in (build_nscd): New substituted variable, set
20094 by --disable-build-nscd and defaults to $use_nscd.
20095 * configure: Regenerated.
20096 * config.make.in (build-nscd): New substituted variable.
20097 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20098 Change conditional to require [$(build-nscd) = yes] as well.
20099 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20102 * configure.in (use_nscd): New substituted variable, set by
20103 --disable-nscd. If enabled, define USE_NSCD.
20104 * configure: Regenerated.
20105 * config.h.in: Add USE_NSCD.
20106 * config.make.in (use-nscd): New substituted variable.
20107 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20108 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20109 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20110 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20111 (CFLAGS-getgrnam_r.c): Likewise.
20112 (CFLAGS-initgroups.c): Likewise.
20113 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20114 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20116 * inet/getnetgrent_r.c
20117 (nscd_setnetgrent): New function, broken out of ...
20118 (setnetgrent): ... here. Call it.
20119 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20120 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20121 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20122 * nscd/Makefile (routines, aux): Move definitions after include of
20123 Makeconfig. Conditionalize on [$(use-nscd) != no].
20124 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20125 Conditionalize on [USE_NSCD].
20126 (is_nscd, nscd_init_cb): Likewise.
20127 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20128 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20129 * nss/nss_db/db-init.c: Likewise.
20130 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20132 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20133 (make_request): Use it.
20134 (cache_valid_p): New function.
20135 (__check_pf): Use it.
20136 * NEWS: Add item for --disable-nscd.
20138 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20140 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20141 to support sed >= 4.2.1-20-ga9bf076.
20142 * configure: Regenerated.
20144 2012-08-22 Roland McGrath <roland@hack.frob.com>
20146 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20147 Conditionalize whole body on [IREL].
20149 2012-08-22 Jeff Law <law@redhat.com>
20152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20153 if the family is PF_UNSPEC.
20155 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20157 * Makerules (lib-version): Rename from V.
20158 (install-lib-nosubdir): Change V to lib-version.
20160 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20163 * powerpc32/power6/wcschr.c: New file.
20164 * powerpc32/power6/wcscpy.c: New file.
20165 * powerpc32/power6/wcsrchr.c: New file.
20166 * powerpc64/power6/wcschr.c: New file.
20167 * powerpc64/power6/wcscpy.c: New file.
20168 * powerpc64/power6/wcsrchr.c: New file.
20170 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20172 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20173 (two_way_short_needle): Use it.
20174 * string/strstr.c (AVAILABLE1_USES_J): Define.
20175 * string/strcasestr.c: Likewise.
20177 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20179 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20182 * NEWS: Add an entry.
20183 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20184 define their defaults.
20185 (two_way_short_needle): Detect end-of-string on-the-fly.
20186 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20187 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20188 * string/bug-strcasestr1.c: New test.
20189 * string/Makefile: Run it.
20191 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20194 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20195 the first character.
20197 2012-08-21 Roland McGrath <roland@hack.frob.com>
20199 * csu/elf-init.c (__libc_csu_irel): Function removed.
20200 * csu/libc-start.c (apply_irel): New function.
20201 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20203 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20205 * sysdeps/unix/sysv/linux/kernel-features.h
20206 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20207 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20208 <kernel-features.h>.
20209 [__NR_fadvise64_64]: Make code unconditional.
20210 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20211 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20212 !__NR_fadvise64_64)]: Likewise.
20213 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20214 !__NR_fadvise64_64))]: Likewise.
20215 [__NR_fadvise64]: Make code unconditional.
20216 [!__NR_fadvise64]: Remove conditional code.
20217 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20218 <kernel-features.h>.
20219 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20221 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20224 not include <kernel-features.h>.
20225 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20227 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20229 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20230 include <kernel-features.h>.
20231 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20233 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20236 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20238 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20239 slight instruction rearrangements per scrollpipe analysis.
20240 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20242 2012-08-20 Roland McGrath <roland@hack.frob.com>
20244 * manual/syslog.texi (syslog; vsyslog, closelog):
20245 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20246 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20248 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20249 DSOCAPS to match condition on defining it.
20251 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20253 * sysdeps/unix/sysv/linux/kernel-features.h
20254 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20256 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20257 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20259 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20260 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20262 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20263 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20265 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20266 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20268 * sysdeps/unix/sysv/linux/kernel-features.h
20269 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20270 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20272 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20273 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20274 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20275 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20276 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20277 Make code unconditional.
20278 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20279 (__mmap64) [!__NR_mmap2]: Likewise.
20280 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20281 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20282 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20283 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20284 [__NR_mmap2]: Make code unconditional.
20285 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20286 (__mmap64) [!__NR_mmap2]: Likewise.
20288 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20290 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20292 2012-08-18 Andreas Jaeger <aj@suse.de>
20294 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20296 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20298 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20299 * include/unistd.h (__have_sock_cloexec): Likewise.
20300 (__have_pipe2): Likewise.
20301 (__have_dup3): Likewise.
20303 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20306 * include/unistd.h (__have_pipe2): Change define into an extern int.
20307 (__have_dup3): Likewise.
20308 * socket/have_sock_cloexec.c: Include fcntl.h.
20309 (__have_pipe2): New variable.
20310 (__have_dup3): Likewise.
20312 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20314 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20316 2012-08-17 Marek Polacek <polacek@redhat.com>
20318 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20319 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20321 2012-08-17 Roland McGrath <roland@hack.frob.com>
20323 * configure.in: Add AC_SUBST for sysheaders.
20324 * configure: Regenerated.
20325 * config.make.in (sysheaders): New substituted variable.
20327 * sysdeps/unix/mkfifo.c: Moved ...
20328 * sysdeps/posix/mkfifo.c: ... here.
20329 * sysdeps/unix/mkfifoat.c: Moved ...
20330 * sysdeps/posix/mkfifoat.c: ... here.
20332 * sysdeps/unix/utime.c: Moved ...
20333 * sysdeps/posix/utime.c: ... here.
20335 * sysdeps/unix/time.c: Moved ...
20336 * sysdeps/posix/time.c: ... here.
20337 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20338 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20340 * sysdeps/unix/nice.c: Moved ...
20341 * sysdeps/posix/nice.c: ... here.
20343 * sysdeps/unix/alarm.c: Moved ...
20344 * sysdeps/posix/alarm.c: ... here.
20346 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20348 2012-08-17 Jeff Law <law@redhat.com>
20350 * intl/Makefile (codeset_mo): New variable.
20351 ($(codeset_mo)): New target.
20352 (tst-codeset.out): Depend on that. Remove explicit rule.
20353 (tst-gettext3.out, tst-gettext5.out): Likewise.
20354 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20355 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20356 * intl/tst-codeset.sh: Remove.
20357 * intl/tst-gettext3.sh: Likewise.
20358 * intl/tst-gettext5.sh: Likewise.
20360 2012-08-17 Roland McGrath <roland@hack.frob.com>
20362 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20363 * sysdeps/unix/syscalls.list: ... here.
20365 * sysdeps/posix/getaddrinfo.c
20366 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20367 (gaiconf_init, gaiconf_reload): Use them.
20368 [!_STATBUF_ST_NSEC]
20369 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20370 Define using time_t rather than struct timespec.
20372 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20373 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20375 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20377 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20378 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20381 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20382 __libc_cleanup_push argument.
20384 * bits/param.h: New file.
20385 * misc/sys/param.h: New file.
20386 * include/sys/param.h: New file.
20387 * misc/Makefile (headers): Add bits/param.h.
20388 * sysdeps/generic/sys/param.h: File removed.
20389 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20390 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20391 * sysdeps/mach/hurd/bits/param.h: New file.
20392 * sysdeps/mach/hurd/sys/param.h: File removed.
20394 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20397 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20399 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20400 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20403 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20404 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20405 rather than -D_IO_MTSAFE_IO conditionally.
20406 * stdio-common/Makefile (CPPFLAGS): Likewise.
20407 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20408 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20409 Use $(libio-mtsafe).
20410 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20411 of -D_IO_MTSAFE_IO.
20412 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20413 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20414 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20415 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20416 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20417 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20418 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20419 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20420 (CFLAGS-fread_u_chk.c): Likewise.
20421 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20422 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20423 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20424 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20425 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20426 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20427 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20428 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20429 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20431 * libio/Makefile: Test [$(libc-reentrant) = yes]
20432 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20435 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20436 * sysdeps/pthread/configure: File removed.
20437 * sysdeps/pthread/Makeconfig: New file.
20438 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20439 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20441 2012-08-16 Gary Benson <gbenson@redhat.com>
20443 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20444 unmapping the first object in a namespace.
20446 2012-08-16 Roland McGrath <roland@hack.frob.com>
20448 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20449 (__internal_setnetgrent): ... this. Add internal_function to
20450 definition. Add libc_hidden_def.
20451 (setnetgrent): Update caller.
20452 (internal_endnetgrent): Renamed to ...
20453 (__internal_endnetgrent): ... this. Add internal_function to
20454 definition. Add libc_hidden_def.
20455 (endnetgrent): Update caller.
20456 (internal_getnetgrent_r): Renamed to ...
20457 (__internal_getnetgrent_r): ... this. Add internal_function to
20458 definition. Add libc_hidden_def.
20459 (__getnetgrent_r): Update caller.
20460 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20462 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20464 * stdlib/longlong.h: Update from GCC.
20466 2012-08-16 Roland McGrath <roland@hack.frob.com>
20468 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20469 on _QL, which is set by umul_ppmm but never used.
20470 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20471 variables, which are set by GMP macros but never used.
20472 * stdio-common/_itowa.c (_itowa): Likewise.
20473 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20474 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20476 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20478 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20479 struct La_sh_regs is not constant.
20480 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20481 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20482 and struct La_sparc64_regs are not constant.
20484 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20486 * sysdeps/unix/sysv/linux/kernel-features.h
20487 (__ASSUME_POSIX_TIMERS): Remove.
20488 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20489 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20490 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20491 Make code unconditional.
20492 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20493 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20494 Make code unconditional.
20495 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20496 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20497 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20498 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20499 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20500 Make code unconditional.
20501 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20502 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20503 (__libc_missing_posix_timers): Remove.
20505 2012-08-15 Roland McGrath <roland@hack.frob.com>
20507 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20508 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20510 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20512 * elf/dl-sym.c: Include <stdlib.h>.
20514 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20515 constants, which avoids warnings in 32-bit builds.
20517 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20518 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20520 * misc/lseek.c: File moved to ...
20521 * io/lseek.c: ... here.
20523 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20525 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20526 shifting LEN more than 31 bits at once.
20528 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20531 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20532 segmentation fault for a case of two empty input strings.
20533 * string/test-strncasecmp.c (check1): Renamed to...
20534 (bz12205): ...this.
20535 (bz14195): Add new testcase for two empty input strings and N > 0.
20536 (test_main): Call new testcase, adapt for renamed function.
20538 2012-08-15 Andreas Jaeger <aj@suse.de>
20541 * crypt/md5test2.c: New test, based on test supplied by Serge
20542 Belyshev <belyshev@depni.sinp.msu.ru>.
20543 * crypt/Makefile (xtests): Add md5test-giant..
20544 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20546 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20549 * crypt/md5.c (md5_process_block): Don't assume the buffer
20550 length is less than 2**32.
20551 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20552 length is less than 2**64.
20554 2012-08-15 Roland McGrath <roland@hack.frob.com>
20556 * string/str-two-way.h: Include <sys/param.h>.
20557 (MAX): Macro removed.
20559 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20560 Move #define and #undef of memmove to just before and after
20561 including <string.h>.
20563 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20564 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20565 and after including <string.h>. Move declarations of
20566 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20567 to before #include "string/memmove.c".
20569 * include/dirent.h: Declare __getdirentries.
20571 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20572 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20574 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20576 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20577 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20578 * sysdeps/i386/configure: Regenerated.
20579 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20580 STABS_CURRENT_FILE, and STABS_FUN.
20581 (END): Remove call to STABS_FUN_END.
20582 (STABS_CURRENT_FILE1): Delete.
20583 (STABS_CURRENT_FILE): Likewise.
20584 (STABS_FUN): Likewise.
20585 (STABS_FUN_END): Likewise.
20586 (STABS_FUN2): Likewise.
20587 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20588 * sysdeps/x86_64/configure: Regenerated.
20590 2012-08-14 Roland McGrath <roland@hack.frob.com>
20592 * elf/dl-open.c: Include <atomic.h>.
20593 * elf/dl-lookup.c: Likewise.
20595 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20597 * sysdeps/unix/sysv/linux/kernel-features.h
20598 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20599 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20601 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20603 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20604 condition on __ASSUME_CLONE_THREAD_FLAGS.
20606 2012-08-14 Andreas Jaeger <aj@suse.de>
20608 * sysdeps/i386/fpu/libm-test-ulps: Update.
20610 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20612 * include/atomic.h (atomic_exchange_and_add): Split into ...
20613 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20616 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20620 2012-08-13 Jeff Law <law@redhat.com>
20622 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20623 null byte in the output string.
20625 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20627 * sysdeps/unix/sysv/linux/kernel-features.h
20628 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20629 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20630 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20631 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20632 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20633 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20634 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20636 2012-08-09 Jeff Law <law@redhat.com>
20639 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20640 When avoid_arena is set, don't retry in the that arena. Pick the
20641 next one, whatever it might be.
20642 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20643 (arena_lock): Pass in new parameter to arena_get2.
20644 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20646 (__libc_malloc): Unify retrying after main arena failure with
20647 __libc_memalign version.
20648 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20650 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20653 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20654 to __redirect_strstr.
20655 (__strstr_sse42): Use typeof __redirect_strstr.
20656 (__strstr_ia32): Likewise.
20657 (__libc_strstr): New prototype.
20658 (strstr): Renamed to ...
20659 (__libc_strstr): This.
20660 (strstr): New strong alias of __libc_strstr.
20661 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20662 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20665 (__libc_time): New prototype.
20666 (time_ifunc): Replace time with __libc_time.
20667 (time): New strong alias and hidden definition of __libc_time.
20668 (__GI_time): Remove strong alias.
20669 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20670 Include <stddef.h>.
20671 (memmove): Redefined to __redirect_memmove.
20672 (__memmove_sse2): Use typeof __redirect_memmove.
20673 (__memmove_ssse3): Likewise.
20674 (__memmove_ssse3_back): Likewise.
20675 (__libc_memmove): New prototype.
20676 (memmove): Renamed to ...
20677 (__libc_memmove): This.
20678 (memmove): New strong alias of __libc_memmove.
20680 2012-08-08 Mark Salter <msalter@redhat.com>
20683 (R_MN10300_TLS_GD): Define.
20684 (R_MN10300_TLS_LD): Likewise.
20685 (R_MN10300_TLS_LDO): Likewise.
20686 (R_MN10300_TLS_GOTIE): Likewise.
20687 (R_MN10300_TLS_IE): Likewise.
20688 (R_MN10300_TLS_LE): Likewise.
20689 (R_MN10300_TLS_DTPMOD): Likewise.
20690 (R_MN10300_TLS_DTPOFF): Likewise.
20691 (R_MN10300_TLS_TPOFF): Likewise.
20692 (R_MN10300_SYM_DIFF): Likewise.
20693 (R_MN10300_ALIGN): Likewise.
20694 (R_MN10300_NUM): Update.
20696 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20701 2012-08-08 Roland McGrath <roland@hack.frob.com>
20703 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20705 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20706 sysdeps/unix -> sysdeps/posix move.
20707 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20709 2012-08-07 Allan McRae <allan@archlinux.org>
20712 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20713 (SUNOS_CPP): Likewise.
20714 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20716 (open_input): Call CPP using execvp.
20718 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20720 * sysdeps/unix/sysv/linux/kernel-features.h
20721 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20722 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20723 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20724 (__ASSUME_WAITID_SYSCALL): Likewise.
20725 * sysdeps/unix/sysv/linux/dl-execstack.c
20726 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20727 code unconditional.
20728 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20730 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20731 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20732 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20734 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20736 [__ASSUME_WAITID_SYSCALL]: Likewise.
20737 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20739 2012-08-07 Roland McGrath <roland@hack.frob.com>
20741 * sysdeps/unix/closedir.c: Renamed to ...
20742 * sysdeps/posix/closedir.c: ... here.
20743 * sysdeps/unix/dirfd.c: Renamed to ...
20744 * sysdeps/posix/dirfd.c: ... here.
20745 * sysdeps/unix/dirstream.h: Renamed to ...
20746 * sysdeps/posix/dirstream.h: ... here.
20747 * sysdeps/unix/fdopendir.c: Renamed to ...
20748 * sysdeps/posix/fdopendir.c: ... here.
20749 * sysdeps/unix/opendir.c: Renamed to ...
20750 * sysdeps/posix/opendir.c: ... here.
20751 * sysdeps/unix/readdir.c: Renamed to ...
20752 * sysdeps/posix/readdir.c: ... here.
20753 * sysdeps/unix/readdir_r.c: Renamed to ...
20754 * sysdeps/posix/readdir_r.c: ... here.
20755 * sysdeps/unix/rewinddir.c: Renamed to ...
20756 * sysdeps/posix/rewinddir.c: ... here.
20757 * sysdeps/unix/seekdir.c: Renamed to ...
20758 * sysdeps/posix/seekdir.c: ... here.
20759 * sysdeps/unix/telldir.c: Renamed to ...
20760 * sysdeps/posix/telldir.c: ... here.
20761 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20762 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20763 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20764 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20766 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20767 * bits/fcntl.h: ... here.
20769 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20771 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20772 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20773 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20774 (struct flock): Move l_start, l_len to the beginning.
20775 Use __pid_t for l_pid.
20776 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20777 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20778 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20779 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20780 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20781 [__USE_LARGEFILE64] (struct flock64): New type.
20782 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20784 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20785 * bits/dirent.h: ... here.
20787 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20788 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20790 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20792 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20793 Change from 2.6.0 to 2.6.16.
20794 * sysdeps/unix/sysv/linux/configure: Regenerated.
20795 * sysdeps/unix/sysv/linux/kernel-features.h
20796 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20797 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20799 (__ASSUME_UTIMES): Likewise.
20800 (__ASSUME_CLONE_STOPPED): Remove.
20801 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20802 architectures, not kernel version.
20803 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20804 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20805 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20806 (__ASSUME_WAITID_SYSCALL): Likewise.
20807 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20808 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20809 * README: State 2.6.16 as minimum Linux kernel version. Do not
20810 refer to older versions.
20812 2012-08-06 Roland McGrath <roland@hack.frob.com>
20814 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20815 Define alphasort64 as an alias.
20816 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20817 Define versionsort64 as an alias.
20818 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20819 Define scandir64 as an alias.
20820 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20821 Define scandirat64 as an alias.
20822 * dirent/alphasort64.c (alphasort64):
20823 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20824 * dirent/versionsort64.c: Likewise.
20825 * dirent/scandir64.c: Likewise.
20826 * dirent/scandirat64.c: Likewise.
20827 * sysdeps/wordsize-64/alphasort.c: File removed.
20828 * sysdeps/wordsize-64/alphasort64.c: File removed.
20829 * sysdeps/wordsize-64/scandir.c: File removed.
20830 * sysdeps/wordsize-64/scandir64.c: File removed.
20831 * sysdeps/wordsize-64/scandirat.c: File removed.
20832 * sysdeps/wordsize-64/scandirat64.c: File removed.
20833 * sysdeps/wordsize-64/versionsort.c: File removed.
20834 * sysdeps/wordsize-64/versionsort64.c: File removed.
20835 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20836 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20837 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20838 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20839 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20840 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20841 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20842 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20844 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20846 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20848 [defined __arch64__ || defined __sparcv9]
20849 (__INO_T_MATCHES_INO64_T): New macro.
20850 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20851 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20852 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20853 * sysdeps/unix/sysv/linux/bits/dirent.h
20854 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20855 (_DIRENT_MATCHES_DIRENT64): New macro.
20857 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20858 Define lockf64 as an alias.
20859 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20860 Define fseeko64 as an alias.
20861 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20862 Define ftello64 as an alias.
20863 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20864 Define _IO_fgetpos64 and fgetpos64 as aliases.
20865 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20866 Define _IO_fsetpos64 and fsetpos64 as aliases.
20867 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20868 Conditionalize body on this.
20869 * libio/fseeko64.c: Likewise.
20870 * libio/ftello64.c: Likewise.
20871 * libio/iofgetpos64.c: Likewise.
20872 * libio/iofsetpos64.c: Likewise.
20873 * sysdeps/wordsize-64/lockf.c: File removed.
20874 * sysdeps/wordsize-64/lockf64.c: File removed.
20875 * sysdeps/wordsize-64/fseeko.c: File removed.
20876 * sysdeps/wordsize-64/fseeko64.c: File removed.
20877 * sysdeps/wordsize-64/ftello.c: File removed.
20878 * sysdeps/wordsize-64/ftello64.c: File removed.
20879 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20880 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20881 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20882 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20884 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20885 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20886 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20887 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20888 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20889 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20890 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20891 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20892 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20894 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20896 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20898 [defined __arch64__ || defined __sparcv9]
20899 (__OFF_T_MATCHES_OFF64_T): New macro.
20900 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20901 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20903 (__OFF_T_MATCHES_OFF64_T): New macro.
20905 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20907 * stdlib/secure-getenv.c (__secure_getenv): Replace
20908 GLIBC_2_16 with GLIBC_2_17.
20910 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20912 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20915 2012-08-03 David S. Miller <davem@davemloft.net>
20917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20919 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20921 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20923 (__ASSUME_CORRECT_SI_PID): Likewise.
20924 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20925 (__ASSUME_TMPFS_NAME): Likewise.
20926 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20927 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20928 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20929 (HAVE_AUX_SECURE): Make definition unconditional.
20930 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20931 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20933 2012-08-03 Roland McGrath <roland@hack.frob.com>
20935 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20936 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20937 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20938 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20939 __eloop_threshold instead of SYMLOOP_MAX.
20941 * sysdeps/generic/eloop-threshold.h: New file.
20942 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20944 * elf/chroot_canon.c (chroot_canon): Likewise.
20946 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20950 Change to 2.6.0 everywhere.
20951 * sysdeps/unix/sysv/linux/configure: Regenerated.
20952 * sysdeps/unix/sysv/linux/kernel-features.h
20953 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20954 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20956 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20957 (__ASSUME_FUTEX_REQUEUE): Remove.
20958 (__ASSUME_STATFS64): Define unconditionally.
20959 (__ASSUME_AT_SECURE): Likewise.
20960 (__ASSUME_CORRECT_SI_PID): Likewise.
20961 (__ASSUME_TGKILL): Define without depending on kernel version for
20963 (__ASSUME_UTIMES): Likewise.
20964 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20966 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20967 (__ASSUME_TMPFS_NAME): Likewise.
20968 * README: Update reference to Linux kernel versions.
20970 2012-08-02 Marek Polacek <polacek@redhat.com>
20973 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20974 libc_cv_asm_type_prefix with %.
20975 * configure: Regenerated.
20976 * include/libc-symbols.h: Remove comment about
20977 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20978 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20979 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20980 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20981 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20982 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20983 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20984 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20985 * elf/tst-unique2mod1.c: Likewise.
20986 * elf/tst-unique1mod2.c: Likewise.
20987 * elf/tst-unique1mod1.c: Likewise.
20988 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20989 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20990 Replace ASM_TYPE_DIRECTIVE with .type.
20991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20992 * sysdeps/i386/sysdep.h: Likewise.
20993 * sysdeps/x86_64/sysdep.h: Likewise.
20994 * sysdeps/sh/sysdep.h: Likewise.
20995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20996 Do not define ASM_TYPE_DIRECTIVE.
20997 * sysdeps/powerpc/sysdep.h: Likewise.
20998 * sysdeps/powerpc/powerpc32/sysdep.h:
20999 Replace ASM_TYPE_DIRECTIVE with .type.
21000 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21001 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21002 * sysdeps/i386/fpu/e_powf.S: Likewise.
21003 * sysdeps/i386/fpu/e_expl.S: Likewise.
21004 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21006 * sysdeps/i386/fpu/e_pow.S: Likewise.
21007 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21008 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21009 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21010 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21011 * sysdeps/i386/fpu/e_log2.S: Likewise.
21012 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21013 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21014 * sysdeps/i386/fpu/e_powl.S: Likewise.
21015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21017 * sysdeps/i386/fpu/e_logl.S: Likewise.
21018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21019 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21020 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21021 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21022 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21023 * sysdeps/i386/fpu/e_log.S: Likewise.
21024 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21025 * sysdeps/i386/fpu/e_logf.S: Likewise.
21026 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21027 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21028 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21029 * sysdeps/i386/fpu/e_log10.S: Likewise.
21030 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21031 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21032 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21033 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21034 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21035 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21036 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21037 * sysdeps/i386/i686/strtok.S: Likewise.
21038 * sysdeps/i386/i386-mcount.S: Likewise.
21039 * sysdeps/i386/strtok.S: Likewise.
21040 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21041 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21042 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21043 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21044 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21045 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21046 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21047 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21048 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21049 * sysdeps/x86_64/_mcount.S: Likewise.
21050 * sysdeps/x86_64/strtok.S: Likewise.
21051 * sysdeps/sh/_mcount.S: Likewise.
21053 2012-08-01 Roland McGrath <roland@hack.frob.com>
21055 * libio/iofopen.c: Include <fcntl.h>.
21056 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21057 (_IO_fopen64, fopen64): Define as aliases.
21058 * libio/iofopen64.c: Include <fcntl.h>.
21059 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21060 Conditionalize body on this.
21061 * sysdeps/wordsize-64/iofopen.c: File removed.
21062 * sysdeps/wordsize-64/iofopen64.c: File removed.
21064 2012-08-01 Marek Polacek <polacek@redhat.com>
21066 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21067 Use dlfcn directly instead of a variable.
21068 (binfmt-subdir): Do not define.
21071 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21073 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21074 Remove all definitions.
21075 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21076 <kernel-features.h>.
21077 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21078 (miss_F_GETOWN_EX): Remove all definitions.
21079 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21081 [!__ASSUME_FCNTL64]: Remove conditional code.
21082 [__ASSUME_FCNTL64]: Make code unconditional.
21083 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21084 <kernel-features.h>.
21085 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21086 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21087 (lockf64) [__NR_fcntl64]: Make code unconditional.
21088 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21090 * sysdeps/unix/sysv/linux/kernel-features.h
21091 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21092 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21093 Make code unconditional.
21094 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21095 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21097 [__NR_vfork]: Make code unconditional.
21098 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21099 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21101 [__NR_vfork]: Make code unconditional.
21102 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21103 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21105 2012-08-01 Roland McGrath <roland@hack.frob.com>
21107 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21108 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21110 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21111 Define mkstemp64 as an alias.
21112 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21113 Define mkstemps64 as an alias.
21114 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21115 Define mkostemp64 as an alias.
21116 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21117 Define mkostemps64 as an alias.
21118 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21119 Conditionalize body on this.
21120 * misc/mkostemp64.c: Likewise.
21121 * misc/mkostemps64.c: Likewise.
21122 * misc/mkstemps64.c: Likewise.
21123 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21124 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21125 * sysdeps/wordsize-64/mkostemp.c: File removed.
21126 * sysdeps/wordsize-64/mkstemp.c: File removed.
21127 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21128 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21130 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21133 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21134 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21135 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21136 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21138 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21139 compat_symbol macros from <shlib-compat.h> rather than the underlying
21140 default_symbol_version and symbol_version macros, so that DEFAULT
21141 lines in shlib-versions are respected.
21142 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21144 2012-08-01 Florian Weimer <fweimer@redhat.com>
21146 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21147 Declare with warn_unused_result.
21148 (setgid, setregid, setegid, setresgid): Likewise.
21149 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21151 * WUR-REPORT: Remove set*id functions.
21153 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21155 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21157 2012-07-31 Roland McGrath <roland@hack.frob.com>
21160 * include/sys/socket.h (__libc_accept, __libc_accept4):
21161 Add attribute_hidden.
21162 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21164 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21166 * inet/getnetgrent_r.c (setup): Likewise.
21168 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21170 2012-07-31 David S. Miller <davem@davemloft.net>
21172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21174 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21177 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21178 value between 1.0 and 2.0 and smaller part has absolute value less
21180 * math/s_clog10.c (__clog10): Likewise.
21181 * math/s_clog10f.c (__clog10f): Likewise.
21182 * math/s_clog10l.c (__clog10l): Likewise.
21183 * math/s_clogf.c (__clogf): Likewise.
21184 * math/s_clogl.c (__clogl): Likewise.
21185 * math/libm-test.inc (clog_test): Add more tests.
21186 (clog10_test): Likewise.
21187 * sysdeps/i386/fpu/libm-test-ulps: Update.
21188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21190 2012-07-31 Florian Weimer <fweimer@redhat.com>
21192 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21193 Exit with zero in case no suitable GID is found, and write a
21194 message to standard error.
21196 2012-07-30 Roland McGrath <roland@hack.frob.com>
21198 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21200 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21201 (MAXPATHLEN): Removed.
21202 (NOGROUP, NODEV): New macros.
21203 (setbit, clrbit, isset, isclr): New macros.
21204 (howmany, roundup, powerof2): New macros.
21205 (DEV_BSIZE): New macro.
21207 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21208 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21210 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21211 definition on [!__NO_LONG_DOUBLE_MATH].
21213 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21214 PTR_MANGLE and PTR_DEMANGLE.
21216 * socket/accept4.c (accept4): Rename to __libc_accept4.
21217 Define accept4 as a weak alias.
21219 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21220 on [_DIRENT_HAVE_D_TYPE].
21221 * io/ftw.c (ftw_dir): Likewise.
21223 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21225 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21227 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21228 Use the BSD numbers rather than the arbitrary ones we had.
21229 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21230 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21231 (SIGXCPU, SIGXFSZ): New macros.
21234 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21235 initializer on [_LIBC_REENTRANT].
21237 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21238 definitions inside [_POSIX_MAPPED_FILES].
21240 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21242 * dirent/opendir.c: Include <fcntl.h>.
21244 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21245 (__libc_getspecific): Likewise.
21246 (__libc_key_create): Likewise.
21248 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21249 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21250 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21251 (tmpfile64): Define as alias.
21252 * sysdeps/wordsize-64/tmpfile.c: File removed.
21253 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21254 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21257 * stdio-common/vfscanf.c: Include <stdbool.h>.
21258 * nss/makedb.c: Likewise.
21259 * stdio-common/_i18n_number.h: Likewise.
21260 * argp/argp-help.c: Likewise.
21261 * posix/wordexp.c: Likewise.
21262 * sysdeps/posix/spawni.c: Likewise.
21263 * nss/nss_files/files-initgroups.c: Likewise.
21264 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21265 * nss/nss_files/files-initgroups.c: Likewise.
21266 * nss/nss_db/db-netgrp.c: Likewise.
21267 * nss/nss_db/db-initgroups.c: Likewise.
21268 * io/fchmodat.c: Include <sys/stat.h>.
21270 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21271 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21273 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21276 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21277 Add multiple inclusion protection.
21279 2012-07-27 David S. Miller <davem@davemloft.net>
21281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21283 2012-07-27 Gary Benson <gbenson@redhat.com>
21286 * elf/rtld.c: Include <stap-probe.h>.
21287 (dl_main): Added static probes "init_start" and "init_complete".
21288 * elf/dl-load.c: Include <stap-probe.h>.
21289 (lose): Take new parameter "nsid".
21290 Added static probe "map_failed".
21291 (_dl_map_object_from_fd): Pass namespace id to lose.
21292 Added static probe "map_start".
21293 (open_verify): Pass namespace id to lose.
21294 * elf/dl-open.c: Include <stap-probe.h>.
21295 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21296 and "reloc_complete".
21297 * elf/dl-close.c: Include <stap-probe.h>.
21298 (_dl_close_worker): Added static probes "unmap_start" and
21300 * elf/rtld-debugger-interface.txt: New file documenting the above.
21302 2012-07-26 Roland McGrath <roland@hack.frob.com>
21304 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21305 rather than a string variable.
21306 * sunrpc/rpc_main.c (h_output): Likewise.
21307 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21309 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21311 * inet/check_native.c: New file.
21313 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21316 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21317 if larger part has absolute value 1.0.
21318 * math/s_clog10.c (__clog10): Likewise.
21319 * math/s_clog10f.c (__clog10f): Likewise.
21320 * math/s_clog10l.c (__clog10l): Likewise.
21321 * math/s_clogf.c (__clogf): Likewise.
21322 * math/s_clogl.c (__clogl): Likewise.
21323 * math/libm-test.inc (clog_test): Add more tests.
21324 (clog10_test): Likewise.
21325 * sysdeps/i386/fpu/libm-test-ulps: Update.
21326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21328 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21329 (pltexit): Likewise.
21330 (La_regs): Likewise.
21331 (La_retval): Likewise.
21332 (int_retval): Likewise.
21333 Update #error for removed macros to refer only to definitions in
21335 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21337 (pltexit): Likewise.
21338 (La_regs): Likewise.
21339 (La_retval): Likewise.
21340 (int_retval): Likewise.
21341 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21343 (pltexit): Likewise.
21344 (La_regs): Likewise.
21345 (La_retval): Likewise.
21346 (int_retval): Likewise.
21347 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21349 (pltexit): Likewise.
21350 (La_regs): Likewise.
21351 (La_retval): Likewise.
21352 (int_retval): Likewise.
21353 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21355 (pltexit): Likewise.
21356 (La_regs): Likewise.
21357 (La_retval): Likewise.
21358 (int_retval): Likewise.
21359 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21361 (pltexit): Likewise.
21362 (La_regs): Likewise.
21363 (La_retval): Likewise.
21364 (int_retval): Likewise.
21365 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21367 (pltexit): Likewise.
21368 (La_regs): Likewise.
21369 (La_retval): Likewise.
21370 (int_retval): Likewise.
21371 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21372 macro definitions in tst-audit.h.
21373 * sysdeps/i386/tst-audit.h: New file.
21374 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21375 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21376 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21377 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21378 * sysdeps/sh/tst-audit.h: Likewise.
21379 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21380 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21381 * sysdeps/x86_64/tst-audit.h: Likewise.
21383 2012-07-26 Andreas Jaeger <aj@suse.de>
21385 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21388 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21389 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21390 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21392 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21393 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21394 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21396 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21399 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21401 (si_call_addr, si_syscall, si_arch): Define new macro.
21402 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21404 (si_call_addr, si_syscall, si_arch): Define new marcro.
21405 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21407 (si_call_addr, si_syscall, si_arch): Define new macro.
21408 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21410 (si_call_addr, si_syscall, si_arch): Define new macro.
21412 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21415 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21416 Change to 2.4.21 where previously 2.4.1.
21417 * sysdeps/unix/sysv/linux/configure: Regenerated.
21418 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21419 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21420 Linux kernel version.
21421 (__ASSUME_STD_AUXV): Remove.
21422 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21424 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21425 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21426 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21427 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21428 (__ASSUME_NETLINK_SUPPORT): Likewise.
21429 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21430 (__no_netlink_support): Remove conditional definition.
21431 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21433 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21434 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21435 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21436 (if_nameindex_ioctl): Remove.
21437 (if_nameindex_netlink): Do not handle __no_netlink_support.
21438 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21440 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21441 Remove conditional code.
21442 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21444 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21446 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21447 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21448 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21450 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21451 [!__ASSUME_STD_AUXV]: Remove conditional code.
21452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21453 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21454 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21456 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21457 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21459 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21461 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21462 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21464 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21466 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21469 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21472 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21473 code unconditional.
21474 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21476 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21478 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21481 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21483 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21486 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21487 code unconditional.
21488 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21490 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21492 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21495 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21496 code unconditional.
21497 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21499 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21501 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21504 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21506 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21507 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21508 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21509 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21510 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21511 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21512 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21513 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21514 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21515 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21516 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21517 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21518 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21519 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21520 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21522 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21523 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21524 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21526 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21527 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21528 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21530 2012-07-25 Florian Weimer <fweimer@redhat.com>
21532 * Versions.def: Add GLIBC_2.17.
21533 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21534 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21535 Introduce __libc_secure_getenv.
21536 * stdlib/Versions (2.17): Add secure_getenv
21537 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21538 * stdlib/secure-getenv.c: Rename __secure_getenv to
21539 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21540 symbol __secure_getenv for GLIBC_2.0.
21541 * stdlib/tst-secure-getenv.c: New.
21542 * stdlib/Makefile (tests): Add testcase.
21543 * manual/startup.texi (Environment Access): Document
21545 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21546 __libc_secure_getenv.
21547 * inet/ruserpass.c (ruserpass): Likewise.
21548 * malloc/mtrace.c (mtrace): Likewise.
21549 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21550 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21551 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21552 * sysdeps/posix/tempname.c: Likewise. Evaluate
21553 HAVE_SECURE_GETENV.
21554 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21555 __secure_getenv to __libc_secure_getenv.
21556 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21563 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21569 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21571 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21572 (struct La_i86_retval): Likewise.
21573 (struct La_x86_64_regs): Likewise.
21574 (struct La_x86_64_retval): Likewise.
21575 (struct La_x32_regs): Likewise.
21576 (struct La_x32_retval): Likewise.
21577 (struct La_ppc32_regs): Likewise.
21578 (struct La_ppc32_retval): Likewise.
21579 (struct La_ppc64_regs): Likewise.
21580 (struct La_ppc64_retval): Likewise.
21581 (struct La_sh_regs): Likewise.
21582 (struct La_sh_retval): Likewise.
21583 (struct La_s390_32_regs): Likewise.
21584 (struct La_s390_32_retval): Likewise.
21585 (struct La_s390_64_regs): Likewise.
21586 (struct La_s390_64_retval): Likewise.
21587 (struct La_sparc32_regs): Likewise.
21588 (struct La_sparc32_retval): Likewise.
21589 (struct La_sparc64_regs): Likewise.
21590 (struct La_sparc64_retval): Likewise.
21591 (struct audit_ifaces): Remove architecture-specific pltenter and
21593 * sysdeps/i386/ldsodefs.h: New file.
21594 * sysdeps/powerpc/ldsodefs.h: Likewise.
21595 * sysdeps/s390/ldsodefs.h: Likewise.
21596 * sysdeps/sh/ldsodefs.h: Likewise.
21597 * sysdeps/sparc/ldsodefs.h: Likewise.
21598 * sysdeps/x86_64/ldsodefs.h: Likewise.
21600 2012-07-25 Marek Polacek <polacek@redhat.com>
21603 * math/libm-test.inc (yn_test): Add another test.
21604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21605 to ERANGE when the result is +-Inf.
21606 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21607 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21609 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21611 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21613 * conform/data/time.h-data (NULL): Use macro-constant. Require
21615 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21617 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21619 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21621 * configure.in <sysdeps resolving>: Correct printing
21623 * configure: Regenerate.
21625 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21627 * math/w_ilogb.c: Include <limits.h>.
21628 * math/w_ilogbl.c: Likewise.
21630 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21632 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21633 va_copy. Document allowing for unavailable va_copy only as
21634 pre-C99 compatibility.
21635 * manual/string.texi (Copying and Concatenation): Use va_copy
21636 instead of __va_copy in concat example.
21638 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21640 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21641 (__sendto): Use create_address_port. Initialize APORT and deallocate
21644 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21645 with O_NOLINK passed to __file_name_lookup.
21647 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21648 with O_NOLINK passed to __file_name_lookup.
21650 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21651 negative N or less than NGIDS.
21653 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21654 type to string_t. Set ERANGE as errno and return it if NAME is not big
21655 enough. Use memcpy instead of strncpy.
21657 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21659 * elf/Makefile (check-data): Remove.
21660 (localplt.data): New vpath directive.
21661 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21662 instead of $(check-data).
21663 * scripts/data/localplt-generic.data: Move to ...
21664 * sysdeps/generic/localplt.data: ... here.
21665 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21666 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21667 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21670 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21673 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21676 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21679 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21682 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21686 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21688 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21689 PPC32 and PPC64 files.
21690 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21691 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21693 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21695 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21696 __makecontext_ret to ...
21697 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21698 ... here and call exit if uc_link is NULL. New file.
21699 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21700 __makecontext_ret.S.
21701 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21702 __makecontext_ret to ...
21703 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21704 ... here and call exit if uc_link is NULL. New file.
21705 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21706 __makecontext_ret.S.
21708 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21710 * elf/elf.h (R_390_IRELATIVE): New definition.
21711 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21712 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21713 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21715 (elf_machine_lazy_rel): Likewise.
21716 * sysdeps/s390/dl-irel.h: New file.
21717 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21718 * sysdeps/s390/s390-64/memset.S: New asm code.
21719 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21720 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21721 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21722 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21723 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21724 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21725 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21726 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21727 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21728 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21729 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21730 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21731 * sysdeps/s390/s390-32/memset.S: New asm code.
21732 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21734 2012-07-17 Marek Polacek <polacek@redhat.com>
21737 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21738 * sysdeps/s390/s390-64/configure.in: Likewise.
21739 * sysdeps/sparc/configure.in: Likewise.
21740 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21741 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21742 * sysdeps/i386/configure.in: Likewise.
21743 * sysdeps/x86_64/configure.in: Likewise.
21744 * sysdeps/sh/configure.in: Likewise.
21745 * sysdeps/s390/s390-32/configure: Regenerated.
21746 * sysdeps/s390/s390-64/configure: Likewise.
21747 * sysdeps/x86_64/configure: Likewise.
21748 * sysdeps/sh/configure: Likewise.
21749 * sysdeps/powerpc/powerpc64/configure: Likewise.
21750 * sysdeps/powerpc/powerpc32/configure: Likewise.
21751 * sysdeps/sparc/configure: Likwise.
21752 * sysdeps/i386/configure: Likewise.
21754 * elf/dl-open.c: Comment fixes.
21756 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21758 * Makefile [CXX] (check-data): Remove.
21759 [CXX] (c++-types.data): New vpath directive.
21760 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21761 vpath. Do not allow for C++ type data being missing.
21762 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21763 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21764 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21765 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21766 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21767 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21768 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21771 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21774 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21777 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21780 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21783 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21786 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21789 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21792 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21793 definitions to architecture-specific files.
21794 (TLS_IE): Likewise.
21795 (TLS_LD): Likewise.
21796 (TLS_GD): Likewise.
21797 * sysdeps/i386/tls-macros.h: New file.
21798 * sysdeps/powerpc/tls-macros.h: Likewise.
21799 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21800 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21801 * sysdeps/sh/tls-macros.h: Likewise.
21802 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21803 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21804 * sysdeps/x86_64/tls-macros.h: Likewise.
21806 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21809 zero value for regular exit case.
21811 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21812 (__start_context): Preserve zero value for regular exit case.
21814 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21815 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21817 * manual/setjmp.texi (setcontext): Clarify normal process
21818 termination when uc_link is the null pointer.
21819 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21822 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21824 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21825 preprocessor. Test for each exception mask separately.
21827 2012-07-16 Andreas Jaeger <aj@suse.de>
21829 * po/ru.po: Update from translation team.
21831 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21833 * conform/data/string.h-data (NULL): Use macro-constant. Require
21835 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21836 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21837 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21838 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21841 2012-07-13 Andreas Jaeger <aj@suse.de>
21843 * po/fr.po: Update from translation team.
21845 2012-07-12 Marek Polacek <polacek@redhat.com>
21848 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21849 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21852 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21855 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21856 Change to 2.4.1 where previously 2.4.0.
21857 * sysdeps/unix/sysv/linux/configure: Regenerated.
21858 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21859 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21861 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21862 (__ASSUME_AT_CLKTCK): Remove.
21863 (__ASSUME_AT_PAGESIZE): Likewise.
21864 (__ASSUME_AT_XID): Likewise.
21865 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21866 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21867 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21869 (HAVE_AUX_PAGESIZE): Likewise.
21870 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21871 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21872 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21874 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21878 the temporary buffer used to invoke __gethostbyname2_r,
21879 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21880 host_data / struct gaih_addrtuple.
21881 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21882 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21883 header file nss/nsswitch.h.
21884 * nss/nsswitch.h (global scope): Add definition of implementation
21885 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21886 resolv/nss_dns/dns-host.c).
21888 2012-07-11 Andreas Jaeger <aj@suse.de>
21890 * po/fr.po: Update from translation team.
21892 * po/sv.po: Update from translation team
21893 * po/fr.po: Another update from translation team.
21895 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21897 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21898 for subnormals or multiply small sinh result by itself.
21899 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21902 2012-07-11 David S. Miller <davem@davemloft.net>
21904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21906 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21909 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21910 (INTERNAL_MARK): Shift it here.
21912 2012-07-10 Marek Polacek <polacek@redhat.com>
21915 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21916 libc_cv_asm_global_directive with .globl.
21917 * configure: Regenerated.
21918 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21920 * sysdeps/i386/configure: Regenerated.
21921 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21923 * sysdeps/x86_64/configure: Regenerated.
21924 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21925 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21926 * elf/tst-unique2mod2.c: Likewise.
21927 * elf/tst-unique2mod1.c: Likewise.
21928 * elf/tst-unique1mod2.c: Likewise.
21929 * elf/tst-unique1mod1.c: Likewise.
21930 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21931 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21932 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21933 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21934 * sysdeps/mach/sysdep.h: Likewise.
21935 * sysdeps/i386/sysdep.h: Likewise.
21936 * sysdeps/i386/i386-mcount.S: Likewise.
21937 * sysdeps/x86_64/_mcount.S: Likewise.
21938 * sysdeps/x86_64/sysdep.h: Likewise.
21939 * sysdeps/sh/_mcount.S: Likewise.
21940 * sysdeps/sh/sysdep.h: Likewise.
21941 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21942 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21943 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21944 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21945 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21946 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21947 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21948 * locale/localeinfo.h: Likewise.
21949 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21950 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21952 2012-07-09 Roland McGrath <roland@hack.frob.com>
21955 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21957 * manual/message.texi (The Uniforum approach): Likewise.
21958 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21959 (glibc iconv Implementation): Likewise.
21961 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21964 * math/s_clog.c (__clog): Avoid scaling a value down where that
21965 could result in underflow.
21966 * math/s_clog10.c (__clog10): Likewise.
21967 * math/s_clog10f.c (__clog10f): Likewise.
21968 * math/s_clog10l.c (__clog10l): Likewise.
21969 * math/s_clogf.c (__clogf): Likewise.
21970 * math/s_clogl.c (__clogl): Likewise.
21971 * math/libm-test.inc (clog_test): Add more tests.
21972 (clog10_test): Likewise.
21973 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21976 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21979 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21980 by 7 not 8 to examine high bit of fractional part.
21983 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21984 for call to __mcount_internal.
21985 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21986 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21987 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21989 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21992 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21993 approximation for values within 0x1p-13f of an odd multiple of
21995 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21996 exception. Add more tests.
21997 * sysdeps/i386/fpu/libm-test-ulps: Update.
22000 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22001 inputs and return -1 for them. Do not check for +Inf in case not
22002 reachable for +Inf.
22003 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22004 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22006 and return -1 for them. Do not check for +Inf in case not
22007 reachable for +Inf.
22008 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22010 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22011 and return -1 for them. Do not check for +Inf in case not
22012 reachable for +Inf.
22013 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22014 spurious underflow.
22015 * sysdeps/i386/fpu/libm-test-ulps: Update.
22016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22018 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22020 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22022 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22026 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22027 could result in spurious underflow. Scale down values above
22028 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22029 * math/s_csqrtf.c (__csqrtf): Likewise.
22030 * math/s_csqrtl.c (__csqrtl): Likewise.
22031 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22032 spurious underflow.
22033 * sysdeps/i386/fpu/libm-test-ulps: Update.
22034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22036 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22038 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22040 * catgets/xopen-msg.awk: New file.
22041 * catgets/xopen-msg.sed: Removed.
22043 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22045 * intl/po2test.awk: New file.
22046 * intl/po2test.sed: Removed.
22048 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22051 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22052 or multiply small sinh result by itself.
22053 * math/s_ctanf.c (__ctanf): Likewise.
22054 * math/s_ctanh.c (__ctanh): Likewise.
22055 * math/s_ctanhf.c (__ctanhf): Likewise.
22056 * math/s_ctanhl.c (__ctanhl): Likewise.
22057 * math/s_ctanl.c (__ctanl): Likewise.
22058 * math/libm-test.inc (ctan_test_tonearest): New function.
22059 (ctan_test_towardzero): Likewise.
22060 (ctan_test_downward): Likewise.
22061 (ctan_test_upward): Likewise.
22062 (ctanh_test_tonearest): Likewise.
22063 (ctanh_test_towardzero): Likewise.
22064 (ctanh_test_downward): Likewise.
22065 (ctanh_test_upward): Likewise.
22066 (main): Call these new functions.
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22072 * .gitignore: Delete /ports entry.
22074 2012-07-03 Andreas Jaeger <aj@suse.de>
22076 * po/bg.po: Update from translation team.
22077 * po/cs.po: Likewise.
22078 * po/de.po: Likewise.
22079 * po/hr.po: Likewise.
22080 * po/nl.pl: Likewise.
22081 * po/pl.po: Likewise.
22082 * po/vi.po: Likewise.
22084 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22086 * Makeconfig [!+link] (+link-before-libc): New variable.
22087 [!+link] (+link-after-libc): Likewise.
22088 [!+link] (+link-tests): Likewise.
22089 [!+link] (+link): Define in terms of $(+link-before-libc) and
22090 $(+link-after-libc).
22091 [!+link-static] (+link-static-before-libc): New variable.
22092 [!+link-static] (+link-static-after-libc): Likewise.
22093 [!+link-static] (+link-static-tests): Likewise.
22094 [!+link-static] (+link-static): Define in terms of
22095 $(+link-static-before-libc) and $(+link-static-after-libc).
22096 [build-shared] (link-libc-before-gnulib): New variable.
22097 [build-shared] (link-libc-tests): Likewise.
22098 [build-shared] (link-libc): Define in terms of
22099 $(link-libc-before-gnulib).
22100 [!build-shared] (link-libc-tests): New variable.
22101 (link-libc-static-tests): New variable.
22102 [!gnulib] (gnulib-arch): New variable.
22103 [!gnulib] (gnulib-tests): Likewise.
22104 [!gnulib] (static-gnulib-arch): Likewise.
22105 [!gnulib] (static-gnulib-tests): Likewise.
22106 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22107 Define with "=" instead of ":=".
22108 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22109 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22110 * Rules (binaries-all-notests): New variable.
22111 (binaries-all-tests): Likewise.
22112 (binaries-static-notests): Likewise.
22113 (binaries-static-tests): Likewise.
22114 (binaries-all): Define using $(binaries-all-notests) and
22115 $(binaries-all-tests).
22116 (binaries-static): Define using $(binaries-static-notests) and
22117 $(binaries-static-tests).
22118 (binaries-shared-tests): New variable.
22119 (binaries-shared-notests): Likewise.
22120 (binaries-shared): Remove variable.
22121 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22122 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22123 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22124 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22125 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22126 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22127 * elf/Makefile (sln-modules): New variable.
22128 (extra-objs): Add $(sln-modules:=.o).
22129 (ldconfig-modules): Add static-stubs.
22130 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22131 * elf/static-stubs.c: New file.
22134 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22135 by 7 not 8 to examine high bit of fractional part. Use volatile
22136 variables when splitting into final array of floats if
22137 __FLT_EVAL_METHOD__ != 0.
22138 * math/libm-test.inc (cos_test): Add another test.
22139 (sin_test): Likewise.
22140 * sysdeps/i386/fpu/libm-test-ulps: Update.
22143 * math/libm-test.inc (cosh_test): Add more tests.
22145 * version.h (RELEASE): Set to "development".
22146 (VERSION): Set to "2.16.90".
22148 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22150 * NEWS: Update copyright. Remove last-updated date.
22151 Mention math library bug fixes and timezone data changes.
22152 * README: Mention GNU/Hurd, x32, and HPPA support status.
22154 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22156 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22158 2012-06-27 Andreas Jaeger <aj@suse.de>
22160 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22162 2012-06-25 Andreas Jaeger <aj@suse.de>
22164 * sysdeps/s390/fpu/libm-test-ulps: Update.
22166 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22167 Thomas Schwinge <thomas@codesourcery.com>
22169 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22170 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22171 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22174 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22176 * sysdeps/mach/start.c: Remove file.
22177 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22178 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22179 * sysdeps/sh/init-first.c: Likewise.
22181 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22182 registers for frame unwinding purposes, add CFI directives.
22183 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22184 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22185 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22188 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22189 __fortify_fail returning.
22190 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22192 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22193 sysdeps/sh/____longjmp_chk.S.
22194 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22195 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22196 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22197 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22199 * sysdeps/sh/abort-instr.h: New file.
22200 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22201 process in case exit returns.
22203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22204 initialize the GOT register before use.
22206 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22207 calculation of ARGC > 4.
22209 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22210 meaningful names to some local labels.
22212 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22213 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22215 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22216 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22217 (__arch_compare_and_exchange_val_16_acq): Likewise.
22218 (__arch_compare_and_exchange_val_32_acq): Likewise.
22219 (atomic_exchange_and_add): Fix gUSA sequence.
22220 (atomic_add): Likewise.
22221 (atomic_add_negative): Likewise.
22222 (atomic_add_zero): Likewise.
22223 (atomic_bit_test_set): Likewise.
22225 2012-06-22 Andreas Schwab <schwab@redhat.com>
22228 * include/link.h (struct link_map): Add l_free_initfini.
22229 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22231 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22232 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22233 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22236 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22238 * configure.in: Use AC_LANG_SOURCE.
22239 * configure: Regenerate.
22241 2012-06-22 Roland McGrath <roland@hack.frob.com>
22243 * configure.in (libc_cv_localstatedir): New substituted variable.
22244 * configure: Regenerated.
22245 * config.make.in (localstatedir): New variable, substituted from
22246 libc_cv_localstatedir.
22247 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22248 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22249 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22250 * sysdeps/gnu/configure: Regenerated.
22252 2012-06-21 Jeff Law <law@redhat.com>
22255 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22256 free. Simplify list management for _LIBC case.
22258 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22261 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22262 Clear sign bit of 64-bit integer value before comparing against
22265 * sysdeps/mach/configure: Regenerated.
22267 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22270 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22272 2012-06-21 Jeff Law <law@redhat.com>
22275 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22276 uint16_t for elements in the "seen" array to avoid char overflows.
22277 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22278 * elf/dl-open.c (dl_open_worker): Likewise.
22280 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22282 * scripts/list-sources.sh: Scan PORTS for translations.
22283 * po/libc.pot: Regenerated.
22285 2012-06-21 Andreas Jaeger <aj@suse.de>
22288 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22290 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22291 * bits/byteswap-16.h (__bswap_16): Likewise.
22292 * bits/byteswap.h (__bswap_constant_16): Likewise.
22294 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22297 * sysdeps/i386/fpu_control.h: Removed.
22298 * sysdeps/x86_64/fpu_control.h: Moved to ...
22299 * sysdeps/x86/fpu_control.h: Here.
22301 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22302 (_FPU_SETCW): Likewise.
22304 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22307 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22308 * sysdeps/x86/fpu/bits/mathinline.h: This.
22309 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22313 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22314 functions if __x86_64__ is defined.
22316 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22318 * string/endian.h: Add !__ASSEMBLER__ condition for including
22319 conversion interfaces.
22321 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22324 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22325 of ABS(x) in calculating zero to negative powers other than odd
22327 * math/libm-test.inc (pow_test): Add more tests.
22329 2012-06-15 Andreas Jaeger <aj@suse.de>
22331 * manual/contrib.texi (Contributors): Update entry of Liubov
22332 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22335 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22337 * string/string.h: Add __wur to GNU version of strerror_r.
22339 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22342 * string/Makefile (tests): Add tst-strtok_r.
22343 * string/tst-strtok_r.c: New file.
22344 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22345 RAX_LP/RDX_LP on SAVE_PTR.
22347 2012-06-14 Roland McGrath <roland@hack.frob.com>
22349 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22351 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22353 * libm_test.inc (csqrt_test): Allow more spurious underflow
22355 (j0_test): Likewise.
22356 (j1_test): Likewise.
22357 (y0_test): Likewise.
22358 (y1_test): Likewise.
22360 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22362 * po/Makefile (libc.pot): Use UTF-8 charset.
22364 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22367 Suppress sign-conversion warning from FD_SET.
22368 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22369 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22370 not unsigned long int.
22371 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22373 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22377 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22378 __extern_always_inline instead of __extern_inline.
22379 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22380 (__signbit): Likewise.
22381 (__signbitl): Support C++ namespace.
22382 (lrintf): New inline function.
22384 (llrintf): Likewise.
22385 (llrint): Likewise.
22395 (floorf): Likewise.
22396 (nearbyint): Likewise.
22397 (nearbyintf): Likewise.
22399 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22401 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22402 non-default versions.
22404 2012-06-11 Roland McGrath <roland@hack.frob.com>
22407 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22409 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22411 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22412 (FE_UPWARD, FE_DOWNWARD): Don't define.
22413 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22416 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22418 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22419 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22421 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22423 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22424 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22425 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22426 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22428 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22431 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22432 * sysdeps/i386/fpu/Implies: New file.
22433 * sysdeps/x86_64/fpu/Implies: Likewise.
22434 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22435 * sysdeps/x86/fpu/bits/fenv.h: This.
22437 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22440 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22443 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22444 character 0xffff that matches the last element of the
22447 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22452 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22454 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22455 values higher than 25.6283.
22457 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22459 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22460 subnormal exponent extraction and add some __builtin_expect.
22461 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22462 Fix for subnormal mantissa calculation.
22464 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22466 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22467 cpu2 is -1 and errno is not ENOSYS.
22469 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22472 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22473 * sysdeps/x86/bits/string.h: This.
22474 * sysdeps/x86_64/bits/string.h: Removed.
22476 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22477 if not compiling for x86-64, but compiling for >= i486.
22479 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22480 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22483 New macro from Linux kernel 3.4.0.
22484 (FP_XSTATE_MAGIC2): Likewise.
22485 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22486 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22487 (struct _fpx_sw_bytes): New struct.
22488 (struct _xsave_hdr): Likewise.
22489 (struct _ymmh_state): Likewise.
22490 (struct _xstate): Likewise.
22492 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22493 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22494 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22495 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22496 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22497 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22499 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22500 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22501 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22502 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22503 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22504 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22506 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22509 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22510 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22511 (sysdep_headers): Include sys/platform/ppc.h.
22512 * sysdeps/powerpc/test-gettimebase.c: Test for
22513 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22514 * manual/Makefile (appendices): Include platform.texi.
22515 * manual/contrib.texi (Contributors): Update @node pointers.
22516 * manual/maint.texi (Maintenance): Likewise.
22517 (Platform): New node.
22518 * manual/platform.texi: New file. Document the new features.
22520 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22521 Jakub Jelinek <jakub@redhat.com>
22524 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22525 where __builtin_expect is unavailable.
22527 2012-06-03 David S. Miller <davem@davemloft.net>
22529 * stdlib/longlong.h: Updated from GCC.
22531 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22534 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22535 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22538 (GLIBC_2.16): Likewise.
22540 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22542 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22544 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22547 (default-abi): New variable.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22549 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22551 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22553 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22555 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22558 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22559 definition. Document in comment.
22561 2012-06-01 David S. Miller <davem@davemloft.net>
22563 * stdlib/longlong.h: Updated from GCC.
22565 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22568 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22569 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22570 sys/debugreg.h sys/io.h here.
22571 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22572 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22574 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22575 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22576 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22577 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22578 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22579 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22581 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22582 Define only if __x86_64__ is defined.
22584 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22587 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22588 Use int64_t for variable i.
22589 * math/libm-test.inc (fmod_test): Add more tests.
22591 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22592 z computation is not scheduled after fetestexcept.
22593 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22594 Use math_force_eval instead of asm to ensure calculation scheduled
22595 before exception test.
22596 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22597 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22599 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22602 computation is not scheduled after fetestexcept.
22604 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22607 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22608 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22610 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22612 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22613 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22615 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22618 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22620 (__WCHAR_MIN): Support __WORDSIZE == 64.
22621 (__WCHAR_MAX): Likewise.
22623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22624 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22627 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22628 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22631 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22632 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22634 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22635 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22637 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22638 Defined to 1 if __x86_64__ isn't defined.
22639 (_STAT_VER_LINUX_OLD): New.
22640 (st_atime): Remove duplicate.
22641 (st_mtime): Likewise.
22642 (st_ctime): Likewise.
22644 2012-05-31 David S. Miller <davem@davemloft.net>
22646 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22649 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22651 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22655 * elf/dl-reloc.c: Include <_itoa.h>.
22656 (_dl_reloc_bad_type): Remove use of INTUSE.
22657 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22658 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22659 * stdio-common/psiginfo.c (psiginfo): Likewise.
22660 * stdio-common/psignal.c (psignal): Likewise.
22661 * string/strsignal.c (strsignal): Likewise.
22662 * include/signal.h (_sys_siglist): Declare hidden proto.
22663 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22664 INTVARDEF with libc_hidden_data_def.
22665 * stdio-common/itoa-udigits.c: Likewise.
22666 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22667 (_itoa_lower_digits_internal): Remove declaration.
22668 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22669 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22670 (_sys_sigabbrev_internal): Remove aliases.
22671 (_sys_siglist): Define hidden alias.
22673 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22678 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22681 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22682 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22684 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22685 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22686 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22687 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22688 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22689 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22691 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22692 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22693 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22695 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22703 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22704 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22705 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22707 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22708 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22710 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22711 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22712 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22714 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22715 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22717 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22718 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22720 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22722 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22724 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22725 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22727 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22729 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22730 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22731 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22733 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22735 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22737 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22739 * math/math.h (M_El): Use two more decimal places.
22740 (M_LOG2El): Likewise.
22741 (M_LOG10El): Likewise.
22742 (M_LN2l): Likewise.
22743 (M_LN10l): Likewise.
22745 (M_PI_2l): Likewise.
22746 (M_PI_4l): Likewise.
22747 (M_1_PIl): Likewise.
22748 (M_2_PIl): Likewise.
22749 (M_2_SQRTPIl): Likewise.
22750 (M_SQRT2l): Likewise.
22751 (M_SQRT1_2l): Likewise.
22753 2012-05-31 David S. Miller <davem@davemloft.net>
22755 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22756 values between float registers.
22757 * sysdeps/sparc/sparc64/memset.S: Likewise.
22758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22760 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22762 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22763 -D_FORTIFY_SOURCE=1.
22764 (CPPFLAGS-tst-longjmp_chk.c): Define.
22765 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22766 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22767 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22768 CFLAGS-tst-wchar-h.c.
22770 2012-05-31 Marek Polacek <polacek@redhat.com>
22773 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22774 __endmntent_internal): Remove declaration.
22775 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22776 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22777 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22779 2012-05-30 David S. Miller <davem@davemloft.net>
22781 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22782 (___Q_simulate_exceptions): Use real FP ops rather than writing
22784 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22787 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22790 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22791 * sysdeps/x86/bits/xtitypes.h: This.
22793 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22794 * sysdeps/x86/bits/wordsize.h: This.
22796 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22797 * sysdeps/x86/bits/huge_vall.h: This.
22799 * sysdeps/i386/bits/select.h: Removed.
22800 * sysdeps/x86_64/bits/select.h: Renamed to ...
22801 * sysdeps/x86/bits/select.h: This.
22803 * sysdeps/i386/bits/setjmp.h: Removed.
22804 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22805 * sysdeps/x86/bits/setjmp.h: This.
22807 * sysdeps/i386/bits/mathdef.h: Removed.
22808 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22809 * sysdeps/x86/bits/mathdef.h: This.
22811 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22814 * include/sys/socket.h (__connect_internal)
22815 (__libc_sa_len_internal): Remove declaration.
22816 (__connect, __libc_sa_len): Declare hidden_proto.
22817 (SA_LEN): Remove use of INTUSE.
22818 * socket/connect.c: Add libc_hidden_def.
22819 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22820 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22821 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22823 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22824 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22825 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22826 of adding _internal alias.
22828 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22831 * sysdeps/i386/bits/link.h: Removed.
22832 * sysdeps/i386/bits/linkmap.h: Likewise.
22833 * sysdeps/x86_64/bits/link.h: Renamed to ...
22834 * sysdeps/x86/bits/link.h: This.
22835 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22836 * sysdeps/x86/bits/linkmap.h: This.
22838 * sysdeps/i386/bits/endian.h: Removed.
22839 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22840 * sysdeps/x86/bits/endian.h: This.
22842 * sysdeps/i386/bits/byteswap.h: Removed.
22843 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22844 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22845 * sysdeps/x86/bits/byteswap.h: This.
22846 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22847 * sysdeps/x86/bits/byteswap-16.h: This.
22848 * sysdeps/i386/Implies: Add x86.
22849 * sysdeps/x86_64/Implies: Likewise.
22851 2012-05-30 David S. Miller <davem@davemloft.net>
22853 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22854 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22855 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22856 (FP_TRAPPING_EXCEPTIONS): Define.
22857 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22858 (FP_TRAPPING_EXCEPTIONS): Define.
22859 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22860 subnormals only when inexact has been signalled or underflow
22861 exceptions are enabled.
22862 (_FP_PACK_CANONICAL): Likewise.
22864 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22867 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22868 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22870 2012-05-30 Richard Henderson <rth@twiddle.net>
22872 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22873 with #ifndef NOT_IN_libc.
22875 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22876 marked to avoid plt entry.
22878 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22881 * Makeconfig (default-abi): New macro.
22882 (abi-includes): Likewise.
22883 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22884 $(abi-$(default-abi)-lib-soname) for soname if defined.
22885 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22887 * Makefile (installed-stubs): Likewise.
22888 * include/stubs-biarch.h: Removed.
22889 * scripts/lib-names.awk: Only handle one library at a time.
22890 * scripts/soversions.awk: Remove WORDSIZE support.
22891 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22893 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22895 (syscall-list-default-condition): Likewise.
22896 (syscall-list-default-condition): Likewise.
22897 (syscall-list-includes): Likewise.
22898 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22899 syscall-list-* with abi-*. Handle undefined abi-variants.
22900 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22901 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22902 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22903 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22904 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22905 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22907 (syscall-list-32-options): Likewise.
22908 (syscall-list-32-condition): Likewise.
22909 (syscall-list-64-options): Likewise.
22910 (syscall-list-64-condition): Likewise.
22911 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22913 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22916 (abi-64-ld-soname): New macro.
22917 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22921 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22922 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22924 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22926 * sysdeps/unix/sysv/linux/kernel-features.h
22927 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22928 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22929 include <kernel-features.h>.
22930 [!__NR_ftruncate64]: Remove conditional code.
22931 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22932 [__NR_ftruncate64]: Make code unconditional.
22933 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22934 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22935 include <kernel-features.h>.
22936 [!__NR_ftruncate64]: Remove conditional code.
22937 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22938 [__NR_ftruncate64]: Make code unconditional.
22939 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22941 include <kernel-features.h>.
22942 [!__NR_ftruncate64]: Remove conditional code.
22943 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22944 [__NR_ftruncate64]: Make code unconditional.
22945 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22947 include <kernel-features.h>.
22948 [!__NR_ftruncate64]: Remove conditional code.
22949 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22950 [__NR_ftruncate64]: Make code unconditional.
22951 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22953 * configure.in (libc_cv_fpie): Weaken to a compile test using
22954 LIBC_TRY_CC_OPTION.
22955 * configure: Regenerated.
22957 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22972 2012-05-27 David S. Miller <davem@davemloft.net>
22974 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22976 (__Q_simulate_exceptions): Return void. Change to simulate
22977 exceptions by writing into the %fsr.
22978 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22979 (__Qp_handle_exceptions): Likewise.
22981 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22982 __Qp_handle_exceptions.
22983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22984 __Qp_handle_exceptions.
22985 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22986 as unused and give dummy FP_RND_NEAREST initializer.
22987 (FP_INHIBIT_RESULTS): Define.
22988 (___Q_simulate_exceptions): Update declaration.
22989 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22991 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22992 as unused and give dummy FP_RND_NEAREST initializer.
22993 (__Qp_handle_exceptions): Update declaration.
22994 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22997 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22999 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23000 the temporary FPU control word.
23001 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23002 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23003 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23004 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23005 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23006 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23007 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23009 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23010 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23011 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23013 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23015 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23018 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23020 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23021 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23022 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23023 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23025 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23026 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23029 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23031 * po/h.po: Update from translation team.
23033 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23035 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23037 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23038 handling of denormals.
23039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23040 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23041 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23042 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23043 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23048 2012-05-26 Marek Polacek <polacek@redhat.com>
23051 * math/libm-test.inc (fma_test): Don't always expect underflow
23054 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23057 * elf/tst-execstack.c: Include stackinfo.h.
23058 (do_test): Adjust test case to ensure that pthread_getattr_np
23059 behaviour remains the same after marking stack executable.
23061 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23063 * sysdeps/unix/sysv/linux/kernel-features.h
23064 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23065 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23067 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23068 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23069 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23071 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23072 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23074 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23076 * configure.in: Define the default includes to being none.
23077 * configure: Regenerated.
23079 2012-05-25 Roland McGrath <roland@hack.frob.com>
23081 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23082 * sysdeps/x86_64/setjmp.S: Likewise.
23083 * sysdeps/i386/bsd-setjmp.S: Likewise.
23084 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23085 * sysdeps/i386/setjmp.S: Likewise.
23086 * sysdeps/i386/__longjmp.S: Likewise.
23087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23088 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23090 * include/stap-probe.h: New file.
23091 * configure.in: Handle --enable-systemtap.
23092 * configure: Regenerated.
23093 * config.h.in (USE_STAP_PROBE): New #undef.
23094 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23095 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23096 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23098 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23101 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23102 to 2.4.0 where earlier.
23103 * sysdeps/unix/sysv/linux/configure: Regenerated.
23104 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23105 <kernel-features.h>.
23106 [__ASSUME_32BITUIDS]: Make code unconditional.
23107 [!__ASSUME_32BITUIDS]: Remove conditional code.
23108 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23109 <kernel-features.h>.
23110 [__ASSUME_32BITUIDS]: Make code unconditional.
23111 [!__ASSUME_32BITUIDS]: Remove conditional code.
23112 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23113 [__ASSUME_32BITUIDS]: Make code unconditional.
23114 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23115 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23116 <kernel-features.h>.
23117 [__ASSUME_32BITUIDS]: Make code unconditional.
23118 [!__ASSUME_32BITUIDS]: Remove conditional code.
23119 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23120 <kernel-features.h>.
23121 [__ASSUME_32BITUIDS]: Make code unconditional.
23122 [!__ASSUME_32BITUIDS]: Remove conditional code.
23123 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23124 <kernel-features.h>.
23125 [__ASSUME_32BITUIDS]: Make code unconditional.
23126 [!__ASSUME_32BITUIDS]: Remove conditional code.
23127 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23128 <kernel-features.h>.
23129 [__ASSUME_32BITUIDS]: Make code unconditional.
23130 [!__ASSUME_32BITUIDS]: Remove conditional code.
23131 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23132 <kernel-features.h>.
23133 [__ASSUME_32BITUIDS]: Make code unconditional.
23134 [!__ASSUME_32BITUIDS]: Remove conditional code.
23135 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23136 <kernel-features.h>.
23137 [__ASSUME_32BITUIDS]: Make code unconditional.
23138 [!__ASSUME_32BITUIDS]: Remove conditional code.
23139 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23140 <kernel-features.h>.
23141 [__ASSUME_32BITUIDS]: Make code unconditional.
23142 [!__ASSUME_32BITUIDS]: Remove conditional code.
23143 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23144 <kernel-features.h>.
23145 [__ASSUME_32BITUIDS]: Make code unconditional.
23146 [!__ASSUME_32BITUIDS]: Remove conditional code.
23147 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23148 <kernel-features.h>.
23149 [__ASSUME_32BITUIDS]: Make code unconditional.
23150 [!__ASSUME_32BITUIDS]: Remove conditional code.
23151 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23152 <kernel-features.h>.
23153 [__ASSUME_32BITUIDS]: Make code unconditional.
23154 [!__ASSUME_32BITUIDS]: Remove conditional code.
23155 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23156 <kernel-features.h>.
23157 [__NR_setresgid] (__setresgid): Do not declare.
23158 [__ASSUME_32BITUIDS]: Make code unconditional.
23159 [!__ASSUME_32BITUIDS]: Remove conditional code.
23160 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23161 <kernel-features.h>.
23162 [__NR_setresuid] (__setresuid): Do not declare.
23163 [__ASSUME_32BITUIDS]: Make code unconditional.
23164 [!__ASSUME_32BITUIDS]: Remove conditional code.
23165 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23166 <kernel-features.h>.
23167 [__ASSUME_32BITUIDS]: Make code unconditional.
23168 [!__ASSUME_32BITUIDS]: Remove conditional code.
23169 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23170 <kernel-features.h>.
23171 [__ASSUME_32BITUIDS]: Make code unconditional.
23172 [!__ASSUME_32BITUIDS]: Remove conditional code.
23173 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23174 <kernel-features.h>.
23175 [__ASSUME_32BITUIDS]: Make code unconditional.
23176 [!__ASSUME_32BITUIDS]: Remove conditional code.
23177 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23178 <kernel-features.h>.
23179 [__ASSUME_32BITUIDS]: Make code unconditional.
23180 [!__ASSUME_32BITUIDS]: Remove conditional code.
23181 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23182 <kernel-features.h>.
23183 [__ASSUME_32BITUIDS]: Make code unconditional.
23184 [!__ASSUME_32BITUIDS]: Remove conditional code.
23185 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23186 <kernel-features.h>.
23187 [__ASSUME_32BITUIDS]: Make code unconditional.
23188 [!__ASSUME_32BITUIDS]: Remove conditional code.
23189 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23190 <kernel-features.h>.
23191 [__ASSUME_32BITUIDS]: Make code unconditional.
23192 [!__ASSUME_32BITUIDS]: Remove conditional code.
23193 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23194 <kernel-features.h>.
23195 [__ASSUME_32BITUIDS]: Make code unconditional.
23196 [!__ASSUME_32BITUIDS]: Remove conditional code.
23197 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23198 <kernel-features.h>.
23199 [__ASSUME_32BITUIDS]: Make code unconditional.
23200 [!__ASSUME_32BITUIDS]: Remove conditional code.
23201 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23202 <kernel-features.h>.
23203 [__ASSUME_32BITUIDS]: Make code unconditional.
23204 [!__ASSUME_32BITUIDS]: Remove conditional code.
23205 * sysdeps/unix/sysv/linux/kernel-features.h
23206 (__ASSUME_SETRESUID_SYSCALL): Remove.
23207 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23208 (__ASSUME_32BITUIDS): Likewise.
23209 (__ASSUME_LDT_WORKS): Likewise.
23210 (__ASSUME_O_DIRECTORY): Likewise.
23211 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23212 architecture but not kernel version.
23213 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23214 (__ASSUME_MMAP2_SYSCALL): Likewise.
23215 (__ASSUME_STAT64_SYSCALL): Likewise.
23216 (__ASSUME_IPC64): Likewise.
23217 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23218 <kernel-features.h>.
23219 [__ASSUME_32BITUIDS]: Make code unconditional.
23220 [!__ASSUME_32BITUIDS]: Remove conditional code.
23221 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23222 <kernel-features.h>.
23223 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23224 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23225 132096]: Remove conditional code.
23226 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23227 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23228 <kernel-features.h>.
23229 [__ASSUME_32BITUIDS]: Make code unconditional.
23230 [!__ASSUME_32BITUIDS]: Remove conditional code.
23231 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23232 <kernel-features.h>.
23233 [__ASSUME_32BITUIDS]: Make code unconditional.
23234 [!__ASSUME_32BITUIDS]: Remove conditional code.
23235 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23236 <kernel-features.h>.
23237 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23239 (__setresgid): Do not declare.
23240 [__ASSUME_32BITUIDS]: Make code unconditional.
23241 [!__ASSUME_32BITUIDS]: Remove conditional code.
23242 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23243 <kernel-features.h>.
23244 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23246 (__setresuid): Do not declare.
23247 [__ASSUME_32BITUIDS]: Make code unconditional.
23248 [!__ASSUME_32BITUIDS]: Remove conditional code.
23249 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23250 <kernel-features.h>.
23251 [__ASSUME_32BITUIDS]: Make code unconditional.
23252 [!__ASSUME_32BITUIDS]: Remove conditional code.
23253 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23254 <kernel-features.h>.
23255 [__ASSUME_32BITUIDS]: Make code unconditional.
23256 [!__ASSUME_32BITUIDS]: Remove conditional code.
23258 2012-05-25 Richard Henderson <rth@twiddle.net>
23260 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23261 dl_hwcap to ifunc resolver.
23262 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23264 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23265 dl_hwcap to ifunc resolver.
23266 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23268 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23271 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23272 for |x| <= 2**-26, not 2**-57.
23273 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23276 2012-05-24 Jeff Law <law@redhat.com>
23278 * stdio-common/Makefile (tests): Add bug25.
23279 * stdio-common/bug25.c: New test.
23281 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23284 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23285 multiple of MALLOC_ALIGNMENT in size.
23286 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23288 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23290 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23292 (FILENAME_MAX): Use macro-int-constant.
23293 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23294 (_IOFBF): Use macro-int-constant.
23295 (_IOLBF): Likewise.
23296 (_IONBF): Likewise.
23297 (SEEK_CUR): Likewise.
23298 (SEEK_END): Likewise.
23299 (SEEK_SET): Likewise.
23300 (TMP_MAX): Likewise.
23301 (EOF): Use macro-int-constant. Require < 0.
23302 (NULL): Use macro-constant. Require == 0.
23303 (stdin): Require type to be FILE *.
23304 (stdout): Likewise.
23305 (stderr): Likewise.
23306 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23307 macro-int-constant.
23308 (EXIT_SUCCESS): Likewise.
23309 (NULL): Use macro-constant. Require == 0.
23310 (RAND_MAX): Use macro-int-constant.
23311 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23312 [C99-based standards] (strtof): Require function.
23313 [C99-based standards] (strtold): Likewise.
23314 [C99-based standards] (strtoll): Likewise.
23315 [C99-based standards] (strtoull): Likewise.
23316 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23317 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23318 [ISO || ISO99 || ISO11] (math.h): Likewise.
23319 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23320 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23323 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23326 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23327 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23328 * intl/dgettext.c (DCGETTEXT): Likewise.
23329 * intl/gettext.c (DCGETTEXT): Likewise.
23330 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23331 * posix/regex_internal.h (gettext): Likewise.
23332 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23333 Remove declaration.
23334 * include/argz.h (__argz_count_internal)
23335 (__argz_stringify_internal): Remove declaration.
23336 (__argz_count, __argz_stringify): Declare hidden proto.
23337 * intl/dcgettext.c: Remove use of INTDEF.
23338 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23339 * string/argz-stringify.c: Likewise.
23340 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23341 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23342 Declare hidden proto.
23343 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23344 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23345 Declare hidden proto.
23346 * include/stdio.h (__asprintf_internal): Don't declare.
23347 (__asprintf): Don't define as macro. Declare hidden proto.
23348 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23349 (__fsetlocking): Declare hidden proto.
23350 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23351 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23353 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23354 (_IO_setlinebuf): Remove use of INTUSE.
23355 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23356 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23357 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23358 Remove declaration.
23359 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23360 (_IO_do_flush): Remove use of INTUSE.
23361 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23362 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23363 (_IO_adjust_column, _IO_least_wmarker)
23364 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23365 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23366 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23367 (_IO_default_doallocate, _IO_wdefault_doallocate)
23368 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23369 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23370 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23371 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23372 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23373 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23374 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23375 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23376 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23377 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23378 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23379 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23380 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23382 (_IO_flush_all_internal, _IO_adjust_column_internal)
23383 (_IO_default_uflow_internal, _IO_default_finish_internal)
23384 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23385 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23386 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23387 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23388 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23389 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23390 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23391 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23392 (_IO_file_close_internal, _IO_file_close_it_internal)
23393 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23394 (_IO_file_init_internal, _IO_file_attach_internal)
23395 (_IO_file_fopen_internal, _IO_file_read_internal)
23396 (_IO_file_sync_internal, _IO_file_seek_internal)
23397 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23398 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23399 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23400 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23401 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23402 (_IO_list_all_internal, _IO_link_in_internal)
23403 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23404 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23405 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23406 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23407 (_IO_do_write_internal, _IO_padn_internal)
23408 (_IO_getline_info_internal, _IO_getline_internal)
23409 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23410 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23411 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23412 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23413 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23414 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23415 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23416 with libc_hidden_ver, remove use of INTUSE.
23417 * libio/genops.c: Likewise.
23418 * libio/freopen.c: Likewise.
23419 * libio/freopen64.c: Likewise.
23420 * libio/iofclose.c: Likewise.
23421 * libio/iofdopen.c: Likewise.
23422 * libio/iofflush.c: Likewise.
23423 * libio/iofflush_u.c: Likewise.
23424 * libio/iofgets.c: Likewise.
23425 * libio/iofgets_u.c: Likewise.
23426 * libio/iofopen.c: Likewise.
23427 * libio/iofopncook.c: Likewise.
23428 * libio/iofread.c: Likewise.
23429 * libio/iofread_u.c: Likewise.
23430 * libio/ioftell.c: Likewise.
23431 * libio/iofwrite.c: Likewise.
23432 * libio/iogetline.c: Likewise.
23433 * libio/iogets.c: Likewise.
23434 * libio/iogetwline.c: Likewise.
23435 * libio/iopadn.c: Likewise.
23436 * libio/iopopen.c: Likewise.
23437 * libio/ioseekoff.c: Likewise.
23438 * libio/ioseekpos.c: Likewise.
23439 * libio/iosetbuffer.c: Likewise.
23440 * libio/iosetvbuf.c: Likewise.
23441 * libio/ioungetc.c: Likewise.
23442 * libio/ioungetwc.c: Likewise.
23443 * libio/iovdprintf.c: Likewise.
23444 * libio/iovsprintf.c: Likewise.
23445 * libio/iovsscanf.c: Likewise.
23446 * libio/memstream.c: Likewise.
23447 * libio/obprintf.c: Likewise.
23448 * libio/oldfileops.c: Likewise.
23449 * libio/oldiofclose.c: Likewise.
23450 * libio/oldiofdopen.c: Likewise.
23451 * libio/oldiofopen.c: Likewise.
23452 * libio/oldiopopen.c: Likewise.
23453 * libio/oldstdfiles.c: Likewise.
23454 * libio/putc.c: Likewise.
23455 * libio/setbuf.c: Likewise.
23456 * libio/setlinebuf.c: Likewise.
23457 * libio/stdfiles.c: Likewise.
23458 * libio/strops.c: Likewise.
23459 * libio/vasprintf.c: Likewise.
23460 * libio/vscanf.c: Likewise.
23461 * libio/vsnprintf.c: Likewise.
23462 * libio/vswprintf.c: Likewise.
23463 * libio/wfiledoalloc.c: Likewise.
23464 * libio/wfileops.c: Likewise.
23465 * libio/wgenops.c: Likewise.
23466 * libio/wmemstream.c: Likewise.
23467 * libio/wstrops.c: Likewise.
23468 * libio/__fpurge.c: Likewise.
23469 * libio/__fsetlocking.c: Likewise.
23470 * assert/assert.c: Likewise.
23471 * debug/fgets_chk.c: Likewise.
23472 * debug/fgets_u_chk.c: Likewise.
23473 * debug/fread_chk.c: Likewise.
23474 * debug/fread_u_chk.c: Likewise.
23475 * debug/gets_chk.c: Likewise.
23476 * debug/obprintf_chk.c: Likewise.
23477 * debug/vasprintf_chk.c: Likewise.
23478 * debug/vdprintf_chk.c: Likewise.
23479 * debug/vsnprintf_chk.c: Likewise.
23480 * debug/vsprintf_chk.c: Likewise.
23481 * malloc/mtrace.c: Likewise.
23482 * misc/error.c: Likewise.
23483 * misc/syslog.c: Likewise.
23484 * stdio-common/asprintf.c: Likewise.
23485 * stdio-common/fxprintf.c: Likewise.
23486 * stdio-common/getw.c: Likewise.
23487 * stdio-common/isoc99_fscanf.c: Likewise.
23488 * stdio-common/isoc99_scanf.c: Likewise.
23489 * stdio-common/isoc99_vfscanf.c: Likewise.
23490 * stdio-common/isoc99_vscanf.c: Likewise.
23491 * stdio-common/isoc99_vsscanf.c: Likewise.
23492 * stdio-common/printf-prs.c: Likewise.
23493 * stdio-common/printf_fp.c: Likewise.
23494 * stdio-common/printf_fphex.c: Likewise.
23495 * stdio-common/printf_size.c: Likewise.
23496 * stdio-common/putw.c: Likewise.
23497 * stdio-common/scanf.c: Likewise.
23498 * stdio-common/sprintf.c: Likewise.
23499 * stdio-common/tmpfile.c: Likewise.
23500 * stdio-common/vfprintf.c: Likewise.
23501 * stdio-common/vfscanf.c: Likewise.
23502 * stdlib/strfmon_l.c: Likewise.
23503 * sunrpc/openchild.c: Likewise.
23504 * sunrpc/xdr_stdio.c: Likewise.
23505 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23506 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23508 2012-05-24 Roland McGrath <roland@hack.frob.com>
23510 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23512 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23513 in the third column, to generate for the shared library an IFUNC
23514 that uses _dl_vdso_vsym.
23515 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23516 * Makeconfig (object-suffixes-noshared): New variable.
23518 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23519 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23520 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23521 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23524 * include/sys/time.h (__gettimeofday): Remove macro.
23525 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23526 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23528 (__gettimeofday): Add libc_hidden_def.
23529 (gettimeofday): Add libc_hidden_weak.
23530 * sysdeps/mach/gettimeofday.c: Likewise.
23531 * sysdeps/posix/gettimeofday.c: Likewise.
23532 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23533 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23535 (__gettimeofday_internal): Remove strong_alias.
23536 (__gettimeofday): Add libc_hidden_def.
23537 (gettimeofday): Add libc_hidden_weak.
23538 * sysdeps/unix/syscalls.list (gettimeofday):
23539 Remove __gettimeofday_internal alias.
23541 2012-05-24 Daniel Jacobowitz <drow@false.org>
23542 H.J. Lu <hongjiu.lu@intel.com>
23545 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23546 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23547 (largebin_index_32_big): New.
23548 (largebin_index): Use it for 16-byte alignment.
23549 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23550 correction with front_misalign.
23552 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23580 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23581 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23583 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23587 * math/libm-test.inc (exp_test): Add test from bug 14036.
23588 (pow_test): Add test from bug 10846.
23590 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23592 (special_function): Do not include flags in test name.
23593 (parse_args): Likewise.
23594 * sysdeps/i386/fpu/libm-test-ulps: Update.
23595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23596 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23597 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23600 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23602 * math/libm-test.inc ("Philosophy"): Update comment about
23604 (UNDERFLOW_EXCEPTION): New macro.
23605 (UNDERFLOW_EXCEPTION_OK): Likewise.
23606 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23607 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23608 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23609 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23610 (INVALID_EXCEPTION_OK): Update value.
23611 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23612 (OVERFLOW_EXCEPTION_OK): Likewise.
23613 (IGNORE_ZERO_INF_SIGN): Likewise.
23614 (test_exceptions): Handle underflow exceptions.
23615 (acos_test): Update for underflow exception expectations.
23616 (cexp_test): Likewise.
23617 (clog_test): Likewise.
23618 (clog10_test): Likewise.
23619 (csqrt_test): Likewise.
23620 (ctan_test): Likewise.
23621 (ctanh_test): Likewise.
23622 (exp_test): Likewise.
23623 (exp10_test): Likewise.
23624 (exp2_test): Likewise.
23625 (expm1_test): Likewise.
23626 (fma_test): Likewise.
23627 (j0_test): Likewise.
23628 (jn_test): Likewise.
23629 (nexttoward_test): Likewise.
23630 (pow_test): Likewise.
23631 (scalbn_test): Likewise.
23632 (scalbln_test): Likewise.
23633 (tan_test): Likewise.
23634 (y1_test): Likewise.
23635 * sysdeps/i386/fpu/libm-test-ulps: Update.
23636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23638 2012-05-23 David S. Miller <davem@davemloft.net>
23640 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23641 (__libc_sigaction): Remove unused local variables.
23643 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23645 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23647 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23649 mktime: avoid signed integer overflow
23650 * time/mktime.c (__mktime_internal): Do not mishandle the case
23651 where diff == INT_MIN.
23653 mktime: simplify computation of average
23654 * time/mktime.c (ranged_convert): Use new time_t_avg function
23655 instead of rolling our own (probably-slower) code.
23657 mktime: do not assume signed right shift propagates sign bit
23658 * time/mktime.c (isdst_differ): New static function.
23659 (__mktime_internal): No need to normalize tm_isdst now.
23660 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23663 mktime: merge another wrapv change from gnulib
23664 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23665 from some compilers.
23667 mktime: remove incorrect attempt at unusual arithmetics
23668 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23669 The code didn't really work on such machines anyway.
23670 (TYPE_MINIMUM): Assume two's complement.
23671 (twos_complement_arithmetic): Verify that long_int and time_t
23672 are two's complement (or unsigned, in the latter case).
23674 mktime: check signed shifts on long_int and time_t, too
23675 * time/mktime.c (SHR): Check that shifts work as desired
23676 on the types long_int and time_t too, as SHR is used on
23679 mktime: do not assume 'long' is wide enough
23680 * time/mktime.c (verify): Move decl up.
23681 (long_int): New type.
23682 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23683 to remove assumption in the code that 'long' is wide enough to
23684 store year values. This assumption is not true on x32 and on
23685 some non-glibc platforms.
23687 mktime: merge wrapv change from gnulib
23688 * time/mktime.c (WRAPV): New macro.
23689 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23690 (guess_time_tm, __mktime_internal): Do not assume that signed
23691 integer overflow wraps around; modern compilers generate code
23692 where this assumption is no longer valid.
23694 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23696 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23697 Replace "jmp L(pseudo_end)" with "ret".
23698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23701 2012-05-23 Andreas Jaeger <aj@suse.de>
23703 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23704 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23706 2012-05-23 Andreas Jaeger <aj@suse.de>
23707 Maximilian Attems <max@stro.at>
23709 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23712 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23714 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23715 code so that pseudo_end is just ret and the stack pointer is
23716 correct also for static library in error case.
23718 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23721 move to syscalls.list.
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23727 * manual/install.texi (Running make install): Do not mention Linux
23728 kernel version for which pt_chown is not needed.
23729 (Linux): Do not mention problems with nscd with 2.0 kernels.
23730 * INSTALL: Regenerated.
23732 2012-05-23 Andreas Jaeger <aj@suse.de>
23734 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23735 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23737 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23738 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23739 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23740 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23741 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23742 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23744 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23745 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23746 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23747 * sysdeps/unix/sysv/linux/bits/in.h
23748 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23750 2012-05-22 Roland McGrath <roland@hack.frob.com>
23752 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23753 (PREPARE_VERSION): Just use assert instead, it will be elided
23754 under [NDEBUG] anyway.
23756 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23758 * sysdeps/unix/sysv/linux/Makefile: Include
23759 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23760 (sysdep_routines): Remove sysctl.
23761 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23762 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23763 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23764 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23765 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23767 2012-05-22 Andreas Jaeger <aj@suse.de>
23769 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23770 that pseudo_end is just ret and the stack pointer is correct also
23771 for static library in error case.
23773 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23776 * nss/nsswitch.c (defconfig_entries): New variable.
23777 (__nss_database_lookup): Don't leak defconfig entries.
23778 (nss_parse_service_list): Don't leak on error paths.
23779 (free_database_entries): New function.
23780 (free_defconfig): New function.
23781 (free_mem): Move common code to free_database_entries.
23783 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23785 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23787 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23789 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23790 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23793 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23794 (INTERNAL_SYSCALL_TYPES): Likewise.
23795 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23796 (LOAD_REGS_TYPES_[1-6]): Likewise.
23797 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23798 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23800 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23802 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23803 copysignl for GLIBC_2_0.
23804 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23805 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23807 logbl for GLIBC_2_0.
23808 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23809 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23811 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23814 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23816 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23819 * time/mktime.c: Update copyright years.
23821 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23823 mktime: merge comment-quoting-style change from gnulib
23824 * time/mktime.c: Quote 'like this' in comments.
23825 The GNU coding standards suggest that we no longer quote `like this',
23826 as "`" and "'" are typically rendered asymmetrically nowadays.
23827 The typical gnulib style is to quote 'like this' when quoting
23828 code, and "like this" when quoting English.
23830 * time/mktime.c (compile-command): Add "-I.".
23832 mktime: merge mktime-internal.h change from gnulib
23833 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23835 mktime: merge time_r change from gnulib
23836 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23838 mktime: merge DEBUG change from gnulib
23839 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23840 case system <time.h> has a #define.
23842 mktime: merge <sys/types.h> change from gnulib
23843 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23844 since <time.t> is now guaranteed to define time_t.
23846 mktime: merge HAVE_CONFIG_H change from gnulib
23847 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23849 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23854 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23856 (struct rusage): Use anonymous union to pad each field to
23859 2012-05-21 David S. Miller <davem@davemloft.net>
23861 * Makefules (o-iterator): Remove .s cases.
23862 (compile-command.s): Delete.
23863 (COMPILE.s): Delete.
23864 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23866 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23868 * configure.in (libc_cv_predef_stack_protector): Only consider
23869 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23870 * configure: Regenerated.
23872 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23875 New macro. Use R*LP on int and pointer.
23876 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23877 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23878 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23879 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23881 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23882 [__WORDSIZE_TIME64_COMPAT32] instead of
23883 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23884 (struct utmp): Likewise.
23885 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23886 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23888 (__WORDSIZE_TIME64_COMPAT32): This.
23889 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23890 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23891 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23892 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23893 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23894 (__WORDSIZE_TIME64_COMPAT32): New macro.
23896 2012-05-21 Andreas Jaeger <aj@suse.de>
23898 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23899 only if [SHARED]. Add prototype for __wcschr_ia32.
23901 2012-05-21 Roland McGrath <roland@hack.frob.com>
23903 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23904 of %rbp unmolested in the jmp_buf while mangling the low bits.
23905 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23906 unmolested high bits of %rbp while demangling the low bits.
23907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23909 2012-05-21 Andreas Jaeger <aj@suse.de>
23911 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23912 * sunrpc/svc_simple.c: Use it for registerrpc.
23913 * sunrpc/xcrypt.c: Use it for passwd2des.
23915 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23917 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23919 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23920 Don't define if [__SYSCALL_WORDSIZE != 32].
23921 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23924 2012-05-21 Bruno Haible <bruno@clisp.org>
23925 Andreas Jaeger <aj@suse.de>
23927 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23928 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23929 inptr and inend for must_buffer_ch.
23930 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23931 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23932 * stdio-common/Makefile (tests): Remove bug15.
23933 (bug15-ENV): Remove macro.
23934 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23937 2012-05-19 Andreas Jaeger <aj@suse.de>
23938 Roland McGrath <roland@hack.frob.com>
23940 * manual/contrib.texi: Completely rewritten. It contains now an
23941 alphabetical list of contributors and their contributions.
23943 2012-05-21 Richard Henderson <rth@twiddle.net>
23945 * misc/getauxval.c (__getauxval): Use unsigned long int.
23946 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23947 (getauxval): Use unsigned long int.
23949 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23951 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23953 2012-05-21 Roland McGrath <roland@hack.frob.com>
23955 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23956 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23957 __alignof__ (long double).
23959 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23963 2012-05-20 Richard Henderson <rth@twiddle.net>
23965 * misc/getauxval.c: New file.
23966 * misc/sys/auxv.h: New file.
23967 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23968 (routines): Add getauxval.
23969 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23970 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23971 * elf/dl-sysdep.c (_dl_auxv): Remove.
23972 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23973 * elf/dl-support.c (_dl_auxv): New variable.
23974 (_dl_aux_init): Initialize it.
23975 * manual/startup.texi (Auxiliary Vector): New node.
23976 * sysdeps/generic/bits/hwcap.h: New file.
23977 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23978 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23979 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23980 * sysdeps/sparc/sysdep.h: ... here. Include it.
23981 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23994 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23998 2012-05-19 David S. Miller <davem@davemloft.net>
24000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24002 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24005 * math/s_ccosh.c: Include <float.h>
24006 (__ccosh): Avoid internal overflow calculating sinh and cosh
24007 values before multiplying by sin and cos values.
24008 * math/s_ccoshf.c: Likewise.
24009 * math/s_ccoshl.c: Likewise.
24010 * math/s_csin.c: Likewise.
24011 * math/s_csinf.c: Likewise.
24012 * math/s_csinl.c: Likewise.
24013 * math/s_csinh.c: Likewise.
24014 * math/s_csinhf.c: Likewise.
24015 * math/s_csinhl.c: Likewise.
24016 * math/libm-test.inc (ccos_test): Add more tests.
24017 (ccosh_test): Likewise.
24018 (csin_test): Likewise.
24019 (csinh_test): Likewise.
24020 * sysdeps/i386/fpu/libm-test-ulps: Update.
24021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24023 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24025 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24026 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24028 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24030 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24032 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24033 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24034 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24035 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24036 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24037 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24038 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24039 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24040 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24041 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24042 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24043 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24044 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24045 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24046 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24047 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24048 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24049 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24050 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24051 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24052 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24053 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24054 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24055 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24056 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24057 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24058 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24059 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24060 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24061 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24062 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24064 2012-05-18 Andreas Jaeger <aj@suse.de>
24066 * csu/.gitignore: Delete.
24068 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24070 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24071 (timex): Use __syscall_slong_t.
24073 2012-05-18 Andreas Jaeger <aj@suse.de>
24074 Carlos O'Donell <carlos_odonell@mentor.com>
24076 * manual/install.texi (Configuring and compiling): Update
24077 description about files modified in the source directory.
24078 * INSTALL: Regenerated.
24080 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24082 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24083 value. Use "or" to set return value to -1.
24084 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24085 negate return value.
24087 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24089 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24090 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24091 failure if the compiler has Graphite support disabled.
24092 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24094 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24095 CFLAGS-memmove.c): Likewise.
24096 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24099 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24101 * sysdeps/x86_64/x32/_itoa.h: New file.
24103 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24104 getdents system call only if kernel and user dirents have the
24105 same d_ino and d_off.
24107 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24108 LLONG_MAX != LONG_MAX.
24109 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24110 (_fitoa_word): Likewise.
24112 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24114 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24115 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24116 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24118 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24119 include <bits/wordsize.h>. Check __x86_64__ instead of
24121 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24122 if __x86_64__ is defined. Use anonymous union on fpstate.
24124 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24127 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24129 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24130 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24131 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24132 Refer to _rtld_local_ro instead of _rtld_global_ro.
24133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24135 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24137 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24139 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24140 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24141 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24143 * sysdeps/powerpc/powerpc32/dl-machine.c
24144 (__elf_machine_runtime_setup) [PROF]: Don't reference
24147 2012-05-18 Andreas Jaeger <aj@suse.de>
24149 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24150 function only available for GCCs before 3.4 since GCC 3.4
24151 introduced a builtin.
24153 (llrintf): Likewise.
24154 (llrint): Likewise.
24161 (nearbyint): Likewise.
24162 (nearbyintf): Likewise.
24166 (floorf): Likewise.
24168 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24170 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24171 on both fields and cast pointer to __syscall_ulong_t.
24173 * bits/types.h (__fsword_t): New type.
24174 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24175 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24176 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24177 (__FSWORD_T_TYPE): Likewise.
24178 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24179 (__FSWORD_T_TYPE): Likewise.
24180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24181 (__FSWORD_T_TYPE): Likewise.
24182 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24183 (__FSWORD_T_TYPE): Likewise.
24184 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24185 __SWORD_TYPE with __fsword_t.
24186 (statfs64): Likewise.
24188 2012-05-17 David S. Miller <davem@davemloft.net>
24190 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24192 2012-05-17 Andreas Jaeger <aj@suse.de>
24194 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24197 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24199 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24201 2012-05-17 Andreas Jaeger <aj@suse.de>
24203 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24206 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24208 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24210 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24212 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24213 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24215 2012-05-17 Andreas Jaeger <aj@suse.de>
24216 Carlos O'Donell <carlos_odonell@mentor.com>
24219 * sysdeps/x86_64/multiarch/init-arch.h
24220 (bit_YMM_Usable): Rename to...
24221 (bit_AVX_Usable): ... this.
24222 (bit_FMA4_Usable): New macro.
24223 (bit_XMM_state): New macro.
24224 (bit_YMM_state): New macro.
24225 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24226 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24227 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24228 (CPUID_OSXSAVE): New macro.
24229 (CPUID_AVX): New macro.
24230 (CPUID_FMA4): New macro.
24231 (index_YMM_Usable): Rename to...
24232 (index_AVX_Usable): ... this.
24233 (HAS_AVX): Use HAS_ARCH_FEATURE.
24234 (HAS_FMA4): Likewise.
24235 (HAS_YMM_USABLE): Remove.
24236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24237 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24239 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24240 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24241 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24242 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24243 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24245 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24247 * math/libm-test.c: Support platforms without multiple rounding modes.
24248 * math/bug-nextafter.c: Support platforms without FP exceptions.
24249 * math/bug-nexttoward.c: Likewise.
24250 * math/test-fenv.c: Likewise.
24251 * math/test-misc.c: Likewise.
24252 * stdlib/bug-getcontext.c: Likewise.
24254 2012-05-17 Andreas Jaeger <aj@suse.de>
24256 * manual/examples/search.c (critter_cmp): Change signature to
24258 * manual/string.texi (Collation Functions): Likewise.
24260 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24262 * bits/types.h: Fold copyright years.
24263 * bits/typesizes.h: Likewise.
24264 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24268 * time/time.h: Likewise.
24270 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24273 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24274 in instead of returning them. Return void.
24275 (__libc_mallinfo): Accumulate over all arenas.
24276 (__malloc_stats): Adjust for change in int_mallinfo interface.
24278 2012-05-16 Roland McGrath <roland@hack.frob.com>
24281 * configure.in (NM): Add AC_CHECK_TOOL for it.
24282 (libc_extra_cflags): New substituted variable.
24283 Check for -fstack-protector being used implicitly.
24284 * configure: Regenerated.
24285 * config.make.in (config-extra-cflags): New variable,
24286 gets @libc_extra_cflags@.
24287 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24290 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24291 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24292 * configure: Regenerated.
24293 * config.make.in (CPPUNDEFS): New substituted variable.
24294 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24295 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24296 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24298 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24300 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24301 (mq_attr): Use __syscall_slong_t.
24303 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24305 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24306 Check __x86_64__ instead of __WORDSIZE.
24307 (_STAT_VER_LINUX): Likewise.
24308 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24309 __syscall_ulong_t and __syscall_slong_t.
24310 (stat64): Likewise.
24312 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24314 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24318 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24320 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24322 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24325 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24326 include <bits/wordsize.h>. Check __x86_64__ instead of
24328 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24330 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24333 include <bits/wordsize.h>. Check __x86_64__ instead of
24335 (user_regs_struct): Use "__extension__ unsigned long long"
24336 instead of "unsigned long" if __x86_64__ is defined.
24337 (user): Likewise. Pad after pointer field if __ILP32__ is
24340 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24342 * configure.in (makeinfo): Require version 4.5 or later. Allow
24344 * configure: Regenerated.
24345 * manual/install.texi (texinfo): Increase version requirement to
24347 * INSTALL: Regenerated.
24349 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24351 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24353 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24355 * sysdeps/x86_64/x32/ffs.c: New file.
24357 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24359 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24360 defined. Use __syscall_ulong_t.
24361 (shminfo): Use __syscall_ulong_t.
24362 (shm_info): Likewise.
24364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24367 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24369 (msgqnum_t): Use __syscall_ulong_t.
24370 (msglen_t): Likewise.
24371 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24374 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24375 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24377 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24379 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24380 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24382 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24385 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24386 include <bits/wordsize.h>. Check __x86_64__ instead of
24389 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24390 "unsigned long long int" if __x86_64__ is defined.
24391 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24393 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24394 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24395 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24397 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24399 (GET_PC): Cast to uintptr_t first.
24400 (GET_FRAME): Likewise.
24401 (GET_STACK): Likewise.
24403 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24404 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24405 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24406 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24407 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24408 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24409 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24410 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24411 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24412 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24413 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24415 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24416 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24417 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24418 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24419 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24420 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24421 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24422 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24423 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24424 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24425 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24426 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24427 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24428 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24429 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24430 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24431 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24433 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24435 * Makerules (+depfiles): Also collect depfiles from .oS in
24437 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24438 .oS, $(libnldbl-routines)).
24440 * Makerules (native-compile-mkdep-flags): Define.
24441 * sunrpc/Makefile (extra-objs): Add $(addprefix
24442 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24443 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24444 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24445 calling $(make-target-directory).
24447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24449 * bits/types.h (__snseconds_t): Removed.
24450 * time/time.h (struct timespec): Replace __snseconds_t with
24452 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24453 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24456 (__SNSECONDS_T_TYPE): Likewise.
24457 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24458 (__SNSECONDS_T_TYPE): Likewise.
24459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24460 (__SNSECONDS_T_TYPE): Likewise.
24462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24464 * sysdeps/mach/hurd/bits/typesizes.h
24465 (__SYSCALL_SLONG_TYPE): New macro.
24466 (__SYSCALL_ULONG_TYPE): Likewise.
24468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24470 * bits/types.h (__syscall_slong_t): New type.
24471 (__syscall_ulong_t): Likewise.
24473 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24474 (__SYSCALL_ULONG_TYPE): Likewise.
24475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24476 (__SYSCALL_SLONG_TYPE): Likewise.
24477 (__SYSCALL_ULONG_TYPE): Likewise.
24478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24479 (__SYSCALL_SLONG_TYPE): Likewise.
24480 (__SYSCALL_ULONG_TYPE): Likewise.
24481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24482 (__SYSCALL_SLONG_TYPE): Likewise.
24483 (__SYSCALL_ULONG_TYPE): Likewise.
24485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24487 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24488 Add sigaltstack-offsets.sym.
24489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24490 <sigaltstack-offsets.h>.
24491 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24492 longjmp_msg pointer.
24493 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24494 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24496 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24498 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24500 * elf/stackguard-macros.h: Remove file.
24501 * sysdeps/generic/stackguard-macros.h: New file.
24502 * sysdeps/i386/stackguard-macros.h: Likewise.
24503 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24504 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24505 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24506 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24507 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24508 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24509 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24510 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24511 <elf/stackguard-macros.h>.
24514 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24515 __aligned__ in attribute.
24516 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24517 (gregset_t): Likewise.
24519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24521 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24522 * sysdeps/x86_64/64/Implies-after: Here. New file.
24523 * sysdeps/x86_64/x32/Implies-after: New file.
24525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24527 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24528 and access return value for _dl_profile_fixup. Use R10_LP to
24531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24533 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24537 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24538 * sysdeps/x86_64/x32/sysdep.h: New file.
24540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24542 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24543 * sysdeps/x86_64/setjmp.S: Likewise.
24545 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24547 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24548 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24549 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24550 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24551 remove unused global constant.
24553 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24555 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24556 include of <not-cancel.h>.
24558 2012-05-15 Roland McGrath <roland@hack.frob.com>
24560 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24562 2012-05-15 Jeff Law <law@redhat.com>
24563 Andreas Jaeger <aj@suse.de>
24566 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24568 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24569 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24570 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24571 code changing __hst_map_handle.map.
24573 2012-05-15 Roland McGrath <roland@hack.frob.com>
24575 * configure.in (sysnames): Look for Implies-before and Implies-after
24577 * configure: Regenerated.
24579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24581 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24582 8-byte data alignment with LP_SIZE alignment.
24584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24586 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24591 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24595 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24596 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24599 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24601 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24603 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24604 (stackinfo_sub_sp): Likewise.
24606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24608 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24623 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24627 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24628 into R11_LP and load __x86_64_shared_cache_size_half into
24631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24633 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24636 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24644 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24645 powerpc32/power7/fpu/s_logb.c via #include.
24646 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24647 powerpc32/power7/fpu/s_logbf.c via #include.
24648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24649 powerpc32/power7/fpu/s_logbl.c via #include.
24651 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24653 * README.libm: Remove file.
24655 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24657 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24658 count for x32. Use R*_LP and omit operand-size suffix.
24660 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24662 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24663 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24664 * sysdeps/x86_64/x32/shlib-versions: New file.
24666 2012-05-14 Roland McGrath <roland@hack.frob.com>
24668 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24669 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24670 Use _dl_fatal_printf instead.
24672 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24674 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24675 set if not set by the user. Do not allow for being unset.
24676 * sysdeps/unix/sysv/linux/configure: Regenerated.
24678 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24680 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24681 the `q' suffix from lea and replace .quad with ASM_ADDR.
24683 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24686 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24688 (PTR_DEMANGLE): Likewise.
24690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24692 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24694 (ASM_ADDR): Likewise.
24695 (RAX_LP): Likewise.
24696 (RBP_LP): Likewise.
24697 (RBX_LP): Likewise.
24698 (RCX_LP): Likewise.
24699 (RDI_LP): Likewise.
24700 (RSI_LP): Likewise.
24701 (RSP_LP): Likewise.
24704 (R10_LP): Likewise.
24705 (R10_LP): Likewise.
24706 (R11_LP): Likewise.
24707 (R12_LP): Likewise.
24708 (R13_LP): Likewise.
24709 (R14_LP): Likewise.
24710 (R15_LP): Likewise.
24712 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24714 * sysdeps/x86_64/x32/dl-machine.h: New file.
24716 2012-05-14 Andreas Jaeger <aj@suse.de>
24718 * manual/Makefile (subdir): Remove export of subdir.
24719 (all): Remove target.
24720 (.PHONY): Remove all from list.
24721 (mkinstalldirs): Remove.
24722 (.PHONY): Remove installdirs from list.
24723 ($(inst_infodir)/libc.info): Use make-target-directory.
24724 (installdirs): Remove.
24725 (subdir_%): Remove.
24726 (glibc-targets): Remove.
24729 ($(objpfx)stubs ../po/manual.pot): Remove.
24730 ($(objpfx)stamp%): Remove.
24731 (make-target-directory): Remove.
24732 (subdir_install): Remove.
24733 (routines): Remove.
24740 * manual/.gitignore: Remove, it's not needed anymore.
24741 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24743 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24745 (texis): Renamed to $(objpfx)texis.
24746 (texis-path): New, contains path to generated files.
24747 (chapters.%): Use texis-path for complete path, add extra argument
24749 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24750 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24751 (summary,texi, stamp-summary): Use complete path of
24752 files. Generate files in build dir.
24753 (dir-add.texi): Build in build dir.
24754 (libm-err.texi,stamp-libm-err): Likewise.
24755 (version.texi, stamp-version): Likewise.
24756 (.%c.texi): Likewise.
24757 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24758 (mostlyclean): Remove target.
24759 (realclean): Remove target.
24760 (generated): Add new variable with contents from mostlyclean and
24761 realclean, remove entries duplicated in common-mostlyclean, add
24762 stamp-libm-err and stamp-version.
24763 (generated-dirs): Add libc directory.
24764 ($(inst_infodir)/libc.info): Install files from build dir.
24766 * manual/install.texi (Configuring and compiling): Adjust since
24767 the info files are not part of the tar ball anymore.
24769 2012-05-14 Andreas Jaeger <aj@suse.de>
24771 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24774 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24778 to 2.2.0 where earlier.
24779 * sysdeps/unix/sysv/linux/configure: Regenerated.
24780 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24781 Remove conditional code.
24782 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24783 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24784 Remove conditional code.
24785 [!__NR_lchown]: Likewise.
24786 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24787 [__NR_lchown]: Likewise.
24788 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24789 comment referencing __ASSUME_LCHOWN_SYSCALL.
24790 * sysdeps/unix/sysv/linux/i386/sigaction.c
24791 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24792 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24793 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24794 Remove conditional code.
24795 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24796 (__protocol_available): Remove #if 0 code.
24797 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24799 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24800 * sysdeps/unix/sysv/linux/kernel-features.h
24801 (__ASSUME_GETCWD_SYSCALL): Don't define.
24802 (__ASSUME_REALTIME_SIGNALS): Likewise.
24803 (__ASSUME_PREAD_SYSCALL): Likewise.
24804 (__ASSUME_PWRITE_SYSCALL): Likewise.
24805 (__ASSUME_POLL_SYSCALL): Likewise.
24806 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24807 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24809 (__ASSUME_SIOCGIFNAME): Don't define.
24810 (__ASSUME_MSG_NOSIGNAL): Likewise.
24811 (__ASSUME_SENDFILE): Define unconditionally.
24812 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24813 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24815 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24816 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24817 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24818 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24819 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24820 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24821 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24823 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24826 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24832 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24835 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24838 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24846 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24847 Remove conditional code.
24848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24849 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24850 Remove conditional code.
24851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24852 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24853 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24854 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24855 Remove conditional code.
24856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24857 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24858 Remove conditional code.
24859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24860 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24861 Remove conditional code.
24862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24863 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24864 Remove conditional code.
24865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24866 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24867 Remove conditional code.
24868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24869 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24870 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24872 * sysdeps/unix/sysv/linux/sigaction.c
24873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24875 * sysdeps/unix/sysv/linux/sigpending.c
24876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24878 * sysdeps/unix/sysv/linux/sigprocmask.c
24879 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24880 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24881 * sysdeps/unix/sysv/linux/sigsuspend.c
24882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24885 (__libc_missing_rt_sigs): Remove.
24886 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24887 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24888 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24889 Remove conditional code.
24890 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24891 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24893 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24894 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24895 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24896 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24898 2012-05-14 Andreas Jaeger <aj@suse.de>
24900 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24901 it's not used in glibc.
24902 (__coshm1): Likewise.
24903 (__acosh1p): Likewise.
24906 * manual/string.texi (Copying and Concatenation): Add missing
24907 variable in concat example.
24908 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24910 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24913 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24914 __builtin_clzl with __builtin_clzll.
24916 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24919 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24922 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24924 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24925 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24926 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24927 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24929 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24931 * NEWS: Update ia64 info.
24933 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24935 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24938 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24940 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24941 * sysdeps/unix/syscalls.list (dup3): Likewise.
24942 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24943 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24945 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24947 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24948 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24950 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24952 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24954 (TLS_IE): Use mov/add instead of movq/addq to load thread
24956 (TLS_GD_PREFIX): New.
24959 2012-05-11 David S. Miller <davem@davemloft.net>
24961 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24962 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24963 (_FPU_SETCW): Likewise.
24965 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24967 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24968 is 32-byte aligned.
24970 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24973 * iconvdata/gb18030.c: Update tables.
24974 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24975 characters specially.
24976 (BODY for TO_LOOP): Add encoding of missing ranges.
24978 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24981 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24982 * sysdeps/mach/hurd/dup3.c: Likewise.
24983 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24984 * sysdeps/powerpc/memmove.c:: Likewise.
24986 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24989 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24991 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24993 * elf/elf.h (R_X86_64_RELATIVE64): New.
24994 (R_X86_64_NUM): Updated.
24995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24996 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24997 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24998 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24999 tst-quad1pie tst-quad2pie
25000 (modules-names): Add tst-quadmod1 tst-quadmod2.
25001 ($(objpfx)tst-quad1): New dependency.
25002 ($(objpfx)tst-quad2): Likewise.
25003 ($(objpfx)tst-quad1pie): Likewise.
25004 ($(objpfx)tst-quad2pie): Likewise.
25005 * sysdeps/x86_64/tst-quad1.c: New file.
25006 * sysdeps/x86_64/tst-quad1pie.c: New file.
25007 * sysdeps/x86_64/tst-quad2.c: Likewise.
25008 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25009 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25010 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25011 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25012 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25016 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25017 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25018 * streams/stropts.h (t_scalar_t): Define type.
25020 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25021 (_PATH_PRESERVE): Set to "/var/lib".
25022 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25024 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25027 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25028 if __dir_mkfile succeeded.
25030 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25031 checking for _hurd_dtablesize. Unlock it right after having
25032 finished _hurd_dtable allocation.
25034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25036 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25037 * sysdeps/mach/hurd/configure: Regenerated.
25038 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25039 special-casing to...
25040 * sysdeps/gnu/configure.in: ... this new file.
25041 * sysdeps/unix/sysv/linux/configure: Regenerated.
25042 * sysdeps/gnu/configure: New generated file.
25044 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25045 for Linux: use nsec instead of usec, as well as:
25046 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25047 members of type struct timespec.
25048 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25050 (struct stat64): Likewise.
25051 (_STATBUF_ST_NSEC): New macro.
25052 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25054 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25055 __strtoul_internal rather than strtoul.
25057 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25059 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25062 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25064 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25065 which preserves existing values.
25066 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25068 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25070 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25071 TIMEOUT values. Return EINVAL for NFDS values either negative or
25072 greater than FD_SETSIZE.
25074 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25076 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25077 allocated, call __vm_protect to finish enabling the existing space, and
25078 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25079 allocate the remainder.
25081 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25083 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25084 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25088 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25089 sysdeps/mach/hurd/readlink.c.
25091 * posix/tst-sysconf.c (posix_options): Only use
25092 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25093 _POSIX_SYNCHRONIZED_IO when they are defined
25094 * sysdeps/mach/hurd/bits/posix_opt.h:
25095 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25096 (_XOPEN_REALTIME): Undefine macro.
25097 (_XOPEN_REALTIME_THREADS): Undefine macro.
25098 (_XOPEN_SHM): Undefine macro.
25099 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25101 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25103 (_POSIX_ASYNC_IO): Undefine macro.
25104 (_POSIX_PRIORITIZED_IO): Undefine macro.
25105 (_POSIX_SPIN_LOCKS): Define macro to -1.
25107 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25108 SA_NODEFER, SA_RESETHAND.
25109 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25110 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25113 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25115 * elf/Makefile (pldd-modules): Define unconditionally.
25117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25119 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25123 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25124 Return ENOENT when name is empty.
25125 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25129 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25131 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25133 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25135 Fix mlock in all cases except non-readable pages.
25136 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25137 instead of VM_PROT_ALL as parameter to __vm_wire function.
25139 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25140 (__mkdir): When path is `/', just fail with EEXIST.
25141 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25145 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25146 <sys/uio.h> (for writev).
25147 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25148 and <sys/param.h> (for MIN).
25150 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25152 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25153 REQUESTED_TIME. Properly set the remaining time and return EINTR
25156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25158 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25159 Depend on against $(link-rpcuserlibs).
25161 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25163 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25164 (__libc_stack_end): Do not use attribute_relro.
25165 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25166 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25167 to libthread-provided value.
25168 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25171 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25174 * bits/libc-lock.h (__libc_once_get): New macro.
25175 * sysdeps/mach/bits/libc-lock.h: Likewise.
25176 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25178 instead of using implementation details.
25180 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25181 * libio/freopen.c: Likewise.
25182 * libio/freopen64.c: Likewise.
25183 * misc/syslog.c: Likewise.
25184 * nscd/connections.c: Likewise.
25185 * nscd/netgroupcache.c: Likewise.
25186 * sysdeps/posix/getcwd.c: Likewise.
25188 2012-05-10 Roland McGrath <roland@hack.frob.com>
25190 * math/w_ilogbf.c: Add #include <limits.h>.
25192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25194 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25195 path instead of returning without unlocking.
25197 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25198 immediate-write ioctls.
25199 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25203 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25204 __builtin_frame_address instead of making assumptions about the
25205 location of the return address relative to DATA. Force early load of
25206 the return address.
25207 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25208 __builtin_frame_address.
25211 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25212 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25213 implement dup3 and do some further code clean-ups.
25214 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25215 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25219 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25221 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25222 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25223 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25224 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25225 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25228 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25229 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25230 when handler == SIG_ERR, not when handler != SIG_ERR.
25232 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25234 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25235 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25238 accept4 for GNU Hurd.
25239 * include/sys/socket.h (__libc_accept4): New prototype.
25240 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25241 to implement __libc_accept4.
25242 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25244 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25246 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25247 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25248 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25249 signal-defines.sym.
25251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25253 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25255 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25257 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25258 assertion on O_CLOEXEC flag.
25259 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25260 * hurd/intern-fd.c: Likewise.
25261 * hurd/port2fd.c: Likewise.
25263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25266 * bits/in.h (IPV6_PKTINFO): Define new macro.
25267 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25269 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25274 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25275 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25276 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25277 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25279 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25280 * math/libm-test.inc (logb_test) : Additional logb tests.
25282 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25283 Andreas Jaeger <aj@suse.de>
25285 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25286 * configure: Regenerated.
25287 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25288 * config.make.in (link-obsolete-rpc): New substituted variable.
25289 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25290 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25291 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25292 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25293 so that libc.a contains the symbols.
25294 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25295 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25296 * sunrpc/auth_none.c: Likewise.
25297 * sunrpc/auth_unix.c: Likewise.
25298 * sunrpc/authdes_prot.c: Likewise.
25299 * sunrpc/authuxprot.c: Likewise.
25300 * sunrpc/clnt_gen.c: Likewise.
25301 * sunrpc/clnt_perr.c: Likewise.
25302 * sunrpc/clnt_raw.c: Likewise.
25303 * sunrpc/clnt_simp.c: Likewise.
25304 * sunrpc/clnt_tcp.c: Likewise.
25305 * sunrpc/clnt_udp.c: Likewise.
25306 * sunrpc/clnt_unix.c: Likewise.
25307 * sunrpc/des_crypt.c: Likewise.
25308 * sunrpc/des_soft.c: Likewise.
25309 * sunrpc/get_myaddr.c: Likewise.
25310 * sunrpc/key_call.c: Likewise.
25311 * sunrpc/key_prot.c: Likewise.
25312 * sunrpc/netname.c: Likewise.
25313 * sunrpc/pm_getmaps.c: Likewise.
25314 * sunrpc/pm_getport.c: Likewise.
25315 * sunrpc/pmap_clnt.c: Likewise.
25316 * sunrpc/pmap_prot.c: Likewise.
25317 * sunrpc/pmap_prot2.c: Likewise.
25318 * sunrpc/pmap_rmt.c: Likewise.
25319 * sunrpc/publickey.c: Likewise.
25320 * sunrpc/rpc_cmsg.c: Likewise.
25321 * sunrpc/rpc_common.c: Likewise.
25322 * sunrpc/rpc_dtable.c: Likewise.
25323 * sunrpc/rpc_prot.c: Likewise.
25324 * sunrpc/rpc_thread.c: Likewise.
25325 * sunrpc/rtime.c: Likewise.
25326 * sunrpc/svc.c: Likewise.
25327 * sunrpc/svc_auth.c: Likewise.
25328 * sunrpc/svc_raw.c: Likewise.
25329 * sunrpc/svc_run.c: Likewise.
25330 * sunrpc/svc_tcp.c: Likewise.
25331 * sunrpc/svc_udp.c: Likewise.
25332 * sunrpc/svc_unix.c: Likewise.
25333 * sunrpc/svcauth_des.c: Likewise.
25334 * sunrpc/xcrypt.c: Likewise.
25335 * sunrpc/xdr.c: Likewise.
25336 * sunrpc/xdr_array.c: Likewise.
25337 * sunrpc/xdr_float.c: Likewise.
25338 * sunrpc/xdr_intXX_t.c: Likewise.
25339 * sunrpc/xdr_mem.c: Likewise.
25340 * sunrpc/xdr_rec.c: Likewise.
25341 * sunrpc/xdr_ref.c: Likewise.
25342 * sunrpc/xdr_sizeof.c: Likewise.
25343 * sunrpc/xdr_stdio.c: Likewise.
25345 2012-05-10 Roland McGrath <roland@hack.frob.com>
25347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25348 change. Update copyright years.
25350 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25352 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25354 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25355 Joseph Myers <joseph@codesourcery.com>
25356 Paul Pluzhnikov <ppluzhnikov@google.com>
25359 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25361 [cross-compiling] (extra-libs): Likewise.
25362 [cross-compiling] (extra-libs-others): Likewise.
25363 [cross-compiling] (librpcsvc-routines): Likewise.
25364 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25365 [cross-compiling] (omit-deps): Likewise.
25366 (sunrpc-CPPFLAGS): New variable.
25367 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25368 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25369 (cross-rpcgen-objs): New variable.
25370 (extra-objs): Append $(cross-rpcgen-objs).
25371 ($(cross-rpcgen-objs)): New rule.
25372 ($(objpfx)cross-rpcgen): Likewise.
25373 (rpcgen-cmd): Define to use $(built-program-file). Expand
25375 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25376 ($(objpfx)x%.stmp): Likewise.
25377 * sunrpc/proto.h [IS_IN_build] (_): Define.
25378 [IS_IN_build] (_libc_intl_domainname): Likewise.
25380 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25383 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25384 and R_X86_64_TPOFF64.
25386 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25388 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25389 sysdeps/unix/sysv/syscalls.list.
25392 * sysdeps/unix/sysv/syscalls.list: Remove file.
25394 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25397 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25398 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25399 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25400 (__LC_IDENTIFICATION): Make these macros useful in #if
25401 expressions, as required by C99.
25403 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25405 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25406 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25409 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25411 * stdlib/longlong.h: Updated from GCC.
25413 2012-05-09 Andreas Jaeger <aj@suse.de>
25415 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25416 default is first entry.
25417 (run_mode): Set type.
25418 (main): Remove informal message about syslog.
25419 (options): Fix typo.
25422 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25425 (llrintf): Likewise.
25426 (llrint): Likewise.
25429 (nearbyint): Likewise.
25430 (nearbyintf): Likewise.
25432 2012-05-09 Andreas Jaeger <aj@suse.de>
25433 Pedro Alves <palves@redhat.com>
25435 * nscd/nscd.c (run_mode): Use enum.
25436 (main): Cleanup coding style issue.
25438 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25439 Andreas Jaeger <aj@suse.de>
25441 * nscd/nscd.c (go_background): Replaced with...
25442 (run_mode): ... this.
25443 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25444 (options): Add -F --foreground.
25445 (main): Implement it.
25446 (parse_opt): Parse it.
25448 2012-05-09 Andreas Jaeger <aj@suse.de>
25451 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25452 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25453 -Wconversion warning.
25454 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25457 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25459 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25461 (LC_ALL): Use macro-int-constant.
25462 (LC_COLLATE): Likewise.
25463 (LC_CTYPE): Likewise.
25464 (LC_MESSAGES): Likewise.
25465 (LC_MONETARY): Likewise.
25466 (LC_NUMERIC): Likewise.
25467 (LC_TIME): Likewise.
25468 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25469 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25471 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25473 [C99-based standards] (float_t): Expect type.
25474 [C99-based standards] (double_t): Expect type.
25475 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25477 [C99-based standards] (HUGE_VALL): Likewise.
25478 [C99-based standards] (INFINITY): Likewise.
25479 [C99-based standards] (NAN): Likewise.
25480 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25481 [C99-based standards] (FP_NAN): Likewise.
25482 [C99-based standards] (FP_NORMAL): Likewise.
25483 [C99-based standards] (FP_SUBNORMAL): Likewise.
25484 [C99-based standards] (FP_ZERO): Likewise.
25485 [C99-based standards] (FP_FAST_FMA): Use
25486 optional-macro-int-constant. Specify type. Require == 1.
25487 [C99-based standards] (FP_FAST_FMAF): Likewise.
25488 [C99-based standards] (FP_FAST_FMAL): Likewise.
25489 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25490 [C99-based standards] (FP_ILOGBNAN): Likewise.
25491 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25493 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25494 [C99-based standards] (math_errhandling): Specify type.
25495 [ISO99 || ISO11] (signgam): Do not allow.
25496 [non-C99-based standards] (copysignf): Do not allow.
25497 [non-C99-based standards] (exp2f): Likewise.
25498 [non-C99-based standards] (log2f): Likewise.
25499 [non-C99-based standards] (modff): Allow.
25500 [non-C99-based standards] (erff): Do not allow.
25501 [non-C99-based standards] (erfcf): Likewise.
25502 [non-C99-based standards] (gammaf): Likewise.
25503 [non-C99-based standards] (hypotf): Likewise.
25504 [non-C99-based standards] (j0f): Likewise.
25505 [non-C99-based standards] (j1f): Likewise.
25506 [non-C99-based standards] (jnf): Likewise.
25507 [non-C99-based standards] (lgammaf): Likewise.
25508 [non-C99-based standards] (tgammaf): Likewise.
25509 [non-C99-based standards] (y0f): Likewise.
25510 [non-C99-based standards] (y1f): Likewise.
25511 [non-C99-based standards] (ynf): Likewise.
25512 [non-C99-based standards] (isnanf): Likewise.
25513 [non-C99-based standards] (acoshf): Likewise.
25514 [non-C99-based standards] (asinhf): Likewise.
25515 [non-C99-based standards] (atanhf): Likewise.
25516 [non-C99-based standards] (cbrtf): Likewise.
25517 [non-C99-based standards] (expm1f): Likewise.
25518 [non-C99-based standards] (ilogbf): Likewise.
25519 [non-C99-based standards] (log1pf): Likewise.
25520 [non-C99-based standards] (logbf): Likewise.
25521 [non-C99-based standards] (nextafterf): Likewise.
25522 [non-C99-based standards] (remainderf): Likewise.
25523 [non-C99-based standards] (rintf): Likewise.
25524 [non-C99-based standards] (scalbf): Likewise.
25525 [non-C99-based standards] (copysignl): Likewise.
25526 [non-C99-based standards] (exp2l): Likewise.
25527 [non-C99-based standards] (log2l): Likewise.
25528 [non-C99-based standards] (modfl): Allow.
25529 [non-C99-based standards] (erfl): Do not allow.
25530 [non-C99-based standards] (erfcl): Likewise.
25531 [non-C99-based standards] (gammal): Likewise.
25532 [non-C99-based standards] (hypotl): Likewise.
25533 [non-C99-based standards] (j0l): Likewise.
25534 [non-C99-based standards] (j1l): Likewise.
25535 [non-C99-based standards] (jnl): Likewise.
25536 [non-C99-based standards] (lgammal): Likewise.
25537 [non-C99-based standards] (tgammal): Likewise.
25538 [non-C99-based standards] (y0l): Likewise.
25539 [non-C99-based standards] (y1l): Likewise.
25540 [non-C99-based standards] (ynl): Likewise.
25541 [non-C99-based standards] (isnanl): Likewise.
25542 [non-C99-based standards] (acoshl): Likewise.
25543 [non-C99-based standards] (asinhl): Likewise.
25544 [non-C99-based standards] (atanhl): Likewise.
25545 [non-C99-based standards] (cbrtl): Likewise.
25546 [non-C99-based standards] (expm1l): Likewise.
25547 [non-C99-based standards] (ilogbl): Likewise.
25548 [non-C99-based standards] (log1pl): Likewise.
25549 [non-C99-based standards] (logbl): Likewise.
25550 [non-C99-based standards] (nextafterl): Likewise.
25551 [non-C99-based standards] (remainderl): Likewise.
25552 [non-C99-based standards] (rintl): Likewise.
25553 [non-C99-based standards] (scalbl): Likewise.
25554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25555 [non-C99-based standards] (FP_*): Do not allow.
25556 [C99-based standards] (FP_*): Change to
25557 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25558 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25560 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25561 (SIG_ERR): Likewise.
25562 [X/Open-based standards] (SIG_HOLD): Likewise.
25563 (SIG_IGN): Likewise.
25564 (SIGABRT): Use macro-int-constant. Specify type. Require
25566 (SIGFPE): Likewise.
25567 (SIGILL): Likewise.
25568 (SIGINT): Likewise.
25569 (SIGSEGV): Likewise.
25570 (SIGTER): Likewise.
25571 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25572 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25573 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25574 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25575 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25576 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25577 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25578 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25579 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25580 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25581 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25582 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25583 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25584 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25585 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25586 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25587 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25588 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25589 [X/Open-based standards] (SIGTRAP): Likewise.
25590 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25591 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25592 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25593 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25594 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25597 2012-05-08 Ian Wienand <ianw@vmware.com>
25600 * time/tzset.c (__tzset_parse_tz): Update default rules for
25601 daylight time changes in the Energy Policy Act of 2005.
25603 2012-05-09 Andreas Jaeger <aj@suse.de>
25606 * elf/ldconfig.c (parse_conf): Change string to make clear that
25607 ldconfig only issued a warning if ld.so.conf does not exist.
25609 2012-05-08 David S. Miller <davem@davemloft.net>
25611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25612 movxtod instead of popping the value on the stack.
25614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25616 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25618 * config.h.in: Add HAVE_ARM_PCS_VFP.
25620 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25623 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25624 checking but the checks are disabled for any reason.
25626 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25628 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25629 and ELF64_R_TYPE with ELFW(R_TYPE).
25631 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25633 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25634 (ulimit): Likewise.
25636 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25637 (settimeofday): Likewise.
25639 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25641 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25642 a struct th_u2 inside the union, and move tu_block/tu_code into
25643 a new th_u3 union of tu_block/tu_code inside of that. Move
25644 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25645 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25646 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25647 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25648 (th_stuff): Change to th_u1.tu_stuff.
25650 (th_msg): Change to th_u1.th_u2.tu_data.
25652 2012-05-07 David S. Miller <davem@davemloft.net>
25654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25657 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25658 (SETUP_PIC_REG): Use it.
25659 (SETUP_PIC_REG_LEAF): Use it.
25661 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25665 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25667 (EXPL_FINITE): Likewise.
25668 (FLDLOG): Likewise.
25669 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25670 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25672 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25674 (EXPL_FINITE): Likewise.
25675 (FLDLOG): Likewise.
25676 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25677 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25679 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25680 test of -max_value argument for long double.
25681 * sysdeps/i386/fpu/libm-test-ulps: Update.
25682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25684 2012-05-06 David S. Miller <davem@davemloft.net>
25686 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25687 quad soft-float symbols whose references which are compiler
25689 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25691 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25695 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25697 (EXPL_FINITE): Likewise.
25698 (FLDLOG): Likewise.
25701 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25702 Adjust comments for base varying.
25703 (__expl_finite): Change alias to EXPL_FINITE.
25704 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25706 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25707 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25709 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25710 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25712 (EXPL_FINITE): Likewise.
25713 (FLDLOG): Likewise.
25716 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25717 Adjust comments for base varying.
25718 (__expl_finite): Change alias to EXPL_FINITE.
25719 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25724 * math/libm-test.inc (check_float_internal): Correct ulp
25725 calculation for subnormal expected results.
25727 2012-05-06 Andreas Jaeger <aj@suse.de>
25729 * Makeconfig (+math-flags): New, set to -frounding-math.
25730 (+cflags): Add +math-flags so that all of glibc gets compiled with
25733 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25735 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25737 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25743 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25744 (__ieee754_expl): Allow for and saturate large arguments.
25745 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25746 (u_threshold): Likewise.
25747 (__exp): Call __ieee754_exp before checking for overflow and
25749 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25750 (u_threshold): Likewise.
25751 (__expf): Call __ieee754_expf before checking for overflow and
25753 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25754 (u_threshold): Likewise.
25755 (__expl): Call __ieee754_expl before checking for overflow and
25757 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25758 (__ieee754_expl): Allow for and saturate large arguments.
25759 * math/libm-test.inc (exp_test): Add another test. Do not allow
25760 missing overflow exception on overflow.
25761 (expm1_test): Do not allow missing overflow exception on overflow.
25763 * sysdeps/i386/fpu/e_expl.c: Move to ...
25764 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25765 rather than using inline asm.
25766 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25767 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25768 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25770 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25773 (signal): Likewise.
25777 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25779 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25780 sysdeps/unix/common/syscalls.list.
25781 (fchmod): Likewise.
25782 (fchown): Likewise.
25783 (ftruncate): Likewise.
25784 (getrusage): Likewise.
25785 (gettimeofday): Likewise.
25786 (setpgid): Likewise.
25787 (setregid): Likewise.
25788 (setreuid): Likewise.
25789 (sigaction): Likewise.
25790 (truncate): Likewise.
25791 (vhangup): Likewise.
25792 * sysdeps/unix/common/syscalls.list: Remove file.
25793 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25794 * sysdeps/unix/sysv/linux/Implies: Likewise.
25796 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25798 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25800 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25804 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25807 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25810 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25813 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25816 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25819 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25822 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25826 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25830 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25833 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25837 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25841 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25843 * sysdeps/unix/common/bits/dirent.h: Remove file.
25844 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25846 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25847 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25848 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25849 * sysdeps/unix/bsd/isatty.c: Likewise.
25850 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25851 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25852 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25854 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25857 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25858 long double comparison inaccuracies.
25859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25862 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25864 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25867 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25871 nonzero digits before rounding a hex value.
25872 * stdlib/tst-strtod.c (tests): Add another test.
25874 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25876 * sysdeps/s390/fpu/libm-test-ulps: Update.
25878 2012-05-03 Andreas Jaeger <aj@suse.de>
25880 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25881 does not get optimized out.
25882 (malloc_opt_barrier): New.
25884 2012-05-03 Andreas Jaeger <aj@suse.de>
25885 Roland McGrath <roland@hack.frob.com>
25887 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25888 intermediate file deletion.
25889 (generated): Add .symlist files.
25891 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25894 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25895 Redirect under this condition.
25896 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25897 [__USE_GNU] (__dprintf_chk): Not under this condition.
25898 [__USE_GNU] (__vdprintf_chk): Likewise.
25899 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25900 under this condition.
25901 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25902 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25903 [__USE_XOPEN2K8] (vdprintf): Likewise.
25904 [__USE_GNU] (__dprintf_chk): Not under this condition.
25905 [__USE_GNU] (__vdprintf_chk): Likewise.
25906 [__USE_GNU] (dprintf): Likewise.
25907 [__USE_GNU] (vdprintf): Likewise.
25909 2012-05-03 Roland McGrath <roland@hack.frob.com>
25911 * elf/Makefile (common-generated): Set this instead of generated for
25912 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25913 $(all-built-dso)-derived lists.
25915 2012-05-03 Andreas Jaeger <aj@suse.de>
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25920 * FAQ.in: Likewise.
25921 * scripts/gen-FAQ.pl: Likewise.
25922 * manual/install.texi (Installation): Point to online location of
25924 * Makefile (files-for-dist): Remove FAQ.
25927 2012-05-02 Allan McRae <allan@archlinux.org>
25929 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25930 (LDFLAGS-reldepmod5.so): Likewise.
25931 (LDFLAGS-reldep6mod1.so): Likewise.
25932 (LDFLAGS-reldep6mod4.so): Likewise.
25933 (LDFLAGS-reldep8mod3.so): Likewise.
25934 (LDFLAGS-unload4mod1.so): Likewise.
25935 (LDFLAGS-unload4mod2.so): Likewise.
25936 (LDFLAGS-tst-initorder): Likewise.
25937 (LDFLAGS-tst-initordera2.so): Likewise.
25938 (LDFLAGS-tst-initordera3.so): Likewise.
25939 (LDFLAGS-tst-initordera4.so): Likewise.
25940 (LDFLAGS-tst-initorderb2.so): Likewise.
25941 (LDFLAGS-noload): Likewise.
25942 (LDFLAGS-next): Likewise.
25943 (LDFLAGS-order2mod1.so): Likewise.
25944 (LDFLAGS-order2mod2.so): Likewise.
25945 (LDFLAGS-tst-initorder2): Likewise.
25946 (LDFLAGS-tst-initorder2a.so): Likewise.
25947 (LDFLAGS-tst-initorder2b.so): Likewise.
25948 (LDFLAGS-tst-initorder2c.so): Likewise.
25949 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25951 2012-05-02 David S. Miller <davem@davemloft.net>
25953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25955 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25958 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25960 2012-05-02 Andreas Jaeger <aj@suse.de>
25962 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25963 since we manipulate rounding mode.
25964 (CPPFLAGS-test-idouble.c): Likewise.
25965 (CPPFLAGS-test-ifloat.c): Likewise.
25966 (CFLAGS-test-ldouble.c): Likewise.
25967 (CFLAGS-test-double.c): Likewise.
25968 (CFLAGS-test-float.c): Likewise.
25969 (CFLAGS-test-misc.c): Likewise.
25970 (CFLAGS-test-test-fenv.c): Likewise.
25972 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25976 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25977 comparisons to determine direction to adjust input.
25979 2012-05-01 Roland McGrath <roland@hack.frob.com>
25981 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25982 output to the target.
25984 * scripts/localplt.awk: New file.
25985 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25986 (check-localplt-CFLAGS): Variable removed.
25987 ($(all-built-dso:=.jmprel)): New static pattern rule.
25988 (generated): Add those targets.
25989 (localplt-built-dso): New variable.
25990 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25992 * elf/check-localplt.c: File removed.
25994 * scripts/check-execstack.awk: New file.
25995 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25996 (check-execstack-CFLAGS): Variable removed.
25997 ($(objpfx)check-execstack.h): Target removed.
25998 ($(objpfx)execstack-default): New target.
25999 (generated): Add that instead of check-execstack.h.
26000 ($(all-built-dso:=.phdr)): New static pattern rule.
26001 (generated): Add those targets.
26002 * elf/check-execstack.c: File removed.
26004 * scripts/check-textrel.awk: New file.
26005 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26006 (check-textrel-CFLAGS): Variable removed.
26007 (all-built-dso): Use := to define.o
26008 ($(all-built-dso:=.dyn)): New static pattern rule.
26009 (generated): Add those targets.
26010 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26011 * config.make.in (READELF): New substituted variable.
26012 * elf/check-textrel.c: File removed.
26014 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26016 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26018 * conform/data/ctype.h-data [C99-based standards] (isblank):
26020 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26021 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26023 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26024 Specify type. Require positive value.
26025 (EILSEQ): Likewise.
26026 (ERANGE): Likewise.
26027 [ISO || POSIX] (EILSEQ): Do not expect.
26028 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26029 Specify type. Require positive value.
26030 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26031 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26032 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26033 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26034 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26035 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26036 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26037 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26038 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26039 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26040 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26041 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26042 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26043 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26044 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26045 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26046 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26047 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26048 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26049 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26050 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26051 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26052 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26053 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26054 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26055 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26056 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26057 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26058 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26059 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26060 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26061 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26062 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26063 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26064 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26065 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26066 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26067 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26068 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26069 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26070 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26071 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26072 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26073 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26074 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26075 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26076 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26077 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26078 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26079 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26080 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26081 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26082 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26083 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26084 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26085 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26086 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26087 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26088 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26089 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26090 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26091 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26092 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26093 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26094 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26095 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26096 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26097 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26098 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26099 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26100 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26101 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26102 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26103 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26104 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26105 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26106 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26108 (FLT_ROUNDS): Expect as macro, not constant.
26109 (FLT_MANT_DIG): Use macro-int-constant.
26110 (DBL_MANT_DIG): Likewise.
26111 (LDBL_MANT_DIG): Likewise.
26112 (FLT_DIG): Likewise.
26113 (DBL_DIG): Likewise.
26114 (LDBL_DIG): Likewise.
26115 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26116 (DBL_MIN_EXP): Likewise.
26117 (LDBL_MIN_EXP): Likewise.
26118 (FLT_MAX_EXP): Use macro-int-constant.
26119 (DBL_MAX_EXP): Likewise.
26120 (LDBL_MAX_EXP): Likewise.
26121 (FLT_MAX_10_EXP): Likewise.
26122 (DBL_MAX_10_EXP): Likewise.
26123 (LDBL_MAX_10_EXP): Likewise.
26124 (FLT_MAX): Use macro-constant.
26125 (DBL_MAX): Likewise.
26126 (LDBL_MAX): Likewise.
26127 (FLT_EPSILON): Use macro-constant. Give upper bound.
26128 (DBL_EPSILON): Likewise.
26129 (LDBL_EPSILON): Likewise.
26130 (FLT_MIN): Likewise.
26131 (DBL_MIN): Likewise.
26132 (LDBL_MIN): Likewise.
26133 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26134 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26135 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26136 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26137 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26138 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26139 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26140 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26141 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26142 [ISO11] (FLT_TRUE_MIN): Likewise.
26143 [ISO11] (LDBL_TRUE_MIN): Likewise.
26144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26145 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26146 (SCHAR_MIN): Use macro-int-constant. Specify type.
26147 (SCHAR_MAX): Likewise.
26148 (UCHAR_MAX): Likewise.
26149 (CHAR_MIN): Likewise.
26150 (CHAR_MAX): Likewise.
26151 (MB_LEN_MAX): Use macro-int-constant.
26152 (SHRT_MIN): Use macro-int-constant. Specify type.
26153 (SHRT_MAX): Likewise.
26154 (USHRT_MAX): Likewise.
26155 (INT_MAX): Likewise.
26156 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26158 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26160 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26162 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26163 bound negative. Suffix upper bound with "L".
26164 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26166 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26168 [C99-based standards] (LLONG_MAX): Likewise.
26169 [C99-based standards] (ULLONG_MAX): Likewise.
26170 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26172 [ISO11] (max_align_t): Require type.
26173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26175 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26176 from $CFLAGS, without defining away __attribute__ calls.
26177 (checknamespace): Use $CFLAGS_namespace.
26179 * conform/conformtest.pl (@keywords): Only include C99 keywords
26180 for standards based on C99 or C11.
26182 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26184 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26187 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26188 usability of symbols in #if.
26190 * conform/conformtest.pl: If macro or constant types start
26191 "promoted:", expect the symbol to be of the following type
26192 promoted by the integer promotions.
26194 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26195 in one place. Also handle "macro-constant".
26197 * conform/conformtest.pl: Only accept expected macro values with
26198 "==". Parse all "macro" lines in one place.
26199 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26201 * conform/conformtest.pl: Handle braced types on "constant" lines
26202 instead of handling "typed-constant".
26203 * conform/data/signal.h-data: Use "constant" instead of
26206 * conform/conformtest.pl: Handle "optional-" at start of lines in
26207 one place rather than duplicating several cases. Handle each
26208 format of "macro" line with initial "optional-".
26210 * conform/conformtest.pl: Only accept expected constant or
26211 optional-constant values with "==". Parse all "constant" lines in
26212 one place. Parse all "optional-constant" lines in one place.
26213 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26214 * conform/data/fmtmsg.h-data: Likewise.
26215 * conform/data/netinet/in.h-data: Likewise.
26216 * conform/data/tar.h-data: Likewise.
26217 * conform/data/limits.h-data: Use "==" form on "constant" and
26218 "optional-constant" lines.
26220 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26221 Use -std=c99 for XOPEN2K.
26222 (@knownproblems): Remove.
26223 (newtoken): Don't check %isknown.
26225 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26226 Do not expect macro.
26227 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26239 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26240 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26257 [XPG3] (acosh): Likewise.
26258 [XPG3] (asinh): Likewise.
26259 [XPG3] (atanh): Likewise.
26260 [XPG3] (cbrt): Likewise.
26261 [XPG3] (expm1): Likewise.
26262 [XPG3] (ilogb): Likewise.
26263 [XPG3] (log1p): Likewise.
26264 [XPG3] (logb): Likewise.
26265 [XPG3] (nextafter): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26268 [XPG3] (remainder): Likewise.
26269 [XPG3] (rint): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26277 [UNIX98 || XOPEN2K] (scalb): Expect.
26278 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26279 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26306 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26307 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26308 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26309 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26310 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26311 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26312 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26313 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26314 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26315 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26316 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26317 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26318 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26319 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26320 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26321 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26322 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26323 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26324 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26325 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26326 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26327 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26328 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26329 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26330 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26331 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26332 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26333 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26334 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26335 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26336 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26337 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26338 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26339 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26340 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26341 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26342 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26343 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26344 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26345 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26346 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26347 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26348 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26349 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26350 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26351 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26352 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26353 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26354 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26355 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26356 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26357 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26358 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26359 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26360 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26361 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26362 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26363 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26364 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26365 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26366 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26367 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26369 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26370 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26371 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26372 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26373 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26374 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26375 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26376 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26377 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26378 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26379 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26380 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26382 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26383 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26384 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26385 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26386 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26387 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26388 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26389 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26391 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26392 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26393 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26394 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26395 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26396 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26397 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26398 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26399 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26400 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26401 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26402 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26403 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26404 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26405 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26406 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26407 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26408 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26409 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26410 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26411 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26412 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26413 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26414 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26416 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26417 _XOPEN_SOURCE_EXTENDED for XPG4.
26419 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26421 * Makeconfig (localtime): Remove variable.
26422 (inst_localtime-file): Likewise.
26424 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26445 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26449 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26450 comparisons to determine direction to adjust input.
26451 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26452 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26453 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26455 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26457 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26459 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26460 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26462 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26464 * math/libm-test.inc (nexttoward_test): Add more tests.
26466 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26469 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26470 in version GLIBC_2.1, not GLIBC_2.0.
26471 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26474 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26477 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26479 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26480 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26481 * math/libm-test.inc (acos_test): Add more tests.
26482 (asin_test): Likewise.
26483 * sysdeps/i386/fpu/libm-test-ulps: Update.
26484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26487 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26489 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26490 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26491 * math/libm-test.inc (acos_test_tonearest): New function.
26492 (acos_test_towardzero): Likewise.
26493 (acos_test_downward): Likewise.
26494 (acos_test_upward): Likewise.
26495 (asin_test_tonearest): Likewise.
26496 (asin_test_towardzero): Likewise.
26497 (asin_test_downward): Likewise.
26498 (asin_test_upward): Likewise.
26499 (main): Call the new functions.
26500 * sysdeps/i386/fpu/libm-test-ulps: Update.
26501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26505 * math/e_exp10.c: Include <float.h>.
26506 (__ieee754_exp10): Handle underflow here rather than multiplying
26507 large negative argument by M_LN10.
26508 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26510 * math/e_exp10l.c: Include <float.h>.
26511 (__ieee754_exp10l): Handle underflow here rather than multiplying
26512 large negative argument by M_LN10l.
26513 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26514 spurious overflow exception on underflow.
26516 2012-04-29 Marek Polacek <polacek@redhat.com>
26518 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26519 (__fortify_function): New macro.
26520 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26521 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26522 __extern_always_inline.
26523 * libio/bits/stdio2.h: Likewise.
26524 * libio/bits/stdio.h: Likewise.
26525 * string/string.h: Likewise.
26526 * string/bits/string3.h: Likewise.
26527 * include/stdio.h: Likewise.
26528 * stdlib/bits/stdlib.h: Likewise.
26529 * stdlib/stdlib.h: Likewise.
26530 * rt/bits/mqueue2.h: Likewise.
26531 * rt/mqueue.h: Likewise.
26532 * posix/bits/unistd.h: Likewise.
26533 * posix/unistd.h: Likewise.
26534 * io/bits/poll2.h: Likewise.
26535 * io/bits/fcntl2.h: Likewise.
26536 * io/fcntl.h: Likewise.
26537 * io/sys/poll.h: Likewise.
26538 * misc/bits/syslog.h: Likewise.
26539 * misc/bits/syslog-ldbl.h: Likewise.
26540 * misc/sys/syslog.h: Likewise.
26541 * socket/bits/socket2.h: Likewise.
26542 * socket/sys/socket.h: Likewise.
26543 * debug/tst-chk1.c: Likewise.
26544 * wcsmbs/bits/wchar2.h: Likewise.
26545 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26546 * wcsmbs/wchar.h: Likewise.
26548 2012-04-29 Andreas Jaeger <aj@suse.de>
26550 * Makerules (tests): Remove enable-check-abi protection.
26551 (check-abi-warn): Remove.
26552 (check-abi-%): Remove check-abi-warn usage.
26554 * configure.in: Remove check-abi configure option.
26555 * configure: Regenerated.
26556 * config.make.in (enable-check-abi): Remove.
26558 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26561 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26562 double functions to double *_finite functions.
26565 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26566 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26568 * stdio-common/Makefile (tests): Add tst-sprintf3.
26569 * stdio-common/tst-sprintf3.c: New file.
26571 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26572 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26574 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26576 * conform/conformtest.pl: Remove duplicate typed-constant
26579 2012-04-28 David S. Miller <davem@davemloft.net>
26581 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26582 (check-abi-%): Remove AWK script prerequisite and explicit
26584 (check-abi): Rewrite to just diff the symlist with the abilist.
26585 (config-tls, config-abi-config): Delete, no longer used.
26586 (update-abi-%): Remove AWK script and explicit abilist directory.
26587 (update-abi): Rewrite to simply compare and conditionally copy the
26588 symlist and the sysdep abilist file. Remove update-abi-config
26590 * abilist/ld.abilist: Remove.
26591 * abilist/libBrokenLocale.abilist: Remove.
26592 * abilist/libanl.abilist: Remove.
26593 * abilist/libcrypt.abilist: Remove.
26594 * abilist/libdl.abilist: Remove.
26595 * abilist/librt.abilist: Remove.
26596 * abilist/libthread_db.abilist: Remove.
26597 * abilist/libutil.abilist: Remove.
26598 * scripts/extract-abilist.awk: Remove.
26599 * scripts/merge-abilist.awk: Remove.
26600 * sysdeps/generic/libcidn.abilist: New file.
26601 * sysdeps/generic/libnss_compat.abilist: New file.
26602 * sysdeps/generic/libnss_db.abilist: New file.
26603 * sysdeps/generic/libnss_dns.abilist: New file.
26604 * sysdeps/generic/libnss_files.abilist: New file.
26605 * sysdeps/generic/libnss_hesiod.abilist: New file.
26606 * sysdeps/generic/libnss_nis.abilist: New file.
26607 * sysdeps/generic/libnss_nisplus.abilist: New file.
26608 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26609 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26610 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26613 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26614 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26615 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26616 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26617 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26618 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26619 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26620 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26622 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26623 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26624 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26625 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26627 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26628 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26629 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26630 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26631 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26632 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26634 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26635 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26636 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26638 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26741 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26742 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26743 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26746 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26747 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26748 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26749 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26750 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26751 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26752 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26753 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26754 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26806 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26808 * conform/conformtest.pl: Fix typo in handling typed-constant from
26811 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26813 * README: Cut down references to pre-2.6 Linux kernels and
26814 Linuxthreads. Update lists of configurations in libc and ports
26815 and sort alphabetically. Say "or newer" with Linux kernel version
26818 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26820 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26823 * math/libm-test.inc (logb_test_downward): New test to expose
26824 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26827 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26830 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26832 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26833 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26835 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26837 * sysdeps/unix/i386/brk.S: Remove file.
26838 * sysdeps/unix/i386/dl-brk.S: Likewise.
26839 * sysdeps/unix/i386/pipe.S: Likewise.
26840 * sysdeps/unix/i386/sigreturn.S: Likewise.
26841 * sysdeps/unix/i386/syscall.S: Likewise.
26842 * sysdeps/unix/i386/vfork.S: Likewise.
26843 * sysdeps/unix/i386/wait.S: Likewise.
26845 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26846 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26848 * configure.in (arm*-none*): Do not allow without
26849 --enable-hacker-mode.
26850 (netbsd*): Remove case setting base_os.
26851 (386bsd*): Likewise.
26852 (freebsd*): Likewise.
26855 (sunos*): Likewise.
26856 (ultrix*): Likewise.
26857 (newsos*): Likewise.
26858 (dynix*): Likewise.
26864 (minix*): Likewise.
26865 (irix4*): Likewise.
26866 (irix6*): Likewise.
26867 (solaris[2-9]*): Likewise.
26869 * configure: Regenerated.
26871 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26874 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26875 overflow or cancellation in calculating denominator.
26876 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26878 down expression to avoid unexpected rounding in newer GCCs.
26879 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26881 2012-04-26 David S. Miller <davem@davemloft.net>
26883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26884 long-double compat symbols.
26885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26899 2012-04-25 David S. Miller <davem@davemloft.net>
26901 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26902 HWCAP_* values only after the memory barriers have been defined.
26903 (atomic_full_barrier): Define.
26904 (atomic_read_barrier): Define.
26905 (atomic_write_barrier): Define.
26907 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26909 * shlib-versions: Add libgcc_s version information.
26910 * sysdeps/generic/libgcc_s.h: Remove.
26911 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26913 * sysdeps/gnu/unwind-resume.c: Likewise.
26914 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26916 2012-04-25 David S. Miller <davem@davemloft.net>
26918 * sysdeps/unix/sparc/brk.S: Delete.
26919 * sysdeps/unix/sparc/dl-brk.S: Delete.
26920 * sysdeps/unix/sparc/pipe.S: Delete.
26921 * sysdeps/unix/sparc/sysdep.S: Delete.
26922 * sysdeps/unix/sparc/sysdep.h: Delete.
26923 * sysdeps/unix/sparc/vfork.S: Delete.
26924 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26925 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26926 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26927 ret_ERRVAL, r0, r1, MOVE): Define.
26928 (JUMPTARGET): Remove.
26929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26930 sysdeps/unix/sparc/sysdep.h
26931 (ENTRY, END): Remove.
26932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26934 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26936 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26937 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26940 * timezone/README: Update upstream location and email address for
26942 * timezone/zdump.c: Update from tzcode 2012b.
26943 * timezone/zic.c: Likewise.
26945 * configure.in (libc_cv_as_needed): Remove test.
26946 * configure: Regenerated.
26947 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26948 conditional definition.
26949 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26950 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26951 * config.make.in (have-as-needed): Remove variable.
26953 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26954 Paul Pluzhnikov <ppluzhnikov@google.com>
26956 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26959 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26961 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26962 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26963 * sysdeps/sh/strlen.S: Likewise.
26965 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26967 * sysdeps/unix/fork.S: Remove file.
26968 * sysdeps/unix/i386/fork.S: Likewise.
26969 * sysdeps/unix/sparc/fork.S: Likewise.
26971 * sysdeps/unix/system.c: Remove file.
26972 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26974 * sysdeps/unix/getegid.S: Remove file.
26975 * sysdeps/unix/geteuid.S: Likewise.
26977 2012-04-24 Roland McGrath <roland@hack.frob.com>
26979 * scripts/check-localplt.awk: New file.
26980 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26982 * scripts/data/localplt-generic.data: Add a comment.
26984 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26985 NODE when __dir_mkfile failed.
26986 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26987 Reported by Ludovic Courtès <ludo@gnu.org>.
26989 2012-04-24 Andreas Jaeger <aj@suse.de>
26991 * Makerules (common-clean): Also remove gen-as-const-headers
26994 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26996 * Makerules (native-compile): Do not change working directory for
26997 build. Use $(OUTPUT_OPTION) in command.
26998 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27000 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27003 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27004 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27005 * math/libm-test.inc (floor_test): Add more tests.
27006 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27008 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27010 * sysdeps/unix/getdents.c: Remove file.
27011 * sysdeps/unix/sysv/getdents.c: Likewise.
27012 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27014 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27015 sysdeps/unix/mman/syscalls.list.
27017 (mprotect): Likewise.
27019 (munmap): Likewise.
27020 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27021 * sysdeps/unix/mman/syscalls.list: Remove.
27022 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27024 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27025 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27026 * configure: Regenerated.
27027 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27028 $(libgcc_s_suffix).
27029 * config.make.in (libgcc_s_suffix): Remove variable.
27031 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27033 * sysdeps/unix/sysv/gethostname.c: Move to ...
27034 * sysdeps/posix/gethostname.c: ... here.
27036 * sysdeps/unix/execve.S: Remove file.
27038 * sysdeps/unix/_exit.S: Remove file.
27040 2012-04-23 Andreas Jaeger <aj@suse.de>
27043 * manual/Makefile: Remove make dist support, there's no
27044 need for a stand-alone documentation tar ball.
27045 (TEXI2DVI): Define always, it's not in Makeconfig.
27048 (edition): Removed.
27049 (glibc-doc-$(edition).tar): Removed
27053 (ETAGS): Remove, it's in Makeconfig.
27054 (move-if-change): Remove, it's in Makeconfig.
27056 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27059 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27060 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27061 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27062 (strtod_l, strtof_l, strtold_l): Remove __wur.
27063 It is not necessarily an error to ignore strtol's return value.
27064 One can reliably look at the stored endptr to decide whether
27065 the number had valid syntax.
27067 2012-04-21 Andreas Jaeger <aj@suse.de>
27070 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27072 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27074 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27075 * sysdeps/unix/sysv/Versions: Remove file.
27077 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27082 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27085 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27086 version from __vm86.
27088 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27090 * sysdeps/unix/common/lxstat.c: Remove file.
27091 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27093 * sysdeps/unix/sysv/Makefile: Remove file.
27095 * sysdeps/unix/sysv/direct.h: Remove file.
27097 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27098 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27099 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27100 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27101 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27102 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27103 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27105 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27107 * sysdeps/unix/xmknod.c: Remove file.
27108 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27110 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27112 * sysdeps/unix/sysv/i386/time.S: Remove file.
27114 * sysdeps/unix/fxstat.c: Remove file.
27115 * sysdeps/unix/xstat.c: Likewise.
27116 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27118 * sysdeps/unix/sysv/sigaction.c: Remove file.
27120 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27121 (sysdep_headers): Remove variable.
27122 [termio.h not in sysdep_headers] (generated): Likewise.
27123 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27124 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27125 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27126 * sysdeps/unix/sysv/tcflow.c: Likewise.
27127 * sysdeps/unix/sysv/tcflush.c: Likewise.
27128 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27129 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27130 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27131 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27132 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27134 * sysdeps/unix/siglist.c: Remove file.
27136 * sysdeps/unix/getppid.S: Remove file.
27138 * sysdeps/unix/mkdir.c: Remove file.
27139 * sysdeps/unix/rmdir.c: Likewise.
27141 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27143 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27145 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27146 errlist-compat value.
27148 2012-04-18 David S. Miller <davem@davemloft.net>
27150 * sysdeps/generic/memcopy.h (reg_char): Delete.
27151 * debug/strcat_chk.c: Use char, not reg_char.
27152 * debug/strcpy_chk.c: Likewise.
27153 * debug/strncat_chk.c: Likewise.
27154 * debug/strncpy_chk.c: Likewise.
27155 * string/memchr.c: Likewise.
27156 * string/memrchr.c: Likewise.
27157 * string/rawmemchr.c: Likewise.
27158 * string/strcat.c: Likewise.
27159 * string/strchr.c: Likewise.
27160 * string/strchrnul.c: Likewise.
27161 * string/strcmp.c: Likewise.
27162 * string/strcpy.c: Likewise.
27163 * string/strncat.c: Likewise.
27164 * string/strncmp.c: Likewise.
27165 * string/strncpy.c: Likewise.
27167 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27169 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27170 __builtin_memcopy is called when src and dest ranges are known to not
27173 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27175 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27176 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27177 fwd_align_merge macro call.
27178 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27179 bwd_align_merge macro call.
27180 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27182 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27185 bwd_align_merge macros.
27186 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27187 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27188 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27190 2012-04-18 David S. Miller <davem@davemloft.net>
27192 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27194 2012-04-18 Andreas Jaeger <aj@suse.de>
27197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27198 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27199 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27202 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27203 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27205 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27206 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27207 Adjust for changed ldbl-128 files.
27209 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27210 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27211 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27213 2012-04-17 David S. Miller <davem@davemloft.net>
27215 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27217 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27219 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27220 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27221 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27222 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27223 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27224 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27226 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27229 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27230 * math/libm-test.inc: Add ilogb errno and exception tests.
27231 * math/w_ilogb.c: New file: ilogb wrapper.
27232 * math/w_ilogbf.c: New file: ilogbf wrapper.
27233 * math/w_ilogbl.c: New file: ilogbl wrapper.
27234 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27235 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27236 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27237 exception being thrown with 0.0 as argument.
27238 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27239 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27240 exception being thrown with 0.0 as argument.
27241 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27242 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27243 exception being thrown with 0.0 as argument.
27244 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27245 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27246 exception being thrown with 0.0 as argument.
27247 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27248 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27249 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27250 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27251 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27252 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27253 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27254 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27255 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27257 2012-04-17 Petr Baudis <pasky@ucw.cz>
27259 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27262 2012-04-16 Marek Polacek <polacek@redhat.com>
27264 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27266 2012-04-16 Marek Polacek <polacek@redhat.com>
27268 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27269 operands of fdivp instruction.
27271 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27273 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27274 * elf/tst-auditmod3b.c: Likewise.
27275 * elf/tst-auditmod4b.c: Likewise.
27276 * elf/tst-auditmod5b.c: Likewise.
27277 * elf/tst-auditmod6b.c: Likewise.
27278 * elf/tst-auditmod6c.c: Likewise.
27279 * elf/tst-auditmod7b.c: Likewise.
27280 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27281 * sysdeps/x86_64/preconfigure.in: Likewise.
27282 * sysdeps/x86_64/preconfigure: Regenerated.
27284 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27286 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27289 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27292 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27294 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27297 * locale/iso-639.def: Fix gl language name. Spotted by
27300 2012-04-12 Roland McGrath <roland@hack.frob.com>
27303 * libio/libio.h (__io_write_fn): Update comment.
27305 2012-04-12 Petr Baudis <pasky@ucw.cz>
27308 * stdio.texi (Hook Functions): The user provided writer function
27309 is not allowed to return -1.
27311 2012-04-11 David S. Miller <davem@davemloft.net>
27313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27315 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27317 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27318 Add a leading slash to rtkaio.
27320 2012-04-11 Jim Meyering <meyering@redhat.com>
27323 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27324 It is not necessarily an error to ignore fwrite's return
27325 value. One can reliably use ferror to test for errors after
27328 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27330 * bits/types.h (__snseconds_t): New type.
27331 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27333 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27335 (__SNSECONDS_T_TYPE): Likewise.
27336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27337 (__SNSECONDS_T_TYPE): Likewise.
27338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27339 (__SNSECONDS_T_TYPE): Likewise.
27341 2012-04-10 Andreas Jaeger <aj@suse.de>
27344 * manual/time.texi (Processor Time): Return type of times is
27345 elapsed real time since an arbitrary point in the past.
27346 (CPU Time): Move CLK_TCK from here...
27347 (Processor Time): ...to here. Correct description.
27348 * manual/conf.texi (Constants for Sysconf): Correct description of
27351 2012-04-10 David S. Miller <davem@davemloft.net>
27354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27355 where the is a gap between DT_REL(A) and DT_JMPREL.
27357 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27359 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27360 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27361 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27363 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27365 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27366 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27367 (dl_main): Handle --inhibit-cache.
27368 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27370 * elf/dl-load.c (_dl_map_object): Use it.
27371 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27373 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27376 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27377 (__ieee754_powl): Saturate large exponents rather than testing for
27378 overflow of y*log2(x).
27379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27380 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27384 * math/s_ctan.c: Include <float.h>.
27385 (__ctan): Avoid internal overflow or cancellation in calculating
27387 * math/s_ctanf.c: Likewise.
27388 * math/s_ctanl.c: Likewise.
27389 * math/s_ctanh.c: Likewise.
27390 * math/s_ctanhf.c: Likewise.
27391 * math/s_ctanhl.c: Likewise.
27392 * math/libm-test.inc (ctan_test): Add more tests.
27393 (ctanh_test): Likewise.
27394 * sysdeps/i386/fpu/libm-test-ulps: Update.
27395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27397 2012-04-09 Andreas Jaeger <aj@suse.de>
27400 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27401 is an optional BSD extension.
27404 * manual/stdio.texi (Opening Streams): Document additional fopen
27407 2012-04-09 Roland McGrath <roland@hack.frob.com>
27409 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27410 %eax without telling the compiler.
27412 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27415 * manual/install.texi: Use sourceware.org.
27417 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27420 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27421 (__ieee754_pow): Generate overflow and underflow using huge*huge
27422 and tiny*tiny rather than just returning constant infinity or zero
27423 for large exponents.
27424 * math/libm-test.inc (pow_test): Require overflow exceptions for
27425 applicable cases of large exponents.
27428 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27429 (__ieee754_pow): Use iterative multiplication algorithm only for
27430 integer exponents with absolute value below 1024. Check for odd
27431 integer exponents when using algorithm for real exponents.
27432 * math/libm-test.inc (pow_test): Add more tests.
27433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27435 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27438 * math/libm-test.inc (exp_test): Do not allow overflow exception
27441 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27444 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27445 instead of __kernel_standard_f.
27447 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27449 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27450 * sysdeps/x86_64/memset_chk.S: Likewise.
27452 2012-04-08 Andreas Jaeger <aj@suse.de>
27455 * manual/startup.texi (Environment Access): Describe return value
27456 for putenv and setenv.
27459 * manual/filesys.texi (Directory Entries): Add description for
27463 * manual/filesys.texi (Directory Entries): Clarify that it's file
27464 system not operating system in the description of DT_UNKNOWN.
27467 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27469 2012-04-08 Stephen Compall <s11@member.fsf.org>
27472 * manual/llio.texi (Opening and Closing Files): Add cross
27473 reference to explain mode argument.
27475 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27477 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27478 * sysdeps/x86_64/memset_chk.S: Likewise.
27480 2012-04-07 David S. Miller <davem@davemloft.net>
27482 * elf/elf.h (R_SPARC_WDISP10): Define.
27483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27486 R_SPARC_SIZE64 and R_SPARC_H34.
27488 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27491 conditions and remove no longer applicable assertion.
27493 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27495 * bits/byteswap.h: Include <features.h>.
27496 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27497 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27499 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27501 * bits/byteswap.h (__bswap_16): Removed.
27502 Include <bits/byteswap-16.h> to get __bswap_16.
27503 * sysdeps/i386/bits/byteswap.h: Likewise.
27504 * sysdeps/s390/bits/byteswap.h: Likewise.
27505 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27506 * bits/byteswap-16.h: New file.
27507 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27508 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27509 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27510 * string/Makefile (headers): Add bits/byteswap-16.h.
27512 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27515 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27517 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27518 * nss/tst-nss-static.c: New.
27520 2012-04-06 Robert Millan <rmh@gnu.org>
27523 * manual/llio.texi (File Position Primitive): lseek
27524 refers to WHENCE when it really means OFFSET.
27526 2012-04-06 Andreas Jaeger <aj@suse.de>
27528 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27529 strncmp declarations.
27531 * abilist/libc.abilist: Add __poll and __ppoll.
27533 2012-04-05 David S. Miller <davem@davemloft.net>
27535 * scripts/check-local-headers.sh: Accept a host triplet in the
27536 path matched by the exclude regexp.
27538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27540 * sysdeps/powerpc/powerpc32/dl-machine.h
27541 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27542 * sysdeps/s390/s390-32/dl-machine.h
27543 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27544 * sysdeps/sparc/sparc32/dl-machine.h
27545 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27546 * sysdeps/sparc/sparc64/dl-machine.h
27547 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27549 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27551 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27552 undefined symbol errors.
27554 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27557 2012-04-05 Michael Matz <matz@suse.de>
27560 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27562 2012-04-05 Andreas Jaeger <aj@suse.de>
27565 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27568 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27570 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27571 which ROUND is no valid rounding mode.
27573 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27575 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27577 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27579 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27581 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27582 an exception using FPU order intentionally.
27584 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27586 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27587 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27588 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27589 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27591 2012-04-05 Simon Josefsson <simon@josefsson.org>
27594 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27595 EINVAL when BUFLEN is too smal.
27597 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27600 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27601 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27603 2012-04-03 Andreas Jaeger <aj@suse.de>
27606 * manual/setjmp.texi (System V contexts): Fix sentence.
27609 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27610 New macro for this case.
27611 [!__GNUC__] (__bswap_64): New inline function for this case.
27612 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27613 * bits/byteswap.h: Likewise.
27614 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27615 ull, guard with __GLIBC_HAVE_LONG_LONG.
27617 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27618 __GLIBC_HAVE_LONG_LONG.
27620 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27621 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27623 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27626 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27627 inptr and inend, rather than using last_ch.
27629 2012-04-02 David S. Miller <davem@davemloft.net>
27631 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27632 * stdio-common/printf-parse.h (read_int): Change return type to
27633 'int', return -1 on INT_MAX overflow.
27634 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27635 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27636 overflows INT_MAX. Check for overflow of in-format-string precision
27637 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27638 SIZE_MAX not INT_MAX for integer overflow test.
27639 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27640 skip the construct in the format string but do not record anything.
27641 * stdio-common/bug22.c: Adjust to test both width/prevision
27642 INT_MAX overflow as well as total length INT_MAX overflow. Check
27643 explicitly for proper errno values.
27645 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27647 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27649 * string/test-strcmp.c [! WIDE]: Likewise.
27650 * time/tst-mktime2.c: Likewise for INT_MAX.
27651 * string/test-string.h: #include <sys/param.h> for MIN.
27653 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27654 * sysdeps/i386/init-first.c (init): Likewise.
27655 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27656 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27657 * sysdeps/sh/init-first.c (init): Likewise.
27659 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27661 * po/ru.po: Update from translation team.
27662 * po/vi.po: Likewise.
27664 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27666 * resolv/nss_dns/dns-host.c: Merge copyright years.
27668 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27670 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27671 Optimize memcpy with prefetch if
27672 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27673 src, dst pointers have unequal 16 byte alignments.
27675 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27678 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27679 from a CNAME entry and return the minimum ttl for the query.
27680 (gaih_getanswer_slice): Likewise.
27682 2012-03-30 Jeff Law <law@redhat.com>
27684 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27686 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27687 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27689 * resolv/nss_dns/dns-host.c: Update copyright year.
27691 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27693 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27694 requests to save a system call. Fix check that all bytes are sent.
27696 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27697 comments for sendmmsg.
27699 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27702 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27703 with only 1 character between 0x0041 and 0x01b0.
27704 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27705 * wcsmbs/tst-mbsnrtowcs.c: New file.
27707 2012-03-29 David S. Miller <davem@davemloft.net>
27709 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27710 small copies by hand.
27712 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27715 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27716 _nss_compat_initgroups_dyn): Fall back to malloc/free
27717 for large group memberships.
27719 2012-03-28 David S. Miller <davem@davemloft.net>
27721 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27722 that branches into memcpy.
27723 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27726 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27727 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27729 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27730 implementation too.
27731 * sysdeps/sparc/mempcpy.S: New file.
27733 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27734 the IFUNC routine in the libc case.
27735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27737 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27738 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27739 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27740 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27741 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27742 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27743 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27744 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27746 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27747 loop to 256 bytes instead of 64 bytes and fix test signedness.
27749 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27750 * sysdeps/sparc/sparc32/Makefile: rather than here...
27751 * sysdeps/sparc/sparc64/Makefile: and here.
27753 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27755 * malloc/mallocbug.c: Avoid warnings about unused variables.
27757 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27760 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27761 in the right place. Discard and retry query if response is
27762 larger than input buffer size.
27764 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27769 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27770 x for large integer exponent.
27771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27772 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27773 sign of result as needed afterwards.
27774 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27775 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27776 result for underflowing pow the same as for overflow.
27777 (__kernel_standard_l): Handle powl overflow and underflow here
27778 rather than calling __kernel_standard.
27779 * math/libm-test.inc (pow_test): Add more tests.
27794 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27795 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27796 (__kernel_standard_l): New function.
27797 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27799 * math/w_acosl.c (__acosl): Likewise.
27800 * math/w_asinl.c (__asinl): Likewise.
27801 * math/w_atan2l.c (__atan2l): Likewise.
27802 * math/w_atanhl.c (__atanhl): Likewise.
27803 * math/w_coshl.c (__coshl): Likewise.
27804 * math/w_exp10l.c (__exp10l): Likewise.
27805 * math/w_exp2l.c (__exp2l): Likewise.
27806 * math/w_fmodl.c (__fmodl): Likewise.
27807 * math/w_hypotl.c (__hypotl): Likewise.
27808 * math/w_j0l.c (__j0l, __y0l): Likewise.
27809 * math/w_j1l.c (__j1l, __y1l): Likewise.
27810 * math/w_jnl.c (__jnl, __ynl): Likewise.
27811 * math/w_lgammal.c (__lgammal): Likewise.
27812 * math/w_log10l.c (__log10l): Likewise.
27813 * math/w_log2l.c (__log2l): Likewise.
27814 * math/w_logl.c (__logl): Likewise.
27815 * math/w_powl.c (__powl): Likewise.
27816 * math/w_remainderl.c (__remainderl): Likewise.
27817 * math/w_scalbl.c (sysv_scalbl): Likewise.
27818 * math/w_sinhl.c (__sinhl): Likewise.
27819 * math/w_sqrtl.c (__sqrtl): Likewise.
27820 * math/w_tgammal.c (__tgammal): Likewise.
27821 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27822 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27823 * math/libm-test.inc (acos_test): Add more tests.
27824 (acosh_test): Likewise.
27825 (asin_test): Likewise.
27826 (atanh_test): Likewise.
27827 (exp_test): Likewise.
27828 (exp10_test): Likewise.
27829 (exp2_test): Likewise.
27830 (expm1_test): Likewise.
27831 (lgamma_test): Likewise.
27832 (log_test): Likewise.
27833 (log10_test): Likewise.
27834 (log1p_test): Likewise.
27835 (log2_test): Likewise.
27836 (pow_test): Do not allow some spurious overflow exceptions.
27837 (sqrt_test): Add more tests.
27838 (tgamma_test): Likewise.
27839 (y0_test): Likewise.
27840 (y1_test): Likewise.
27841 (yn_test): Likewise.
27843 2012-03-27 Anton Blanchard <anton@samba.org>
27845 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27847 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27848 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27849 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27851 2012-03-27 David S. Miller <davem@davemloft.net>
27853 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27855 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27856 have-as-vis3 check.
27858 2012-03-27 Andreas Jaeger <aj@suse.de>
27860 * sysdeps/x86_64/elf/configure.in: Moved to ...
27861 * sysdeps/x86_64/configure.in: ... here.
27862 * sysdeps/x86_64/elf/start.S: Moved to ...
27863 * sysdeps/x86_64/start.S: ... here.
27864 * sysdeps/x86_64/elf/configure: Delete.
27866 * sysdeps/x86_64/configure.in: Merge contents from
27867 sysdeps/i386/configure.in (without i686 check).
27869 * sysdeps/i386/elf/Versions: Merge into ...
27870 * sysdeps/i386/Versions: ... this.
27871 * sysdeps/i386/elf/Versions: Delete file.
27872 * sysdeps/i386/elf/start.S: Moved to ...
27873 * sysdeps/i386/start.S: ...here.
27874 * sysdeps/i386/elf/configure.in: Merge into...
27875 * sysdeps/i386/configure.in: ...here.
27876 * sysdeps/i386/elf/configure.in: Delete file.
27877 * sysdeps/i386/elf/configure: Delete file.
27879 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27880 * debug/backtracesyms.c: ... here.
27881 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27882 * debug/backtracesymsfd.c: ... here.
27883 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27884 * sysdeps/generic/ifunc-sel.h: ... here.
27886 * sysdeps/unix/i386/start.c: Delete file.
27887 * sysdeps/unix/sparc/start.c: Delete file.
27888 * sysdeps/unix/start.c: Delete file.
27890 * sysdeps/sh/elf/configure.in: Moved to ...
27891 * sysdeps/sh/configure.in: ... here.
27892 * sysdeps/sh/elf/start.S: Moved to ...
27893 * sysdeps/sh/start.S: ... here.
27894 * sysdeps/sh/elf/configure: Delete file.
27896 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27897 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27898 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27899 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27900 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27901 * sysdeps/powerpc/powerpc64/start.S: here.
27902 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27903 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27904 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27905 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27906 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27908 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27909 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27910 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27911 * sysdeps/powerpc/powerpc32/start.S: ... here.
27912 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27913 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27914 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27916 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27917 * sysdeps/powerpc/ifunc-sel.h: ... here.
27918 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27919 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27921 * sysdeps/sparc/elf/configure.in: Moved to ...
27922 * sysdeps/sparc/configure.in: ... here.
27923 * sysdeps/sparc/elf/configure: Delete file.
27924 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27925 * sysdeps/sparc/sparc32/start.S: ... here.
27926 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27927 * sysdeps/sparc/sparc64/start.S: ... here.
27928 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27929 * sysdeps/sparc/sparc32/Makefile: ... this.
27930 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27931 * sysdeps/sparc/sparc64/Makefile: ... this.
27933 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27934 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27935 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27936 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27937 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27938 * sysdeps/s390/s390-32/setjmp.S: ... here.
27939 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27940 * sysdeps/s390/s390-32/configure.in: ... here.
27941 * sysdeps/s390/s390-32/elf/configure: Delete file.
27942 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27943 * sysdeps/s390/s390-32/start.S: ... here.
27945 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27946 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27947 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27948 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27949 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27950 * sysdeps/s390/s390-64/setjmp.S: ... here.
27951 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27952 * sysdeps/s390/s390-64/configure.in: ... here
27953 * sysdeps/s390/s390-64/elf/configure: Delete file.
27954 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27955 * sysdeps/s390/s390-64/start.S: ... here.
27956 * sysdeps/s390/s390-64/elf/configure: Delete.
27958 * configure.in: Remove support for elf directories in sysdeps.
27960 * configure: Regenerated.
27961 * sysdeps/i386/configure: Regenerated.
27962 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27963 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27964 * sysdeps/s390/s390-32/configure: Regenerated.
27965 * sysdeps/s390/s390-64/configure: Regenerated.
27966 * sysdeps/sh/configure: Regenerated.
27967 * sysdeps/sparc/configure: Regenerated.
27968 * sysdeps/x86_64/configure: Regenerated.
27970 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27974 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27975 denormal result into account.
27977 2012-03-25 Roland McGrath <roland@hack.frob.com>
27979 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27980 Reported by Allan McRae <allan@archlinux.org>.
27982 2012-03-23 Jeff Law <law@redhat.com>
27984 * nss/getnssent.c (__nss_getent): Fix typo.
27986 2012-03-23 David S. Miller <davem@davemloft.net>
27988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27990 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27992 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27993 to pad to uint64_t for each field.
27994 (dl_tls_index): Replace unsigned long with uint64_t.
27996 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27997 Paul Pluzhnikov <ppluzhnikov@google.com>
28000 * grp/Makefile (otherlibs): Don't set it.
28001 * inet/Makefile (otherlibs): Likewise.
28002 * login/Makefile (otherlibs): Likewise.
28003 * nscd/Makefile (otherlibs): Likewise.
28004 * posix/Makefile (otherlibs): Likewise.
28005 * pwd/Makefile (otherlibs): Likewise.
28006 * rt/Makefile (otherlibs): Likewise.
28007 * sunrpc/Makefile (otherlibs): Likewise.
28008 * nss/Makefile (otherlibs): Likewise.
28009 Add libnss_files to routines and static-only-routines.
28010 ($(objpfx)getent): Remove rule.
28011 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28012 static-only-routines.
28014 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28017 * math/s_cexp.c: Include <float.h>.
28018 (__cexp): Handle exp result overflowing not necessarily
28019 overflowing both real and imaginary parts of result.
28020 * math/s_cexpf.c: Likewise.
28021 * math/s_cexpl.c: Likewise.
28022 * math/libm-test.inc (cexp_test): Add more tests.
28023 * sysdeps/i386/fpu/libm-test-ulps: Update.
28024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28026 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28028 * include/link.h (ELFW): New macro.
28029 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28030 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28032 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28034 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28037 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28039 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28041 (struct La_x32_retval): Likewise.
28043 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28045 * sysdeps/x86_64/preconfigure.in: New file.
28046 * sysdeps/x86_64/preconfigure: New generated file.
28048 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28051 * math/e_exp2l.c: Include <float.h>.
28052 (__ieee754_exp2l): Handle overflow and underflow cases
28053 separately. Only pass fractional part of argument to
28055 * math/libm-test.inc (exp2_test): Add more tests.
28057 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28058 negating x to take absolute value.
28059 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28061 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28062 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28064 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28065 computing low part if x was negated.
28066 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28068 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28070 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28071 la_x32_gnu_pltexit.
28072 (pltexit): Cast int_retval to ptrdiff_t.
28073 * elf/tst-auditmod3b.c: Likewise.
28074 * elf/tst-auditmod4b.c: Likewise.
28075 * elf/tst-auditmod5b.c: Likewise.
28076 * elf/tst-auditmod6b.c: Likewise.
28077 * elf/tst-auditmod6c.c: Likewise.
28078 * elf/tst-auditmod7b.c: Likewise.
28080 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28081 and x32_gnu_pltexit.
28083 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28084 __ELF_NATIVE_CLASS.
28085 (La_x32_regs): New macro.
28086 (La_x32_retval): Likewise.
28087 (la_x32_gnu_pltenter): New function prototype.
28088 (la_x32_gnu_pltexit): Likewise.
28090 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28097 * configure.in (libc_cv_cc_nofma): Check for option to disable
28098 generation of FMA instructions.
28099 * configure: Regenerate.
28100 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28101 * sysdeps/ieee754/dbl-64/Makefile: New file.
28102 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28103 Remove brandred-fma4.
28104 (CFLAGS-brandred-fma4.c): Remove.
28105 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28106 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28108 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28111 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28113 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28114 LLONG_MAX != LONG_MAX.
28115 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28116 (_fitoa_word): Likewise.
28117 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28118 LLONG_MAX != LONG_MAX.
28119 * stdio-common/_itowa.h: Include <_itoa.h>.
28120 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28121 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28122 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28123 only if not defined.
28124 (_ITOA_WORD_TYPE): Likewise.
28125 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28126 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28128 2012-03-21 David S. Miller <davem@davemloft.net>
28130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28132 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28134 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28135 of x86_64 when setting libc_cv_slibdir, libdir and
28137 * sysdeps/unix/sysv/linux/configure: Regenerated.
28139 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28141 * manual/lang.texi (Old Varargs): Remove section.
28142 (How Variadic): Update menu.
28143 (va_start): Do not mention varargs.h.
28145 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28146 Joseph Myers <joseph@codesourcery.com>
28148 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28150 * configure: Regenerated.
28152 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28154 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28155 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28158 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28161 * Makefile (files-for-dist): Remove NOTES.
28162 (NOTES): Remove rule.
28163 * README: Don't refer to NOTES.
28164 * manual/creature.texi: Don't include macros.texi.
28165 * manual/intro.texi (creature.texi): Remove comment referring to
28168 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28169 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28170 * configure: Regenerated.
28171 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28172 LIBC_TRY_CC_OPTION.
28173 (libc_cv_as_i686): Likewise.
28174 (libc_cv_cc_avx): Likewise.
28175 (libc_cv_cc_sse2avx): Likewise.
28176 (libc_cv_cc_fma4): Likewise.
28177 (libc_cv_cc_novzeroupper): Likewise.
28178 * sysdeps/i386/configure: Regenerated.
28181 * sysdeps/i386/fpu/s_cexp.S: Remove.
28182 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28183 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28184 * math/libm-test.inc (cexp_test): Add more tests.
28185 * sysdeps/i386/fpu/libm-test-ulps: Update.
28186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28188 2012-03-21 Allan McRae <allan@archlinux.org>
28190 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28192 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28195 * math/w_exp2.c: Do not include <float.h>.
28196 (o_threshold, u_threshold): Remove.
28197 (__exp2): Calculate result before checking finiteness and calling
28199 * math/w_exp2f.c: Likewise.
28200 * math/w_exp2l.c: Likewise.
28201 * math/libm-test.inc (exp2_test): Require overflow exception for
28205 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28206 range of signed 64-bit integers before using fistpll. Remove
28207 checks for whether integers fit in mantissa bits.
28208 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28209 the range of signed 32-bit integers before using fistpl. Remove
28210 checks for whether integers fit in mantissa bits.
28211 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28212 (__ieee754_powl): Test for y outside the range of signed 64-bit
28213 integers before using fistpll. Reduce 64-bit values to 63-bit
28215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28216 divide-by-zero is raised for zero to large negative powers.
28217 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28218 (__ieee754_powl): Test for y outside the range of signed 64-bit
28219 integers before using fistpll. Reduce 64-bit values to 63-bit
28221 * math/libm-test.inc (pow_test): Add more tests.
28223 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28225 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28226 <stdio-common/_itoa.h>.
28227 * debug/segfault.c: Likewise.
28228 * elf/dl-cache.c: Likewise.
28229 * elf/dl-minimal.c: Likewise.
28230 * elf/dl-misc.c: Likewise.
28231 * elf/dl-sysdep.c: Likewise.
28232 * elf/dl-version.c: Likewise.
28233 * elf/rtld.c: Likewise.
28234 * hurd/hurdsock.c: Likewise.
28235 * hurd/lookup-retry.c: Likewise.
28236 * malloc/malloc.c: Likewise.
28237 * malloc/mtrace.c: Likewise.
28238 * nscd/nscd_getgr_r.c: Likewise.
28239 * nscd/nscd_getpw_r.c: Likewise.
28240 * nscd/nscd_getserv_r.c: Likewise.
28241 * posix/getopt_init.c: Likewise.
28242 * posix/wordexp.c: Likewise.
28243 * stdio-common/_itoa.c: Likewise.
28244 * stdio-common/printf_fphex.c: Likewise.
28245 * stdio-common/vfprintf.c: Likewise.
28246 * string/_strerror.c: Likewise.
28247 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28248 * sysdeps/i386/i686/hp-timing.h: Likewise.
28249 * sysdeps/mach/_strerror.c: Likewise.
28250 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28251 * sysdeps/mach/hurd/sethostid.c: Likewise.
28252 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28253 * sysdeps/mach/xpg-strerror.c: Likewise.
28254 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28255 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28256 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28257 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28258 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28259 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28260 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28261 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28262 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28263 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28264 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28265 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28266 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28267 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28268 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28269 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28270 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28271 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28272 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28273 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28274 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28276 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28278 * stdio-common/_itoa.h: Moved to ...
28279 * sysdeps/generic/_itoa.h: Here.
28281 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28283 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28284 instead of "_itoa.h" and "_itowa.h".
28285 * stdio-common/vfprintf.: Likewise.
28287 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28289 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28291 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28292 (__signbit): Likwise.
28293 (llrintf): Likwise.
28296 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28298 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28301 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28303 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28304 OVERFLOW_EXCEPTION_OK.
28305 * math/libm-test.inc ("Philosophy"): Update comment about
28307 (OVERFLOW_EXCEPTION): Define.
28308 (OVERFLOW_EXCEPTION_OK): Likewise.
28309 (INVALID_EXCEPTION_OK): Renumber.
28310 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28311 (IGNORE_ZERO_INF_SIGN): Likewise.
28312 (test_exceptions): Handle FE_OVERFLOW.
28313 (exp10_test): Expect overflow exceptions.
28314 (exp2_test): Likewise.
28315 (expm1_test): Likewise.
28316 (nextafter_test): Likewise.
28317 (pow_test): Likewise.
28318 (scalbn_test): Likewise.
28319 (scalbln_test): Likewise.
28321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28323 * sysdeps/x86_64/bits/atomic.h
28324 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28326 (atomic_exchange_acq): Likewise.
28327 (__arch_exchange_and_add_body): Likewise.
28328 (__arch_add_body): Likewise.
28329 (atomic_add_negative): Likewise.
28330 (atomic_add_zero): Likewise.
28332 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28334 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28335 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28337 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28339 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28340 Check __x86_64__ instead of __WORDSIZE.
28342 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28344 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28346 2012-03-19 David S. Miller <davem@davemloft.net>
28348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28350 * sysdeps/sparc/fpu/fenv_private.h: New file.
28351 * sysdeps/sparc/fpu/math_private.h: Use it.
28352 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28354 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28355 (libc_feholdexcept_setroundl): Remove.
28356 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28358 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28359 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28361 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28363 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28364 int64_t instead of long int.
28365 (INSERT_WORDS64): Likwise.
28367 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28369 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28370 _Unwind_GetCFA return to _Unwind_Ptr first.
28372 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28375 * math/s_clog.c: Include <float.h>.
28376 (__clog): Scale large or subnormal inputs.
28377 * math/s_clogf.c: Likewise.
28378 * math/s_clogl.c: Likewise.
28379 * math/s_clog10.c: Include <float.h>.
28380 (M_LOG10_2): Define.
28381 (__clog10): Scale large or subnormal inputs.
28382 * math/s_clog10f.c: Likewise.
28383 * math/s_clog10l.c: Likewise.
28384 * math/libm-test.inc (clog_test): Add more tests.
28385 (clog10_test): Likewise.
28386 * sysdeps/i386/fpu/libm-test-ulps: Update.
28387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28390 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28392 * math/libm-test.inc (atan2_test): Add another test.
28394 * Makerules (common-objdir-compile): Remove.
28395 * sysdeps/unix/Makefile (config-generated): Do not add
28396 $(unix-generated) to variable.
28397 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28398 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28400 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28402 [generic bits/local_lim.h] (before-compile): Do not append to
28404 [generic bits/local_lim.h] (common-generated): Likewise.
28405 [generic sys/param.h] (before-compile): Do not append to variable.
28406 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28407 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28408 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28409 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28411 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28412 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28413 [generic sys/param.h] ($(addprefix
28414 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28415 [generic sys/param.h] (common-generated): Do not append to
28417 [generic sys/param.h] (sysdep_headers): Likewise.
28418 [generic bits/errno.h] (before-compile): Do not append to
28420 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28422 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28423 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28424 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28425 [generic bits/errno.h] (common-generated): Do not append to
28427 [generic bits/ioctls.h] (before-compile): Do not append to
28429 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28431 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28432 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28433 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28435 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28436 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28437 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28438 [generic bits/ioctls.h] (common-generated): Do not append to
28440 [generic sys/syscall.h] (syscall.h): Remove variable.
28441 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28443 [generic sys/syscall.h] (before-compile): Do not append to
28445 [generic sys/syscall.h] (common-generated): Likewise.
28446 * sysdeps/unix/errnos-tmpl.c: Remove file.
28447 * sysdeps/unix/errnos.awk: Likewise.
28448 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28449 * sysdeps/unix/ioctls.awk: Likewise.
28450 * sysdeps/unix/mk-local_lim.c: Likewise.
28451 * sysdeps/unix/snarf-ioctls: Likewise.
28453 2012-03-19 Richard Henderson <rth@twiddle.net>
28455 * sysdeps/i386/fpu/fenv_private.h: New file.
28456 * sysdeps/i386/fpu/math_private.h: Use it.
28457 (math_opt_barrier, math_force_eval): Remove.
28458 (libc_feholdexcept_setround_53bit): Remove.
28459 (libc_feupdateenv_53bit): Remove.
28460 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28461 (math_opt_barrier, math_force_eval): Remove.
28462 (libc_feholdexcept): Remove.
28463 (libc_feholdexcept_setround): Remove.
28464 (libc_fetestexcept, libc_fesetenv): Remove.
28465 (libc_feupdateenv_test): Remove.
28466 (libc_feupdateenv, libc_feholdsetround): Remove.
28467 (libc_feresetround): Remove.
28469 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28470 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28472 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28473 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28474 (libc_feupdateenv_testl): New.
28475 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28476 (libc_feupdateenv_testf): New.
28477 (libc_feupdateenv): Use libc_feupdateenv_test.
28478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28481 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28482 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28483 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28484 (libc_feresetround_noex): New.
28485 (libc_feresetround_noexf): New.
28486 (libc_feresetround_noexl): New.
28487 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28488 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28489 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28490 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28493 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28495 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28496 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28497 SET_RESTORE_ROUND_NOEX.
28498 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28499 SET_RESTORE_ROUND_NOEXF.
28500 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28501 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28502 (libc_feholdsetroundf): New.
28503 (libc_feresetround, libc_feresetroundf): New.
28505 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28506 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28507 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28509 * sysdeps/generic/math_private.h: Include <fenv.h>.
28510 (default_libc_feholdexcept): New.
28511 (default_libc_feholdexcept_setround): New.
28512 (default_libc_fesetenv, default_libc_feupdateenv): New.
28513 (libc_feholdexcept): Only define if undefined.
28514 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28515 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28516 (libc_feholdexcept_setroundl): Likewise.
28517 (libc_feholdexcept_setround_53bit): Likewise.
28518 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28519 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28520 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28521 (libc_feupdateenv_53bit): Likewise.
28522 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28523 (libc_feholdexcept): Convert from macro to inline function.
28524 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28525 (libc_fesetenv, libc_feupdateenv): Likewise.
28527 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28528 not previously defined.
28529 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28530 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28531 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28532 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28533 * sysdeps/ieee754/flt-32/math_private.h: New file.
28534 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28535 math_private.h below SET_FLOAT_WORD.
28536 (__isnan, __isinf_ns, __finite): Remove.
28537 (__isnanf, __isinf_nsf, __finitef): Remove.
28539 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28543 2012-03-17 David S. Miller <davem@davemloft.net>
28546 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28549 2012-03-16 David S. Miller <davem@davemloft.net>
28551 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28555 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28557 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28558 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28559 sysdep_routines when subdir is sysvipc.
28560 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28561 __getshmlba helper.
28563 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28565 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28567 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28570 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28572 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28573 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28574 (__lround): Renamed to ...
28575 (__llround): This. Replace long int with long long int.
28576 Define lround functions as aliases of llround functions.
28577 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28579 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28581 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28582 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28583 adresses to uintptr_t. Replace "long int" and "unsigned long
28584 int" with "greg_t" on va_arg.
28586 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28588 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28589 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28591 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28592 Move e_machine check before EI_CLASS check. Handle x32
28593 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28594 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28595 SKIP_EM_IA_64 and include
28596 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28598 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28599 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28600 (add_system_dir): New macro.
28602 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28603 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28605 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28616 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28618 * math/w_j0f.c (j0f): Likewise.
28620 * math/w_j0l.c (__j0l): Likewise.
28622 * math/w_j1.c (j1): Likewise.
28624 * math/w_j1f.c (j1f): Likewise.
28626 * math/w_j1l.c (__j1l): Likewise.
28628 * math/w_jn.c (jn): Likewise.
28630 * math/w_jnf.c (jnf): Likewise.
28632 * math/w_jnl.c (__jnl): Likewise.
28634 * math/libm-test.inc (j0_test): Add more tests.
28635 (j1_test): Likewise.
28636 (jn_test): Likewise. Add trailing semicolon to existing test.
28637 (y0_test): Likewise.
28638 (y1_test): Likewise.
28639 * sysdeps/i386/fpu/libm-test-ulps: Update.
28640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28644 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28645 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28646 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28647 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28648 (__tanl): Set errno for infinite argument.
28649 * sysdeps/i386/fpu/mptan.c: Remove.
28650 * sysdeps/i386/fpu/s_tan.S: Likewise.
28651 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28652 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28653 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28654 * math/libm-test.inc (tan_test): Add more tests and enable more
28655 tests for double and long double.
28656 * sysdeps/i386/fpu/libm-test-ulps: Update.
28657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28659 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28661 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28662 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28664 2012-03-16 Roland McGrath <roland@hack.frob.com>
28666 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28667 * configure.in: Use it for both main tree and add-ons.
28668 * configure: Regenerated.
28670 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28672 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28674 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28676 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28680 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28681 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28686 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28687 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28688 != 0 for prec == 2.
28689 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28690 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28691 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28692 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28693 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28694 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28695 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28696 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28697 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28698 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28699 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28700 * math/libm-test.inc (cos_test): Add more tests and enable more
28701 tests for long double.
28702 (sin_test): Likewise.
28703 (sincos_test): Likewise.
28704 * sysdeps/i386/fpu/libm-test-ulps: Update.
28705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707 2012-03-16 David S. Miller <davem@davemloft.net>
28709 * sysdeps/sparc/fpu/math_private.h: New file.
28711 2012-03-15 David S. Miller <davem@davemloft.net>
28713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28727 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28728 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28730 * sysdeps/sparc/sparc-ifunc.h: New file.
28731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28773 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28774 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28776 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28778 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28782 2012-03-15 Andreas Jaeger <aj@suse.de>
28785 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28786 ieee754/flt-32 implementation for sin, cos and sincos.
28787 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28788 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28789 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28790 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28791 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28792 ieee754/flt-32 implementation for tan.
28794 * math/libm-test.inc (cos_test): Enable some large input tests for
28796 (sin_test): Likewise.
28797 (sincos_test): Likewise.
28798 (tan_test): Add tests for large input.
28800 * sysdeps/i386/fpu/libm-test-ulps: Update.
28802 2012-03-15 Andreas Jaeger <aj@suse.de>
28805 * math/libm-test.inc (cos_test): Add more test cases.
28806 (sin_test): Likewise.
28807 (sincos_test): Likewise.
28809 2012-03-15 Andreas Jaeger <aj@suse.de>
28812 * math/libm-test.inc (cos_test): Add a test case for large input
28814 (sin_test): Likewise.
28815 (sincos_test): Likewise.
28817 2012-03-15 Andreas Jaeger <aj@suse.de>,
28818 Joseph Myers <joseph@codesourcery.com>
28821 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28822 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28823 * sysdeps/i386/fpu/branred.c: Likewise.
28824 * sysdeps/i386/fpu/dosincos.c: Likewise.
28825 * sysdeps/i386/fpu/mpa.c: Likewise.
28826 * sysdeps/i386/fpu/s_cos.S: Likewise.
28827 * sysdeps/i386/fpu/s_sin.S: Likewise.
28828 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28829 * sysdeps/i386/fpu/sincos32.c: Likewise.
28831 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28833 (libc_feupdateenv_53bit): Define.
28834 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28836 (libc_feupdateenv_53bit): Define.
28838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28839 53 bit (without extend i386 double precision).
28841 * math/libm-test.inc (sincos_test): Add tests for large input.
28845 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28847 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28851 2012-03-15 David S. Miller <davem@davemloft.net>
28853 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28854 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28855 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28856 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28881 fmin/fmax sysdep routines.
28882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28884 2012-03-14 David S. Miller <davem@davemloft.net>
28886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28888 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28890 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28891 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28892 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28906 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28907 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28908 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28910 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28911 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28912 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28913 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28958 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28963 * sysdeps/sparc/configure.in: New file.
28964 * sysdeps/sparc/configure: Generate.
28965 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28966 * configure: Regenerate.
28967 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28968 * config.make.in (have-as-vis3): New.
28969 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28970 available use -Av9d instead of -Av9a.
28971 * sysdeps/sparc/sparc64/Makefile: Likewise.
28972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28982 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28983 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28984 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28987 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28988 fzeros/fnegs to load 0x80000000 into a float register instead of
28990 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28992 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28996 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28997 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28998 ($(inst_includedir)/bits/syscall.h): Remove rule.
28999 ($(objpfx)bits/syscall.d): Include instead of
29000 $(objpfx)syscall-list.d.
29001 (generated): Change syscall-list.h and syscall-list.d to
29002 bits/syscall.h and bits/syscall.d.
29004 2012-03-14 Roland McGrath <roland@hack.frob.com>
29007 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29009 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29012 * math/s_csqrt.c: Include <float.h>.
29013 (__csqrt): Scale large or subnormal inputs.
29014 * math/s_csqrtf.c: Likewise.
29015 * math/s_csqrtl.c: Likewise.
29016 * math/libm-test.inc (csqrt_test): Add more tests.
29017 * sysdeps/i386/fpu/libm-test-ulps: Update.
29018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29021 * math/libm-test.inc (hypot_test): Add more tests.
29023 2012-03-13 David S. Miller <davem@davemloft.net>
29026 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29027 double-precision for the calculation instead of scaling.
29029 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29031 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29032 manipulate bits before adding and subtracting TWO52[sx].
29033 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29034 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29036 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29038 2012-03-13 David S. Miller <davem@davemloft.net>
29040 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29041 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29043 rtld-global-offsets.h
29044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29046 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29049 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29051 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29052 'err' in the ifdef scope in which it is actually used.
29054 * nss/nss_db/db-init.c: Include string.h
29056 2012-03-12 David S. Miller <davem@davemloft.net>
29058 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29059 masking out of the most significant byte of random value used.
29060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29061 Fix coding style in previous change.
29063 * sysdeps/unix/sysv/linux/kernel-features.h
29064 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29065 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29067 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29070 2012-03-11 David S. Miller <davem@davemloft.net>
29072 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29073 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29074 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29075 for 'resultvar' otherwise things get truncated on 64-bit.
29077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29078 Fix masking out of the most significant byte of random value used.
29080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29082 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29086 2012-03-09 David S. Miller <davem@davemloft.net>
29088 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29089 variables with appropriate CPP guards.
29090 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29091 frame pointer, not the stack pointer. Correct layout comments. Fix test
29092 on resulting framesize and the management of the outregs buffer for pltexit.
29093 Preserve floating point return values across _dl_call_pltexit call.
29094 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29095 framesize and the management of the outregs buffer for pltexit.
29096 Preserve floating point return values across _dl_call_pltexit
29098 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29099 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29100 (print_exit): Fix format string for return register value.
29102 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29104 * sunrpc/Makefile (others): Add rpcgen.
29105 ($(objpfx)rpcgen): Remove special build rule and dependency on
29107 * sunrpc/rpcgen.c: New file.
29109 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29112 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29113 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29114 * sysdeps/i386/crti.S: Likewise.
29115 * sysdeps/i386/crtn.S: Likewise.
29116 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29117 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29118 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29119 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29120 * sysdeps/sh/crti.S: Likewise.
29121 * sysdeps/sh/crtn.S: Likewise.
29122 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29125 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29127 * locale/programs/locfile-kw.gperf: Likewise.
29128 * locale/programs/charmap-kw.h: Regenerated.
29129 * locale/programs/locfile-kw.h: Likewise.
29132 * intl/plural.y: Replace FSF snail mail address with URL.
29133 * intl/plural.c: Regenerated.
29135 2012-03-09 Richard Henderson <rth@twiddle.net>
29137 * include/math_private.h: Remove file.
29138 * math/math_private.h: Move file ...
29139 * sysdeps/generic/math_private.h: ... here.
29141 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29142 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29143 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29145 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29146 and <math_private.h>.
29147 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29148 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29149 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29150 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29151 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29178 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29179 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29183 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29184 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29185 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29187 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29188 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29189 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29190 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29191 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29193 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29194 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29197 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29198 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29199 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29200 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29201 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29202 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29203 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29204 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29205 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29206 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29216 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29224 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29235 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29236 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29237 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29238 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29239 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29240 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29241 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29242 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29244 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29246 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29247 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29248 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29249 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29250 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29251 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29252 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29253 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29254 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29255 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29257 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29258 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29259 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29260 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29261 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29262 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29263 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29264 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29265 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29266 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29267 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29268 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29270 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29272 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29273 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29274 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29275 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29276 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29277 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29278 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29279 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29280 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29281 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29282 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29283 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29284 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29285 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29286 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29288 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29289 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29290 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29291 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29292 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29293 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29294 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29295 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29296 * sysdeps/ieee754/k_standard.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29301 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29310 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29311 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29314 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29324 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29328 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29330 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29336 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29337 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29338 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29363 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29364 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29365 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29366 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29368 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29369 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29370 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29371 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29372 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29373 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29374 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29376 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29378 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29380 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29382 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29383 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29384 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29385 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29387 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29388 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29389 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29390 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29392 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29393 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29394 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29395 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29396 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29397 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29398 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29399 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29400 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29401 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29402 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29403 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29404 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29405 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29406 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29407 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29408 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29409 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29410 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29411 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29412 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29413 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29414 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29415 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29416 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29417 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29418 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29419 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29420 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29421 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29422 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29445 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29446 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29453 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29457 * sysdeps/ieee754/s_lib_version.c: Likewise.
29458 * sysdeps/ieee754/s_matherr.c: Likewise.
29459 * sysdeps/ieee754/s_signgam.c: Likewise.
29460 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29461 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29462 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29463 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29464 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29465 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29466 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29467 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29468 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29469 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29470 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29471 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29472 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29473 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29474 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29475 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29476 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29477 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29478 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29479 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29482 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29484 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29485 * sunrpc/rpc_main.c: Likewise.
29486 * sunrpc/rpc_svcout.c: Likewise.
29488 2012-03-09 David S. Miller <davem@davemloft.net>
29490 * include/math_private.h: New file.
29492 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29494 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29495 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29496 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29497 from <bits/socket_type.h>.
29498 (enum __socket_type): Don't define here.
29499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29501 bits/socket_type.h.
29504 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29505 checking __USE_GNU.
29507 * Makerules ($(inst_includedir)/%.h): New rule.
29508 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29509 (install-others): Remove variable setting.
29510 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29512 2012-03-08 Richard Henderson <rth@twiddle.net>
29514 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29515 from macro to inline function; merge with the
29516 !__LIBC_INTERNAL_MATH_INLINES version.
29517 (__ieee754_sqrtf): Likewise.
29519 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29520 to inline function.
29521 (__rintf, __floor, __floorf): Likewise.
29523 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29524 macro to inline function.
29525 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29527 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29528 not <math/math_private.h>.
29530 2012-03-08 David S. Miller <davem@davemloft.net>
29532 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29534 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29536 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29538 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29540 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29541 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29543 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29545 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29546 be defined individually, they must be defined as a block. Define
29547 S for printing a string instead of hidint the different by using a
29548 macro for adding the 'l'.
29549 * stdio-common/tst-fphex-wide.c: Adjust.
29551 2012-03-07 Marek Polacek <polacek@redhat.com>
29553 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29555 2012-03-08 Marek Polacek <polacek@redhat.com>
29558 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29559 * stdio-common/tst-fphex.c: Define a few macros to make the
29560 test reusable. Use them.
29561 * stdio-common/tst-fphex-wide.c: New file.
29563 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29566 * manual/macros.texi (gnusystems): New macro.
29567 (nongnusystems): Likewise.
29568 (gnulinuxhurdsystems): Likewise.
29569 (gnuhurdsystems): Likewise..
29570 (gnulinuxsystems): Likewise.
29571 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29572 variants of the GNU system, not "GNU system".
29573 * manual/conf.texi: Likewise.
29574 * manual/errno.texi: Likewise. Update example of errno macro
29576 * manual/filesys.texi: Likewise.
29577 (getumask): Document as specific to GNU/Hurd.
29578 * manual/install.texi: Likewise. Reword some references to
29580 * manual/intro.texi: Likewise.
29581 * manual/io.texi: Likewise.
29582 (File Name Portability): Detail which constraints are inapplicable
29583 to all GNU systems and which are only inapplicable to GNU/Hurd.
29584 * manual/job.texi: Likewise.
29585 * manual/llio.texi: Likewise.
29586 (O_NOCTTY): Document as present on GNU/Linux.
29587 * manual/maint.texi: Likewise.
29588 * manual/memory.texi: Likewise.
29589 * manual/pattern.texi: Likewise.
29590 * manual/pipe.texi: Likewise.
29591 * manual/process.texi: Likewise.
29592 * manual/resource.texi: Likewise.
29593 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29595 * manual/setjmp.texi: Likewise.
29596 * manual/signal.texi: Likewise.
29597 * manual/startup.texi: Likewise.
29598 * manual/stdio.texi: Likewise.
29599 * manual/terminal.texi: Likewise.
29600 (ONLCR): Document as POSIX.
29601 (OXTABS): Document availability on GNU/Linux as XTABS.
29602 (ONOEOT): Document availability separately from other bits.
29603 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29604 * manual/time.texi: Likewise.
29605 * manual/users.texi: Likewise.
29606 * INSTALL: Regenerated.
29607 * sysdeps/gnu/errlist.c: Regenerated.
29609 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29610 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29611 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29613 * configure: Regenerated.
29615 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29617 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29618 default includes instead of AC_HEADER_CHECK.
29619 * sysdeps/i386/configure: Regenerated.
29622 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29623 * math/s_cacoshf.c (__cacoshf): Likewise.
29624 * math/s_cacoshl.c (__cacoshl): Likewise.
29625 * math/s_casinh.c (__casinh): Set signs of result from argument.
29626 * math/s_casinhf.c (__casinhf): Likewise.
29627 * math/s_casinhl.c (__casinhl): Likewise.
29628 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29629 (casinh_test): Add more tests.
29630 * sysdeps/i386/fpu/libm-test-ulps: Update.
29631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29633 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29635 * po/zh_TW.po: Update from translation team.
29637 * login/Makefile (distribute): Remove variable.
29638 * catgets/Makefile: Likewise.
29639 * mach/Makefile: Likewise.
29640 * malloc/Makefile: Likewise.
29641 * misc/Makefile: Likewise.
29642 * iconv/Makefile: Likewise.
29643 * nscd/Makefile: Likewise.
29644 * hurd/Makefile: Likewise.
29645 * manual/Makefile: Likewise.
29646 * locale/Makefile: Likewise.
29647 * intl/Makefile: Likewise.
29648 * conform/Makefile: Likewise.
29649 * nss/Makefile: Likewise.
29650 * time/Makefile: Likewise.
29651 * soft-fp/Makefile: Likewise.
29652 * dirent/Makefile: Likewise.
29653 * gmon/Makefile: Likewise.
29654 * po/Makefile: Likewise.
29655 * rt/Makefile: Likewise.
29656 * socket/Makefile: Likewise.
29657 * math/Makefile: Likewise.
29658 * signal/Makefile: Likewise.
29659 * debug/Makefile: Likewise.
29660 * elf/Makefile: Likewise.
29661 * timezone/Makefile: Likewise.
29662 * stdlib/Makefile: Likewise.
29663 * iconvdata/Makefile: Likewise.
29664 * sunrpc/Makefile: Likewise.
29665 * io/Makefile: Likewise.
29666 * argp/Makefile: Likewise.
29667 * inet/Makefile: Likewise.
29668 * hesiod/Makefile: Likewise.
29669 * grp/Makefile: Likewise.
29670 * csu/Makefile: Likewise.
29671 * wctype/Makefile: Likewise.
29672 * crypt/Makefile: Likewise.
29673 * libio/Makefile: Likewise.
29674 * string/Makefile: Likewise.
29675 * nis/Makefile: Likewise.
29676 * resolv/Makefile: Likewise.
29677 * stdio-common/Makefile: Likewise.
29678 * wcsmbs/Makefile: Likewise.
29679 * dlfcn/Makefile: Likewise.
29680 * posix/Makefile: Likewise.
29683 * timezone/Makefile: Don't install timezone files, just the programs
29686 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29688 * nss/databases.def: Add missing gshadow entry.
29690 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29692 2012-03-06 Marek Polacek <polacek@redhat.com>
29695 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29696 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29697 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29698 * stdio-common/tst-long-dbl-fphex.c: New file.
29700 2012-03-06 David S. Miller <davem@davemloft.net>
29702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29703 (set_obp_int): New function.
29704 (get_obp_int): New function.
29705 (__get_clockfreq_via_dev_openprom): Likewise.
29706 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29707 Avoid unused variable warnings on 'val' and use builtin_expect.
29708 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29710 (INLINE_CLONE_SYSCALL): Likewise.
29712 2012-03-05 David S. Miller <davem@davemloft.net>
29714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29716 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29720 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29721 only for |x| >= 40.
29722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29724 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29726 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29727 Replace gettimeofday with __vdso_gettimeofday.
29729 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29730 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29731 __vdso_clock_gettime and __vdso_getcpu.
29733 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29734 time with __vdso_time.
29736 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29738 * manual/lang.texi (size_t): Note types to which size_t may be
29739 equivalent with the GNU C Library, but do not describe when
29740 differences between them are significant.
29742 2012-03-05 Andreas Jaeger <aj@suse.de>
29744 * sysdeps/i386/fpu/libm-test-ulps: Update.
29746 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29749 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29750 (__ieee754_pow): Save and restore rounding mode and use
29751 round-to-nearest for main computations.
29752 * math/libm-test.inc (pow_test_tonearest): New function.
29753 (pow_test_towardzero): Likewise.
29754 (pow_test_downward): Likewise.
29755 (pow_test_upward): Likewise.
29756 (main): Call the new functions.
29757 * sysdeps/i386/fpu/libm-test-ulps: Update.
29758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29761 * math/libm-test.inc (cosh_test_tonearest): New function.
29762 (cosh_test_towardzero): Likewise.
29763 (cosh_test_downward): Likewise.
29764 (cosh_test_upward): Likewise.
29765 (sinh_test_tonearest): Likewise.
29766 (sinh_test_towardzero): Likewise.
29767 (sinh_test_downward): Likewise.
29768 (sinh_test_upward): Likewise.
29769 (main): Call the new functions.
29770 * sysdeps/i386/fpu/libm-test-ulps: Update.
29771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29773 2012-03-05 Tom de Vries <tom@codesourcery.com>
29775 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29776 default stack guard is set in last bytes.
29777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29779 2012-03-05 Kees Cook <keescook@chromium.org>
29781 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29784 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29785 possibly allocate from heap instead of stack.
29786 * stdio-common/bug-vfprintf-nargs.c: New file.
29787 * stdio-common/Makefile (tests): Add nargs overflow test.
29789 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29793 2012-03-03 Marek Polacek <polacek@redhat.com>
29795 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29796 * math/math_private.h: Likewise.
29797 * stdlib/tst-strtod.c: Likewise.
29798 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29799 * sysdeps/x86_64/bits/atomic.h: Likewise.
29801 2012-03-02 David S. Miller <davem@davemloft.net>
29803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29807 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29808 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29809 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29810 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29812 2012-03-02 Roland McGrath <roland@hack.frob.com>
29815 * manual/examples/README: New file, says the example source files
29816 can be used under GPL>=2.
29817 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29818 line containing just "*/".
29819 * manual/examples/add.c: Add copyright header (GPL>=2).
29820 * manual/examples/argp-ex1.c: Likewise.
29821 * manual/examples/argp-ex2.c: Likewise.
29822 * manual/examples/argp-ex3.c: Likewise.
29823 * manual/examples/argp-ex4.c: Likewise.
29824 * manual/examples/atexit.c: Likewise.
29825 * manual/examples/db.c: Likewise.
29826 * manual/examples/dir.c: Likewise.
29827 * manual/examples/dir2.c: Likewise.
29828 * manual/examples/execinfo.c: Likewise.
29829 * manual/examples/filecli.c: Likewise.
29830 * manual/examples/filesrv.c: Likewise.
29831 * manual/examples/fmtmsgexpl.c: Likewise.
29832 * manual/examples/genpass.c: Likewise.
29833 * manual/examples/inetcli.c: Likewise.
29834 * manual/examples/inetsrv.c: Likewise.
29835 * manual/examples/isockad.c: Likewise.
29836 * manual/examples/longopt.c: Likewise.
29837 * manual/examples/memopen.c: Likewise.
29838 * manual/examples/memstrm.c: Likewise.
29839 * manual/examples/mkfsock.c: Likewise.
29840 * manual/examples/mkisock.c: Likewise.
29841 * manual/examples/mygetpass.c: Likewise.
29842 * manual/examples/pipe.c: Likewise.
29843 * manual/examples/popen.c: Likewise.
29844 * manual/examples/rprintf.c: Likewise.
29845 * manual/examples/search.c: Likewise.
29846 * manual/examples/select.c: Likewise.
29847 * manual/examples/setjmp.c: Likewise.
29848 * manual/examples/sigh1.c: Likewise.
29849 * manual/examples/sigusr.c: Likewise.
29850 * manual/examples/stpcpy.c: Likewise.
29851 * manual/examples/strdupa.c: Likewise.
29852 * manual/examples/strftim.c: Likewise.
29853 * manual/examples/strncat.c: Likewise.
29854 * manual/examples/subopt.c: Likewise.
29855 * manual/examples/swapcontext.c: Likewise.
29856 * manual/examples/termios.c: Likewise.
29857 * manual/examples/testopt.c: Likewise.
29858 * manual/examples/testpass.c: Likewise.
29859 * manual/examples/timeval_subtract.c: Likewise.
29862 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29864 * manual/timeval_subtract.c.texi: ... here, new file.
29866 2012-03-02 David S. Miller <davem@davemloft.net>
29868 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29870 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29873 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29874 (__sin): Save and restore rounding mode and use round-to-nearest
29875 for all computations.
29876 (__cos): Save and restore rounding mode and use round-to-nearest
29877 for all computations.
29878 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29880 (tan): Save and restore rounding mode and use round-to-nearest for
29882 * math/libm-test.inc (cos_test_tonearest): New function.
29883 (cos_test_towardzero): Likewise.
29884 (cos_test_downward): Likewise.
29885 (cos_test_upward): Likewise.
29886 (sin_test_tonearest): Likewise.
29887 (sin_test_towardzero): Likewise.
29888 (sin_test_downward): Likewise.
29889 (sin_test_upward): Likewise.
29890 (tan_test_tonearest): Likewise.
29891 (tan_test_towardzero): Likewise.
29892 (tan_test_downward): Likewise.
29893 (tan_test_upward): Likewise.
29894 (main): Call the new functions.
29895 * sysdeps/i386/fpu/libm-test-ulps: Update.
29896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29899 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29900 small n, then large n, before computing and testing k+n.
29901 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29902 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29906 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29907 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29912 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29914 * math/libm-test.inc (scalbn_test): Add more tests.
29915 (scalbln_test): Likewise.
29917 * manual/filesys.texi (mode_t): Describe constraints on size and
29918 signedness, not exact equivalence to a particular type.
29920 (ino64_t): Likewise.
29922 (nlink_t): Likewise.
29923 (blkcnt_t): Likewise.
29924 (blkcnt64_t): Likewise.
29925 * manual/llio.texi (off_t): Likewise.
29928 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29929 (__ieee754_exp): Save and restore rounding mode and use
29930 round-to-nearest for all computations.
29931 * math/libm-test.inc (exp_test_tonearest): New function.
29932 (exp_test_towardzero): Likewise.
29933 (exp_test_downward): Likewise.
29934 (exp_test_upward): Likewise.
29935 (main): Call the new functions.
29936 * sysdeps/i386/fpu/libm-test-ulps: Update.
29937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29939 2012-03-01 Chris Demetriou <cgd@google.com>
29941 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29942 have predictable order.
29944 2012-03-01 David S. Miller <davem@davemloft.net>
29946 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29948 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29949 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29950 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29951 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29953 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29954 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29955 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29957 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29958 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29959 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29960 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29961 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29966 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29967 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29969 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29970 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29971 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29972 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29973 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29974 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29975 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29976 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29977 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29978 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29979 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29982 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29983 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29985 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29986 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29987 * sysdeps/sparc/elf/configure: Regenerated.
29989 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29991 * configure.in (AS, LD): Require binutils 2.20 or later.
29992 * configure: Regenerated.
29993 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29994 as required minimum version.
29995 * INSTALL: Regenerated.
29999 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30000 before squaring exponent.
30001 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30002 bottom long double and 27 bits of top long double before squaring
30004 * math/libm-test.inc (erfc_test): Add more tests.
30005 * sysdeps/i386/fpu/libm-test-ulps: Update.
30006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30009 2012-03-01 Kai Tietz <ktietz@redhat.com>
30011 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30012 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30013 containing bit-fields.
30014 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30015 * soft-fp/single.h (_FP_UNION_S): Likewise.
30016 * soft-fp/double.h (_FP_UNION_D): Likewise.
30018 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30021 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30022 not include ../strcmp.S.
30023 [USE_AS_STRNCASECMP_L]: Likewise.
30024 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30025 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30026 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30027 (__strncasecmp_l_ia32): Define as alias to
30028 __strncasecmp_l_nonascii.
30031 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30032 * sysdeps/i386/fpu/libm-test-ulps: Update.
30033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30035 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30038 2012-02-29 Jeff Law <law@redhat.com>
30040 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30041 out of bounds read.
30043 2012-02-29 Marek Polacek <polacek@redhat.com>
30046 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30047 * elf/Makefile: Add rules to run tst-unused-dep.out.
30049 2012-02-28 David S. Miller <davem@davemloft.net>
30051 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30052 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30053 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30054 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30055 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30056 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30058 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30060 * math/libm-test.inc (llround_test): Move one test from
30061 lround_test. Use TEST_f_L in moved test.
30062 (lround_test): Move misplaced test to llround_test. Add testcase
30065 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30067 * sysdeps/x86_64/fpu/e_expf.S: New file.
30068 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30070 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30073 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30074 of remain_len that may cause incomplete multi-byte character and
30076 * posix/bug-regex33.c: New file.
30077 * posix/Makefile (tests): Add bug-regex33.
30079 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30081 * manual/macros.texi: New file.
30082 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30083 * manual/libc.texinfo: Include macros.texi.
30084 * manual/creatute.texi: Likewise.
30085 * manual/install.texi: Likewise.
30086 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30087 @glibcadj{} in references to the GNU C Library.
30088 * manual/charset.texi: Likewise.
30089 * manual/conf.texi: Likewise.
30090 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30091 when not using those macros.
30092 * manual/creature.texi: Likewise.
30093 * manual/crypt.texi: Likewise.
30094 * manual/errno.texi: Likewise.
30095 * manual/filesys.texi: Likewise.
30096 * manual/header.texi: Likewise.
30097 * manual/install.texi: Likewise.
30098 * manual/intro.texi: Likewise.
30099 * manual/io.texi: Likewise.
30100 * manual/job.texi: Likewise.
30101 * manual/lang.texi: Likewise.
30102 * manual/libc.texiinfo: Likewise.
30103 * manual/llio.texi: Likewise.
30104 * manual/locale.texi: Likewise.
30105 * manual/maint.texi: Likewise.
30106 * manual/math.texi: Likewise.
30107 * manual/memory.texi: Likewise.
30108 * manual/message.texi: Likewise.
30109 * manual/nss.texi: Likewise.
30110 * manual/pattern.texi: Likewise.
30111 * manual/process.texi: Likewise.
30112 * manual/resource.texi: Likewise.
30113 * manual/search.texi: Likewise.
30114 * manual/setjmp.texi: Likewise.
30115 * manual/signal.texi: Likewise.
30116 * manual/socket.texi: Likewise.
30117 * manual/startup.texi: Likewise.
30118 * manual/stdio.texi: Likewise.
30119 * manual/string.texi: Likewise.
30120 * manual/sysinfo.texi: Likewise.
30121 * manual/syslog.texi: Likewise.
30122 * manual/terminal.texi: Likewise.
30123 * manual/time.texi: Likewise.
30124 * manual/users.texi: Likewise.
30125 * INSTALL: Regenerated.
30126 * NOTES: Regenerated.
30127 * sysdeps/gnu/errlist.c: Regenerated.
30129 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30131 * include/dirent.h: Include <dirstream.h> before
30134 2012-02-28 David S. Miller <davem@davemloft.net>
30136 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30137 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30138 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30139 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30141 2012-02-27 David S. Miller <davem@davemloft.net>
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30145 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30146 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30149 frame pointer instead of stack pointer relative arg slot.
30150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30151 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30152 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30154 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30157 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30159 2012-02-27 David S. Miller <davem@davemloft.net>
30161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30165 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30166 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30167 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30168 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30170 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30172 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30173 later. Allow versions 5-9.
30174 * configure: Regenerated.
30175 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30176 required minimum version and 4.6 as recommended version. Do not
30177 mention bugs in GCC 2.7 and 2.8.
30178 * INSTALL: Regenerated.
30180 2012-02-27 David S. Miller <davem@davemloft.net>
30182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30186 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30187 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30188 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30189 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30191 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30192 manipulate bits before adding and subtracting TWO112[sx].
30193 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30195 2012-02-27 Roland McGrath <roland@hack.frob.com>
30198 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30199 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30200 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30201 being in POSIX, because they are in 1003.1-2008.
30203 * rt/tst-aio.c: Include <fcntl.h>.
30204 * rt/tst-aio7.c: Likewise.
30205 * rt/tst-aio64.c: Likewise.
30207 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30209 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30211 * manual/install.texi (--with-headers): Describe headers as
30212 interface headers, not private headers.
30213 (Specific advice for GNU/Linux systems): Describe use of headers
30214 from "make headers_install", not private headers from older
30216 * INSTALL: Regenerated.
30217 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30219 * sysdeps/unix/sysv/linux/configure: Regenerated.
30221 * manual/llio.texi (fclean): Remove documentation.
30223 * manual/Makefile (libc-texi-generated): New variable. Include
30225 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30226 $(libc-texi-generated), not duplicated list of files.
30227 (version.texi, stamp-version): New rules.
30228 (realclean): Remove $(libc-texi-generated), not individual files
30229 from that list. Do not remove dir-add.texinfo.
30230 * manual/libc.texinfo: Comment out uses of edition numbers and
30231 references to printed manual. Remove last-updated dates.
30232 (EDITION): Comment out.
30234 (VERSION, UPDATED): Remove.
30235 (version.texi): Include.
30237 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30239 * sysdeps/posix/spawni.c: Include <signal.h>.
30240 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30241 * sysdeps/pthread/aio_fsync.c: Likewise.
30243 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30245 * conform/Makefile (tests): Run only when not cross-compiling and
30246 when fast-check is not defined.
30248 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30249 * conform/data/limits.h-data: Fixes for POSIX2008.
30250 * conform/run-conformtest.sh: Run all tests.
30251 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30253 * include/bits/dlfcn.h: Likewise.
30254 * include/langinfo.h: Likewise.
30255 * include/monetary.h: Likewise.
30256 * include/sys/poll.h: Likewise.
30258 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30260 * posix/spawn.h: Define __need_sigset_t.
30261 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30262 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30263 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30264 to get sigevent_t only.
30265 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30266 only for __USE_GNU.
30267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30268 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30269 process_vm_writev only for __USE_GNU.
30270 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30272 * conform/Makefile: For now ignore errors from run-conformtest.
30273 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30274 POSIX to avoid namespace pollution. Don't prepend headers.
30275 * conform/data/aio.h-data: Fixes for POSIX testing.
30276 * conform/data/fcntl.h-data: Likewise.
30277 * conform/data/glob.h-data: Likewise.
30278 * conform/data/grp.h-data: Likewise.
30279 * conform/data/pthread.h-data: Likewise.
30280 * conform/data/pwd.h-data: Likewise.
30281 * conform/data/signal.h-data: Likewise.
30282 * conform/data/spawn.h-data: Likewise.
30283 * conform/data/stdio.h-data: Likewise.
30284 * conform/data/stdlib.h-data: Likewise.
30285 * conform/data/stropts.h-data: Likewise.
30286 * conform/data/sys/mman.h-data: Likewise.
30287 * conform/data/sys/stat.h-data: Likewise.
30288 * conform/data/sys/types.h-data: Likewise.
30289 * conform/data/sys/wait.h-data: Likewise.
30290 * conform/data/time.h-data: Likewise.
30291 * conform/data/unistd.h-data: Likewise.
30292 * conform/data/utime.h-data: Likewise.
30294 * io/sys/stat.h: fchmod was always in POSIX.
30295 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30296 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30297 * rt/aio.h: Define __need_timespec before including <time.h>.
30298 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30299 struct. Add forward declaration of pthread_attr_t and use it in
30301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30303 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30304 always remove CLK_TCK definition.
30306 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30308 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30310 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30312 * conform/run-conformtest.sh: New file.
30313 * conform/Makefile: Run run-conformtest for tests.
30314 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30317 * conform/data/uchar.h-data: New file.
30318 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30319 * conform/data/arpa/inet.h-data: Likewise.
30320 * conform/data/assert.h-data: Likewise.
30321 * conform/data/complex.h-data: Likewise.
30322 * conform/data/cpio.h-data: Likewise.
30323 * conform/data/ctype.h-data: Likewise.
30324 * conform/data/dirent.h-data: Likewise.
30325 * conform/data/dlfcn.h-data: Likewise.
30326 * conform/data/errno.h-data: Likewise.
30327 * conform/data/fcntl.h-data: Likewise.
30328 * conform/data/float.h-data: Likewise.
30329 * conform/data/fmtmsg.h-data: Likewise.
30330 * conform/data/fnmatch.h-data: Likewise.
30331 * conform/data/ftw.h-data: Likewise.
30332 * conform/data/glob.h-data: Likewise.
30333 * conform/data/grp.h-data: Likewise.
30334 * conform/data/iconv.h-data: Likewise.
30335 * conform/data/inttypes.h-data: Likewise.
30336 * conform/data/langinfo.h-data: Likewise.
30337 * conform/data/libgen.h-data: Likewise.
30338 * conform/data/limits.h-data: Likewise.
30339 * conform/data/locale.h-data: Likewise.
30340 * conform/data/math.h-data: Likewise.
30341 * conform/data/monetary.h-data: Likewise.
30342 * conform/data/mqueue.h-data: Likewise.
30343 * conform/data/ndbm.h-data: Likewise.
30344 * conform/data/net/if.h-data: Likewise.
30345 * conform/data/netdb.h-data: Likewise.
30346 * conform/data/netinet/in.h-data: Likewise.
30347 * conform/data/nl_types.h-data: Likewise.
30348 * conform/data/poll.h-data: Likewise.
30349 * conform/data/pthread.h-data: Likewise.
30350 * conform/data/pwd.h-data: Likewise.
30351 * conform/data/regex.h-data: Likewise.
30352 * conform/data/sched.h-data: Likewise.
30353 * conform/data/search.h-data: Likewise.
30354 * conform/data/semaphore.h-data: Likewise.
30355 * conform/data/setjmp.h-data: Likewise.
30356 * conform/data/signal.h-data: Likewise.
30357 * conform/data/spawn.h-data: Likewise.
30358 * conform/data/stdarg.h-data: Likewise.
30359 * conform/data/stdio.h-data: Likewise.
30360 * conform/data/stdlib.h-data: Likewise.
30361 * conform/data/string.h-data: Likewise.
30362 * conform/data/strings.h-data: Likewise.
30363 * conform/data/stropts.h-data: Likewise.
30364 * conform/data/sys/ipc.h-data: Likewise.
30365 * conform/data/sys/mman.h-data: Likewise.
30366 * conform/data/sys/msg.h-data: Likewise.
30367 * conform/data/sys/resource.h-data: Likewise.
30368 * conform/data/sys/select.h-data: Likewise.
30369 * conform/data/sys/sem.h-data: Likewise.
30370 * conform/data/sys/shm.h-data: Likewise.
30371 * conform/data/sys/socket.h-data: Likewise.
30372 * conform/data/sys/stat.h-data: Likewise.
30373 * conform/data/sys/statvfs.h-data: Likewise.
30374 * conform/data/sys/time.h-data: Likewise.
30375 * conform/data/sys/timeb.h-data: Likewise.
30376 * conform/data/sys/times.h-data: Likewise.
30377 * conform/data/sys/types.h-data: Likewise.
30378 * conform/data/sys/uio.h-data: Likewise.
30379 * conform/data/sys/un.h-data: Likewise.
30380 * conform/data/sys/utsname.h-data: Likewise.
30381 * conform/data/sys/wait.h-data: Likewise.
30382 * conform/data/syslog.h-data: Likewise.
30383 * conform/data/tar.h-data: Likewise.
30384 * conform/data/termios.h-data: Likewise.
30385 * conform/data/utime.h-data: Likewise.
30386 * conform/data/utmpx.h-data: Likewise.
30387 * conform/data/varargs.h-data: Likewise.
30388 * conform/data/wchar.h-data: Likewise.
30389 * conform/data/wctype.h-data: Likewise.
30390 * conform/data/wordexp.h-data: Likewise.
30392 * include/stropts.h: New file.
30393 * include/uchar.h: New file.
30394 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30395 * include/assert.h: Likewise.
30396 * include/ctype.h: Likewise.
30397 * include/dirent.h: Likewise.
30398 * include/dlfcn.h: Likewise.
30399 * include/fcntl.h: Likewise.
30400 * include/fnmatch.h: Likewise.
30401 * include/glob.h: Likewise.
30402 * include/grp.h: Likewise.
30403 * include/libio.h: Likewise.
30404 * include/locale.h: Likewise.
30405 * include/math.h: Likewise.
30406 * include/net/if.h: Likewise.
30407 * include/netdb.h: Likewise.
30408 * include/netinet/in.h: Likewise.
30409 * include/pthread.h: Likewise.
30410 * include/pwd.h: Likewise.
30411 * include/regex.h: Likewise.
30412 * include/sched.h: Likewise.
30413 * include/search.h: Likewise.
30414 * include/setjmp.h: Likewise.
30415 * include/signal.h: Likewise.
30416 * include/stdio.h: Likewise.
30417 * include/stdlib.h: Likewise.
30418 * include/string.h: Likewise.
30419 * include/sys/cdefs.h: Likewise.
30420 * include/sys/mman.h: Likewise.
30421 * include/sys/msg.h: Likewise.
30422 * include/sys/resource.h: Likewise.
30423 * include/sys/select.h: Likewise.
30424 * include/sys/socket.h: Likewise.
30425 * include/sys/stat.h: Likewise.
30426 * include/sys/statvfs.h: Likewise.
30427 * include/sys/time.h: Likewise.
30428 * include/sys/times.h: Likewise.
30429 * include/sys/uio.h: Likewise.
30430 * include/sys/utsname.h: Likewise.
30431 * include/sys/wait.h: Likewise.
30432 * include/termios.h: Likewise.
30433 * include/time.h: Likewise.
30434 * include/ulimit.h: Likewise.
30435 * include/unistd.h: Likewise.
30436 * include/utime.h: Likewise.
30437 * include/wchar.h: Likewise.
30438 * include/wctype.h: Likewise.
30439 * include/wordexp.h: Likewise.
30441 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30443 * time/time.h: TIME_UTC must be a macro.
30444 Make timespec_get available for ISO C11 only as well.
30446 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30448 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30449 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30451 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30453 * configure.in: Use -o not -a in test for unsupported multi-arch.
30455 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30457 * manual/texinfo.tex: Update to version 2012-01-19.16.
30459 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30461 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30463 2012-02-24 Roland McGrath <roland@hack.frob.com>
30466 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30467 * manual/fdl-1.3.texi: New file.
30468 * manual/fdl-1.1.texi: File removed.
30471 * manual/libc.texinfo (FDL_VERSION): New @set.
30472 Use it for mention of FDL in cover text.
30473 (Documentation License): Use it in @include file name.
30475 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30476 Roland McGrath <roland@hack.frob.com>
30479 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30480 not LONG_LONG_MAX and LONG_LONG_MIN.
30481 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30482 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30484 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30486 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30490 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30491 manipulate bits before adding and subtracting TWO23[sx].
30492 * math/libm-test.inc (nearbyint_test): Add more tests.
30494 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30497 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30498 bits before adding and subtracting TWO23[sx].
30499 * math/libm-test.inc (rint_test): Add more tests.
30500 (rint_test_tonearest): Likewise.
30501 (rint_test_towardzero): Likewise.
30502 (rint_test_downward): Likewise.
30503 (rint_test_upward: Likewise.
30505 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30508 * include/stdc-predef.h: New file. Extracted from features.h.
30509 * include/features.h: Include stdc-predef.h.
30510 * Makefile (headers): Add stdc-predef.h.
30511 * CONFORMANCE (Compiler limitations): Update.
30513 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30515 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30517 2012-02-21 David S. Miller <davem@davemloft.net>
30519 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30520 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30522 2012-02-20 David S. Miller <davem@davemloft.net>
30524 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30525 using a normal save/restore sequence, rather than allocating a
30526 dummy stack frame just to store a frame pointer and restore.
30527 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30531 * manual/install.texi: Fix stray word in line-wrapped comment.
30533 2012-02-20 David S. Miller <davem@davemloft.net>
30535 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30536 both binutils and gcc support GOTDATA.
30538 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30539 "rd %pc" in the PIC register setup sequences.
30541 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30542 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30543 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30544 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30545 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30547 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30548 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30550 (SYSCALL_ERROR_HANDLER): Likewise.
30551 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30554 (SYSCALL_ERROR_HANDLER): Likewise.
30556 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30557 (HAVE_GCC_GOTDATA): New.
30558 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30559 relocation support in both binutils and gcc.
30560 * sysdeps/sparc/elf/configure: Regenerate.
30562 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30563 * sysdeps/sparc/sparc32/elf/configure: Delete.
30564 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30565 * sysdeps/sparc/sparc64/elf/configure: Delete.
30566 * sysdeps/sparc/elf/configure.in: New file.
30567 * sysdeps/sparc/elf/configure: Generate.
30569 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30570 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30571 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30572 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30573 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30575 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30577 * manual/install.texi: Do not mention specific glibc version
30579 * manual/libc.texinfo (VERSION, UPDATED): Update.
30580 (@copying): Use @copyright{} and range of years.
30582 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30585 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30586 [crti.S not in sysdirs] (generated): Do not append.
30587 [crti.S not in sysdirs] (omit-deps): Likewise.
30588 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30589 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30590 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30591 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30592 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30594 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30595 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30596 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30597 * csu/defs.awk: Remove file.
30598 * sysdeps/generic/initfini.c: Likewise.
30599 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30601 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30604 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30606 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30607 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30608 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30610 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30611 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30613 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30614 (__EPOLL_PACKED): Define to empty if not defined by
30616 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30620 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30622 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30623 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30624 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30625 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30627 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30631 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30633 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30636 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30637 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30640 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30642 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30643 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30645 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30647 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30648 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30650 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30652 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30655 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30657 * math/w_acos.c: Use non-signaling floating-point comparisons.
30658 * math/w_acosf.c: Likewise.
30659 * math/w_acosh.c: Likewise.
30660 * math/w_acoshf.c: Likewise.
30661 * math/w_acoshl.c: Likewise.
30662 * math/w_acosl.c: Likewise.
30663 * math/w_asin.c: Likewise.
30664 * math/w_asinf.c: Likewise.
30665 * math/w_asinl.c: Likewise.
30666 * math/w_atanh.c: Likewise.
30667 * math/w_atanhf.c: Likewise.
30668 * math/w_atanhl.c: Likewise.
30669 * math/w_exp2.c: Likewise.
30670 * math/w_exp2f.c: Likewise.
30671 * math/w_exp2l.c: Likewise.
30672 * math/w_j0.c: Likewise.
30673 * math/w_j0f.c: Likewise.
30674 * math/w_j0l.c: Likewise.
30675 * math/w_j1.c: Likewise.
30676 * math/w_j1f.c: Likewise.
30677 * math/w_j1l.c: Likewise.
30678 * math/w_jn.c: Likewise.
30679 * math/w_jnf.c: Likewise.
30680 * math/w_log.c: Likewise.
30681 * math/w_log10.c: Likewise.
30682 * math/w_log10f.c: Likewise.
30683 * math/w_log10l.c: Likewise.
30684 * math/w_log2.c: Likewise.
30685 * math/w_log2f.c: Likewise.
30686 * math/w_log2l.c: Likewise.
30687 * math/w_logf.c: Likewise.
30688 * math/w_logl.c: Likewise.
30689 * math/w_sqrt.c: Likewise.
30690 * math/w_sqrtf.c: Likewise.
30691 * math/w_sqrtl.c: Likewise.
30692 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30695 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30696 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30698 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30701 * manual/string.texi (strnlen): Use correct parameter name in
30702 equivalent expression.
30704 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30707 * manual/users.texi (seteuid): Consistently use neweuid for
30710 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30713 * manual/nss.texi (Services in the NSS configuration): Correct
30714 list of services in example configuration file.
30716 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30719 * manual/arith.texi: Remove statements about negative zero
30720 behaving identically to zero.
30722 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30725 * manual/install.texi: Do not document upgrading from libc5.
30727 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30730 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30732 2012-02-18 David S. Miller <davem@davemloft.net>
30734 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30735 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30736 %o7 across the call.
30737 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30740 SETUP_PIC_REG_LEAF.
30741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30742 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30743 * sysdeps/sparc/crtn.S: Likewise.
30745 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30747 * aout/Makefile: Remove.
30749 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30752 * manual/examples/argp-ex1.c (main): Format definition in GNU
30754 * manual/examples/argp-ex2.c (main): Likewise.
30755 * manual/examples/argp-ex3.c (main): Likewise.
30756 * manual/examples/argp-ex4.c (main): Likewise.
30757 * manual/examples/longopt.c (main): Use new-style prototype
30759 * manual/examples/strncat.c (main): Specify return type and use
30760 (void) for arguments.
30761 * manual/examples/subopt.c (main): Use char **argv argument.
30763 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30766 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30769 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30772 * manual/string.texi (strchr): Change when strchrnul is
30775 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30778 * manual/locale.texi (setlocale): Document LOCPATH.
30780 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30783 * manual/process.texi (execle): Move @dots{} before last argument.
30785 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30788 * manual/charset.texi (Generic Charset Conversion): Fix typo
30789 (LC_TYPE -> LC_CTYPE).
30791 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30794 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30795 (scalbnf): Likewise.
30796 (scalbnl): Likewise.
30797 (scalbln): Likewise.
30798 (scalblnf): Likewise.
30799 (scalblnl): Likewise.
30800 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30801 (vwarnx): Likewise.
30804 * manual/filesys.texi (telldir): Use braces around return type.
30805 * manual/llio.texi (mmap): Add space after comma.
30806 (mmap64): Likewise.
30807 * manual/math.texi (jn): Use @var{} on parameter names.
30813 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30815 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30817 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30818 (sched_get_priority_max): Likewise.
30819 * manual/signal.texi (sigvec): Add space after comma.
30820 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30822 (if_indextoname): Likewise.
30823 (if_freenameindex): Likewise.
30824 (sendto): Use ',' instead of '.' in prototype.
30825 * manual/startup.texi (syscall): Use @dots{} instead of literal
30827 * manual/stdio.texi (__fpending): Separate initial words of
30828 paragraph from @deftypefun line.
30829 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30831 (vsyslog): Use @var{} on parameter names.
30832 * manual/terminal.texi (stty): Use @var{} on parameter names.
30833 * manual/users.texi (getutmp): Use @var{} on parameter names.
30834 (getutmpx): Likewise.
30836 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30839 * manual/stdio.texi (fopen): Fix typos in description of
30842 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30845 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30846 get clock_id definition.
30848 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30851 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30852 (madvise): Cast every argument to void on its own.
30854 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30857 * manual/startup.texi (Exit Status): Fix typo.
30859 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30862 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30863 * manual/examples/argp-ex2.c: Likewise.
30864 * manual/examples/argp-ex3.c: Likewise.
30866 2012-02-16 Richard Henderson <rth@redhat.com>
30868 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30869 * sysdeps/s390/s390-32/initfini.c: Remove.
30870 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30871 * sysdeps/s390/s390-64/initfini.c: Remove.
30873 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30875 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30876 compiler output for sysdeps/generic/initfini.c.
30877 * sysdeps/sh/elf/initfini.c: Remove file.
30879 2012-02-16 David S. Miller <davem@davemloft.net>
30882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30884 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30885 * sysdeps/sparc/crti.S: New file.
30886 * sysdeps/sparc/crtn.S: New file.
30887 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30888 * sysdeps/sparc/sparc64/Makefile: Likewise.
30890 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30893 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30895 2012-02-15 Roland McGrath <roland@hack.frob.com>
30898 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30900 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30901 (write, read, close): Likewise.
30902 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30904 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30906 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30907 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30908 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30909 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30911 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30915 2012-02-14 Marek Polacek <polacek@redhat.com>
30917 * sysdeps/x86_64/crti.S: New file.
30918 * sysdeps/x86_64/crtn.S: New file.
30919 * sysdeps/x86_64/elf/initfini.c: Remove file.
30921 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30923 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30924 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30925 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30926 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30928 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30932 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30934 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30935 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30936 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30937 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30939 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30943 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30945 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30946 __feraiseexcept instead of feraiseexcept.
30948 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30949 nanosleep invocations.
30950 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30951 strings, and add error checking for a nanosleep invocations.
30953 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30955 Replace FSF snail mail address with URLs, as per GNU coding standards.
30956 Most of the snail mail addresses were wrong anyway, and omitting
30957 them makes the source code easier to maintain. Almost all of the
30958 changes are to license notices and to locale LC_IDENTIFICATION
30959 addresses, except for this one:
30960 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30961 not its snail mail address.
30963 2012-02-09 Richard Henderson <rth@twiddle.net>
30965 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30966 of kernel-features.h.
30968 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30970 2012-02-08 Marek Polacek <polacek@redhat.com>
30972 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30973 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30974 * sysdeps/gnu/_G_config.h: Likewise.
30975 * sysdeps/generic/_G_config.h: Likewise.
30977 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30979 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983 * sysdeps/powerpc/powerpc32/crti.S: New file.
30984 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30985 * sysdeps/powerpc/powerpc64/crti.S: New file.
30986 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30988 * Makeconfig (have-initfini): Don't set.
30989 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30990 * configure.in (nopic_initfini): Don't substitute.
30991 * config.h.in (HAVE_INITFINI): Don't #undef.
30992 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30993 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30995 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30997 Support crti.S and crtn.S provided directly by architectures.
30998 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30999 [crti.S in sysdirs] (omit-deps): Likewise.
31000 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31001 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31002 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31003 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31004 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31005 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31006 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31007 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31008 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31009 compiler output for sysdeps/generic/initfini.c.
31010 * sysdeps/i386/elf/Makefile: Remove file.
31011 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31013 2012-02-07 Marek Polacek <polacek@redhat.com>
31015 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31016 * sysdeps/gnu/_G_config.h: Likewise.
31017 * sysdeps/mach/hurd/_G_config.h: Likewise.
31019 2012-02-07 Marek Polacek <polacek@redhat.com>
31021 * math/Makefile (tests): Add tst-CMPLX2.
31022 * math/tst-CMPLX2.c: New file.
31024 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31026 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31028 * math/libm-test.inc (jn_test): Add missing L suffix.
31030 2012-02-06 Marek Polacek <polacek@redhat.com>
31032 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31033 * sysdeps/i386/fpu/e_powf.S: Likewise.
31034 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31035 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31037 * sysdeps/i386/fpu/e_pow.S: Likewise.
31038 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31040 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31041 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31042 * sysdeps/i386/fpu/e_log2.S: Likewise.
31043 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31044 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31045 * sysdeps/i386/fpu/e_powl.S: Likewise.
31046 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31047 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31048 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31049 * sysdeps/i386/fpu/e_logl.S: Likewise.
31050 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31051 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31052 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31053 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31054 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31055 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31056 * sysdeps/i386/fpu/e_log.S: Likewise.
31057 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31058 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31059 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31060 * sysdeps/i386/fpu/e_logf.S: Likewise.
31061 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31063 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31064 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31065 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31066 * sysdeps/i386/fpu/e_log10.S: Likewise.
31067 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31068 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31069 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31070 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31071 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31072 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31073 * sysdeps/i386/asm-syntax.h: Likewise.
31074 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31075 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31076 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31077 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31078 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31079 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31080 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31081 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31082 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31083 * sysdeps/powerpc/sysdep.h: Likewise.
31084 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31085 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31087 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31090 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31092 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31094 * sysdeps/i386/sysdep.h: Include <features.h>.
31095 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31098 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31100 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31102 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31105 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31107 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31108 (SETUP_PIC_REG): Use GET_PC_THUNK.
31109 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31112 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31114 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31115 for non-PIC compilation.
31116 (SETUP_PIC_REG): Add .p2align directive.
31117 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31118 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31119 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31120 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31121 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31122 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31123 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31125 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31126 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31127 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31128 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31129 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31130 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31131 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31132 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31133 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31134 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31135 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31136 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31139 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31140 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31143 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31144 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31145 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31146 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31147 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31148 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31149 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31150 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31151 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31153 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31154 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31155 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31156 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31157 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31159 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31161 * math/tst-CMPLX.c: Include <stdio.h>.
31163 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31165 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31167 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31168 * sysdeps/sparc/bits/mathdef.h: Likewise.
31170 2012-01-31 Marek Polacek <polacek@redhat.com>
31172 * libio/libio.h: Don't define _PARAMS.
31173 * locale/programs/config.h: Don't define PARAMS.
31174 * stdlib/strtol_l.c: Likewise.
31175 (__strtol_l): Remove PARAMS from the prototype.
31177 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31179 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31180 names. Just use the correct names. Remove unnecessary wrapper
31182 * malloc/arena.c: Likewise.
31183 * malloc/hooks.c: Likewise.
31185 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31186 ARENA_TEST says not to. Simplify test for creation of a new arena.
31187 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31189 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31191 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31193 (update_get_addr): New function.
31194 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31195 GET_ADDR_MODULE parameter.
31197 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31199 * crypt/cert.c: Remove __STDC__ conditionals.
31200 * crypt/crypt-entry.c: Likewise.
31201 * crypt/crypt_util.c: Likewise.
31202 * libio/filedoalloc.c: Likewise.
31203 * libio/fileops.c: Likewise.
31204 * libio/genops.c: Likewise.
31205 * libio/iofclose.c: Likewise.
31206 * libio/iofdopen.c: Likewise.
31207 * libio/iofopen.c: Likewise.
31208 * libio/iofopen64.c: Likewise.
31209 * libio/iogetdelim.c: Likewise.
31210 * libio/iopopen.c: Likewise.
31211 * libio/obprintf.c: Likewise.
31212 * libio/oldfileops.c: Likewise.
31213 * libio/oldiofclose.c: Likewise.
31214 * libio/oldiofdopen.c: Likewise.
31215 * libio/oldiofopen.c: Likewise.
31216 * libio/oldiopopen.c: Likewise.
31217 * libio/wfiledoalloc.c: Likewise.
31218 * libio/wgenops.c: Likewise.
31219 * locale/programs/xmalloc.c: Likewise.
31220 * misc/syslog.c: Likewise.
31221 * stdio-common/xbug.c: Likewise.
31222 * string/memchr.c: Likewise.
31223 * string/memcmp.c: Likewise.
31224 * string/memrchr.c: Likewise.
31225 * string/rawmemchr.c: Likewise.
31226 * sysdeps/posix/getcwd.c: Likewise.
31227 * time/strftime_l.c: Likewise.
31229 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31231 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31232 * config.make.in (config-cflags-sse2avx): Define.
31233 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31236 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31238 * scripts/config.guess: Update from upstream config git repository.
31239 * scripts/config.sub: Likewise.
31241 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31243 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31245 (R_TILEPRO_*, R_TILEGX_*): New macros.
31247 * scripts/firstversions.awk: Fix bug in version range handling.
31249 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31251 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31253 * include/sys/epoll.h: New file.
31254 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31257 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31259 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31260 Avoid unnecessary __WORDSIZE == 64 test.
31261 (fmaxf): Use VEX format if possible.
31266 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31267 * math/math_private.h: Remove libc_fegetround* and
31269 * sysdeps/i386/configure.in: Check for -msse2avx.
31270 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31271 also if SSE2AVX is defined.
31272 Remove libc_fegetround* and libc_fesetround*.
31273 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31274 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31278 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31283 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31285 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31289 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31291 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31294 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31296 * Makeconfig (libm): Define.
31297 * elf/Makefile: Add rules to build and run tst-relsort1.
31298 * elf/tst-relsort1.c: New file.
31299 * elf/tst-relsort1mod1.c: New file.
31300 * elf/tst-relsort1mod2.c: New file.
31302 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31304 * math/s_ldexp.c: Remove __STDC__ conditionals.
31305 * math/s_ldexpf.c: Likewise.
31306 * math/s_ldexpl.c: Likewise.
31307 * math/s_nextafter.c: Likewise.
31308 * math/s_nexttowardf.c: Likewise.
31309 * math/s_significand.c: Likewise.
31310 * math/s_significandf.c: Likewise.
31311 * math/s_significandl.c: Likewise.
31312 * math/w_jnl.c: Likewise.
31313 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31314 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31315 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31316 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31317 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31321 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31322 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31323 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31324 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31325 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31326 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31327 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31328 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31330 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31334 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31335 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31337 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31338 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31339 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31340 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31341 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31342 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31343 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31344 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31345 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31346 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31347 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31349 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31350 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31351 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31352 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31353 * sysdeps/ieee754/k_standard.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31359 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31361 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31362 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31363 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31364 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31365 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31366 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31367 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31368 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31369 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31370 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31371 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31372 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31373 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31376 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31377 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31378 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31379 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31383 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31384 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31385 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31386 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31387 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31388 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31389 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31390 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31392 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31393 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31394 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31395 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31396 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31397 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31398 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31401 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31402 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31403 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31404 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31407 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31408 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31409 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31410 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31411 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31412 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31413 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31414 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31415 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31416 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31418 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31419 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31420 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31421 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31422 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31423 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31424 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31425 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31426 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31427 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31429 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31430 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31431 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31432 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31433 * sysdeps/ieee754/s_matherr.c: Likewise.
31434 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31435 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31436 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31439 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31441 * crypt/md5.h: Remove __STDC__ conditionals.
31442 * libio/libioP.h: Likewise.
31443 * locale/programs/config.h: Likewise.
31444 * sysdeps/generic/sysdep.h: Likewise.
31445 * sysdeps/i386/asm-syntax.h: Likewise.
31446 * sysdeps/s390/asm-syntax.h: Likewise.
31447 * sysdeps/unix/sysdep.h: Likewise.
31448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31451 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31453 * libio/libio.h: Remove __STDC__ conditionals.
31454 * malloc/obstack.h: Likewise.
31455 * math/complex.h: Likewise.
31456 * math/math.h: Likewise.
31457 * sysdeps/generic/_G_config.h: Likewise.
31458 * sysdeps/gnu/_G_config.h: Likewise.
31459 * sysdeps/mach/hurd/_G_config.h: Likewise.
31460 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31461 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31462 * sysdeps/sparc/bits/mathdef.h: Likewise.
31464 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31467 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31468 Clean up HAS_* macros.
31469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31470 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31475 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31477 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31480 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31482 * elf/tst-unique3.cc (gets): Remove declaration.
31483 * elf/tst-unique3lib.cc (gets): Likewise.
31484 * elf/tst-unique3lib2.cc (gets): Likewise.
31485 * elf/tst-unique4.cc (gets): Likewise.
31487 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31489 * include/stdio.h: Add C++ protection. Add gets declarations and
31491 * debug/tst-chk1.c: Don't declare gets here.
31492 * stdio-common/tst-gets.c: Likewise.
31494 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31496 * posix/glob: Remove directory.
31498 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31500 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31502 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31504 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31505 of the non-standard EPFNOSUPPORT.
31507 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31509 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31510 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31511 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31513 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31515 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31517 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31519 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31521 * nscd/grpcache.c (cache_addgr): Likewise.
31522 * nscd/hstcache.c (cache_addhst): Likewise.
31523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31524 * nscd/pwdcache.c (cache_addpw): Likewise.
31525 * nscd/servicescache.c (cache_addserv): Likewise.
31527 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31529 * malloc/malloc.c: Various cleanups.
31530 * malloc/hooks.c: Likewise.
31532 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31533 * stdlib/bug-fmtmsg1.c: New file.
31535 * stdlib/fmtmsg.c (init): Add missing unlock.
31536 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31538 2012-01-12 Marek Polacek <polacek@redhat.com>
31540 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31543 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31545 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31546 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31547 macro to ensure uniqueness of label name.
31548 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31549 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31551 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31553 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31555 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31556 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31557 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31560 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31562 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31564 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31565 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31566 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31568 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31571 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31575 * math/bits/math-finite.h: Add ldexp support.
31577 2012-01-10 Marek Polacek <polacek@redhat.com>
31579 * locale/programs/localedef.h (show_archive_content): Add noreturn
31582 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31584 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31586 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31588 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31590 * io/Makefile (headers): Add bits/poll2.h.
31592 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31595 typo #include statement.
31597 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31599 * include/sys/cdefs.h: Define __attribute_alloc_size.
31600 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31601 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31602 * elf/pldd.c: Likewise.
31603 * iconv/iconv_charmap.c: Likewise.
31604 * iconv/iconvconfig.c: Likewise.
31605 * iconv/strtab.c: Likewise.
31606 * locale/programs/locale.c: Likewise.
31607 * locale/programs/localedef.h: Likewise.
31608 * locale/programs/simple-hash.c: Likewise.
31609 * nscd/nscd.h: Likewise.
31610 * nss/makedb.c: Likewise.
31611 * sysdeps/generic/ldconfig.h: Likewise.
31612 * locale/programs/localedef.c: Remove xmalloc prototype.
31613 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31615 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31617 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31620 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31622 * math/Makefile (tests): Add tst-CMPLX.
31623 * math/tst-CMPLX.c: New file.
31625 * math/complex.h (CMPLXL): Fix typo.
31627 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31628 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31630 * debug/tst-chk1.c: Add poll and ppoll tests.
31631 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31632 * include/sys/poll.h: Add hidden proto for ppoll.
31633 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31634 * sysdeps/mach/hurd/ppoll.c: Likewise.
31635 * io/ppoll.c: Likewise.
31636 * debug/poll_chk.c: New file.
31637 * debug/ppoll_chk.c: New file.
31638 * include/bits/poll2.h: New file.
31639 * io/bits/poll2.h: New file.
31642 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31644 * configure.in: static is always set to yes. Remove.
31645 * config.make.in: Don't set build-static.
31646 * Makeconfig: Remove use of build-static.
31647 * dlfcn/Makefile: Likewise.
31648 * elf/Makefile: Likewise.
31649 * math/Makefile: Likewise.
31650 * misc/Makefile: Likewise.
31651 * nptl/Makefile: Likewise.
31652 * sysdeps/mach/hurd/Makefile: Likewise.
31654 * configure.in: PWD_P is not used anymore.
31655 * config.make.in: Remove PWD_P entry.
31657 * configure.in: Remove last remnants of RANLIB.
31658 No need to check for signed size_t anymore.
31659 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31661 Remove __builtin_expect test because we require at least gcc 3.4.
31662 * aclocal.m4: Likewise.
31664 * wcsmbs/mbrtoc16.c: Implement using towc function.
31665 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31666 * wcsmbs/wcsmbsload.c: Likewise.
31667 * iconv/gconv_simple.c: Likewise.
31668 * iconv/gconv_int.h: Likewise.
31669 * iconv/gconv_builtin.h: Likewise.
31670 * iconv/iconv_prog.c: Remove CHAR16 handling.
31672 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31674 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31676 * configure.in: Remove --with-elf and --enable-bounded options.
31677 Dont set base_machine for ia64. More non-ELF conditions removed.
31678 Remove testing and setting of leading underscore information.
31679 * config.make.in (build-bounded): Set to no.
31680 * config.h.in: Remove NO_UNDERSCORES entry.
31681 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31683 * csu/start.c: Remove !NO_UNDERSCORE code.
31684 * locale/localeinfo.h: Likewise.
31685 * sysdeps/generic/machine-gmon.h: Likewise.
31686 * sysdeps/generic/sysdep.h: Likewise.
31687 * sysdeps/i386/sysdep.h: Likewise.
31688 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31689 * sysdeps/mach/sysdep.h: Likewise.
31690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31692 * sysdeps/sh/sysdep.h: Likewise.
31693 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31694 * sysdeps/unix/i386/sysdep.S: Likewise.
31695 * sysdeps/unix/sparc/start.c: Likewise.
31696 * sysdeps/unix/sparc/sysdep.S: Likewise.
31697 * sysdeps/unix/sparc/sysdep.h: Likewise.
31698 * sysdeps/unix/start.c: Likewise.
31699 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31700 * sysdeps/x86_64/sysdep.h: Likewise.
31702 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31705 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31707 * argp/argp-fmtstream.h: Use const instead __const.
31708 * argp/argp.h: Likewise.
31709 * assert/assert.h: Likewise.
31710 * bits/fenv.h: Likewise.
31711 * bits/sched.h: Likewise.
31712 * bits/sigset.h: Likewise.
31713 * bits/sigthread.h: Likewise.
31714 * catgets/nl_types.h: Likewise.
31715 * conform/data/pthread.h-data: Likewise.
31716 * crypt/crypt-private.h: Likewise.
31717 * crypt/crypt.h: Likewise.
31718 * crypt/crypt_util.c: Likewise.
31719 * ctype/ctype.h: Likewise.
31720 * debug/execinfo.h: Likewise.
31721 * debug/mbsnrtowcs_chk.c: Likewise.
31722 * debug/mbsrtowcs_chk.c: Likewise.
31723 * debug/wcsnrtombs_chk.c: Likewise.
31724 * debug/wcsrtombs_chk.c: Likewise.
31725 * debug/wcstombs_chk.c: Likewise.
31726 * dirent/dirent.h: Likewise.
31727 * dlfcn/dlfcn.h: Likewise.
31728 * elf/neededtest4.c: Likewise.
31729 * grp/grp.h: Likewise.
31730 * gshadow/gshadow.h: Likewise.
31731 * iconv/gconv.h: Likewise.
31732 * iconv/gconv_int.h: Likewise.
31733 * iconv/gconv_simple.c: Likewise.
31734 * iconv/iconv.h: Likewise.
31735 * iconv/loop.c: Likewise.
31736 * iconv/skeleton.c: Likewise.
31737 * include/aio.h: Likewise.
31738 * include/aliases.h: Likewise.
31739 * include/argz.h: Likewise.
31740 * include/arpa/inet.h: Likewise.
31741 * include/assert.h: Likewise.
31742 * include/dirent.h: Likewise.
31743 * include/dlfcn.h: Likewise.
31744 * include/execinfo.h: Likewise.
31745 * include/fcntl.h: Likewise.
31746 * include/fenv.h: Likewise.
31747 * include/glob.h: Likewise.
31748 * include/grp.h: Likewise.
31749 * include/libintl.h: Likewise.
31750 * include/mntent.h: Likewise.
31751 * include/netdb.h: Likewise.
31752 * include/pwd.h: Likewise.
31753 * include/rpc/netdb.h: Likewise.
31754 * include/sched.h: Likewise.
31755 * include/search.h: Likewise.
31756 * include/shadow.h: Likewise.
31757 * include/signal.h: Likewise.
31758 * include/stdio.h: Likewise.
31759 * include/stdlib.h: Likewise.
31760 * include/string.h: Likewise.
31761 * include/sys/socket.h: Likewise.
31762 * include/sys/stat.h: Likewise.
31763 * include/sys/statfs.h: Likewise.
31764 * include/sys/statvfs.h: Likewise.
31765 * include/sys/syslog.h: Likewise.
31766 * include/sys/time.h: Likewise.
31767 * include/sys/uio.h: Likewise.
31768 * include/time.h: Likewise.
31769 * include/unistd.h: Likewise.
31770 * include/utmp.h: Likewise.
31771 * include/wchar.h: Likewise.
31772 * include/wctype.h: Likewise.
31773 * inet/aliases.h: Likewise.
31774 * inet/arpa/inet.h: Likewise.
31775 * inet/netinet/ether.h: Likewise.
31776 * inet/netinet/in.h: Likewise.
31777 * intl/libintl.h: Likewise.
31778 * io/bits/fcntl2.h: Likewise.
31779 * io/fcntl.h: Likewise.
31780 * io/ftw.h: Likewise.
31781 * io/sys/poll.h: Likewise.
31782 * io/sys/stat.h: Likewise.
31783 * io/sys/statfs.h: Likewise.
31784 * io/sys/statvfs.h: Likewise.
31785 * io/utime.h: Likewise.
31786 * libio/bits/stdio.h: Likewise.
31787 * libio/bits/stdio2.h: Likewise.
31788 * libio/libio.h: Likewise.
31789 * libio/libioP.h: Likewise.
31790 * libio/stdio.h: Likewise.
31791 * locale/lc-ctype.c: Likewise.
31792 * locale/locale.h: Likewise.
31793 * login/utmp.h: Likewise.
31794 * malloc/arena.c: Likewise.
31795 * malloc/malloc.c: Likewise.
31796 * malloc/malloc.h: Likewise.
31797 * malloc/mcheck.c: Likewise.
31798 * malloc/mtrace.c: Likewise.
31799 * math/bits/mathcalls.h: Likewise.
31800 * math/fenv.h: Likewise.
31801 * math/math_private.h: Likewise.
31802 * misc/bits/error.h: Likewise.
31803 * misc/bits/syslog.h: Likewise.
31804 * misc/err.h: Likewise.
31805 * misc/error.h: Likewise.
31806 * misc/fstab.h: Likewise.
31807 * misc/mntent.h: Likewise.
31808 * misc/regexp.h: Likewise.
31809 * misc/search.h: Likewise.
31810 * misc/sgtty.h: Likewise.
31811 * misc/sys/mman.h: Likewise.
31812 * misc/sys/syslog.h: Likewise.
31813 * misc/sys/uio.h: Likewise.
31814 * misc/sys/xattr.h: Likewise.
31815 * misc/ttyent.h: Likewise.
31816 * nis/rpcsvc/ypclnt.h: Likewise.
31817 * nss/nss.h: Likewise.
31818 * posix/bits/unistd.h: Likewise.
31819 * posix/fnmatch.h: Likewise.
31820 * posix/glob.h: Likewise.
31821 * posix/sched.h: Likewise.
31822 * posix/spawn.h: Likewise.
31823 * posix/sys/wait.h: Likewise.
31824 * posix/unistd.h: Likewise.
31825 * posix/wordexp.h: Likewise.
31826 * pwd/pwd.h: Likewise.
31827 * resolv/netdb.h: Likewise.
31828 * resource/sys/resource.h: Likewise.
31829 * rt/aio.h: Likewise.
31830 * rt/bits/mqueue2.h: Likewise.
31831 * rt/mqueue.h: Likewise.
31832 * shadow/shadow.h: Likewise.
31833 * signal/signal.h: Likewise.
31834 * socket/send.c: Likewise.
31835 * socket/sendto.c: Likewise.
31836 * socket/sys/socket.h: Likewise.
31837 * stdio-common/printf.h: Likewise.
31838 * stdlib/bits/stdlib.h: Likewise.
31839 * stdlib/fmtmsg.h: Likewise.
31840 * stdlib/monetary.h: Likewise.
31841 * stdlib/stdlib.h: Likewise.
31842 * stdlib/ucontext.h: Likewise.
31843 * streams/stropts.h: Likewise.
31844 * string/argz.h: Likewise.
31845 * string/bits/string2.h: Likewise.
31846 * string/string.h: Likewise.
31847 * string/strings.h: Likewise.
31848 * sunrpc/rpc/auth.h: Likewise.
31849 * sunrpc/rpc/auth_des.h: Likewise.
31850 * sunrpc/rpc/clnt.h: Likewise.
31851 * sunrpc/rpc/netdb.h: Likewise.
31852 * sunrpc/rpc/pmap_clnt.h: Likewise.
31853 * sunrpc/rpc/xdr.h: Likewise.
31854 * sysdeps/generic/inttypes.h: Likewise.
31855 * sysdeps/generic/net/if.h: Likewise.
31856 * sysdeps/generic/sys/swap.h: Likewise.
31857 * sysdeps/gnu/net/if.h: Likewise.
31858 * sysdeps/gnu/utmpx.h: Likewise.
31859 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31860 * sysdeps/i386/i486/bits/string.h: Likewise.
31861 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31862 * sysdeps/s390/bits/string.h: Likewise.
31863 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31864 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31865 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31866 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31867 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31868 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31869 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31870 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31871 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31872 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31873 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31874 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31875 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31876 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31877 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31878 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31879 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31881 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31882 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31883 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31884 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31885 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31886 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31887 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31888 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31889 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31891 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31892 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31893 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31894 * sysvipc/sys/ipc.h: Likewise.
31895 * sysvipc/sys/msg.h: Likewise.
31896 * sysvipc/sys/sem.h: Likewise.
31897 * sysvipc/sys/shm.h: Likewise.
31898 * termios/termios.h: Likewise.
31899 * time/sys/time.h: Likewise.
31900 * time/time.h: Likewise.
31901 * wcsmbs/bits/wchar2.h: Likewise.
31902 * wcsmbs/uchar.h: Likewise.
31903 * wcsmbs/wchar.h: Likewise.
31904 * wctype/wctype.h: Likewise.
31907 * Makeconfig: Remove all but ELF support including AIX support.
31908 * Makerules: Likewise.
31909 * config.h.in: Likewise.
31910 * config.make.in: Likewise.
31911 * configure: Likewise.
31912 * configure.in: Likewise.
31913 * csu/Makefile: Likewise.
31914 * csu/version.c: Likewise.
31915 * debug/Makefile: Likewise.
31916 * dlfcn/Makefile: Likewise.
31917 * elf/Makefile: Likewise.
31918 * extra-lib.mk: Likewise.
31919 * iconv/Makefile: Likewise.
31920 * include/libc-symbols.h: Likewise.
31921 * include/shlib-compat.h: Likewise.
31922 * resolv/Makefile: Likewise.
31923 * resolv/res_libc.c: Likewise.
31924 * rt/Makefile: Likewise.
31925 * sysdeps/i386/asm-syntax.h: Likewise.
31926 * sysdeps/i386/sysdep.h: Likewise.
31927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31928 * sysdeps/mach/sysdep.h: Likewise.
31929 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31930 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31931 * sysdeps/s390/asm-syntax.h: Likewise.
31932 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31933 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31934 * sysdeps/sh/sysdep.h: Likewise.
31935 * sysdeps/unix/sparc/sysdep.h: Likewise.
31936 * sysdeps/wordsize-32/divdi3.c: Likewise.
31937 * sysdeps/x86_64/sysdep.h: Likewise.
31939 * argp/Versions: Remove _argp_unlock_xxx.
31942 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31943 * abilist/libBrokenLocale.abilist: Likewise.
31944 * abilist/libanl.abilist: Likewise.
31945 * abilist/libc.abilist: Likewise.
31946 * abilist/libcrypt.abilist: Likewise.
31947 * abilist/libdl.abilist: Likewise.
31948 * abilist/libm.abilist: Likewise.
31949 * abilist/libnsl.abilist: Likewise.
31950 * abilist/libpthread.abilist: Likewise.
31951 * abilist/libresolv.abilist: Likewise.
31952 * abilist/librt.abilist: Likewise.
31953 * abilist/libthread_db.abilist: Likewise.
31954 * abilist/libutil.abilist: Likewise.
31955 * abilist/libnss_db.abilist: New file.
31957 * scripts/abilist.awk: Add support for indirect functions.
31959 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31961 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31963 * shlib-versions: Remove entries for ports architectures.
31965 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31967 * elf/stackguard-macros.h: Remove support for IA-64.
31968 * elf/tst-auditmod1.c: Likewise.
31969 * sysdeps/generic/ldsodefs.h: Likewise.
31971 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31972 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31976 * configure.in: Remove --enable-omitfp support.
31978 * config.make.in: Likewise.
31979 * Makeconfig: Likewise.
31980 * manual/install.texi: Likewise.
31982 In case anyone cares, the IA-64 architecture could move to ports.
31983 * sysdeps/ia64/*: Removed.
31984 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31985 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31988 * configure.in: Remove entries for unsupported architectures.
31991 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31992 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31994 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31995 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31996 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31997 fall back to using wcrtomb.
31998 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31999 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32001 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32002 * wcsmbs/tst-c16c32-1.c: New file.
32004 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32007 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32009 * elf/tst-unique3.cc: Add explicit declaration of gets.
32010 * elf/tst-unique3lib.cc: Likewise.
32011 * elf/tst-unique3lib2.cc: Likewise.
32012 * elf/tst-unique4.cc: Likewise.
32014 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32016 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32019 * assert/assert.h (static_assert): Don't define for C++.
32020 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32021 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32023 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32025 * iconv/loop.c (single loop): Fix assertion in storing of
32028 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32030 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32032 * posix/getconf.c: Update copyright year.
32033 * nss/getent.c: Likewise.
32034 * nss/makedb.c: Likewise.
32035 * iconv/iconvconfig.c: Likewise.
32036 * iconv/iconv_prog.c: Likewise.
32037 * elf/ldconfig.c: Likewise.
32038 * elf/pldd.c: Likewise.
32039 * elf/sotruss.ksh: Likewise.
32040 * catgets/gencat.c: Likewise.
32041 * csu/version.c: Likewise.
32042 * elf/ldd.bash.in: Likewise.
32043 * elf/sprof.c (print_version): Likewise.
32044 * locale/programs/locale.c: Likewise.
32045 * locale/programs/localedef.c: Likewise.
32046 * login/programs/pt_chown.c: Likewise.
32047 * nscd/nscd.c (print_version): Likewise.
32048 * debug/xtrace.sh: Likewise.
32049 * malloc/memusage.sh: Likewise.
32050 * malloc/mtrace.pl: Likewise.
32051 * debug/catchsegv.sh: Likewise.
32053 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32055 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32058 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32061 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32062 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32064 * iconv/gconv_int.h: Likewise.
32065 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32066 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32067 from libc for GLIBC_2.16.
32068 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32069 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32070 * wcsmbs/uchar.h: Really define mbstate_t.
32071 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32072 * wcsmbs/c16rtomb.c: New file.
32073 * wcsmbs/mbrtoc16.c: New file.
32074 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32075 for C/POSIX locale.
32076 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32077 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32079 * wcsmbs/wchar.h: Add missing __restrict.
32081 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32084 * time/Makefile (routines): Add timespec_get.
32085 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32086 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32087 timespec for ISO C11.
32088 * time/timespec_get.c: New file.
32089 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32090 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32093 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32094 * stdlib/stdlib.h: Declare aligned_alloc.
32095 * Versions.def: Add GLIBC_2.16 for libc.
32096 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32099 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32102 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32106 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32109 * assert/assert.h (static_assert): Define.
32111 * version.h: Update for 2.16 development version.
32114 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32117 * version.h (RELEASE): Bump for 2.15 release.
32118 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32120 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32121 Patch by Marek Polacek <mpolacek@redhat.com>.
32123 * bits/byteswap.h: Protect long long constants with __extension__.
32124 * sysdeps/i386/bits/byteswap.h: Likewise.
32125 * sysdeps/ia64/bits/byteswap.h: Likewise.
32126 * sysdeps/s390/bits/byteswap.h: Likewise.
32127 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32129 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32132 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32133 destination buffer.
32134 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32136 2011-12-23 Marek Polacek <polacek@redhat.com>
32138 * elf/dl-addr.c (determine_info): Add inline keyword.
32139 * elf/tst-auditmod4b.c (check_avx): Likewise.
32140 * elf/tst-auditmod6b.c (check_avx): Likewise.
32141 * elf/tst-auditmod6c.c (check_avx): Likewise.
32142 * elf/tst-auditmod7b.c (check_avx): Likewise.
32144 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32146 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32149 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32152 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32153 processing for last bytes.
32155 2011-08-06 Bruno Haible <bruno@clisp.org>
32158 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32159 U+0385, not to U+1FEE.
32162 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32163 entry for U+00A5 U+0301.
32165 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32168 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32169 buffer for the output is too small.
32171 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32175 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32176 SSE flags if possible.
32178 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32182 processing for last bytes.
32184 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32186 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32187 (syscall-list-default-options, syscall-list-default-condition)
32188 (syscall-list-includes): Define.
32189 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32190 list of ABIs and options and #if conditions for each ABI. Do not
32191 handle common syscalls between ABIs specially.
32192 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32194 (syscall-list-variants, syscall-list-32bit-options)
32195 (syscall-list-32bit-condition, syscall-list-64bit-options)
32196 (syscall-list-64bit-condition): Define.
32197 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32198 (syscall-list-variants, syscall-list-32bit-options)
32199 (syscall-list-32bit-condition, syscall-list-64bit-options)
32200 (syscall-list-64bit-condition): Define.
32201 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32203 (syscall-list-variants, syscall-list-32bit-options)
32204 (syscall-list-32bit-condition, syscall-list-64bit-options)
32205 (syscall-list-64bit-condition): Define.
32206 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32208 (syscall-list-variants, syscall-list-32bit-options)
32209 (syscall-list-32bit-condition, syscall-list-64bit-options)
32210 (syscall-list-64bit-condition): Define.
32212 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32214 * locale/iso-639.def: Add brx entry.
32217 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32218 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32220 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32221 __feraiseexcept_renamed.
32223 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32226 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32227 EPOLLET with unsigned values.
32228 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32229 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32231 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32232 to large cancellation.
32233 * math/s_cacoshf.c: Likewise.
32234 * math/s_cacoshl.c: Likewise.
32236 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32240 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32241 * math/s_cacoshf.c: Likewise.
32242 * math/s_cacoshl.c: Likewise.
32244 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32247 * iconv/gconv.h: Define __GCONV_SWAP.
32248 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32249 * iconvdata/utf-16.c: Likewise.
32250 * iconvdata/utf-32.c: Likewise.
32252 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32256 numerator after shifting it by one limb.
32258 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32260 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32261 under [__USE_EXTERN_INLINES].
32263 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32266 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32268 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32270 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32271 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32273 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32274 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32275 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32276 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32277 for strncasecmp/strncasecmp_l compilation.
32278 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32279 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32281 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32284 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32287 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32290 * time/tzfile.c (__tzfile_read): Check values from file header.
32292 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32294 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32295 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32296 * powerpc/powerpc32/dl-start.S: Likewise.
32297 * powerpc/powerpc32/elf/start.S: Likewise.
32298 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32299 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32300 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32301 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32302 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32303 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32304 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32305 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32306 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32307 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32308 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32309 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32310 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32311 * powerpc/powerpc32/memset.S: Likewise.
32312 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32313 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32314 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32315 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32316 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32317 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32318 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32319 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32320 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32321 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32322 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32326 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32328 * math/libm-test.inc: Added more nearbyint tests.
32329 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32334 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32336 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32339 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32341 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32342 Add wcscpy-ssse3 wcscpy-c.
32343 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32344 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32345 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32346 * sysdeps/x86_64/wcschr.S: New file.
32347 * sysdeps/x86_64/wcsrchr.S: New file.
32348 * string/test-strcmp.c: Remove checking of wcscmp function for
32350 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32351 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32352 wcsrchr-sse2 wcsrchr-c.
32353 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32354 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32355 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32356 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32357 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32358 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32359 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32360 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32361 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32362 * wcsmbc/wcschr.c (WCSCHR): New macro.
32364 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32366 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32367 * wcsmbs/test-wcsrchr.c: New file.
32368 * string/test-strrchr.c: Add wcsrchr support.
32370 * wcsmbs/test-wcscpy.c: New file.
32371 * string/test-strcpy.c: Add wcscpy support.
32374 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32376 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32379 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32382 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32384 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32387 Minor optimizations.
32389 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32390 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32391 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32393 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32395 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32396 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32397 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32398 for gcc to avoid warnings.
32399 * inet/Makefile (tests): Add tst-checks.
32400 * inet/tst-checks.c: New file.
32402 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32405 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32408 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32409 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32411 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32413 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32415 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32418 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32420 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32422 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32423 conditional on GCC version.
32424 (__arch_compare_and_exchange_val_8_acq)
32425 (__arch_compare_and_exchange_val_16_acq)
32426 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32427 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32428 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32430 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32432 * sysdeps/sh/backtrace.c: New file.
32434 2011-12-02 Andreas Schwab <schwab@redhat.com>
32436 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32439 2011-12-01 Andreas Schwab <schwab@redhat.com>
32441 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32442 falling back to utime.
32444 2011-11-30 Andreas Schwab <schwab@redhat.com>
32446 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32447 expectations for float.
32449 2011-11-29 Andreas Schwab <schwab@redhat.com>
32451 * locale/weight.h (findidx): Add parameter len.
32452 * locale/weightwc.h (findidx): Likewise.
32453 * posix/fnmatch_loop.c (FCT): Adjust caller.
32454 * posix/regcomp.c (build_equiv_class): Likewise.
32455 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32456 * posix/regexec.c (check_node_accept_bytes): Likewise.
32457 * string/strcoll_l.c (STRCOLL): Likewise.
32458 * string/strxfrm_l.c (STRXFRM): Likewise.
32460 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32462 * Makefile.in: Remove CVSOPT handling.
32463 * configure.in: Remove use of AC_REVISION.
32464 * iconvdata/Makefile (distribute): No need to filter out CVS.
32465 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32468 2011-11-16 Andreas Schwab <schwab@redhat.com>
32470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32471 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32472 [USE_AS_STRNCASECMP_L]: Likewise.
32473 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32474 NO_TLS_DIRECT_SEG_REFS.
32475 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32476 Fix argument offsets for non-PIC.
32477 [USE_AS_STRNCASECMP_L]: Likewise.
32478 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32479 NO_TLS_DIRECT_SEG_REFS.
32481 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32483 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32485 * locale/loadlocale.c (_nl_load_locale): Likewise.
32487 2011-11-15 Andreas Schwab <schwab@redhat.com>
32489 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32490 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32491 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32492 (SYSCALL_GETTIME): Set errno on error.
32494 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32495 count references to noai6ai_cached.
32497 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32499 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32501 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32502 FD_CLOEXEC for /proc/self/maps.
32504 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32505 FD_CLOEXEC for /proc/meminfo.
32507 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32510 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32511 FD_CLOEXEC for given file.
32513 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32515 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32516 FD_CLOEXEC for /etc/hosts.
32517 (_gethtent): Likewise.
32519 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32521 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32522 cancellation and set FD_CLOEXEC for /etc/netgroup.
32524 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32525 reading /etc/publickey.
32527 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32528 allow cancellation when reading /etc/group.
32530 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32532 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32534 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32535 when using data file.
32537 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32539 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32540 (write_nis_obj): Use "c" and "e" in fopen.
32542 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32544 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32546 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32548 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32550 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32553 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32555 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32557 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32559 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32560 file parsing and set FD_CLOEXEC.
32562 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32564 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32566 2011-11-14 Andreas Schwab <schwab@redhat.com>
32568 * malloc/arena.c (arena_get2): Don't call reused_arena when
32569 _int_new_arena failed.
32571 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32573 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32574 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32576 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32578 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32579 to compile strcasecmp and strncasecmp.
32580 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32581 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32585 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32587 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32588 locale-defines.sym to gen-as-const-headers.
32589 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32590 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32591 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32592 to compile strcasecmp and strncasecmp.
32593 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32594 strcasecmp_l and strncasecmp_l.
32595 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32596 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32597 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32598 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32599 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32600 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32601 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32602 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32603 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32604 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32605 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32607 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32609 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32610 result of SYSDEP_GETTIME_CPU to retval.
32611 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32612 parameter list to macro. Remove trailing semicolon. Adjust users.
32614 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32617 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32619 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32621 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32622 from unused variable.
32624 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32626 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32629 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32632 * sunrpc/rpc_prot.c (rejected): Fix case value.
32634 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32635 unsigned long long int to avoid warnings in shift.
32637 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32639 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32642 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32643 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32644 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32646 * nis/nis_table.c (nis_list): Use variable of correct type for
32647 result of __follow_path call.
32649 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32651 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32652 of math functions ceil, trunc, floor, round, and sqrt, when
32653 avaliable on the platform.
32654 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32660 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32662 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32663 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32665 2011-11-11 Roland McGrath <roland@hack.frob.com>
32667 * include/unistd.h: Fix __readlink return type.
32668 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32670 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32672 * stdlib/ucontext.h: Undo last change for makecontext.
32674 2011-11-11 Andreas Schwab <schwab@redhat.com>
32676 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32678 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32679 * setjmp/setjmp.h: Mark functions as non-leaf.
32680 * setjmp/bits/setjmp2.h: Likewise.
32681 * stdlib/ucontext.h: Likewise.
32683 2011-11-10 Andreas Schwab <schwab@redhat.com>
32685 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32686 (reused_arena): Don't check arena limit.
32687 (arena_get2): Atomically check arena limit.
32689 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32691 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32692 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32697 2011-11-07 Andreas Schwab <schwab@redhat.com>
32699 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32700 handler when locking.
32702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32703 Fix size of allocated buffer.
32705 2011-11-04 Andreas Schwab <schwab@redhat.com>
32708 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32709 declarations for long double functions.
32710 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32712 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32714 2011-11-03 Andreas Schwab <schwab@redhat.com>
32716 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32719 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32722 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32724 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32726 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32728 * include/alloca.h (stackinfo_alloca_round): Define.
32729 (extend_alloca): Use it.
32730 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32731 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32734 * scripts/check-local-headers.sh: Ignore libaudit.h.
32736 * nscd/Makefile (extra-objs): Make recursively expanded.
32738 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32740 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32741 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32743 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32744 * posix/tst-rfc3484-2.c: Likewise.
32745 * posix/tst-rfc3484-3.c: Likewise.
32747 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32749 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32751 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32752 process_vm_writev from libc using GLIBC_2.15 version.
32754 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32756 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32758 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32761 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32764 * nss/getent.c (initgroups_keys): Show error message in case no group
32767 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32768 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32769 __bump_nl_timestamp.
32770 * nscd/connections (nscd_init): When host database is served open
32771 netlink socket and request notification about configuration changes.
32772 (main_loop_poll): Track netlink file descriptor and bump timestamp
32773 in case data becomes available.
32774 (main_loop_epoll): Likewise.
32775 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32776 (database_pers_head): Add extra_data fileds.
32777 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32778 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32779 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32781 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32782 in6ai data, call __free_in6ai.
32783 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32784 Add -DHAVE_NETLINK.
32785 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32786 interface information. Reuse previous data if netlink timestamp
32788 (__bump_nl_timestamp): New function.
32789 (__free_in6ai): New function.
32791 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32793 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32794 close_not_cancel_no_status here.
32795 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32797 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32800 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32803 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32804 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32805 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32807 2011-07-03 Andreas Jaeger <aj@suse.de>
32810 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32811 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32812 * math/libm-test.inc (sin_test): Add test case.
32814 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32817 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32818 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32820 * elf/chroot_canon.c (chroot_canon): Cleanups.
32822 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32825 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32826 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32828 * string/test-strchr.c: Make usable for strchrnul testing.
32829 * string/test-strchrnul.c: New file.
32830 * string/Makefile (strop-tests): Add strchrnul.
32832 * po/it.po: Update from translation team.
32833 * po/es.po: Likewise.
32835 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32837 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32838 the three constants needed as parameters. Drop the others.
32839 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32840 __m128i_strloadu_tolower.
32841 Create and initialize variable zero and use it in all the places
32842 where _mm_setzero_si128 was used.
32844 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32845 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32846 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32847 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32849 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32850 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32851 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32852 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32853 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32854 __mpranred, __mptan.
32855 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32856 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32857 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32858 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32859 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32860 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32861 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32862 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32863 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32865 2011-10-28 Andreas Schwab <schwab@redhat.com>
32867 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32868 redefine if SHARED.
32869 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32872 wide char related routines to wcsmbs subdir.
32874 2011-10-27 Andreas Schwab <schwab@redhat.com>
32877 * misc/sys/cdefs.h (__THROWNL): Define.
32878 * posix/unistd.h: Use __THREADNL instead of __THREAD
32879 for memory synchronization functions.
32881 2011-10-26 Roland McGrath <roland@hack.frob.com>
32884 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32886 * manual/stdio.texi (Obstack Streams): Node removed.
32888 2011-10-26 Andreas Schwab <schwab@redhat.com>
32890 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32891 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32892 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32894 * math/math_private.h (math_force_eval): Allow non-addressable
32896 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32898 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32900 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32901 file is not needed.
32903 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32912 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32913 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32914 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32915 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32916 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32917 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32918 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32920 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32921 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32922 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32923 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32924 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32925 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32926 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32927 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32928 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32929 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32930 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32932 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32933 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32936 place. Use VEX encoding when compiling for AVX.
32938 2011-10-25 Andreas Schwab <schwab@redhat.com>
32940 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32941 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32943 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32947 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32948 useless if() expression.
32949 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32950 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32951 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32952 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32960 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32961 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32962 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32963 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32964 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32965 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32966 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32967 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32969 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32971 2011-10-25 Andreas Schwab <schwab@redhat.com>
32973 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32975 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32977 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32979 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32980 .text section. Avoid duplicate constants.
32981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32991 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32993 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32996 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32998 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33004 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33005 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33006 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33007 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33008 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33010 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33011 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33012 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33013 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33014 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33015 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33016 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33017 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33018 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33019 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33020 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33021 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33022 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33023 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33024 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33025 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33027 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33029 * sysdeps/x86_64/dla.h: Move to ...
33030 * sysdeps/x86_64/fpu/dla.h: ...here.
33031 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33032 situations. Use __builtin_fma only for gcc 4.6 and up.
33034 * config.make.in: Add have-mfma4 entry.
33035 * configure.in: Substitute libc_cv_cc_fma4.
33036 * math/Makefile (dbl-only-routines): Add sincostab.
33037 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33038 Use __sincostab not sincos.
33039 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33041 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33046 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33047 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33048 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33049 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33051 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33052 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33054 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33055 define aliases when function name is a macro.
33056 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33057 sysdeps/ieee754/dbl-64/sincos.tbl.
33058 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33059 fma4-enabled routines.
33060 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33061 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33062 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33063 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33064 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33065 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33067 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33068 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33069 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33070 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33071 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33072 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33073 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33074 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33075 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33076 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33077 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33078 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33080 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33081 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33083 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33084 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33085 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33087 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33089 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33091 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33102 2011-10-24 Andreas Schwab <schwab@redhat.com>
33104 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33106 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33108 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33110 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33112 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33114 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33115 Remove unused variable magic_bits.
33116 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33118 * string/strnlen.c: Define and use STRNLEN macro.
33119 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33120 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33122 * wcsmbs/wcslen.c: Define and use WCSLEN.
33123 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33124 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33125 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33126 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33127 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33128 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33129 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33131 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33134 strnlen-sse2-no-bsf.
33135 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33137 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33138 Add strnlen support.
33139 (USE_AS_STRNLEN): New macro.
33140 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33142 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33143 * sysdeps/x86_64/wcslen.S: New file.
33145 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33148 XMM-moves are used for copying on small sizes.
33150 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33152 * wcsmbs/Makefile (strop-tests): Add wcschr.
33153 * wcsmbs/test-wcschr.c: New file.
33154 * string/test-strchr.c: Update.
33155 Add wcschr support.
33158 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33160 * wcsmbs/Makefile (strop-tests): Add wcslen.
33161 * wcsmbs/test-wcslen.c: New file.
33162 * string/test-strlen.c: Update.
33163 Add wcslen support.
33166 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33168 * po/it.po: Update from translation team.
33170 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33172 * sysdeps/x86_64/wcscmp.S: Update.
33173 Fix wrong comparison semantics.
33174 wcscmp shall use signed comparison not unsigned.
33175 Don't use substraction to avoid overflow bug.
33176 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33177 * wcsmbc/wcscmp.c: Likewise.
33178 * string/test-strcmp.c: Likewise.
33179 Add new tests to check cases with negative values.
33181 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33183 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33184 * sysdeps/x86_64/dla.h: ...here. New file.
33185 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33192 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33195 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33198 __ynl_finite aliases.
33200 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33204 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33206 [DLA_FMA] (EMULV): Use DLA_FMA.
33207 [DLA_FMA] (MUL12): Use EMULV.
33208 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33209 that are not needed.
33210 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33218 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33220 * math/s_nan.c: Undef __nan.
33221 * math/s_nanf.c: Undef __nanf.
33222 * math/s_nanl.c: Undef __nanl.
33223 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33226 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33228 * math/s_catan.c: Add branch predictions.
33229 * math/s_catanf.c: Likewise.
33230 * math/s_catanh.c: Likewise.
33231 * math/s_catanhf.c: Likewise.
33232 * math/s_catanhl.c: Likewise.
33233 * math/s_catanl.c: Likewise.
33234 * math/s_cexp.c: Likewise.
33235 * math/s_cexpf.c: Likewise.
33236 * math/s_cexpl.c: Likewise.
33237 * math/s_clog.c: Likewise.
33238 * math/s_clog10.c: Likewise.
33239 * math/s_clog10f.c: Likewise.
33240 * math/s_clog10l.c: Likewise.
33241 * math/s_clogf.c: Likewise.
33242 * math/s_clogl.c: Likewise.
33243 * math/s_csqrt.c: Likewise.
33244 * math/s_csqrtf.c: Likewise.
33245 * math/s_csqrtl.c: Likewise.
33246 * math/s_ctanf.c: Likewise.
33247 * math/s_ctanh.c: Likewise.
33248 * math/s_ctanhf.c: Likewise.
33249 * math/s_ctanhl.c: Likewise.
33250 * math/s_ctanl.c: Likewise.
33252 * math/math_private.h: Define __nan, __nanf, __nanl.
33253 * math/s_cacosh.c: Include <math_private.h>.
33254 * math/s_cacoshl.c: Likewise.
33255 * math/s_casinh.c: Likewise.
33256 * math/s_casinhf.c: Likewise.
33257 * math/s_casinhl.c: Likewise.
33258 * math/s_ccos.c: Rely entire on ccosh.
33259 * math/s_ccosf.c: Rely entire on ccoshf.
33260 * math/s_ccosl.c: Rely entirely on ccoshl.
33261 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33262 Remove tests for FE_INVALID.
33263 * math/s_ccoshf.c: Likewise.
33264 * math/s_ccoshl.c: Likewise.
33265 * math/s_csin.c: Likewise.
33266 * math/s_csinf.c: Likewise.
33267 * math/s_csinh.c Likewise.
33268 * math/s_csinhf.c: Likewise.
33269 * math/s_csinhl.c: Likewise.
33270 * math/s_csinl.c: Likewise.
33271 * math/s_ctan.c: Likewise.
33272 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33273 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33276 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33279 compilation problems.
33281 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33284 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33286 * sysdeps/i386/configure.in: Test for -mfma4 option.
33287 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33288 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33289 COMMON_CPUID_INDEX_80000001.
33290 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33291 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33292 use it if FMA3 is not supported.
33293 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33295 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33296 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33298 2011-10-20 Andreas Schwab <schwab@redhat.com>
33301 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33302 it would create a cycle with a link time dependency.
33304 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33306 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33308 * string/Makefile (strop-tests): Add rawmemchr.
33309 * string/test-rawmemchr.c: New file.
33311 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33313 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33314 when compiling str{,n}casecmp and when AVX is available. Hook up
33315 new optimized code in initializers.
33317 2011-10-19 Andreas Schwab <schwab@redhat.com>
33319 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33320 __feraiseexcept instead of feraiseexcept.
33322 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33324 * math/math_private.h: Define defaults for libc_fetestexcept and
33326 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33327 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33329 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33330 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33331 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33332 libc_fetestexcept and libc_feupdateenv.
33334 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33335 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33336 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33337 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33338 libc_feholdexcept_setround.
33340 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33341 Add s_nearbyint-c and s_nearbyintf-c.
33342 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33343 nearbyintf inlines.
33344 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33345 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33346 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33347 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33349 * math/math_private.h: Define defaults for libc_fegetround,
33350 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33351 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33352 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33354 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33355 standard functions.
33356 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33357 Remove comments and hacks for old compiler versions.
33358 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33359 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33360 libc_feholdexceptl.
33362 2011-10-18 Andreas Schwab <schwab@redhat.com>
33364 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33365 (__feraiseexcept_renamed): Add __NTH.
33366 (feraiseexcept): Add __NTH. Rename local variables to fix
33367 namespace violations.
33369 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33371 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33373 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33375 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33376 recently added interfaces.
33377 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33379 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33380 about macro parameter expansion.
33382 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33383 __NO_MATH_INLINES is defined. Cleanups.
33385 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33386 and __floorf is target has SSE4.1.
33387 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33388 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33389 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33390 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33392 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33394 (floorf): Likewise.
33396 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33398 2011-10-17 Andreas Schwab <schwab@redhat.com>
33400 * misc/sys/cdefs.h: Fix last change.
33402 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33405 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33407 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33409 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33411 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33412 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33415 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33416 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33417 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33418 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33419 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33420 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33421 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33422 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33423 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33424 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33425 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33426 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33427 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33428 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33429 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33430 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33432 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33433 ceil, ceilf, floor, floorf.
33435 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33436 Perform IRELATIVE relocations last.
33438 * elf/do-rel.h: Add another parameter nrelative, replacing the
33439 local variable with the same name. Change name of the function
33440 to end in Rel or Rela (uppercase).
33441 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33442 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33443 elf_dynamic_do_##reloc function.
33445 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33447 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33448 is sufficient, at least on modern CPUs.
33450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33452 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33453 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33455 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33457 * math/bits/math-finite.h: Add entries for exp.
33458 * math/e_expl.c: Add __*_finite alias.
33459 * sysdeps/i386/fpu/e_exp.S: Likewise.
33460 * sysdeps/i386/fpu/e_expf.S: Likewise.
33461 * sysdeps/i386/fpu/e_expl.c: Likewise.
33462 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33463 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33466 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33467 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33468 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33470 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33471 is sufficient, at least on modern CPUs.
33473 * ctype/ctype-info.c (__ctype_init): Define.
33474 * include/ctype.h (__ctype_init): Declare.
33475 (__ctype_b_loc): The variable is always initialized.
33476 (__ctype_toupper_loc): Likewise.
33477 (__ctype_tolower_loc): Likewise.
33478 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33479 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33481 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33483 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33485 * configure.in: Also look in $cxxmachine/include for C++ system
33488 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33490 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33491 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33492 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33493 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33495 (USE_AS_WMEMCMP): New macro.
33497 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33498 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33499 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33500 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33502 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33503 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33504 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33505 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33506 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33507 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33508 (USE_AS_WMEMCMP): New macro.
33509 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33510 * sysdeps/string/test-memcmp.c: Update.
33511 Fix simple_wmemcmp.
33513 * wcsmbs/wmemcmp.c: Update.
33514 (WMEMCMP): New macro.
33517 2011-10-12 Andreas Jaeger <aj@suse.de>
33520 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33522 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33524 * libio/iofwide.c (do_length): Avoid warning.
33526 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33528 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33530 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33532 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33533 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33534 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33535 * sysdeps/i386/i686/fpu/e_log.S: New file.
33536 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33537 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33539 * ctype/ctype.h: Add support for inlined isXXX functions when
33540 compiling C++ code.
33542 2011-10-14 Andreas Schwab <schwab@redhat.com>
33544 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33546 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33548 2011-10-13 Roland McGrath <roland@hack.frob.com>
33551 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33553 2011-10-13 Andreas Schwab <schwab@redhat.com>
33555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33556 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33559 * sysdeps/x86_64/memrchr.S: Check for zero size.
33561 * string/stratcliff.c: Add memrchr tests.
33563 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33566 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33567 rawmemchr-sse2 rawmemchr-sse2-bsf.
33568 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33569 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33570 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33571 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33572 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33573 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33574 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33575 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33576 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33577 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33578 * string/memrchr.c (MEMRCHR): New macro.
33580 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33582 Add integration with gcc's -ffinite-math-only and optimize wrapper
33584 * Versions.def: Define GLIBC_2.15 version for libm.
33585 * math/Makefile (headers): Add bits/math-finite.h.
33586 * math/bits/math-finite.h: New file.
33587 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33588 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33589 * math/e_acoshl.c: Add __*_finite alias.
33590 * math/e_acosl.c: Likewise.
33591 * math/e_asinl.c: Likewise.
33592 * math/e_atan2l.c: Likewise.
33593 * math/e_atanhl.c: Likewise.
33594 * math/e_coshl.c: Likewise.
33595 * math/e_exp10.c: Likewise.
33596 * math/e_exp10f.c: Likewise.
33597 * math/e_exp10l.c: Likewise.
33598 * math/e_exp2l.c: Likewise.
33599 * math/e_fmodl.c: Likewise.
33600 * math/e_gammal_r.c: Likewise.
33601 * math/e_hypotl.c: Likewise.
33602 * math/e_j0l.c: Likewise.
33603 * math/e_j1l.c: Likewise.
33604 * math/e_jnl.c: Likewise.
33605 * math/e_lgammal_r.c: Likewise.
33606 * math/e_log10l.c: Likewise.
33607 * math/e_log2l.c: Likewise.
33608 * math/e_logl.c: Likewise.
33609 * math/e_powl.c: Likewise.
33610 * math/e_sinhl.c: Likewise.
33611 * math/e_sqrtl.c: Likewise.
33612 * math/e_scalb.c: Completely rewritten and optimized.
33613 * math/e_scalbf.c: Likewise.
33614 * math/e_scalbl.c: Likewise.
33615 * math/w_acos.c: Likewise.
33616 * math/w_acosf.c: Likewise.
33617 * math/w_acosl.c: Likewise.
33618 * math/w_acosh.c: Likewise.
33619 * math/w_acoshf.c: Likewise.
33620 * math/w_acoshl.c: Likewise.
33621 * math/w_asin.c: Likewise.
33622 * math/w_asinf.c: Likewise.
33623 * math/w_asinl.c: Likewise.
33624 * math/w_atan2.c: Likewise.
33625 * math/w_atan2f.c: Likewise.
33626 * math/w_atan2l.c: Likewise.
33627 * math/w_atanh.c: Likewise.
33628 * math/w_atanhf.c: Likewise.
33629 * math/w_atanhl.c: Likewise.
33630 * math/w_exp10.c: Likewise.
33631 * math/w_exp10f.c: Likewise.
33632 * math/w_exp10l.c: Likewise.
33633 * math/w_fmod.c: Likewise.
33634 * math/w_fmodf.c: Likewise.
33635 * math/w_fmodl.c: Likewise.
33636 * math/w_j0.c: Likewise.
33637 * math/w_j0f.c: Likewise.
33638 * math/w_j0l.c: Likewise.
33639 * math/w_j1.c: Likewise.
33640 * math/w_j1f.c: Likewise.
33641 * math/w_j1l.c: Likewise.
33642 * math/w_jn.c: Likewise.
33643 * math/w_jnf.c: Likewise.
33644 * math/w_log.c: Likewise.
33645 * math/w_logf.c: Likewise.
33646 * math/w_logl.c: Likewise.
33647 * math/w_log10.c: Likewise.
33648 * math/w_log10f.c: Likewise.
33649 * math/w_log10l.c: Likewise.
33650 * math/w_log2.c: Likewise.
33651 * math/w_log2f.c: Likewise.
33652 * math/w_log2l.c: Likewise.
33653 * math/w_pow.c: Likewise.
33654 * math/w_powf.c: Likewise.
33655 * math/w_powl.c: Likewise.
33656 * math/w_remainder.c: Likewise.
33657 * math/w_remainderf.c: Likewise.
33658 * math/w_remainderl.c: Likewise.
33659 * math/w_scalb.c: Likewise.
33660 * math/w_scalbf.c: Likewise.
33661 * math/w_scalbl.c: Likewise.
33662 * math/w_sqrt.c: Likewise.
33663 * math/w_sqrtf.c: Likewise.
33664 * math/w_sqrtl.c: Likewise.
33665 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33666 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33668 * math/math_private.h: Declare __kernel_standard_f.
33669 * math/w_cosh.c: Remove cruft and optimize a bit.
33670 * math/w_coshf.c: Likewise.
33671 * math/w_coshl.c: Likewise.
33672 * math/w_exp2.c: Likewise.
33673 * math/w_exp2f.c: Likewise.
33674 * math/w_exp2l.c: Likewise.
33675 * math/w_hypot.c: Likewise.
33676 * math/w_hypotf.c: Likewise.
33677 * math/w_hypotl.c: Likewise.
33678 * math/w_lgamma.c: Likewise.
33679 * math/w_lgamma_r.c: Likewise.
33680 * math/w_lgammaf.c: Likewise.
33681 * math/w_lgammaf_r.c: Likewise.
33682 * math/w_lgammal.c: Likewise.
33683 * math/w_lgammal_r.c: Likewise.
33684 * math/w_sinh.c: Likewise.
33685 * math/w_sinhf.c: Likewise.
33686 * math/w_sinhl.c: Likewise.
33687 * math/w_tgamma.c: Likewise.
33688 * math/w_tgammaf.c: Likewise.
33689 * math/w_tgammal.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33692 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33693 Minor optimizations. Pretty printing. Remove cruft.
33694 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33697 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33698 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33699 * sysdeps/i386/fpu/e_asin.S: Likewise.
33700 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33701 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33702 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33703 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33704 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33705 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33706 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33707 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33708 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33709 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33710 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33711 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33712 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33713 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33714 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33715 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33716 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33717 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33718 * sysdeps/i386/fpu/e_log.S: Likewise.
33719 * sysdeps/i386/fpu/e_log10.S: Likewise.
33720 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33721 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33722 * sysdeps/i386/fpu/e_log2.S: Likewise.
33723 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33724 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33725 * sysdeps/i386/fpu/e_logf.S: Likewise.
33726 * sysdeps/i386/fpu/e_logl.S: Likewise.
33727 * sysdeps/i386/fpu/e_pow.S: Likewise.
33728 * sysdeps/i386/fpu/e_powf.S: Likewise.
33729 * sysdeps/i386/fpu/e_powl.S: Likewise.
33730 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33731 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33732 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33733 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33735 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33736 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33737 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33738 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33760 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33762 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33763 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33764 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33765 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33766 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33767 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33768 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33770 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33771 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33773 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33774 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33775 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33777 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33778 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33779 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33822 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33824 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33827 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33830 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33832 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33833 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33834 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33835 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33836 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33837 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33838 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33839 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33840 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33841 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33842 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33844 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33845 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33846 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33847 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33848 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33849 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33850 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33851 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33852 (__isnanf): Likewise.
33853 (__isinf_ns): Likewise.
33854 (__isinf_nsf): Likewise.
33855 (__finite): Likewise.
33856 (__finitef): Likewise.
33857 (__ieee754_sqrt): Define as macro.
33858 (__ieee754_sqrtf): Define as macro.
33859 (__ieee754_sqrtl): Define as macro.
33860 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33862 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33863 __FINITE_MATH_ONLY__ consistent.
33864 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33866 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33868 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33871 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33873 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33875 * po/ja.po: Update from translation team.
33877 2011-10-08 Roland McGrath <roland@hack.frob.com>
33879 * locale/programs/locarchive.c (prepare_address_space): New function.
33880 (create_archive, enlarge_archive, open_archive): Use it.
33882 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33883 inside [SHARED], where it is used.
33885 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33887 * nss/getent.c (netgroup_keys): Remove unused variable.
33888 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33890 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33892 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33893 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33895 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33896 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33897 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33898 * math/Makefile (libm-calls): Add s_isinf_ns.
33899 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33900 * math/multc3.c: Likewise.
33901 * math/s_casin.c: Likewise.
33902 * math/s_casinf.c: Likewise.
33903 * math/s_casinl.c: Likewise.
33904 * math/s_ccos.c: Likewise.
33905 * math/s_ccosf.c: Likewise.
33906 * math/s_ccosl.c: Likewise.
33907 * math/s_ctan.c: Likewise.
33908 * math/s_ctanf.c: Likewise.
33909 * math/s_ctanh.c: Likewise.
33910 * math/s_ctanhf.c: Likewise.
33911 * math/s_ctanhl.c: Likewise.
33912 * math/s_ctanl.c: Likewise.
33913 * math/w_fmod.c: Likewise.
33914 * math/w_fmodf.c: Likewise.
33915 * math/w_fmodl.c: Likewise.
33916 * math/w_remainder.c: Likewise.
33917 * math/w_remainderf.c: Likewise.
33918 * math/w_remainderl.c: Likewise.
33919 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33920 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33921 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33923 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33924 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33925 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33926 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33928 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33930 * stdio-common/printf_fphex.c: Likewise.
33931 * stdio-common/printf_size.c: Likewise.
33933 * math/e_exp10.c: Include math_private.h using <...> not "...".
33934 * math/e_exp10f.c: Likewise.
33935 * math/e_exp10l.c: Likewise.
33936 * math/e_exp2l.c: Likewise.
33937 * math/e_j0l.c: Likewise.
33938 * math/e_j1l.c: Likewise.
33939 * math/e_jnl.c: Likewise.
33940 * math/e_lgammal_r.c: Likewise.
33941 * math/e_rem_pio2l.c: Likewise.
33942 * math/e_scalb.c: Likewise.
33943 * math/e_scalbf.c: Likewise.
33944 * math/e_scalbl.c: Likewise.
33945 * math/k_cosl.c: Likewise.
33946 * math/k_sinl.c: Likewise.
33947 * math/k_tanl.c: Likewise.
33948 * math/s_cacoshf.c: Likewise.
33949 * math/s_catan.c: Likewise.
33950 * math/s_catanf.c: Likewise.
33951 * math/s_catanh.c: Likewise.
33952 * math/s_catanhf.c: Likewise.
33953 * math/s_catanhl.c: Likewise.
33954 * math/s_catanl.c: Likewise.
33955 * math/s_ccosh.c: Likewise.
33956 * math/s_ccoshf.c: Likewise.
33957 * math/s_ccoshl.c: Likewise.
33958 * math/s_cexp.c: Likewise.
33959 * math/s_cexpf.c: Likewise.
33960 * math/s_cexpl.c: Likewise.
33961 * math/s_clog.c: Likewise.
33962 * math/s_clog10.c: Likewise.
33963 * math/s_clog10f.c: Likewise.
33964 * math/s_clog10l.c: Likewise.
33965 * math/s_clogf.c: Likewise.
33966 * math/s_clogl.c: Likewise.
33967 * math/s_csin.c: Likewise.
33968 * math/s_csinf.c: Likewise.
33969 * math/s_csinh.c: Likewise.
33970 * math/s_csinhf.c: Likewise.
33971 * math/s_csinhl.c: Likewise.
33972 * math/s_csinl.c: Likewise.
33973 * math/s_csqrt.c: Likewise.
33974 * math/s_csqrtf.c: Likewise.
33975 * math/s_csqrtl.c: Likewise.
33976 * math/s_ctan.c: Likewise.
33977 * math/s_ctanf.c: Likewise.
33978 * math/s_ctanh.c: Likewise.
33979 * math/s_ctanhf.c: Likewise.
33980 * math/s_ctanhl.c: Likewise.
33981 * math/s_ctanl.c: Likewise.
33982 * math/s_ldexp.c: Likewise.
33983 * math/s_ldexpf.c: Likewise.
33984 * math/s_ldexpl.c: Likewise.
33985 * math/s_significand.c: Likewise.
33986 * math/s_significandf.c: Likewise.
33987 * math/s_significandl.c: Likewise.
33988 * math/w_acos.c: Likewise.
33989 * math/w_acosf.c: Likewise.
33990 * math/w_acosh.c: Likewise.
33991 * math/w_acoshf.c: Likewise.
33992 * math/w_acoshl.c: Likewise.
33993 * math/w_acosl.c: Likewise.
33994 * math/w_asin.c: Likewise.
33995 * math/w_asinf.c: Likewise.
33996 * math/w_asinl.c: Likewise.
33997 * math/w_atan2.c: Likewise.
33998 * math/w_atan2f.c: Likewise.
33999 * math/w_atan2l.c: Likewise.
34000 * math/w_atanh.c: Likewise.
34001 * math/w_atanhf.c: Likewise.
34002 * math/w_atanhl.c: Likewise.
34003 * math/w_cosh.c: Likewise.
34004 * math/w_coshf.c: Likewise.
34005 * math/w_coshl.c: Likewise.
34006 * math/w_dremf.c: Likewise.
34007 * math/w_exp10.c: Likewise.
34008 * math/w_exp10f.c: Likewise.
34009 * math/w_exp10l.c: Likewise.
34010 * math/w_exp2.c: Likewise.
34011 * math/w_exp2f.c: Likewise.
34012 * math/w_fmod.c: Likewise.
34013 * math/w_fmodf.c: Likewise.
34014 * math/w_fmodl.c: Likewise.
34015 * math/w_hypot.c: Likewise.
34016 * math/w_hypotf.c: Likewise.
34017 * math/w_hypotl.c: Likewise.
34018 * math/w_j0.c: Likewise.
34019 * math/w_j0f.c: Likewise.
34020 * math/w_j0l.c: Likewise.
34021 * math/w_j1.c: Likewise.
34022 * math/w_j1f.c: Likewise.
34023 * math/w_j1l.c: Likewise.
34024 * math/w_jn.c: Likewise.
34025 * math/w_jnf.c: Likewise.
34026 * math/w_jnl.c: Likewise.
34027 * math/w_lgamma.c: Likewise.
34028 * math/w_lgamma_r.c: Likewise.
34029 * math/w_lgammaf.c: Likewise.
34030 * math/w_lgammaf_r.c: Likewise.
34031 * math/w_lgammal.c: Likewise.
34032 * math/w_lgammal_r.c: Likewise.
34033 * math/w_log.c: Likewise.
34034 * math/w_log10.c: Likewise.
34035 * math/w_log10f.c: Likewise.
34036 * math/w_log10l.c: Likewise.
34037 * math/w_log2.c: Likewise.
34038 * math/w_log2f.c: Likewise.
34039 * math/w_log2l.c: Likewise.
34040 * math/w_logf.c: Likewise.
34041 * math/w_logl.c: Likewise.
34042 * math/w_pow.c: Likewise.
34043 * math/w_powf.c: Likewise.
34044 * math/w_powl.c: Likewise.
34045 * math/w_remainder.c: Likewise.
34046 * math/w_remainderf.c: Likewise.
34047 * math/w_remainderl.c: Likewise.
34048 * math/w_scalb.c: Likewise.
34049 * math/w_scalbf.c: Likewise.
34050 * math/w_scalbl.c: Likewise.
34051 * math/w_sinh.c: Likewise.
34052 * math/w_sinhf.c: Likewise.
34053 * math/w_sinhl.c: Likewise.
34054 * math/w_sqrt.c: Likewise.
34055 * math/w_sqrtf.c: Likewise.
34056 * math/w_sqrtl.c: Likewise.
34057 * math/w_tgamma.c: Likewise.
34058 * math/w_tgammaf.c: Likewise.
34059 * math/w_tgammal.c: Likewise.
34061 * po/ja.po: Update from translation team.
34063 2011-09-29 Andreas Jaeger <aj@suse.de>
34066 * sunrpc/netname.c (netname2host): Fix logic.
34070 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34072 * math/w_remainder.c (__remainder): Likewise.
34073 * math/w_remainderf.c (__remainderf): Likewise.
34074 * math/libm-test.inc (remainder_test): Add test cases.
34076 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34078 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34081 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34083 * string/test-memcmp.c: Avoid unncessary #defines.
34084 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34086 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34088 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34089 Use new sse2 version for core i3 - i7 as it's faster
34090 than sse42 version.
34091 (bit_Prefer_PMINUB_for_stringop): New.
34092 * sysdeps/x86_64/rawmemchr.S: Update.
34093 Replace with faster SSE2 version.
34094 * sysdeps/x86_64/memrchr.S: New file.
34095 * sysdeps/x86_64/memchr.S: Update.
34096 Replace with faster SSE2 version.
34098 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34100 * elf/dl-load.c (lose): Add cast to avoid warning.
34102 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34104 * po/ca.po: Update from translation team.
34106 * inet/getnetgrent_r.c: Hook up nscd.
34107 * nscd/Makefile (routines): Add nscd_netgroup.
34108 (nscd-modules): Add netgroupcache.
34109 (CFLAGS-netgroupcache.c): Define.
34110 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34111 (cache_search): Add const to second parameter.
34112 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34114 (dbs): Add netgrdb entry.
34115 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34116 (verify_persistent_db): Handle netgrdb.
34117 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34118 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34120 (netgroup_response_header): Define.
34121 (innetgroup_response_header): Define.
34122 (datahead): Add netgroup_response_header and innetgroup_response_header
34124 * nscd/nscd.conf: Add entries for netgroup cache.
34125 * nscd/nscd.h (dbtype): Add netgrdb.
34126 (_PATH_NSCD_NETGROUP_DB): Define.
34127 (netgroup_iov_disabled): Declare.
34128 (xmalloc, xcalloc, xrealloc): Move declarations here.
34129 (cache_search): Adjust prototype.
34130 Add netgroup-related prototypes.
34131 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34132 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34133 (__nscd_innetgr): Declare.
34134 * nscd/selinux.c (perms): Use access_vector_t as element type and
34135 add netgroup-related initializers.
34136 * nscd/netgroupcache.c: New file.
34137 * nscd/nscd_netgroup.c: New file.
34138 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34139 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34140 For four parameters use innetgr.
34141 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34142 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34143 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34144 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34146 * nscd/connections.c (register_traced_file): Don't register file
34147 for disabled databases.
34149 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34151 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34153 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34154 from tree and freeing node.
34156 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34158 * nss/nsswitch.c (__nss_database_lookup): Handle
34159 nss_parse_service_list out of memory case.
34161 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34163 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34164 out of memory case.
34166 2011-10-04 Andreas Schwab <schwab@redhat.com>
34168 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34169 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34171 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34172 elf_machine_rela, elf_machine_lazy_rel.
34173 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34174 (ELF_DYNAMIC_DO_REL): Likewise.
34175 (ELF_DYNAMIC_DO_RELA): Likewise.
34176 (ELF_DYNAMIC_RELOCATE): Likewise.
34177 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34178 to ELF_DYNAMIC_DO_REL.
34179 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34180 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34181 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34183 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34184 skip_ifunc, don't call ifunc function if non-zero.
34185 (elf_machine_rela): Likewise.
34186 (elf_machine_lazy_rel): Likewise.
34187 (elf_machine_lazy_rela): Likewise.
34188 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34189 (elf_machine_lazy_rel): Likewise.
34190 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34192 (elf_machine_lazy_rel): Likewise.
34193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34195 (elf_machine_lazy_rel): Likewise.
34196 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34197 (elf_machine_lazy_rel): Likewise.
34198 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34199 (elf_machine_lazy_rel): Likewise.
34200 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34201 (elf_machine_lazy_rel): Likewise.
34202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34203 (elf_machine_lazy_rel): Likewise.
34204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34205 (elf_machine_lazy_rel): Likewise.
34206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34207 (elf_machine_lazy_rel): Likewise.
34209 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34211 * nss/nss_files/files-init.c (_nss_files_init): Use static
34212 initialization for all the *_traced_file variables.
34214 2011-09-28 Andreas Schwab <schwab@redhat.com>
34216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34218 2011-09-27 Roland McGrath <roland@hack.frob.com>
34221 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34223 2011-09-27 Andreas Schwab <schwab@redhat.com>
34225 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34226 Reread the line before reparsing it.
34228 2011-09-26 Andreas Schwab <schwab@redhat.com>
34230 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34232 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34233 Maxim Kuvyrkov <maxim@codesourcery.com>
34234 Joseph Myers <joseph@codesourcery.com>
34236 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34237 if needed for __stack_chk_guard.
34239 2011-09-19 Roland McGrath <roland@hack.frob.com>
34241 * sysdeps/posix/spawni.c (script_execute): Always define it.
34242 It will be optimized away if unused.
34243 (maybe_script_execute): New function.
34244 (__spawni): Call it.
34246 * Makerules: Don't include tls.make.
34247 (config-tls): Always set to thread.
34248 * tls.make.c: File removed.
34250 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34252 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34253 * config.make.in (CPPFLAGS-config): New substituted variable.
34255 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34257 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34260 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34261 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34263 2011-09-15 Roland McGrath <roland@hack.frob.com>
34265 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34266 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34268 (CALL_FAIL): Likewise.
34269 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34270 (CALL_FAIL): Macro removed.
34271 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34273 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34275 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34276 for __FINITE_MATH_ONLY__ == 1.
34278 2011-09-15 Andreas Schwab <schwab@redhat.com>
34280 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34281 __ieee754_sqrt instead of sqrt.
34282 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34283 __ieee754_sqrtf instead of sqrtf.
34284 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34285 __floorf instead of floorf.
34286 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34287 __floorf, __truncf instead of floorf, truncf.
34289 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34291 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34293 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34294 __extern_always_inline.
34295 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34298 2011-09-14 Andreas Schwab <schwab@redhat.com>
34300 * elf/rtld.c (dl_main): Also relocate in dependency order when
34301 doing symbol dependency testing.
34303 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34306 Always define `refsym'.
34308 2011-09-13 Andreas Schwab <schwab@redhat.com>
34310 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34311 (__FD_ELT): Renamed from __FDELT.
34312 * misc/bits/select2.h (__FD_ELT): Likewise.
34313 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34314 __FD_MASK instead of __FDELT, __FDMASK.
34315 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34317 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34320 * elf/Makefile (gen-ldd): Fix pattern.
34322 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34323 (init_tls): Likewise.
34325 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34329 2011-09-12 Andreas Schwab <schwab@redhat.com>
34331 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34332 `struct cmsghdr *' instead of `void *'.
34333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34336 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34338 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34340 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34341 ldd_rewrite_script.
34343 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34345 * configure.in: Remove --with-tls option.
34346 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34347 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34348 out in case it is missing.
34349 * sysdeps/ia64/elf/configure.in: Likewise.
34350 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34351 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34352 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34353 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34354 * sysdeps/sh/elf/configure.in: Likewise.
34355 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34356 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34357 * sysdeps/x86_64/elf/configure.in: Likewise.
34358 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34359 * sysdeps/mach/hurd/tls.h: Likewise.
34362 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34365 * configure.in: Fix use of AC_INIT.
34367 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34369 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34371 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34373 * malloc/hooks.c: Likewise.
34376 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34377 variables statically.
34378 (narenas): Initialize.
34379 (list_lock): Initialize.
34380 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34381 initializtion of main_arena and list_lock. Small cleanups.
34382 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34383 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34384 Add initializers to main_arena and mp_.
34385 (malloc_state): Remove pagesize member. Change all users to use
34388 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34389 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34390 is always initialized.
34392 * malloc/malloc.c: Removed unused configurations and dead code.
34393 * malloc/arena.c: Likewise.
34394 * malloc/hooks.c: Likewise.
34395 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34397 * include/tls.h: Removed. USE___THREAD must always be defined.
34398 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34399 * elf/dl-libc.c: Likewise.
34400 * elf/dl-tsd.c: Likewise.
34401 * include/errno.h: Likewise.
34402 * include/netdb.h: Likewise.
34403 * include/resolv.h: Likewise.
34404 * inet/herrno-loc.c: Likewise.
34405 * inet/herrno.c: Likewise.
34406 * malloc/arena.c: Likewise.
34407 * malloc/hooks.c: Likewise.
34408 * malloc/malloc.c: Likewise.
34409 * resolv/res-state.c: Likewise.
34410 * resolv/res_libc.c: Likewise.
34411 * sysdeps/i386/dl-machine.h: Likewise.
34412 * sysdeps/ia64/dl-machine.h: Likewise.
34413 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34414 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34415 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34416 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34417 * sysdeps/sh/dl-machine.h: Likewise.
34418 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34419 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34420 * sysdeps/unix/i386/sysdep.S: Likewise.
34421 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34422 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34423 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34424 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34427 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34431 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34432 * sysdeps/x86_64/dl-machine.h: Likewise.
34433 * tls.make.c: Likewise.
34435 * configure.in: Remove --with-__thread option. Make tests for
34436 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34437 tls_model attribute fail if no support is available. Remove
34439 * Makeconfig: Adjust for dropped configure option. All features are
34441 * Makerules: Likewise.
34442 * Versions.def: Likewise.
34443 * argp/argp-fmtstream.c: Likewise.
34444 * argp/argp-fmtstream.h: Likewise.
34445 * argp/argp-help.c: Likewise.
34446 * assert/assert.c: Likewise.
34447 * config.h.in: Likewise.
34448 * config.make.in: Likewise.
34449 * configure: Likewise.
34450 * configure.in: Likewise.
34451 * csu/Versions: Likewise.
34452 * csu/init.c: Likewise.
34453 * elf/tst-audit2.c: Likewise.
34454 * elf/tst-tls10.c: Likewise.
34455 * elf/tst-tls10.h: Likewise.
34456 * elf/tst-tls11.c: Likewise.
34457 * elf/tst-tls12.c: Likewise.
34458 * elf/tst-tls14.c: Likewise.
34459 * elf/tst-tlsmod11.c: Likewise.
34460 * elf/tst-tlsmod12.c: Likewise.
34461 * elf/tst-tlsmod13.c: Likewise.
34462 * elf/tst-tlsmod13a.c: Likewise.
34463 * elf/tst-tlsmod14a.c: Likewise.
34464 * elf/tst-tlsmod15b.c: Likewise.
34465 * elf/tst-tlsmod16a.c: Likewise.
34466 * elf/tst-tlsmod16b.c: Likewise.
34467 * elf/tst-tlsmod7.c: Likewise.
34468 * elf/tst-tlsmod8.c: Likewise.
34469 * elf/tst-tlsmod9.c: Likewise.
34470 * gmon/gmon.c: Likewise.
34471 * grp/fgetgrent_r.c: Likewise.
34472 * grp/putgrent.c: Likewise.
34473 * hurd/fopenport.c: Likewise.
34474 * include/libc-symbols.h: Likewise.
34475 * include/tls.h: Likewise.
34476 * intl/gettextP.h: Likewise.
34477 * intl/loadinfo.h: Likewise.
34478 * locale/global-locale.c: Likewise.
34479 * locale/localeinfo.h: Likewise.
34480 * mach/devstream.c: Likewise.
34481 * malloc/arena.c: Likewise.
34482 * malloc/set-freeres.c: Likewise.
34483 * misc/err.c: Likewise.
34484 * misc/getttyent.c: Likewise.
34485 * misc/mntent_r.c: Likewise.
34486 * posix/getopt.c: Likewise.
34487 * posix/wordexp.c: Likewise.
34488 * pwd/fgetpwent_r.c: Likewise.
34489 * resolv/Versions: Likewise.
34490 * resolv/res_hconf.c: Likewise.
34491 * shadow/fgetspent_r.c: Likewise.
34492 * shadow/putspent.c: Likewise.
34493 * stdio-common/printf_fphex.c: Likewise.
34494 * stdio-common/tmpfile.c: Likewise.
34495 * stdlib/abort.c: Likewise.
34496 * stdlib/fmtmsg.c: Likewise.
34497 * sunrpc/auth_unix.c: Likewise.
34498 * sunrpc/clnt_perr.c: Likewise.
34499 * sunrpc/clnt_tcp.c: Likewise.
34500 * sunrpc/clnt_udp.c: Likewise.
34501 * sunrpc/clnt_unix.c: Likewise.
34502 * sunrpc/openchild.c: Likewise.
34503 * sunrpc/svc_simple.c: Likewise.
34504 * sunrpc/svc_tcp.c: Likewise.
34505 * sunrpc/svc_udp.c: Likewise.
34506 * sunrpc/svc_unix.c: Likewise.
34507 * sunrpc/xdr.c: Likewise.
34508 * sunrpc/xdr_array.c: Likewise.
34509 * sunrpc/xdr_rec.c: Likewise.
34510 * sunrpc/xdr_ref.c: Likewise.
34511 * sunrpc/xdr_stdio.c: Likewise.
34513 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34515 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34517 2011-07-03 Andreas Jaeger <aj@suse.de>
34519 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34520 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34521 regenerate with gen-libm-tests.pl.
34523 2010-05-12 Petr Baudis <pasky@suse.cz>
34526 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34527 around j0() zero points by switching to j1().
34528 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34529 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34533 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34535 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34537 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34540 Patch in part by Pavel Roskin <proski@gnu.org>.
34543 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34545 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34546 Free memory block if necessary.
34549 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34550 be NULL. Don't lock in this case.
34552 2011-09-09 Roland McGrath <roland@hack.frob.com>
34554 * elf/elf.h (ELFOSABI_GNU): New macro.
34555 (ELFOSABI_LINUX): Define to that.
34557 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34559 * string/strncat.c (strncat): Undef the symbol in case it has been
34560 defined in bits/string.h.
34562 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34564 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34566 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34569 2011-08-17 Andreas Jaeger <aj@suse.de>
34571 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34573 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34574 Ian Lance Taylor <iant@google.com>
34576 * math/libm-test.inc (lround_test): New testcase.
34577 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34579 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34581 * Makefile: Remove support for automatic cvs check-ins.
34582 * Makerules: Likewise.
34583 * config.make.in: Likewise.
34584 * configure.in: Likewise.
34585 * intl/Makefile: Likewise.
34586 * locale/Makefile: Likewise.
34587 * po/Makefile: Likewise.
34588 * posix/Makefile: Likewise.
34589 * sysdeps/gnu/Makefile: Likewise.
34590 * sysdeps/mach/hurd/Makefile: Likewise.
34591 * sysdeps/sparc/sparc32/Makefile: Likewise.
34594 * posix/Makefile (bug-regex32-ENV): Define.
34595 Patch by John Stanley <jpsinthemix@verizon.net>.
34597 * misc/Makefile (headers): Add bits/select2.h.
34598 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34599 * misc/bits/select2.h: New file.
34600 * include/bits/select2.h: New file.
34601 * debug/Makefile (routines): Add fdelt_chk.
34602 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34603 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34605 * debug/fdelt_chk.c: New file.
34607 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34608 * wcsmbs/test-wmemcmp.c: Likewise.
34609 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34610 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34612 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34614 * string/Makefile (strop-tests): Add memcmp.
34615 * string/test-wmemcmp.c: New file.
34616 * string/test-memcmp.c: Add wmemcmp support.
34618 2011-09-08 Roland McGrath <roland@hack.frob.com>
34621 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34624 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34625 garbage value in a __mach_port_mod_refs call in the cases of the
34626 task-self and thread-self ports.
34628 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34630 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34632 2011-09-08 Andreas Schwab <schwab@redhat.com>
34634 * elf/dl-load.c (lose): Check for non-null L.
34636 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34638 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34640 * elf/dl-libc.c (dlerror_run): Pass back error code from
34644 * elf/dl-load.c (lose): Free l_origin if it is valid.
34646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34648 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34649 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34650 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34651 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34652 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34653 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34655 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34657 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34658 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34659 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34660 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34661 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34662 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34663 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34664 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34665 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34666 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34668 2011-08-15 Alan Modra <amodra@gmail.com>
34671 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34672 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34673 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34674 ppc_mcount to static-only-routines.
34675 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34677 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34678 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34680 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34682 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34683 for finite and infinity parameters.
34685 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34687 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34688 and add nop instructions for throughput optimization.
34689 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34691 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34693 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34694 aligned copy for power7 with vector-scalar instructions.
34695 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34697 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34702 2011-09-07 Andreas Schwab <schwab@redhat.com>
34705 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34708 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34710 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34711 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34712 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34713 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34716 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34719 Forgot to demangle the pointer.
34721 * sysdeps/i386/sysdep.h: Define atom_text_section.
34722 * sysdeps/x86_64/sysdep.h: Likewise.
34723 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34724 section with atom_text_section.
34725 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34726 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34727 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34729 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34731 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34732 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34733 already be defined. Change to take two parameters and don't assign
34734 result to variable. Adjust all users.
34735 Define INTERNAL_GETTIME if not already defined.
34736 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34739 HAVE_CLOCK_GETTIME_VSYSCALL.
34740 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34742 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34743 gettimeofday vsyscall, just use time.
34745 2011-09-06 Andreas Schwab <schwab@redhat.com>
34747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34750 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34752 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34756 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34757 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34758 syscall if possible.
34760 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34762 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34763 e_ident. Don't pass to find_mapsXX.
34764 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34766 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34769 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34770 * sysdeps/x86_64/multiarch/strchr.S: Update.
34771 Check bit_slow_BSF bit.
34772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34774 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34776 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34779 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34781 (tryshell): Define.
34782 (__spawni): Change last parameter to be flag. Test
34783 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34784 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34785 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34786 * posix/spawni.c: Likewise.
34787 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34788 * posix/spawnp.c: Likewise. Change normal version to use
34789 SPAWN_XFLAGS_USE_PATH.
34790 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34791 SPAWN_XFLAGS_TRY_SHELL.
34794 * posix/glob.h: Remove gcc 1.x support.
34797 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34799 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34802 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34804 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34805 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34806 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34808 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34809 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34811 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34813 * sysdeps/x86_64/wcscmp.S: New file.
34815 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34816 wcscmp-c wcscmp-sse2
34817 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34818 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34819 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34820 * wcsmbs/wcscmp.c: Allow renaming.
34822 2011-09-05 David S. Miller <davem@davemloft.net>
34824 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34825 stack slot, rather than the struct return pointer slot.
34826 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34827 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34829 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34831 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34833 * po/ja.po: Update from translation team.
34836 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34837 kernel in 64-bit binaries.
34839 2011-09-01 David S. Miller <davem@davemloft.net>
34841 * elf/elf.h (HWCAP_SPARC_*): Move to..
34842 * sysdeps/sparc/sysdep.h: this new file and add new values.
34843 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34844 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34845 _DL_HWCAP_COUNT to 24.
34846 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34848 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34849 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34850 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34852 instead of magic constants.
34853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34855 2011-08-31 David S. Miller <davem@davemloft.net>
34857 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34859 Reimplement to do errno handling inline.
34860 (SYSCALL_ERROR_HANDLER): New macro.
34861 (__SYSCALL_STRING): Do not do errno handling in asm.
34862 (__CLONE_SYSCALL_STRING): Delete.
34863 (__INTERNAL_SYSCALL_STRING): Delete.
34864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34865 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34866 (PSEUDO): Reimplement to do errno handling inline.
34867 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34868 (SYSCALL_ERROR_HANDLER): New macro.
34869 (__SYSCALL_STRING): Do not do errno handling in asm.
34870 (__CLONE_SYSCALL_STRING): Delete.
34871 (__INTERNAL_SYSCALL_STRING): Delete.
34872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34873 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34875 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34876 (inline_syscall*): Add 'err' argument.
34877 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34878 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34879 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34880 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34882 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34883 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34885 2011-08-30 Andreas Schwab <schwab@redhat.com>
34887 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34889 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34891 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34894 2011-08-24 David S. Miller <davem@davemloft.net>
34896 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34898 2011-08-24 Andreas Schwab <schwab@redhat.com>
34900 * elf/Makefile: Add rules to build and run unload8 test.
34901 * elf/unload8.c: New file.
34902 * elf/unload8mod1.c: New file.
34903 * elf/unload8mod1x.c: New file.
34904 * elf/unload8mod2.c: New file.
34905 * elf/unload8mod3.c: New file.
34907 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34910 2011-08-23 David S. Miller <davem@davemloft.net>
34912 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34913 subtract stack bias.
34914 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34915 %sp not %fp in calculations.
34916 (_JMPBUF_UNWINDS_ADJ): Likewise.
34918 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34919 (aio_suspend): Call it to force an exception region around the
34920 AIO_MISC_WAIT() invocation.
34922 2011-08-23 Andreas Schwab <schwab@redhat.com>
34924 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34927 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34929 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34931 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34932 and <dl-machine.h>.
34933 (Elf64_FuncDesc): Remove.
34935 2011-08-22 David S. Miller <davem@davemloft.net>
34937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34938 sigaltstack check, add missing cfi directives.
34939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34940 missing cfi directives, and sigaltstack handling.
34942 2011-08-16 Andreas Schwab <schwab@redhat.com>
34945 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34946 object is seen twice.
34947 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34949 * elf/Makefile (distribute): Add tst-initorder2.c.
34950 (tests): Add tst-initorder2.
34951 (modules-names): Add tst-initorder2a tst-initorder2b
34952 tst-initorder2c tst-initorder2d. Add rules to build them.
34953 ($(objpfx)tst-initorder2.out): New rule.
34954 * elf/tst-initorder2.c: New file.
34955 * elf/tst-initorder2.exp: New file.
34957 2011-08-22 Andreas Schwab <schwab@redhat.com>
34959 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34961 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34962 dependencies back to end of function.
34964 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34965 $(elfobjdir)/ld.so.
34967 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34970 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34971 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34972 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34973 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34974 of __vdso_gettimeofday.
34975 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34976 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34978 (_libc_vdso_platform_setup): Remove initialization of
34979 __vdso_gettimeofday and __vdso_time.
34981 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34983 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34984 and fgetc_unlocked.
34985 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34988 * elf/dl-open.c (add_to_global): Report additions to the global scope
34989 for LD_DEBUG=scopes.
34990 (dl_open_worker): Also print scope of newly loaded dependencies.
34991 (_dl_show_scope): Indicate if there is no scope.
34994 * stdio-common/Makefile (tests): Add bug24.
34995 * stdio-common/bug24.c: New file.
34997 2011-08-19 Andreas Jaeger <aj@suse.de>
35000 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35001 non-existant file when using close-on-exec mode.
35003 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35006 the very first instruction.
35008 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35009 the CFI state in the end.
35010 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35011 inclusion of dl-trampoline.h.
35012 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35014 2011-08-19 Andreas Schwab <schwab@redhat.com>
35016 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35017 expectations for long double.
35019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35020 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35022 2011-08-14 David S. Miller <davem@davemloft.net>
35024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35025 artificual limit depends upon the system page size.
35027 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35029 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35030 * resolv/Makefile: Define CFLAGS-libresolv.
35032 2011-08-17 Andreas Schwab <schwab@redhat.com>
35034 * nss/makedb.c (compute_tables): Make variables used in nested
35037 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35039 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35040 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35041 if buffer was too small.
35043 * elf/pldd.c (main): Attach to all threads in the process.
35044 Rewrite /proc handling to use *at functions.
35046 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35048 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35049 specifies first scope to show.
35050 (dl_open_worker): Update callers. Move printing scope of new
35051 object to before the relocation.
35052 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35053 * sysdeps/generic/ldsodefs.h: Update declaration.
35055 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35056 string for the scope number.
35058 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35060 * nscd/servicescache.c (cache_addserv): Make sure written is always
35063 2011-08-14 Roland McGrath <roland@hack.frob.com>
35065 * sysdeps/i386/i486/bits/atomic.h
35066 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35067 statement expression, so as to suppress "set but not used" warning.
35068 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35070 * string/strncat.c (STRNCAT): Use prototype definition.
35072 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35073 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35075 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35076 (localedef-modules): Add localedef.
35077 (locale-modules): Add locale.
35079 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35080 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35081 to avoid a warning.
35083 2011-08-14 David S. Miller <davem@davemloft.net>
35085 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35086 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35088 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35090 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35091 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35092 * elf/rtld.c (dl_main): Set l_name of vDSO.
35093 Call _dl_show_scope when DL_DEBUG_SCOPES.
35094 (process_dl_debug): Recognize scopes flag and also set it for all.
35095 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35096 Declare _dl_show_scope.
35098 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35099 (do_dlopen): Pass caller_dlopen to dl_open.
35100 (__libc_dlopen_mode): Initialize caller_dlopen.
35102 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35103 of libc. Make tolower call locale-independent. Optimize a bit by
35104 using isdigit instead of isalnum.
35105 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35107 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35109 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35110 was a dependency or dynamically loaded.
35112 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35114 * intl/l10nflist.c: Allow architecture-specific pop function.
35115 * sysdeps/x86_64/l10nflist.c: New file.
35117 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35120 2011-08-10 Andreas Schwab <schwab@redhat.com>
35122 * include/dirent.h: Add libc_hidden_proto for scandirat and
35123 scandirat64. Don't declare __scandirat64.
35124 * dirent/scandirat.c: Add libc_hidden_def.
35125 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35126 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35128 2011-08-10 David S. Miller <davem@davemloft.net>
35130 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35133 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35136 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35138 * Versions.def [libc]: Add GLIBC_2.15.
35139 * dirent/Makefile (routines): Add scandirat and scandirat64.
35140 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35142 * dirent/dirent.h: Declare scandirat and scandirat64.
35143 * dirent/scandirat.c: New file.
35144 * dirent/scandirat64.c: New file.
35145 * sysdeps/wordsize-64/scandirat.c: New file.
35146 * sysdeps/wordsize-64/scandirat64.c: New file.
35147 * dirent/opendir.c: Define opendirat.
35148 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35150 * dirent/scandir64.c: Adjust for scandir.c change.
35151 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35152 __scandirat64, and __scandir_cancel_handler.
35153 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35154 additional parameter and use openat instead of open (outside of ld.so).
35155 Add new __opendir as wrapper around __opendirat.
35156 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35157 here without requiring old scandirat implementation.
35159 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35161 * dirent/scandir.c (cancel_handler): Renamed to
35162 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35163 defined. Adjust users.
35164 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35167 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35169 * string/test-string.h (IMPL): Use __STRING to expand name and then
35172 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35175 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35177 * string/Makefile: Update.
35178 (strop-tests): Append strncat.
35179 * string/test-wcscmp.c: New file.
35180 New comprehensive test for wcscmp.
35181 * string/test-strcmp.c: Update.
35182 (WIDE): New define.
35184 2011-07-22 Andreas Schwab <schwab@redhat.com>
35186 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35189 2011-07-26 Andreas Schwab <schwab@redhat.com>
35191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35192 encoding to ACE if AI_IDN.
35194 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35196 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35197 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35199 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35202 Fix overflow bug in strncat.
35203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35205 * string/test-strncat.c: Update.
35206 Add new tests for checking overflow bugs.
35208 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35211 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35212 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35213 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35215 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35216 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35217 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35218 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35221 (USE_AS_STRCAT): Define.
35222 Add strcat and strncat support.
35223 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35225 2011-07-25 Andreas Schwab <schwab@redhat.com>
35227 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35228 __n bigger than INT_MAX+1.
35229 (__strncmp_g): Likewise.
35231 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35233 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35234 * libio/stido.h: Likewise.
35236 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35241 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35242 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35243 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35244 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35245 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35248 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35253 (_dl_x86_64_save_sse): Likewise.
35255 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35259 (_dl_x86_64_save_sse): Likewise.
35261 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35263 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35265 2011-07-21 Andreas Schwab <schwab@redhat.com>
35267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35269 (_dl_x86_64_save_sse): Use correct AVX check.
35271 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35273 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35274 bug in strncpy/strncat.
35275 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35277 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35279 * string/tester.c (test_strcat): Add tests for different alignments
35280 of source and destination.
35281 (test_strncat): Likewise.
35283 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35286 * posix/glob.c (glob): Check passed in values before using them in
35287 expressions to avoid some overflows.
35288 (glob_in_dir): Likewise.
35291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35292 check for AVX enablement so that we don't crash with old kernels and
35294 * elf/tst-audit4.c: Add same checks here.
35295 * elf/tst-audit6.c: Likewise.
35297 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35299 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35301 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35303 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35305 * po/cs.po: Update from translation team.
35306 * po/bg.po: Likewise.
35308 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35310 * misc/sys/cdefs.h: Add support for const attribute.
35311 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35312 to gnu_dev_{major,minor,makedev} functions.
35314 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35316 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35318 2011-07-20 Andreas Schwab <schwab@redhat.com>
35320 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35323 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35325 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35326 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35327 register in order to avoid conflicts with the soft frame pointer
35328 being held in r11 when necessary.
35329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35330 (INTERNAL_VSYSCALL_NCS): Likewise.
35332 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35334 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35335 * elf/dl-fini.c (_dl_fini): Adjust caller.
35336 * elf/dl-close.c (_dl_close_worker): Likewise.
35337 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35339 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35341 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35342 "aux_cache->nlibs < 0".
35344 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35345 in the reload-count case.
35347 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35350 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35351 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35352 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35353 * sysdeps/x86_64/multiarch/strcat.S: New file.
35354 * sysdeps/x86_64/multiarch/strncat.S: New file.
35355 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35357 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35358 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35360 (USE_AS_STRCAT): Define.
35361 Add strcat and strncat support.
35362 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35363 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35364 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35365 * string/strncat.c: Update.
35366 (USE_AS_STRNCAT): Define.
35367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35368 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35370 * sysdeps/x86_64/multiarch/init-arch.h
35371 (bit_Prefer_PMINUB_for_stringop): New.
35372 (index_Prefer_PMINUB_for_stringop): Likewise.
35373 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35374 bit_Prefer_PMINUB_for_stringop.
35376 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35378 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35380 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35381 of casting of buffer.
35382 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35383 buffer32 and buffer64.
35384 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35385 writes instead of casting of buffer.
35386 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35388 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35391 2011-07-19 Andreas Schwab <schwab@redhat.com>
35393 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35395 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35397 * nscd/nscd.c (termination_handler): Don't do anything for a database
35398 if it has not yet been initialized.
35400 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35402 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35404 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35406 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35408 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35410 * po/nl.po: Update from translation team.
35411 * po/sv.po: Likewise.
35413 2011-07-16 Roland McGrath <roland@hack.frob.com>
35415 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35416 now disallowed by GCC.
35418 * configure.in (use-default-link): Default to yes if a test -shared
35419 link meets our qualifications.
35420 * configure: Regenerated.
35422 * config.make.in (output-format): New variable.
35423 * configure.in: Check for ld --print-output-format support.
35424 * configure: Regenerated.
35425 * Makerules ($(common-objpfx)format.lds)
35426 [$(output-format) != unknown]: Just use $(output-format),
35427 instead of the linker-script munging.
35429 2011-07-14 Roland McGrath <roland@hack.frob.com>
35431 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35432 of $(common-objpfx)shlib.lds.
35433 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35435 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35436 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35438 * configure.in (-z relro check): Adjust test code to add a large
35439 writable data section after it.
35440 * configure: Regenerated.
35442 2011-07-11 Roland McGrath <roland@hack.frob.com>
35444 * configure.in (-z relro check): Fix test code to make the variable
35446 * configure: Regenerated.
35448 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35450 * nscd/nscd.h (struct traced_file): Define.
35451 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35452 elements. Add traced_files.
35453 (inotify_fd): Declare.
35454 (register_traced_file): Declare.
35455 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35456 (inotify_fd): Export.
35457 (resolv_conf_descr): Remove.
35458 (nscd_init): Move inotify descriptor creation to main.
35459 Don't register files for notification here.
35460 (register_traced_file): New function.
35461 (invalidate_cache): Don't use reset_res to determine whether to call
35462 res_init, go through the list of registered files.
35463 (main_loop_poll): The inotify descriptors are now stored in the
35464 structures for the traced files.
35465 (main_loop_epoll): Likewise
35466 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35467 to __nss_disable_nscd.
35468 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35469 for a database anymore. Check the records for all the registered
35471 * nss/Makefile (libnss_files-routines): Add files-init.
35472 (libnss_db-routines): Add db-init.
35473 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35474 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35475 * nss/nss_db/db-init.c: New file.
35476 * nss/nss_files/files-init.c: New file.
35477 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35478 __nss_lookup_function.
35479 (__nss_lookup_function): Call nss_load_library.
35480 (nss_load_all_libraries): New function.
35481 (__nss_disable_nscd): Take parameter with callback function for files
35482 to register. Set is_nscd. Load all the DSOs for the NSS modules
35483 used for the cached services.
35484 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35485 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35486 options for features to all the files in nscd.
35488 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35490 2011-07-10 Roland McGrath <roland@hack.frob.com>
35492 * csu/elf-init.c (__libc_csu_init): Comment typo.
35494 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35496 * po/pl.po: Update from translation team.
35497 * po/ja.po: Likewise.
35498 * po/ru.po: Likewise.
35499 * po/ko.po: Likewise.
35500 * po/fr.po: Likewise.
35502 2011-07-09 Roland McGrath <roland@hack.frob.com>
35504 * configure.in (.ctors/.dtors header and trailer check):
35505 Use an empirical test on a built program.
35506 * configure: Regenerated.
35508 * configure.in (-z relro check): Use an empirical test on a built DSO.
35509 Detect, but do not require, on ia64.
35510 * configure: Regenerated.
35512 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35513 Update tests that use readelf to use $READELF instead.
35514 * configure: Regenerated.
35516 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35518 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35519 if the result is not used.
35521 2011-07-05 Andreas Jaeger <aj@suse.de>
35524 * stdlib/tst-strtod.c: Add testcase.
35526 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35528 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35529 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35530 The latter has a higher limit. Take additional parameter to pass to
35532 (__pathconf): Pass file to __statfs_link_max.
35533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35535 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35539 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35540 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35542 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35543 (__statfs_filesize_max): Likewise.
35544 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35546 2011-07-05 Andreas Jaeger <aj@suse.de>
35548 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35550 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35552 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35554 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35557 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35559 * Makefile (strop-tests): Add strncat.
35560 * string/test-strncat.c: New file.
35562 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35564 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35566 2011-06-21 Andreas Jaeger <aj@suse.de>
35568 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35569 Copy rule from iconvdata/Makefile.
35571 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35574 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35575 but no long options are defined, just return 'W'.
35577 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35580 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35582 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35584 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35586 (innetgr): Likewise.
35588 2011-07-05 Roland McGrath <roland@hack.frob.com>
35590 * config.make.in (install_root): Default to $(DESTDIR).
35592 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35594 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35596 2011-07-02 Roland McGrath <roland@hack.frob.com>
35598 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35600 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35601 containing directory rather than embedding absolute directory names.
35603 * scripts/check-local-headers.sh: Rewritten using awk.
35604 Match by word, not by line. Print error messages for matches.
35605 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35607 * Makerules [shlib-lds-flags empty]:
35608 ($(common-objpfx)libc_pic.opts): New target.
35609 ($(common-objpfx)libc_pic.os.clean): New target.
35610 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35612 * config.make.in (OBJCOPY): New variable.
35613 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35614 * configure: Regenerated.
35616 * config.make.in (use-default-link): New variable.
35617 * configure.in (use_default_link): Grok --with-default-link to set it.
35618 * configure: Regenerated.
35619 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35620 (shlib-lds, shlib-lds-flags): Define to empty.
35622 * Makerules (shlib-lds): New variable.
35623 (shlib-lds-flags): New variable.
35624 (build-shlib, build-moduile, build-module-asneeded): Use it.
35625 ($(common-objpfx)libc.so): Use $(shlib-lds).
35626 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35627 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35629 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35630 DT_FLAGS/DT_FLAGS_1 with zero flags.
35632 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35633 linker script munging.
35635 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35637 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35639 * crypt/sha512.c (sha512_process_block): Perform total addition using
35640 128-bit if possible.
35641 (__sha512_finish_ctx): Likewise.
35642 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35644 * crypt/sha256.c (SWAP64): Define.
35645 (sha256_process_block): Perform total addition using 64-bit if
35647 (__sha256_finish_ctx): Likewise.
35649 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35651 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35653 * nscd/hstcache.c (cache_addhst): Likewise.
35654 * nscd/grpcache.c (cache_addgr): Likewise.
35655 * nscd/aicache.c (addhstaiX): Likewise
35656 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35658 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35660 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35662 * nscd/hstcache.c (cache_addhst): Likewise.
35663 * nscd/grpcache.c (cache_addgr): Likewise.
35664 * nscd/aicache.c (addhstaiX): Likewise
35666 2011-07-01 Andreas Schwab <schwab@redhat.com>
35668 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35669 domain only when needed.
35671 2011-06-30 Andreas Schwab <schwab@redhat.com>
35673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35674 is always restored.
35676 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35678 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35679 are re-adding the entry.
35680 * nscd/servicescache.c (cache_addserv): Likewise.
35682 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35684 * sysdeps/generic/dl-irel.h: fix protection against multiple
35686 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35688 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35691 * malloc/memusage.sh: Fix quoting in message.
35692 * debug/xtrace.sh: Likewise.
35694 * configure.in: Remove support for --experimental-malloc option, make
35696 * config.make.in: Likewise.
35697 * malloc/Makefile: Likewise.
35699 2011-06-27 Andreas Schwab <schwab@redhat.com>
35701 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35702 two-byte characters.
35704 2011-06-27 Roland McGrath <roland@hack.frob.com>
35706 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35707 AC_CACHE_CHECK invocation.
35708 * configure: Regenerated.
35710 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35712 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35715 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35716 bit from old_res_options.
35718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35720 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35721 value type for setfct.
35723 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35726 __gettimeofday instead of gettimeofday.
35728 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35730 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35732 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35734 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35739 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35742 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35743 strcpy-sse2-unaligned strncpy-sse2-unaligned
35744 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35745 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35746 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35747 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35748 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35751 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35752 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35753 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35754 (STRCPY): Support SSE2 and SSSE3 versions.
35756 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35759 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35760 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35761 kernels which artificially limit size of requests.
35763 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35766 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35767 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35768 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35769 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35770 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35771 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35772 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35774 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35775 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35776 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35777 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35778 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35779 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35781 Enable unaligned load optimization for Intel Core i3, i5 and i7
35783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35785 (index_Fast_Unaligned_Load): Define.
35786 (HAS_FAST_UNALIGNED_LOAD): Define.
35788 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35790 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35792 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35796 until it is clear that the information is realy needed.
35797 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35799 2011-06-22 Andreas Schwab <schwab@redhat.com>
35801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35803 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35806 /sys/devices/system/cpu/online if it is usable.
35808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35809 reading the information from the /proc filesystem to once a second.
35811 2011-06-21 Andreas Jaeger <aj@suse.de>
35813 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35814 NULL after inclusion of kernel headers.
35816 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35818 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35819 calls to internal_setent.
35822 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35823 addresses using gethostbyname4_r ignore IPv4 addresses.
35825 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35826 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35828 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35830 2011-06-20 David S. Miller <davem@davemloft.net>
35832 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35834 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35836 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35837 (elf_irel): Use it.
35838 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35839 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35840 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35841 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35842 * sysdeps/x86_64/dl-irel.h: Likewise.
35844 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35845 * elf/dl-sym.c: Likewise.
35847 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35849 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35850 need to dereference resplen2.
35852 2011-06-14 Andreas Schwab <schwab@redhat.com>
35854 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35856 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35858 * Makeconfig: Define vardbdir and inst_vardbdir.
35859 * nss/Makefile: Add rules to install db-Makefile.
35861 * nss/nss_db/db-XXX.c: Cleanup.
35863 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35864 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35866 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35867 * nss/makedb.c: Implement -g option to specify that value strings
35868 are generated and should not be added to table iterated over for
35870 * nss/nss_db/db-initgroups.c: New file.
35872 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35875 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35876 (internal_getgrouplist): Adjust to name change.
35877 Update use_initgroups_entry if this is not the first call.
35878 * nss/databases.def: Add initgroups entry.
35880 * nss/makedb.c (compute_tables): Check result of multiple hash table
35881 sizes to minimize maximum chain length.
35883 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35885 * Versions.def: Add entry for libnss_db.
35886 * shlib-versions: Likewise.
35887 * nss/Makefile: Add rules to build libnss_db.
35888 * nss/Versions: Add libnss_db information. Organize libnss_files
35890 * nss/db-Makefile: Add gshadow support. Change rules for the new
35891 makedb progra. Some minor improvements to generate smaller files.
35892 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35894 * nss/makedb.c: ...here.
35895 Improve database format to be smaller and require less memory at
35897 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35899 * nss/nss_db/db-netgrp.c: Likewise.
35900 * nss/nss_db/db-open.c: Likewise.
35901 * nss/nss_files/flies-XXX.x: Adjust comments.
35902 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35903 * nss/nss_files/files-grp.c: Likewise.
35904 * nss/nss_files/files-hosts.c: Likewise.
35905 * nss/nss_files/files-network.c: Likewise.
35906 * nss/nss_files/files-proto.c: Likewise.
35907 * nss/nss_files/files-pwd.c: Likewise.
35908 * nss/nss_files/files-rpc.c: Likewise.
35909 * nss/nss_files/files-service.c: Likewise.
35910 * nss/nss_files/files-sgrp.c: Likewise.
35911 * nss/nss_files/files-spwd.c: Likewise.
35912 * nss/nss_db/db-alias.c: Removed.
35913 * nss/nss_db/dummy-db.h: Removed.
35915 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35917 * nss/makedb.c: Rewritten to not use database library.
35918 * nss/Makefile: Update to build new makedb program.
35920 2011-06-14 Andreas Jaeger <aj@suse.de>
35922 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35923 memset declaration.
35925 2011-06-10 Andreas Schwab <schwab@redhat.com>
35927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35930 2011-06-10 Roland McGrath <roland@hack.frob.com>
35932 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35933 * elf/Makefile ($(objpfx)ld.so): Likewise.
35935 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35936 Don't list ld.so twice in dependencies.
35938 * posix/bug-regex31.c: Include <stdlib.h>.
35940 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35942 * nis/nss_compat/compat-spwd.c
35943 (getspent_next_nss_netgr): Remove unused variable.
35944 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35946 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35947 nonmembers" output to use the right array.
35949 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35951 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35953 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35954 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35955 * catgets/gencat.c (read_input_file): Likewise.
35956 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35958 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35959 variable definition inside #if's controlling its use.
35961 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35963 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35965 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35967 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35970 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35972 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35973 * configure: Regenerated.
35975 * Makerules: Revert last change.
35976 * elf/Makefile: Likewise.
35978 2011-06-09 Roland McGrath <roland@hack.frob.com>
35980 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35981 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35982 (reloc-link): Likewise.
35984 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35986 * elf/Makefile: Add rules to build pldd.
35987 * elf/pldd.c: New file.
35988 * elf/pldd-xx.c: New file.
35990 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35992 * version.h: Update for 2.15 development version.
35994 2011-06-07 David S. Miller <davem@davemloft.net>
35996 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35999 elf_machine_lazy_rel): Likewise.
36000 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36002 elf_machine_lazy_rel): Likewise.
36003 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36004 dl_hwcap via passed in argument.
36005 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36008 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36010 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36012 2011-06-06 Roland McGrath <roland@hack.frob.com>
36015 * manual/fdl-1.1.texi: New file, verbatim from:
36016 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36017 * manual/lgpl-2.1.texi: New file, verbatim from:
36018 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36019 * manual/Makefile (licenses): New variable, list those new file names.
36021 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36023 * manual/fdl.texi: File removed.
36024 * manual/lesser.texi: File removed.
36025 * manual/libc.texinfo (Copying, Documentation License):
36026 Use new @include file names, put @appendix directive before @include.
36028 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36031 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36032 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36033 (mq_open): Add __NTH.
36035 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36038 Assume Intel Core i3/i5/i7 processor if AVX is available.
36040 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36045 2011-05-31 Andreas Schwab <schwab@redhat.com>
36047 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36048 memory. Use alloca_account. Fix memory leak when retrying.
36050 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36052 * version.h (RELEASE): Bump for 2.14 release.
36053 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36055 * config.make.in (RANLIB): Remove entry.
36057 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36059 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36060 (libc.pot): Work around missing support for .ksh extension in xgettext.
36063 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36064 if both request failed.
36065 (send_dg): In case of server errors clear resplen or *resplen2.
36068 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36069 when there are multiple maps.
36070 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36071 (_dl_fini): Remove test here.
36073 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36075 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36078 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36079 bit from old_res_options.
36080 (gaih_inet): Likewise.
36083 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36086 * resolv/res_init.c (res_setoptions): Make the code more compact.
36089 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36093 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36095 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36098 * malloc/malloc.h: Declare malloc hook variables as volatile.
36100 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36104 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36105 raise in the comment.
36106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36108 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36110 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36113 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36114 grow the buffers more if it already has to be sufficient.
36115 (build_wcs_upper_buffer): Likewise.
36116 * posix/regexec.c (check_matching): Likewise.
36117 (clean_state_log_if_needed): Likewise.
36118 (extend_buffers): Don't enlarge buffers beyond size of the input
36120 Patches mostly by Emil Wojak <emil@wojak.eu>.
36121 * posix/bug-regex32.c: New file.
36122 * posix/Makefile (tests): Add bug-regex32.
36124 * locale/findlocale.c (_nl_find_locale): Return right away if
36125 _nl_explode_name failed.
36126 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36128 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36130 * debug/xtrace.sh: Unify messages.
36131 * malloc/memusage.sh: Likewise.
36134 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36135 time symbol from vDSO. Substitute with vsyscall if not available.
36136 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36139 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36140 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36141 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36142 Add sendmmsg and internal_sendmmsg.
36143 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36144 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36145 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36147 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36148 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36149 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36151 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36154 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36155 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36161 * iconvdata/Makefile (tests): Add bug-iconv9.
36162 * iconvdata/bug-iconv9.c: New file.
36164 2011-05-27 Andreas Schwab <schwab@redhat.com>
36167 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36169 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36172 (struct user_regs_struct): Change intcs field back to cs.
36174 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36176 * po/ja.po: Update from translation team.
36178 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36181 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36182 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36184 2011-05-20 Andreas Schwab <schwab@redhat.com>
36186 * stdlib/longlong.h: Update from GCC.
36188 2011-05-23 Andreas Schwab <schwab@redhat.com>
36190 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36192 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36193 Add parameter name.
36194 (__sysconf): Pass it down.
36196 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36199 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36201 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36202 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36203 add in in __libc_use_alloca calls. Adjust callers.
36204 (glob): Use malloc in some situations.
36206 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36207 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36210 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36212 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36213 and CLOCK_BOOTTIME_ALARM.
36216 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36219 * string/_strerror.c (__strerror_r): Print negative errors as signed
36223 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36224 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36225 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36227 * configure.in: Fix typo in redirection and correct removal of test
36228 files in two cases.
36231 * locale/setlocale.c (new_composite_name): Fix test to check for
36232 identical name of all categories.
36235 * libio/filedoalloc.c (local_isatty): New function.
36236 (_IO_file_doallocate): Use local_isatty.
36237 * stdio-common/perror.c (perror): In case a new stream is used
36238 forward the stream error.
36239 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36242 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36247 * include/alloca.h (extend_alloca_account): Define.
36250 * posix/regex.h: Fix comments with documentation of user-accessible
36251 fields after compilation and describe correct free'ing of pattern
36252 after re_compile_pattern.
36253 Patch by Reuben Thomas <rrt@sc3d.org>.
36255 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36257 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36258 and -mno-altivec to prevent the compiler from using Altivec and/or
36259 VSX instructions when the corresponding registers are not available.
36261 2011-05-19 Andreas Schwab <schwab@redhat.com>
36263 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36265 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36267 * libio/freopen.c (freopen): Use __dup2, not dup2.
36268 * libio/freopen64.c (freopen64): Likewise.
36270 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36273 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36274 * math/Makefile (tests): Add test-powl.
36275 (CFLAGS-test-powl.c): Define.
36276 * math/test-powl.c: New file.
36278 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36280 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36282 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36285 * iconvdata/gb18030.c: Update to GB18020-2005.
36287 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36289 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36290 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36291 Patch by Aharon Robbins <arnold@skeeve.com>.
36294 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36298 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36299 through underflows.
36302 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36303 point to strings before performing equality test for error_one_per_line
36307 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36310 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36311 (struct user_fpregs_struct): Avoid __uint*_t types.
36314 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36315 symbol info. Use it instead of calling _dl_addr locally.
36316 (lock_and_info): New function.
36317 (tr_freehook): Call lock_and_info and pass symbol info as additional
36318 parameter to tr_where.
36319 (tr_mallochook): Likewise.
36320 (tr_reallochook): Likewise.
36321 (tr_memalignhook): Likewise.
36323 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36324 used and couldn't be at all thread-safe.
36326 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36328 * libio/freopen.c (freopen): Don't close old file descriptor
36329 before the new one is opened. Instead dup the new file descriptor
36330 to the old one after the new stream is created.
36331 * libio/freopen64.c (freopen64): Likewise.
36332 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36333 * libio/fileops.c (_IO_new_file_close_it): Handle new
36334 _IO_FLAGS2_NOCLOSE flag.
36335 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36336 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36337 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36338 _IO_FLAGS2_NOCLOSE flag.
36339 * include/unistd.h: Add hidden_proto for dup3.
36340 Define __have_dup3.
36341 * io/dup3.c: Define hidden symbol.
36342 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36345 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36346 when an incomplete long option is used.
36347 * posix/tst-getopt_long1.c: New file.
36348 * posix/Makefile (tests): Add tst-getopt_long1.
36351 * scripts/config.guess: Update from autoconf-2.68.
36352 * scripts/config.sub: Likewise.
36355 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36357 (has_cpuclock): ...this. New function.
36358 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36359 macro here based on has_cpuclock code.
36362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36363 First byte (not low byte) is now always NUL.
36364 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36367 Use non-cancelable interfaces.
36370 * locale/iso-639.def: Add entry for Sorani.
36373 * include/stdlib.h: Move include protection to the right place.
36374 Define abort_msg_s. Declare __abort_msg with it.
36375 * stdlib/abort.c (__abort_msg): Adjust type.
36376 * assert/assert.c (__assert_fail_base): New function. Majority
36377 of code from __assert_fail. Allocate memory for __abort_msg with
36379 (__assert_fail): Now call __assert_fail_base.
36380 * assert/assert-perr.c: Remove bulk of implementation. Use
36381 __assert_fail_base.
36382 * include/assert.hL Declare __assert_fail_base.
36383 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36385 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36387 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36391 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36392 until all modules are registered in the DTV.
36393 * elf/Makefile: Add rules to build and run tst-tls19.
36394 * elf/tst-tls19.c: New file.
36395 * elf/tst-tls19mod1.c: New file.
36396 * elf/tst-tls19mod2.c: New file.
36397 * elf/tst-tls19mod3.c: New file.
36398 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36401 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36405 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36406 two-byte sequence errors.
36407 * iconvdata/Makefile (tests): Add bug-iconv8.
36408 * iconvdata/bug-iconv8.c: New file.
36411 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36414 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36417 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36418 (dummy_getcfa): New function.
36419 (init): Get _Unwind_GetCFA address, use dummy if not found.
36420 (backtrace_helper): In recursion check, also check whether CFA changes.
36421 (__backtrace): Completely initialize arg.
36423 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36424 storing incomplete byte sequence in state object. Avoid testing for
36425 guaranteed too small input if we know there is enough data available.
36427 2011-05-11 Andreas Schwab <schwab@redhat.com>
36429 * Makeconfig (+link-pie): Indent.
36430 * Rules (binaries-pie): Define if $(have-fpie) and
36432 (binaries-shared): Also filter out $(binaries-pie).
36433 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36434 * nscd/Makefile (others-pie): Add nscd.
36435 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36436 ($(objpfx)nscd): Remove command override.
36437 * login/Makefile (others-pie): Add pt_chown.
36438 ($(objpfx)pt_chown): Remove command override.
36439 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36440 remove command overrides.
36442 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36444 * libio/tst_putwc.c: Fix error messages.
36447 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36448 currently writing and seek to current position when not.
36449 * libio/Makefile (tests): Add bug-fclose1.
36450 * libio/bug-fclose1.c: New file.
36452 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36455 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36456 don't set DF_1_NODELETE here.
36457 (do_lookup_x): When entering new entry test for copy relocation
36458 and if necessary set DF_1_NODELETE flag.
36459 * elf/tst-unique4.cc: New file.
36460 * elf/tst-unique4.h: New file.
36461 * elf/tst-unique4lib.cc: New file.
36462 * elf/Makefile: Add rules to build and run tst-unique4.
36463 Patch by Piotr Bury <pbury@goahead.com>.
36465 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36468 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36471 * misc/mntent_r.c (addmntent): Flush the stream after the output
36474 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36475 (is_trusted_path_normalize): Skip initial colon. Append slash
36476 to empty buffer. Duplicate is_trusted_path code but allow
36477 constructed patch to be prefix.
36478 (is_dst): Allow $ORIGIN followed by /.
36479 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36480 Correct testing of result of is_trusted_path_normalize
36481 (decompose_rpath): Fix warning.
36483 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36486 * grp/initgroups.c (internal_getgrouplist): When we found the service
36487 list through the initgroups entry in nsswitch.conf do not always
36488 continue on a successful lookup. Don't always use the
36489 __nss_group_database value if it is set.
36490 * nss/nsswitch.conf (initgroups): Change action for successful db
36491 lookup to continue for compatibility.
36493 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36496 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36498 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36500 * iconvdata/tst-tables.sh: Likewise.
36501 * iconvdata/cp770.c: New file.
36502 * iconvdata/cp771.c: New file.
36503 * iconvdata/cp772.c: New file.
36504 * iconvdata/cp773.c: New file.
36505 * iconvdata/cp774.c: New file.
36506 * iconvdata/testdata/CP770: New file.
36507 * iconvdata/testdata/CP770..UTF8: New file.
36508 * iconvdata/testdata/CP771: New file.
36509 * iconvdata/testdata/CP771..UTF8: New file.
36510 * iconvdata/testdata/CP772: New file.
36511 * iconvdata/testdata/CP772..UTF8: New file.
36512 * iconvdata/testdata/CP773: New file.
36513 * iconvdata/testdata/CP773..UTF8: New file.
36514 * iconvdata/testdata/CP774: New file.
36515 * iconvdata/testdata/CP774..UTF8: New file.
36517 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36519 * iconvdata/gen-8bit-gap.sh: Likewise.
36520 * iconvdata/gen-8bit.sh: Likewise.
36522 * locale/iso-639.def: Add ary entry.
36525 * locale/C-translit.h.in: Add U20A1 transliteration.
36528 * locale/iso-639.def: Add wae entry.
36529 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36532 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36536 * locale/C-translit.h.in: Add entry for U20B9.
36537 Patch by pravin.d.s@gmail.com.
36539 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36542 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36543 ENAMETOOLONG use generic getcwd.
36544 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36545 in rtld. Use *stat64.
36546 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36547 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36548 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36549 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36550 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36551 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36552 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36553 __fstatat64 macros.
36554 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36555 * dirent/rewinddir.c: Add libc_hidden_def.
36556 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36557 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36559 * include/dirent.h (__alloc_dir): Add flags parameter.
36560 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36561 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36563 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36564 from fdopendir if O_CLOEXEC is already set.
36566 2011-03-15 Alan Modra <amodra@gmail.com>
36568 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36569 l_tls_firstbyte_offset non-zero. Save padding offset in
36570 l_tls_firstbyte_offset for later use.
36571 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36572 freeing static tls block.
36574 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36576 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36577 where #ifdef was intended. The intent is to prevent ARG_MAX from
36578 being defined by the kernel headers.
36580 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36583 * resolv/resolv.h: Define RES_NOTLDQUERY.
36584 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36585 no-tld-query and set RES_NOTLDQUERY.
36586 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36587 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36588 modern BIND to search name as TLD unless forbidden.
36590 2011-05-07 Petr Baudis <pasky@suse.cz>
36591 Ulrich Drepper <drepper@gmail.com>
36594 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36595 (is_trusted_path): ...to here.
36596 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36597 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36598 using is_trusted_path_normalize() in setuid scripts.
36600 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36602 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36603 __BEGIN/__END_DECLS.
36605 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36608 NSS_STATUS_NOTFOUND if no record was found.
36610 2011-05-05 Andreas Schwab <schwab@redhat.com>
36612 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36613 (headers-not-in-tirpc): Remove rpc/netdb.h
36614 * resolv/netdb.h: Revert last change.
36616 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36618 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36619 circular dependency between libgcc.a and libc.a.
36621 2011-05-05 Andreas Schwab <schwab@redhat.com>
36623 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36624 * nis/Makefile: Don't install rpcsvc/*.
36625 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36626 instead of <rpc/types.h>.
36627 (MAXHOSTNAMELEN): Define.
36629 2011-05-03 Andreas Schwab <schwab@redhat.com>
36631 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36633 2011-04-28 Maciej Babinski <mbabinski@google.com>
36636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36637 gethostbyname4_r when IPv6 results are possible.
36639 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36642 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36643 _PC_PIPE_BUF handling.
36645 2011-04-30 Bruno Haible <bruno@clisp.org>
36648 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36649 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36651 * inet/getnameinfo.c (getnameinfo): Likewise.
36653 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36655 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36656 to groups setting in database lookup.
36657 * nss/nsswitch.conf: Add initgroups entry.
36659 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36662 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36664 Patch by Eric Blake <eblake@redhat.com>.
36666 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36668 * sunrpc/Makefile (need-export-routines): Add svc_run.
36669 (routines): Remove svc_run.
36670 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36671 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36672 * sunrpc/svc_run.c (svc_run): Likewise.
36673 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36675 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36678 problem in reallocation in last patch.
36680 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36682 * sunrpc/Makefile: Move inclusion of Rules.
36684 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36686 * nss/nss_files/files-initgroups.c: New file.
36687 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36688 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36689 _nss_files_initgroups_dyn.
36691 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36693 * elf/elf.h (R_ARM_IRELATIVE): Define.
36695 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36697 * po/ru.po: Update from translation team.
36699 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36701 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36704 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36707 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36708 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36709 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36710 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36711 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36713 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36715 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36717 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36721 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36724 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36726 * stdlib/bug-getcontext.c: New file.
36727 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36729 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36731 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36732 instructions into .machine "z9-109".
36733 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36734 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36736 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36738 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36739 between environment variables and auxiliary vector.
36741 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36743 * Makefile: Add rules to build linkobj/libc.so.
36744 * include/libc-symbols.h: Define libc_hidden_nolink.
36745 * include/rpc/auth.h: Mark functions which are to be hidden.
36746 * include/rpc/auth_des.h: Likewise.
36747 * include/rpc/auth_unix.h: Likewise.
36748 * include/rpc/clnt.h: Likewise.
36749 * include/rpc/des_crypt.h: Likewise.
36750 * include/rpc/key_prot.h: Likewise.
36751 * include/rpc/pmap_clnt.h: Likewise.
36752 * include/rpc/pmap_prot.h: Likewise.
36753 * include/rpc/pmap_rmt.h: Likewise.
36754 * include/rpc/rpc_msg.h: Likewise.
36755 * include/rpc/svc.h: Likewise.
36756 * include/rpc/svc_auth.h: Likewise.
36757 * include/rpc/xdr.h: Likewise.
36758 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36759 * nss/Makefile: Likewise.
36760 * sunrpc/Makefile: Don't install headers. Build library with normal
36761 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36762 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36763 for the compat linking library. Remove use of INTDEF/INTUSE.
36764 * sunrpc/auth_none.c: Likewise.
36765 * sunrpc/auth_unix.c: Likewise.
36766 * sunrpc/authdes_prot.c: Likewise.
36767 * sunrpc/authuxprot.c: Likewise.
36768 * sunrpc/clnt_gen.c: Likewise.
36769 * sunrpc/clnt_perr.c: Likewise.
36770 * sunrpc/clnt_raw.c: Likewise.
36771 * sunrpc/clnt_simp.c: Likewise.
36772 * sunrpc/clnt_tcp.c: Likewise.
36773 * sunrpc/clnt_udp.c: Likewise.
36774 * sunrpc/clnt_unix.c: Likewise.
36775 * sunrpc/des_crypt.c: Likewise.
36776 * sunrpc/des_soft.c: Likewise.
36777 * sunrpc/get_myaddr.c: Likewise.
36778 * sunrpc/key_call.c: Likewise.
36779 * sunrpc/key_prot.c: Likewise.
36780 * sunrpc/netname.c: Likewise.
36781 * sunrpc/pm_getmaps.c: Likewise.
36782 * sunrpc/pm_getport.c: Likewise.
36783 * sunrpc/pmap_clnt.c: Likewise.
36784 * sunrpc/pmap_prot.c: Likewise.
36785 * sunrpc/pmap_prot2.c: Likewise.
36786 * sunrpc/pmap_rmt.c: Likewise.
36787 * sunrpc/publickey.c: Likewise.
36788 * sunrpc/rpc_cmsg.c: Likewise.
36789 * sunrpc/rpc_common.c: Likewise.
36790 * sunrpc/rpc_dtable.c: Likewise.
36791 * sunrpc/rpc_prot.c: Likewise.
36792 * sunrpc/rpc_thread.c: Likewise.
36793 * sunrpc/rtime.c: Likewise.
36794 * sunrpc/svc.c: Likewise.
36795 * sunrpc/svc_auth.c: Likewise.
36796 * sunrpc/svc_authux.c: Likewise.
36797 * sunrpc/svc_raw.c: Likewise.
36798 * sunrpc/svc_run.c: Likewise.
36799 * sunrpc/svc_simple.c: Likewise.
36800 * sunrpc/svc_tcp.c: Likewise.
36801 * sunrpc/svc_udp.c: Likewise.
36802 * sunrpc/svc_unix.c: Likewise.
36803 * sunrpc/svcauth_des.c: Likewise.
36804 * sunrpc/xcrypt.c: Likewise.
36805 * sunrpc/xdr.c: Likewise.
36806 * sunrpc/xdr_array.c: Likewise.
36807 * sunrpc/xdr_float.c: Likewise.
36808 * sunrpc/xdr_intXX_t.c: Likewise.
36809 * sunrpc/xdr_mem.c: Likewise.
36810 * sunrpc/xdr_rec.c: Likewise.
36811 * sunrpc/xdr_ref.c: Likewise.
36812 * sunrpc/xdr_sizeof.c: Likewise.
36813 * sunrpc/xdr_stdio.c: Likewise.
36815 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36818 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36819 * sysdeps/ia64/dl-tls.h: Likewise.
36820 * sysdeps/powerpc/dl-tls.h: Likewise.
36821 * sysdeps/s390/dl-tls.h: Likewise.
36822 * sysdeps/sh/dl-tls.h: Likewise.
36823 * sysdeps/sparc/dl-tls.h: Likewise.
36824 * sysdeps/x86_64/dl-tls.h: Likewise.
36825 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36827 2011-03-14 Andreas Schwab <schwab@redhat.com>
36829 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36830 rpath element also skip the following colon.
36831 (expand_dynamic_string_token): Add is_path parameter and pass
36832 down to DL_DST_REQUIRED and _dl_dst_substitute.
36833 (decompose_rpath): Call expand_dynamic_string_token with
36834 non-zero is_path. Ignore empty rpaths.
36835 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36838 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36843 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36846 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36847 Patch by Filipe David Manana <fdmanana@apache.org>.
36849 2011-04-07 Andreas Schwab <schwab@redhat.com>
36851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36852 Maintain aligned stack.
36853 (CHECK_RSP): Remove unused macro.
36855 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36857 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36860 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36862 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36864 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36866 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36869 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36870 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36871 * sysdeps/x86_64/memmove.c: New file.
36872 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36873 (memcpy): Renamed to ...
36874 (__new_memcpy): This.
36875 (memcpy): Provide GLIBC_2_14 memcpy.
36876 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36877 (memcpy): Provide GLIBC_2_2_5 memcpy.
36879 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36882 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36884 2011-03-30 Andreas Schwab <schwab@redhat.com>
36886 * misc/syncfs.c: New file.
36887 * misc/Makefile (routines): Add syncfs.
36888 * posix/unistd.h: Declare syncfs.
36889 * sysdeps/unix/syscalls.list: Add syncfs.
36891 2011-04-01 Andreas Schwab <schwab@redhat.com>
36893 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36896 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36897 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36898 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36900 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36901 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36903 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36907 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36909 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36913 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36914 sync_file_range.c with -fexceptions.
36915 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36916 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36917 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36918 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36919 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36920 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36922 sync_file_range as cancellation point
36923 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36924 now a wrapper around __call_sync_file_range with cancellation handling.
36925 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36926 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36927 function name to __call_sync_file_range.
36928 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36929 Add call_sync_file_range.
36931 2011-04-01 Andreas Schwab <schwab@redhat.com>
36933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36936 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36938 * iconv/iconv.h: Fix typo in comment.
36939 * io/fcntl.h: Likewise.
36940 * libio/stdio.h: Likewise.
36941 * posix/spawn.h: Likewise.
36942 * posix/unistd.h: Likewise.
36943 * stdlib/stdlib.h: Likewise.
36944 * time/time.h: Likewise.
36945 * wcsmbs/wchar.h: Likewise.
36947 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36948 open_by_handle): Add.
36949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36950 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36951 Augment a few comments.
36952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36954 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36956 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36957 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36960 * io/fcntl.h (AT_EMPTY_PATH): Define.
36962 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36964 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36965 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36966 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36968 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36969 * Versions.def: Add GLIBC_2.14.
36970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36973 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36975 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36977 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36979 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36982 * string/test-strncmp.c (do_page_test): New function.
36983 (check2): Likewise.
36984 (test_main): Call check2.
36985 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36987 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36990 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36991 Handle cache information in CPU leaf 4.
36992 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36994 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36997 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36998 character representation.
36999 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37001 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37003 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37004 END(__isnan) to END(__isnanf) to match function entry point/label
37005 EALIGN(__isnanf,...).
37007 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37009 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37011 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37014 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37015 copy from the symbol referenced in the relocation to initialize the
37017 Patch by Piotr Bury <pbury@goahead.com>.
37018 * elf/Makefile: Add rules to build and tst-unique3.
37019 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37020 * elf/tst-unique3.cc: New file.
37021 * elf/tst-unique3.h: New file.
37022 * elf/tst-unique3lib.cc: New file.
37023 * elf/tst-unique3lib2.cc: New file.
37025 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37027 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37029 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37030 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37033 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37035 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37036 to-be-loaded object along a path to loader is ld.so.
37038 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37039 Ulrich Drepper <drepper@gmail.com>
37041 * sysdeps/x86_64/memset.S: After aligning destination, code
37042 branches to different locations depending on the value of
37043 misalignment, when multiarch is enabled. Fix this.
37045 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37047 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37048 Set _x86_64_preferred_memory_instruction for AMD processsors.
37049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37050 Set bit_Prefer_SSE_for_memop for AMD processors.
37052 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37054 * libio/fmemopen.c (fmemopen): Optimize a bit.
37056 2011-03-03 Andreas Schwab <schwab@redhat.com>
37058 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37060 2011-03-03 Roland McGrath <roland@redhat.com>
37062 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37064 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37066 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37067 __bzero_ultra1 instead of __memset_ultra1.
37069 2011-02-23 Andreas Schwab <schwab@redhat.com>
37070 Ulrich Drepper <drepper@gmail.com>
37073 * include/link.h (struct link_map): Add l_orig_initfini.
37074 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37075 returning unsuccessfully.
37076 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37077 close of a file loaded at startup, restore the original l_initfini
37079 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37080 list, store the pointer.
37081 * elf/Makefile ($(objpfx)noload-mem): New rule.
37082 (noload-ENV): Define.
37083 (tests): Add $(objpfx)noload-mem.
37084 * elf/noload.c: Include <memcheck.h>.
37085 (main): Call mtrace. Close all opened handles.
37087 2011-02-17 Andreas Schwab <schwab@redhat.com>
37090 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37091 dependencies are missing.
37093 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37095 Fix __if_freereq crash: Unlike the generic version which uses free,
37097 * sysdeps/mach/hurd/ifreq.h: New file.
37099 2011-01-27 Petr Baudis <pasky@suse.cz>
37100 Ulrich Drepper <drepper@gmail.com>
37103 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37104 to extend_alloca().
37105 * stdio-common/bug23.c: New file.
37106 * stdio-common/Makefile (tests): Add bug23.
37108 2010-09-28 Andreas Schwab <schwab@redhat.com>
37109 Ulrich Drepper <drepper@gmail.com>
37112 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37113 before performing relro protection. At old place add assertion
37114 to make sure nothing changed.
37116 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37117 Glauber de Oliveira Costa <glommer@gmail.com>
37119 * elf/elf.h: Add new ARM TLS relocs.
37121 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37124 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37126 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37128 * sysdeps/wordsize-64/tst-writev.c: New file.
37130 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37132 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37133 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37134 insns in _dl_start to prevent a TOC reference before relocs are
37137 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37140 * Makeconfig: Remove RANLIB definition.
37141 * Makerules: Don't use RANLIB.
37142 * aclocal.m4: Remove ranlib test.
37143 * configure.in: No need to check for ranlib.
37144 * elf/rtld-Rules: Don't use RANLIB.
37146 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37148 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37150 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37151 inclusion protection macro.
37153 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37154 SIGRTMIN and SIGRTMAX and print information in that case only when
37155 SIGRTMIN is defined.
37157 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37159 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37160 arginfo fn returning -1.
37162 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37163 and thousands string is zero terminated.
37165 2011-02-03 Andreas Schwab <schwab@redhat.com>
37167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37168 sysdeps/unix/sysv/linux/bits/socket.h.
37170 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37172 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37173 (__CPU_COUNT): Remove old macros.
37174 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37175 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37176 (__CPU_ALLOC, __CPU_FREE): Add macros.
37177 (__sched_cpualloc, __sched_cpufree): Add declarations.
37179 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37181 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37182 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37183 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37184 (readdhstai): Return value of addhstaiX call.
37185 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37186 (addgrbyX): Return value returned by cache_addgr.
37187 (readdgrbyname): Return value returned by addgrbyX.
37188 (readdgrbygid): Likewise.
37189 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37190 (addpwbyX): Return value returned by cache_addpw.
37191 (readdpwbyname): Return value returned by addhstbyX.
37192 (readdpwbyuid): Likewise.
37193 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37194 (addservbyX): Return value returned by cache_addserv.
37195 (readdservbyname): Return value returned by addservbyX:
37196 (readdservbyport): Likewise.
37197 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37198 (addhstbyX): Return value returned by cache_addhst.
37199 (readdhstbyname): Return value returned by addhstbyX.
37200 (readdhstbyaddr): Likewise.
37201 (readdhstbynamev6): Likewise.
37202 (readdhstbyaddrv6): Likewise.
37203 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37204 (readdinitgroups): Return value returned by addinitgroupsX.
37205 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37206 (prune_cache): Keep track of timeout value of re-added entries.
37207 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37208 * nscd/nscd.h: Adjust prototypes of readd* functions.
37210 2011-02-04 Roland McGrath <roland@redhat.com>
37212 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37213 (nis_stats): Likewise.
37214 * nis/nis_modify.c (nis_modify): Likewise.
37215 * nis/nis_remove.c (nis_remove): Likewise.
37216 * nis/nis_add.c (nis_add): Likewise.
37218 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37220 * posix/fnmatch_loop.c: Add some consts.
37222 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37224 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37227 * config.make.in (config-cflags-novzeroupper): Define.
37228 * configure.in: Substitute libc_cv_cc_novzeroupper.
37229 * elf/Makefile (AVX-CFLAGS): Define.
37230 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37231 (CFLAGS-tst-auditmod4a.c): Likewise.
37232 (CFLAGS-tst-auditmod4b.c): Likewise.
37233 (CFLAGS-tst-auditmod6b.c): Likewise.
37234 (CFLAGS-tst-auditmod6c.c): Likewise.
37235 (CFLAGS-tst-auditmod7b.c): Likewise.
37236 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37238 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37240 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37241 function to the callback.
37242 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37244 2011-02-02 Andreas Schwab <schwab@redhat.com>
37246 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37249 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37252 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37254 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37256 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37259 * elf/Makefile: Add rules to build and run new test.
37260 * elf/tst-initorder.c: New file.
37261 * elf/tst-initorder.exp: New file.
37262 * elf/tst-initordera1.c: New file.
37263 * elf/tst-initordera2.c: New file.
37264 * elf/tst-initordera3.c: New file.
37265 * elf/tst-initordera4.c: New file.
37266 * elf/tst-initorderb1.c: New file.
37267 * elf/tst-initorderb2.c: New file.
37268 * elf/tst-order-a1.c: New file.
37269 * elf/tst-order-a2.c: New file.
37270 * elf/tst-order-a3.c: New file.
37271 * elf/tst-order-a4.c: New file.
37272 * elf/tst-order-b1.c: New file.
37273 * elf/tst-order-b2.c: New file.
37274 * elf/tst-order-main.c: New file.
37275 New test case by George Gensure <werkt0@gmail.com>.
37277 2010-10-01 Andreas Schwab <schwab@redhat.com>
37279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37280 decoding ACE if AI_CANONIDN.
37282 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37284 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37286 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37288 * version.h (RELEASE): Bump for 2.13 release.
37289 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37291 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37293 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37295 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37296 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37297 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37298 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37302 * posix/getconf.c: Update copyright year.
37303 * catgets/gencat.c: Likewise.
37304 * csu/version.c: Likewise.
37305 * debug/catchsegv.sh: Likewise.
37306 * debug/xtrace.sh: Likewise.
37307 * elf/ldconfig.c: Likewise.
37308 * elf/ldd.bash.in: Likewise.
37309 * elf/sprof.c (print_version): Likewise.
37310 * iconv/iconv_prog.c: Likewise.
37311 * iconv/iconvconfig.c: Likewise.
37312 * locale/programs/locale.c: Likewise.
37313 * locale/programs/localedef.c: Likewise.
37314 * malloc/memusage.sh: Likewise.
37315 * malloc/mtrace.pl: Likewise.
37316 * nscd/nscd.c (print_version): Likewise.
37317 * nss/getent.c: Likewise.
37319 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37320 PF_CAIF, and PF_ALG.
37321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37323 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37325 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37326 (modules-names): Use them.
37327 (ifunc-test-modules, ifunc-pie-tests): Define.
37328 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37329 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37330 (test-extras): Likewise.
37331 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37332 $(compile-command.c).
37333 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37334 (all-built-dso): Define.
37335 (check-textrel.out, check-execstack.out): Depend on it.
37337 * configure.in: Don't override --enable-multi-arch.
37339 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37342 * nscd/hstcache.c (tryagain): Define.
37343 (cache_addhst): Return tryagain not notfound for temporary errors.
37344 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37347 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37350 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37351 to make the syscall.
37352 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37355 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37356 and fall back to matching as normal character if the string ends before
37357 the matching ']' is found. This is what POSIX requires.
37358 * posix/testfnm.c: Adjust test result.
37359 * posix/globtest.sh: Adjust test result. Add new test.
37360 * posix/tst-fnmatch.input: Likewise.
37361 * posix/tst-fnmatch2.c: Add new test.
37363 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37365 * elf/Makefile (check-execstack): Revert last change. Depend on
37367 (check-execstack.h): New target.
37368 (generated): Add check-execstack.h.
37369 * elf/check-execstack.c: Include "check-execstack.h".
37370 (main): Revert last change.
37371 (handle_file): Return zero if GNU_STACK is absent and
37372 DEFAULT_STACK_PERMS doesn't include PF_X.
37374 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37376 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37377 in child fails because the descriptor is already closed.
37378 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37379 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37380 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37383 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37387 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37388 temporary buffer used to handle multi lookups locally.
37389 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37391 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37393 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37396 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37398 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37399 alignment for SSE2.
37401 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37404 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37405 characters. When rounding increased number of integer digits recompute
37407 * stdio-common/tst-grouping.c: New file.
37408 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37410 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37412 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37413 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37415 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37417 * bits/select.h: Likewise.
37419 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37421 * po/ja.po: Update from translation team.
37423 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37426 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37427 implementation just like for lxstat, fxstatat, et al.
37429 2010-12-27 Jim Meyering <meyering@redhat.com>
37432 * posix/regexec.c (build_trtable): Return failure indication upon
37433 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37435 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37438 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37439 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37440 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37441 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37444 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37447 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37448 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37450 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37452 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37453 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37454 script has SORT_BY_INIT_PRIORITY.
37455 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37456 NO_CTORS_DTORS_SECTIONS is defined.
37457 * elf/soinit.c: Likewise.
37458 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37459 NO_CTORS_DTORS_SECTIONS is defined.
37460 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37461 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37462 * sysdeps/sh/init-first.c: Likewise.
37463 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37465 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37467 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37468 always use the slow path.
37470 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37472 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37473 similar rule which adds the sysdep directories to the header search in
37474 order to pick up the correct platform stackinfo.h.
37475 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37476 perform test if it is, otherwise return successfully without testing.
37477 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37478 DEFAULT_STACK_PERMS define in stackinfo.h.
37479 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37480 defined in stackinfo.h.
37481 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37482 DEFAULT_STACK_PERMS defined in stackinfo.h.
37483 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37484 * sysdeps/ia64/stackinfo.h: Likewise.
37485 * sysdeps/s390/stackinfo.h: Likewise.
37486 * sysdeps/sh/stackinfo.h: Likewise.
37487 * sysdeps/sparc/stackinfo.h: Likewise.
37488 * sysdeps/x86_64/stackinfo.h: Likewise.
37489 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37490 PF_X for powerpc64. Retain PF_X for powerpc32.
37492 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37494 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37496 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37497 GETDENTS_64BIT_ALIGNED.
37499 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37501 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37503 2010-12-10 Andreas Schwab <schwab@redhat.com>
37505 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37508 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37509 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37511 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37512 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37514 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37517 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37520 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37522 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37524 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37526 * po/it.po: Update from translation team.
37528 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37533 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37535 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37537 2010-11-24 Andreas Schwab <schwab@redhat.com>
37539 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37541 (gaih_getanswer_slice): Likewise.
37543 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37547 2010-05-31 Petr Baudis <pasky@suse.cz>
37550 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37551 silently even in the chroot mode.
37553 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37555 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37556 last patch a bit. Pretty printing
37558 2010-05-31 Petr Baudis <pasky@suse.cz>
37561 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37562 initialization of skip_initgroups_dyn.
37564 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37566 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37567 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37569 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37571 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37573 2010-11-11 Andreas Schwab <schwab@redhat.com>
37575 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37576 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37577 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37578 ($(objpfx)tst-fnmatch-mem): New rule.
37579 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37580 * posix/tst-fnmatch.c (main): Call mtrace.
37582 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37585 Support Intel processor model 6 and model 0x2c.
37587 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37592 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37595 * string/test-strncasecmp.c (check_result): New function.
37596 (do_one_test): Use it.
37597 (check1): New function.
37598 (test_main): Use it.
37599 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37600 Support strcasecmp and strncasecmp.
37602 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37605 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37606 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37608 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37610 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37614 * sysdeps/x86_64/multiarch/bzero.S: New file.
37615 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37616 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37617 * sysdeps/x86_64/multiarch/memset.S: New file.
37618 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37620 Set bit_Prefer_SSE_for_memop for Intel processors.
37621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37623 (index_Prefer_SSE_for_memop): Define.
37624 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37626 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37628 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37629 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37631 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37634 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37635 (__x86_64_raw_data_cache_size_half): Likewise.
37636 (__x86_64_raw_shared_cache_size): Likewise.
37637 (__x86_64_raw_shared_cache_size_half): Likewise.
37639 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37640 (__x86_64_raw_data_cache_size_half): Likewise.
37641 (__x86_64_raw_shared_cache_size): Likewise.
37642 (__x86_64_raw_shared_cache_size_half): Likewise.
37643 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37644 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37645 and __x86_64_raw_shared_cache_size_half. Round
37646 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37647 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37648 to multiple of 256 bytes.
37650 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37653 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37654 of inacessible symlinks. Verify result of symlink before returning it.
37655 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37656 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37658 2010-10-28 Erich Ritz <erichritz@gmail.com>
37660 * math/math.h (isinf): Fix typo in comment.
37662 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37664 * po/da.po: Update from translation team.
37666 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37668 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37669 is added to the list.
37671 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37672 Ulrich Drepper <drepper@gmail.com>
37674 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37675 the global list here. Move code to...
37676 (_dl_add_to_namespace_list): ...here. New function.
37677 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37678 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37679 * elf/dl-load.c (lose): Don't remove the element from the list.
37680 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37681 (_dl_map_object): Likewise.
37683 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37686 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37687 into all bytes of SSE register.
37688 Patch by Richard Li <richardpku@gmail.com>.
37690 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37693 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37696 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37698 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37699 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37700 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37701 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37706 2010-10-22 Andreas Schwab <schwab@redhat.com>
37708 * include/dlfcn.h (__RTLD_SECURE): Define.
37709 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37710 mode & __RTLD_SECURE instead.
37711 (open_path): Rename preloaded parameter to secure.
37712 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37713 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37714 * elf/dl-deps.c (openaux): Likewise.
37715 * elf/rtld.c (struct map_args): Remove is_preloaded.
37716 (map_doit): Don't use it.
37717 (dl_main): Likewise.
37718 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37719 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37721 2010-09-09 Andreas Schwab <schwab@redhat.com>
37723 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37724 (sysd-rules-targets): Remove duplicates.
37725 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37726 rtld-%.$o dependency.
37728 2010-10-18 Andreas Schwab <schwab@redhat.com>
37730 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37731 _dl_map_object do it.
37733 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37735 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37736 fast fma builtins, define the macros in the C99 standard.
37737 (FP_FAST_FMAF): Likewise.
37738 (FP_FAST_FMAL): Likewise.
37739 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37741 * bits/mathdef.h: Update copyright year.
37742 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37744 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37746 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37747 builtins, define the macros in the C99 standard.
37748 (FP_FAST_FMAF): Likewise.
37749 (FP_FAST_FMAL): Likewise.
37750 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37752 (FP_FAST_FMAF): Likewise.
37754 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37757 * math/libm-test.inc (fma_test): Some new testcases.
37758 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37759 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37760 y and infinite z. Do multiplication by C already in long double.
37761 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37763 y and infinite z. Do bitwise or of inexact bit into u.d.
37764 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37765 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37766 * sysdeps/i386/fpu/s_fma.S: Removed.
37767 * sysdeps/i386/fpu/s_fmal.S: Removed.
37769 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37772 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37774 computation is not scheduled after fetestexcept. Fix value
37775 of minimum denormal long double.
37777 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37780 * math/libm-test.inc (fma_test): Add some more tests.
37781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37784 2010-10-15 Andreas Schwab <schwab@redhat.com>
37786 * scripts/data/localplt-s390-linux-gnu.data: New file.
37787 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37789 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37792 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37793 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37795 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37797 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37799 if one of x and y is very large and the other is subnormal.
37800 * sysdeps/s390/fpu/s_fmaf.c: New file.
37801 * sysdeps/s390/fpu/s_fma.c: New file.
37802 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37803 * sysdeps/powerpc/fpu/s_fma.S: New file.
37804 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37805 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37806 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37808 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37811 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37813 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37814 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37815 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37816 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37817 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37818 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37821 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37824 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37825 * posix/bug-regex31.input: Add test case.
37827 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37829 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37830 * posix/bug-regex31.input: New file.
37833 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37834 (parse_sub_exp): Fix last change, use postorder.
37836 * posix/bug-regex31.c: New file.
37837 * posix/Makefile: Add rules to build and run bug-regex31.
37839 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37842 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37845 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37846 to have entries in sys_siglist.
37849 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37852 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37855 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37856 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37857 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37858 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37860 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37861 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37862 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37863 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37864 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37865 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37866 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37867 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37868 * math/ftestexcept.c (fetestexcept): Likewise.
37869 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37870 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37871 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37872 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37873 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37874 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37875 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37877 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37880 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37883 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37885 * string/bug-strstr1.c: New file.
37886 * string/Makefile: Add rules to build and run bug-strstr1.
37888 2010-10-05 Eric Blake <eblake@redhat.com>
37891 * string/str-two-way.h (two_way_long_needle): Always clear memory
37892 when skipping input due to the shift table.
37894 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37897 * malloc/mcheck.c: Handle large requests.
37900 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37901 for strncmp and strncasecmp.
37902 * string/stratcliff.c: Add tests for strcmp and strncmp.
37903 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37905 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37907 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37910 2010-09-30 Andreas Jaeger <aj@suse.de>
37912 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37913 (CGROUP_SUPER_MAGIC): Define.
37914 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37915 Handle btrfs and cgroup file systems.
37916 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37919 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37921 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37922 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37924 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37927 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37928 trying to locate the ELF header.
37930 2010-09-27 Andreas Schwab <schwab@redhat.com>
37933 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37934 Mask out sign-bit copies when constructing f_fsid.
37936 2010-09-24 Petr Baudis <pasky@suse.cz>
37938 * debug/stack_chk_fail_local.c: Add missing licence exception.
37939 * debug/warning-nop.c: Likewise.
37941 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37943 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37944 implementing getdents64 using getdents syscall, set d_type if
37945 __ASSUME_GETDENTS32_D_TYPE.
37947 2010-09-16 Andreas Schwab <schwab@redhat.com>
37949 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37950 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37952 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37955 * posix/unistd.h: Undo change of feature selection for ftruncate from
37958 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37960 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37963 2010-09-20 Andreas Schwab <schwab@redhat.com>
37965 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37967 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37969 2010-09-14 Andreas Schwab <schwab@redhat.com>
37971 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37972 variables after CHECK_SP call.
37973 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37975 2010-09-13 Andreas Schwab <schwab@redhat.com>
37976 Ulrich Drepper <drepper@redhat.com>
37978 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37979 re-relocationg ld.so.
37980 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37981 _dl_init_paths call.
37982 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37985 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37987 * resolv/res_init.c (__res_vinit): Count the default server we added.
37989 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37990 Ulrich Drepper <drepper@redhat.com>
37993 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37994 (____longjmp_chk): Use %ebx for saving value across system call.
37997 2010-09-06 Andreas Schwab <schwab@redhat.com>
37999 * manual/Makefile: Don't mix pattern rules with normal rules.
38001 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38003 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38005 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38006 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38007 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38008 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38009 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38012 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38015 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38016 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38018 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38020 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38021 * sysdeps/x86_64/addmul_1.S: Likewise.
38022 * sysdeps/x86_64/lshift.S: Likewise.
38023 * sysdeps/x86_64/mul_1.S: Likewise.
38024 * sysdeps/x86_64/rshift.S: Likewise.
38025 * sysdeps/x86_64/sub_n.S: Likewise.
38026 * sysdeps/x86_64/submul_1.S: Likewise.
38028 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38030 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38031 Define __sched_param instead of SCHED_* and sched_param when
38032 <bits/sched.h> is included with __need_schedparam defined.
38033 * bits/sched.h [__need_schedparam]
38034 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38035 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38036 (__defined_schedparam): Define to 1.
38037 (__sched_param): New structure, identical to sched_param.
38038 (__need_schedparam): Undefine.
38040 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38043 (epoll_create1): Declare.
38045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38047 2010-08-31 Andreas Schwab <schwab@redhat.com>
38050 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38051 shifting retval into place.
38053 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38055 * nis/rpcsvc/nis.h: Update copyright notice.
38056 * nis/rpcsvc/nis.x: Likewise.
38057 * nis/rpcsvc/nis_callback.h: Likewise.
38058 * nis/rpcsvc/nis_callback.x: Likewise.
38059 * nis/rpcsvc/nis_object.x: Likewise.
38060 * nis/rpcsvc/nis_tags.h: Likewise.
38061 * nis/rpcsvc/yp.h: Likewise.
38062 * nis/rpcsvc/yp.x: Likewise.
38063 * nis/rpcsvc/ypupd.h: Likewise.
38064 * nis/yp_xdr.c: Likewise.
38065 * nis/ypupdate_xdr.c: Likewise.
38067 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38068 mainly the body of pmap_getport. Add parameters to specify timeouts.
38069 (pmap_getport): Use __libc_rpc_getport.
38070 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38071 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38072 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38074 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38079 2010-08-27 Roland McGrath <roland@redhat.com>
38081 * sysdeps/i386/i686/multiarch/Makefile
38082 (CFLAGS-varshift.c): New variable.
38084 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38086 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38087 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38091 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38093 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38095 * sysdeps/x86_64/strlen.S: Unroll the loop.
38096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38097 strlen-sse2 strlen-sse2-bsf.
38098 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38099 __strlen_no_bsf if bit_Slow_BSF is set.
38100 (__strlen_sse42): Removed.
38101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38102 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38104 2010-08-25 Roland McGrath <roland@redhat.com>
38106 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38107 * sysdeps/x86_64/multiarch/varshift.c: New file.
38108 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38109 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38110 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38111 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38113 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38116 strlen-sse2 strlen-sse2-bsf.
38117 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38118 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38119 (__strlen_sse2): Removed.
38120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38121 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38123 bit_Slow_BSF for Atom.
38124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38125 (index_Slow_BSF): Define.
38126 (HAS_SLOW_BSF): Define.
38128 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38131 * resolv/res_init.c (__res_vinit): When no server address at all
38132 is given default to loopback.
38134 2010-08-24 Roland McGrath <roland@redhat.com>
38136 * configure.in: Remove config-name.h generation.
38137 * configure: Regenerated.
38138 * config-name.in: File removed.
38139 * scripts/config-uname.sh: New file.
38140 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38141 ($(objdir)config-name.h): New target.
38143 * sunrpc/rpc_parse.h: Avoid nested comment.
38145 2010-08-24 Richard Henderson <rth@redhat.com>
38146 Ulrich Drepper <drepper@redhat.com>
38147 H.J. Lu <hongjiu.lu@intel.com>
38149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38151 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38152 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38153 _mm_alignr_epi8 with _mm_loadu_si128.
38154 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38155 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38156 (__m128i_shift_right): Removed.
38157 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38158 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38159 * sysdeps/x86_64/multiarch/varshift.h: New file.
38160 * sysdeps/x86_64/multiarch/varshift.S: New file.
38162 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38164 * configure.in: Move assembler checks to before sysdep dir checking.
38166 2010-08-20 Petr Baudis <pasky@suse.cz>
38168 * LICENSES: Sync the sunrpc license.
38170 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38172 * sunrpc/auth_des.c: Update copyright notice once again.
38173 * sunrpc/auth_none.c: Likewise.
38174 * sunrpc/auth_unix.c: Likewise.
38175 * sunrpc/authdes_prot.c: Likewise.
38176 * sunrpc/authuxprot.c: Likewise.
38177 * sunrpc/bindrsvprt.c: Likewise.
38178 * sunrpc/clnt_gen.c: Likewise.
38179 * sunrpc/clnt_perr.c: Likewise.
38180 * sunrpc/clnt_raw.c: Likewise.
38181 * sunrpc/clnt_simp.c: Likewise.
38182 * sunrpc/clnt_tcp.c: Likewise.
38183 * sunrpc/clnt_udp.c: Likewise.
38184 * sunrpc/clnt_unix.c: Likewise.
38185 * sunrpc/des_crypt.c: Likewise.
38186 * sunrpc/des_soft.c: Likewise.
38187 * sunrpc/get_myaddr.c: Likewise.
38188 * sunrpc/getrpcport.c: Likewise.
38189 * sunrpc/key_call.c: Likewise.
38190 * sunrpc/key_prot.c: Likewise.
38191 * sunrpc/openchild.c: Likewise.
38192 * sunrpc/pm_getmaps.c: Likewise.
38193 * sunrpc/pm_getport.c: Likewise.
38194 * sunrpc/pmap_clnt.c: Likewise.
38195 * sunrpc/pmap_prot.c: Likewise.
38196 * sunrpc/pmap_prot2.c: Likewise.
38197 * sunrpc/pmap_rmt.c: Likewise.
38198 * sunrpc/rpc/auth.h: Likewise.
38199 * sunrpc/rpc/auth_unix.h: Likewise.
38200 * sunrpc/rpc/clnt.h: Likewise.
38201 * sunrpc/rpc/des_crypt.h: Likewise.
38202 * sunrpc/rpc/key_prot.h: Likewise.
38203 * sunrpc/rpc/netdb.h: Likewise.
38204 * sunrpc/rpc/pmap_clnt.h: Likewise.
38205 * sunrpc/rpc/pmap_prot.h: Likewise.
38206 * sunrpc/rpc/pmap_rmt.h: Likewise.
38207 * sunrpc/rpc/rpc.h: Likewise.
38208 * sunrpc/rpc/rpc_des.h: Likewise.
38209 * sunrpc/rpc/rpc_msg.h: Likewise.
38210 * sunrpc/rpc/svc.h: Likewise.
38211 * sunrpc/rpc/svc_auth.h: Likewise.
38212 * sunrpc/rpc/types.h: Likewise.
38213 * sunrpc/rpc/xdr.h: Likewise.
38214 * sunrpc/rpc_clntout.c: Likewise.
38215 * sunrpc/rpc_cmsg.c: Likewise.
38216 * sunrpc/rpc_common.c: Likewise.
38217 * sunrpc/rpc_cout.c: Likewise.
38218 * sunrpc/rpc_dtable.c: Likewise.
38219 * sunrpc/rpc_hout.c: Likewise.
38220 * sunrpc/rpc_main.c: Likewise.
38221 * sunrpc/rpc_parse.c: Likewise.
38222 * sunrpc/rpc_parse.h: Likewise.
38223 * sunrpc/rpc_prot.c: Likewise.
38224 * sunrpc/rpc_sample.c: Likewise.
38225 * sunrpc/rpc_scan.c: Likewise.
38226 * sunrpc/rpc_scan.h: Likewise.
38227 * sunrpc/rpc_svcout.c: Likewise.
38228 * sunrpc/rpc_tblout.c: Likewise.
38229 * sunrpc/rpc_util.c: Likewise.
38230 * sunrpc/rpc_util.h: Likewise.
38231 * sunrpc/rpcinfo.c: Likewise.
38232 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38233 * sunrpc/rpcsvc/key_prot.x: Likewise.
38234 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38235 * sunrpc/rpcsvc/mount.x: Likewise.
38236 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38237 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38238 * sunrpc/rpcsvc/rex.x: Likewise.
38239 * sunrpc/rpcsvc/rstat.x: Likewise.
38240 * sunrpc/rpcsvc/rusers.x: Likewise.
38241 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38242 * sunrpc/rpcsvc/spray.x: Likewise.
38243 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38244 * sunrpc/rtime.c: Likewise.
38245 * sunrpc/svc.c: Likewise.
38246 * sunrpc/svc_auth.c: Likewise.
38247 * sunrpc/svc_authux.c: Likewise.
38248 * sunrpc/svc_raw.c: Likewise.
38249 * sunrpc/svc_run.c: Likewise.
38250 * sunrpc/svc_simple.c: Likewise.
38251 * sunrpc/svc_tcp.c: Likewise.
38252 * sunrpc/svc_udp.c: Likewise.
38253 * sunrpc/svc_unix.c: Likewise.
38254 * sunrpc/svcauth_des.c: Likewise.
38255 * sunrpc/xcrypt.c: Likewise.
38256 * sunrpc/xdr.c: Likewise.
38257 * sunrpc/xdr_array.c: Likewise.
38258 * sunrpc/xdr_float.c: Likewise.
38259 * sunrpc/xdr_mem.c: Likewise.
38260 * sunrpc/xdr_rec.c: Likewise.
38261 * sunrpc/xdr_ref.c: Likewise.
38262 * sunrpc/xdr_sizeof.c: Likewise.
38263 * sunrpc/xdr_stdio.c: Likewise.
38265 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38268 2010-08-19 Andreas Schwab <schwab@redhat.com>
38270 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38272 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38274 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38275 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38276 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38277 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38278 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38279 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38280 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38281 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38282 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38283 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38284 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38285 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38286 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38287 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38289 2010-07-26 Anton Blanchard <anton@samba.org>
38291 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38292 * malloc/arena.c (heap_trim): Likewise.
38294 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38296 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38299 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38301 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38303 * sysdeps/i386/elf/Makefile: New file.
38305 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38307 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38308 from fanotify_init.
38309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38312 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38314 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38316 * sysdeps/multiarch/strcmp.S: Likewise.
38318 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38320 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38321 strncase_l-nonascii.
38322 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38323 Add strncase_l-ssse3.
38324 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38325 * sysdeps/x86_64/strcmp.S: Likewise.
38326 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38327 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38328 * sysdeps/x86_64/strncase.S: New file.
38329 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38330 * sysdeps/x86_64/strncase_l.S: New file.
38331 * string/Makefile (strop-tests): Add strncasecmp.
38332 * string/test-strncasecmp.c: New file.
38334 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38337 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38338 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38340 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38342 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38344 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38346 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38347 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38348 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38350 2010-05-01 Alan Modra <amodra@gmail.com>
38352 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38353 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38354 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38355 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38356 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38357 tidying. Don't tail-call __sigjmp_save for static lib.
38358 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38360 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38361 (CALL_MCOUNT): Add eh info, and nop after bl.
38362 (TAIL_CALL_SYSCALL_ERROR): New macro.
38363 (PSEUDO_RET): Use it.
38364 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38365 Correct save location of integer regs and cr.
38366 (_dl_profile_resolve): Correct cr save location. Delete nops
38367 after bl when SHARED. Reduce cfi size a little by better
38368 placement of cfi directives.
38369 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38370 make a stack frame. Instead use parm save area as a temp.
38371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38372 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38374 Don't make a stack frame for parent, use parm save area.
38375 Increase child stack frame to 112 bytes. Don't save unused reg,
38376 and adjust reg usage. Set up cfi on error recovery and
38377 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38379 (__makecontext): Add dummy nop after jump to exit.
38380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38381 Use correct parm save area and cr save, reduce stack frame.
38382 Correct cfi for possible PSEUDO_RET frame setup.
38383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38384 Branch to local label emitted by PSEUDO_RET rather than
38387 2010-08-12 Andreas Schwab <schwab@redhat.com>
38390 * locale/programs/locale.c (print_assignment): New function.
38391 (show_locale_vars): Use it.
38393 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38395 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38397 (struct statfs64): Likewise.
38398 (_STATFS_F_FLAGS): Define.
38399 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38400 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38401 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38402 (ST_VALID): Define locally.
38403 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38404 __statvfs_getflags, use the provided value.
38405 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38406 __ASSUME_STATFS_F_FLAGS.
38408 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38410 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38411 Add sys/fanotify.h.
38412 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38413 fanotify_mask for GLIBC_2.13.
38414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38415 fanotify_init and fanotify_mark.
38416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38417 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38421 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38422 prlimit64 for GLIBC_2.13.
38423 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38425 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38428 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38429 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38430 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38433 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38436 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38437 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38439 * nss/Makefile: Add rules to build and run tst-nss-test1.
38440 * shlib-versions: Add entry for libnss_test1.
38441 * nss/nss_test1.c: New file.
38442 * nss/tst-nss-test1.c: New file.
38444 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38445 (__nss_configure_lookup): Set appropriate entry in
38446 __nss_configure_lookup to true.
38447 * nss/nsswitch.h: Define enum with indeces of databases in
38448 databases and __nss_database_custom arrays. Declare
38449 __nss_database_custom.
38450 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38451 to avoid using nscd when custom rules are installed.
38452 * nss/getXXbyYY_r.c: Likewise.
38453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38455 * nss/nss_files/files-parse.c: Whitespace fixes.
38457 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38460 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38461 * posix/fnmatch_loop.c: Likewise.
38463 2010-07-17 Andi Kleen <ak@linux.intel.com>
38465 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38466 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38467 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38468 * Versions.def [GLIBC_2.13]: Add.
38470 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38472 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38473 Also fail if tpwd after pwuid call is NULL.
38475 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38477 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38478 when converting to ms.
38480 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38482 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38483 EOPNOTSUPP errors with ENOTTY.
38484 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38485 EOPNOTSUPP errors with ENOTTY.
38487 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38489 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38490 Add strcasecmp_l-ssse3.
38491 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38493 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38494 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38495 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38497 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38499 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38501 * string/Makefile (strop-tests): Add strcasecmp.
38502 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38503 strcasecmp_l-nonascii.
38504 (gen-as-const-headers): Add locale-defines.sym.
38505 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38506 * sysdeps/x86_64/strcasecmp.S: New file.
38507 * sysdeps/x86_64/strcasecmp_l.S: New file.
38508 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38509 * sysdeps/x86_64/locale-defines.sym: New file.
38510 * string/test-strcasecmp.c: New file.
38512 * string/test-strcasestr.c: Test both ends of the range of characters.
38513 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38515 2010-07-29 Roland McGrath <roland@redhat.com>
38518 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38520 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38522 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38525 2010-07-27 Andreas Schwab <schwab@redhat.com>
38527 * manual/memory.texi (Malloc Tunable Parameters): Document
38530 2010-07-26 Roland McGrath <roland@redhat.com>
38533 * configure.in (-fgnu89-inline check): Set and substitute
38534 gnu89_inline, not libc_cv_gnu89_inline.
38535 * configure: Regenerated.
38536 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38538 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38540 * string/test-strnlen.c: New file.
38541 * string/Makefile (strop-tests): Add strnlen.
38542 * string/tester.c (test_strnlen): Add a few more test cases.
38543 * string/tst-strlen.c: Better error reporting.
38545 * sysdeps/x86_64/strnlen.S: New file.
38547 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38550 lower-latency instructions.
38552 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38554 * string/test-strcasestr.c: New file.
38555 * string/test-strstr.c: New file.
38556 * string/Makefile (strop-tests): Add strstr and strcasestr.
38557 * string/str-two-way.h: Don't undefine MAX.
38558 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38560 2010-07-21 Andreas Schwab <schwab@redhat.com>
38562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38563 strcasestr-nonascii.
38564 (CFLAGS-strcasestr-nonascii.c): Define.
38565 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38566 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38567 Remove unused attribute.
38569 2010-07-20 Roland McGrath <roland@redhat.com>
38571 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38572 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38573 ld.so.cache was broken. With it, there is no way to disable dsocaps
38574 like LD_HWCAP_MASK can disable hwcaps.
38576 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38578 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38580 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38582 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38583 call in strcasestr.
38584 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38585 __strcasestr_sse42_nonascii.
38586 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38587 strcasestr-nonascii.c.
38588 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38590 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38592 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38593 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38594 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38595 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38597 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38599 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38602 2010-07-06 Andreas Schwab <schwab@redhat.com>
38605 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38608 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38610 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38611 _PC_PIPE_BUF using F_GETPIPE_SZ.
38613 2010-07-05 Roland McGrath <roland@redhat.com>
38615 * manual/arith.texi (Rounding Functions): Fix rint description
38616 implicit in round description.
38618 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38620 * elf/Makefile: Fix linking for a few tests to make recent linker
38623 2010-06-30 Andreas Schwab <schwab@redhat.com>
38625 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38626 $(common-objpfx)libc_nonshared.a.
38628 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38630 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38631 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38632 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38633 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38634 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38635 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38636 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38637 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38652 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38653 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38654 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38655 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38656 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38657 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38658 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38659 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38660 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38661 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38662 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38663 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38679 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38681 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38682 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38683 * string/memmove.c (memmove): Renamed to ...
38684 (MEMMOVE): ...this. Default to memmove.
38685 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38686 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38689 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38690 mempcpy-ssse3-back memmove-ssse3-back.
38691 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38693 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38694 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38695 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38696 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38697 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38698 * sysdeps/x86_64/multiarch/memmove.c: New file.
38699 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38700 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38701 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38702 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38703 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38706 (index_Fast_Copy_Backward): Define.
38707 (HAS_ARCH_FEATURE): Define.
38708 (HAS_FAST_REP_STRING): Define.
38709 (HAS_FAST_COPY_BACKWARD): Define.
38711 2010-06-21 Andreas Schwab <schwab@redhat.com>
38713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38714 Restore proper fallback handling.
38716 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38719 * posix/group_member.c (__group_member): Correct checking loop.
38721 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38722 OOM in getpwuid_r correctly. Return error number when the caller
38723 should return, otherwise -1.
38724 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38725 call returning > 0 value.
38726 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38728 2010-06-07 Andreas Schwab <schwab@redhat.com>
38730 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38731 libc_nonshared.a from targets in modules-names.
38733 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38735 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38738 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38740 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38741 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38742 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38745 2010-06-02 Andreas Schwab <schwab@redhat.com>
38747 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38749 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38751 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38753 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38757 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38760 2010-06-14 Roland McGrath <roland@redhat.com>
38762 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38764 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38766 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38767 __REDIRECT followed by __THROW.
38768 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38769 * posix/getopt.h (getopt): Likewise.
38771 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38773 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38774 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38775 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38777 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38778 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38780 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38782 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38784 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38788 Properly check family and model.
38790 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38792 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38794 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38796 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38798 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38800 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38803 2010-05-19 Andreas Schwab <schwab@redhat.com>
38805 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38808 2010-05-21 Andreas Schwab <schwab@redhat.com>
38810 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38811 and internal_recvmmsg.
38812 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38813 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38814 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38815 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38817 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38818 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38819 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38821 2010-05-20 Andreas Schwab <schwab@redhat.com>
38823 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38825 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38827 POWER7 optimizations.
38828 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38829 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38831 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38833 * version.h: Update for 2.13 development version.
38835 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38837 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38838 exceptions. Return 0.
38840 2010-05-07 Roland McGrath <roland@redhat.com>
38842 * elf/ldconfig.c (main): Add a const.
38844 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38846 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38847 (args_options): Add no-idn option.
38848 (ahosts_keys_int): Add idn_flags to ai_flags.
38849 (parse_option): Handle 'i' option to clear idn_flags.
38851 * malloc/malloc.c (_int_free): Possible race in the most recently
38852 added check. Only act on the data if no current modification
38855 See ChangeLog.17 for earlier changes.